@stashfin/grpc 1.2.54 → 1.2.59
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 +3 -3
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/forgotmpin.d.ts +36 -0
- package/ts/customers/forgotmpin.js +133 -0
- package/ts/customers/forgotmpinotp.d.ts +34 -0
- package/ts/customers/forgotmpinotp.js +104 -0
- package/ts/customers/getbankaccountdetails.d.ts +36 -0
- package/ts/customers/getbankaccountdetails.js +134 -0
- package/ts/customers/getbasicinfo.d.ts +56 -0
- package/ts/customers/getbasicinfo.js +323 -0
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcustomerbyid.d.ts +55 -0
- package/ts/customers/getcustomerbyid.js +421 -0
- package/ts/customers/getdashboard.d.ts +91 -0
- package/ts/customers/getdashboard.js +618 -0
- package/ts/customers/getdashboardmaincard.d.ts +69 -0
- package/ts/customers/getdashboardmaincard.js +520 -0
- package/ts/customers/getkycweburl.d.ts +34 -0
- package/ts/customers/getkycweburl.js +104 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +53 -0
- package/ts/customers/getprofile.js +282 -0
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +69 -0
- package/ts/customers/getstep.js +406 -0
- package/ts/customers/profilebasic.d.ts +38 -0
- package/ts/customers/profilebasic.js +161 -0
- package/ts/customers/profileupdatetnc.d.ts +35 -0
- package/ts/customers/profileupdatetnc.js +117 -0
- package/ts/customers/resetmpin.d.ts +36 -0
- package/ts/customers/resetmpin.js +133 -0
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/sendotp.d.ts +38 -0
- package/ts/customers/sendotp.js +165 -0
- package/ts/customers/setmpin.d.ts +36 -0
- package/ts/customers/setmpin.js +133 -0
- package/ts/customers/step1.d.ts +71 -0
- package/ts/customers/step1.js +423 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +67 -0
- package/ts/customers/step2.js +366 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/updatedigilockertxn.d.ts +37 -0
- package/ts/customers/updatedigilockertxn.js +147 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/customers/updatedob.js +117 -0
- package/ts/customers/updatehypervergetxn.d.ts +36 -0
- package/ts/customers/updatehypervergetxn.js +133 -0
- package/ts/customers/validatepan.d.ts +45 -0
- package/ts/customers/validatepan.js +274 -0
- package/ts/customers/verifyemail.d.ts +35 -0
- package/ts/customers/verifyemail.js +117 -0
- package/ts/customers/verifympin.d.ts +37 -0
- package/ts/customers/verifympin.js +149 -0
- package/ts/customers/verifyotp.d.ts +41 -0
- package/ts/customers/verifyotp.js +205 -0
- package/ts/customers.d.ts +596 -0
- package/ts/customers.js +428 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/{src/ts/google/protobuf/timestamp.ts → ts/google/protobuf/timestamp.d.ts} +30 -126
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/loans/approveloan.d.ts +39 -0
- package/ts/loans/approveloan.js +175 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +51 -0
- package/ts/loans/calculateemi.js +243 -0
- package/ts/loans/creditlimit.d.ts +43 -0
- package/ts/loans/creditlimit.js +247 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/transactionlist.d.ts +50 -0
- package/ts/loans/transactionlist.js +229 -0
- package/ts/loans/updateinstallments.d.ts +42 -0
- package/ts/loans/updateinstallments.js +226 -0
- package/ts/loans/updateloan.d.ts +39 -0
- package/ts/loans/updateloan.js +175 -0
- package/ts/loans.d.ts +126 -0
- package/ts/loans.js +94 -0
- package/ts/stashcash/creditsc.d.ts +54 -0
- package/ts/stashcash/creditsc.js +301 -0
- package/ts/stashcash/debitsc.d.ts +59 -0
- package/ts/stashcash/debitsc.js +380 -0
- package/ts/stashcash/getscbalance.d.ts +53 -0
- package/ts/stashcash/getscbalance.js +293 -0
- package/ts/stashcash/getschistory.d.ts +73 -0
- package/ts/stashcash/getschistory.js +479 -0
- package/ts/stashcash/reversesc.d.ts +52 -0
- package/ts/stashcash/reversesc.js +273 -0
- package/ts/stashcash.d.ts +84 -0
- package/ts/stashcash.js +64 -0
- package/README.md +0 -74
- package/src/proto/customers/addaddress.proto +0 -25
- package/src/proto/customers/addbankaccountdetails.proto +0 -13
- package/src/proto/customers/createcustomerreference.proto +0 -21
- package/src/proto/customers/forgotmpin.proto +0 -12
- package/src/proto/customers/forgotmpinotp.proto +0 -10
- package/src/proto/customers/getbankaccountdetails.proto +0 -11
- package/src/proto/customers/getbasicinfo.proto +0 -24
- package/src/proto/customers/getcities.proto +0 -16
- package/src/proto/customers/getcustomerbyid.proto +0 -31
- package/src/proto/customers/getdashboard.proto +0 -47
- package/src/proto/customers/getdashboardmaincard.proto +0 -37
- package/src/proto/customers/getkycweburl.proto +0 -10
- package/src/proto/customers/getprofessionalinfo.proto +0 -22
- package/src/proto/customers/getprofile.proto +0 -22
- package/src/proto/customers/getstates.proto +0 -15
- package/src/proto/customers/getstep.proto +0 -30
- package/src/proto/customers/profilebasic.proto +0 -14
- package/src/proto/customers/profileupdatetnc.proto +0 -11
- package/src/proto/customers/resetmpin.proto +0 -13
- package/src/proto/customers/savebasicdetails.proto +0 -16
- package/src/proto/customers/saveunlocklimit.proto +0 -10
- package/src/proto/customers/sendemailtoken.proto +0 -11
- package/src/proto/customers/sendotp.proto +0 -14
- package/src/proto/customers/setmpin.proto +0 -12
- package/src/proto/customers/step10.proto +0 -34
- package/src/proto/customers/step7.proto +0 -29
- package/src/proto/customers/step8.proto +0 -30
- package/src/proto/customers/step9.proto +0 -36
- package/src/proto/customers/stepstatic.proto +0 -27
- package/src/proto/customers/updatedigilockertxn.proto +0 -13
- package/src/proto/customers/updatedob.proto +0 -13
- package/src/proto/customers/updatehypervergetxn.proto +0 -12
- package/src/proto/customers/verifyemail.proto +0 -11
- package/src/proto/customers/verifympin.proto +0 -13
- package/src/proto/customers/verifyotp.proto +0 -17
- package/src/proto/customers.proto +0 -83
- package/src/proto/example.proto +0 -20
- package/src/proto/loans/approveloan.proto +0 -15
- package/src/proto/loans/banklist.proto +0 -12
- package/src/proto/loans/calculateemi.proto +0 -20
- package/src/proto/loans/creditlimit.proto +0 -18
- package/src/proto/loans/restructureloan.proto +0 -12
- package/src/proto/loans/transactionlist.proto +0 -18
- package/src/proto/loans/updateinstallments.proto +0 -19
- package/src/proto/loans/updateloan.proto +0 -15
- package/src/proto/loans.proto +0 -23
- package/src/proto/stashcash/creditsc.proto +0 -22
- package/src/proto/stashcash/debitsc.proto +0 -27
- package/src/proto/stashcash/getscbalance.proto +0 -21
- package/src/proto/stashcash/getschistory.proto +0 -35
- package/src/proto/stashcash/reversesc.proto +0 -20
- package/src/proto/stashcash.proto +0 -17
- package/src/ts/customers/addaddress.ts +0 -310
- package/src/ts/customers/addbankaccountdetails.ts +0 -184
- package/src/ts/customers/createcustomerreference.ts +0 -276
- package/src/ts/customers/getbankaccountdetails.ts +0 -169
- package/src/ts/customers/getbasicinfo.ts +0 -385
- package/src/ts/customers/getcities.ts +0 -227
- package/src/ts/customers/getcustomerbyid.ts +0 -492
- package/src/ts/customers/getdashboard.ts +0 -728
- package/src/ts/customers/getdashboardmaincard.ts +0 -608
- package/src/ts/customers/getkycweburl.ts +0 -133
- package/src/ts/customers/getprofessionalinfo.ts +0 -344
- package/src/ts/customers/getprofile.ts +0 -338
- package/src/ts/customers/getstates.ts +0 -212
- package/src/ts/customers/getstep.ts +0 -483
- package/src/ts/customers/profilebasic.ts +0 -198
- package/src/ts/customers/profileupdatetnc.ts +0 -148
- package/src/ts/customers/resetmpin.ts +0 -166
- package/src/ts/customers/savebasicdetails.ts +0 -229
- package/src/ts/customers/saveunlocklimit.ts +0 -133
- package/src/ts/customers/sendemailtoken.ts +0 -148
- package/src/ts/customers/sendotp.ts +0 -202
- package/src/ts/customers/setmpin.ts +0 -166
- package/src/ts/customers/step10.ts +0 -544
- package/src/ts/customers/step7.ts +0 -456
- package/src/ts/customers/step8.ts +0 -472
- package/src/ts/customers/step9.ts +0 -578
- package/src/ts/customers/stepstatic.ts +0 -425
- package/src/ts/customers/updatedigilockertxn.ts +0 -182
- package/src/ts/customers/updatehypervergetxn.ts +0 -166
- package/src/ts/customers/verifyemail.ts +0 -148
- package/src/ts/customers/verifympin.ts +0 -184
- package/src/ts/customers/verifyotp.ts +0 -232
- package/src/ts/customers.ts +0 -1038
- package/src/ts/example.ts +0 -294
- package/src/ts/loans/approveloan.ts +0 -214
- package/src/ts/loans/banklist.ts +0 -183
- package/src/ts/loans/calculateemi.ts +0 -295
- package/src/ts/loans/creditlimit.ts +0 -294
- package/src/ts/loans/restructureloan.ts +0 -166
- package/src/ts/loans/transactionlist.ts +0 -281
- package/src/ts/loans/updateinstallments.ts +0 -271
- package/src/ts/loans/updateloan.ts +0 -214
- package/src/ts/loans.ts +0 -221
- package/src/ts/stashcash/creditsc.ts +0 -361
- package/src/ts/stashcash/debitsc.ts +0 -450
- package/src/ts/stashcash/getscbalance.ts +0 -351
- package/src/ts/stashcash/getschistory.ts +0 -566
- package/src/ts/stashcash/reversesc.ts +0 -329
- package/src/ts/stashcash.ts +0 -152
- package/tsconfig.json +0 -18
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.updateinstallments";
|
|
3
|
+
export interface updateInstallmentsRequest {
|
|
4
|
+
installment_id: number;
|
|
5
|
+
principal: number;
|
|
6
|
+
interest: number;
|
|
7
|
+
penalty: number;
|
|
8
|
+
r_pif_principal: number;
|
|
9
|
+
r_pif_interest: number;
|
|
10
|
+
r_pif_penalty: number;
|
|
11
|
+
amount: number;
|
|
12
|
+
}
|
|
13
|
+
export interface updateInstallmentsResponse {
|
|
14
|
+
id: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const updateInstallmentsRequest: {
|
|
17
|
+
encode(message: updateInstallmentsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateInstallmentsRequest;
|
|
19
|
+
fromJSON(object: any): updateInstallmentsRequest;
|
|
20
|
+
toJSON(message: updateInstallmentsRequest): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<updateInstallmentsRequest>, I>>(base?: I): updateInstallmentsRequest;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<updateInstallmentsRequest>, I>>(object: I): updateInstallmentsRequest;
|
|
23
|
+
};
|
|
24
|
+
export declare const updateInstallmentsResponse: {
|
|
25
|
+
encode(message: updateInstallmentsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
26
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateInstallmentsResponse;
|
|
27
|
+
fromJSON(object: any): updateInstallmentsResponse;
|
|
28
|
+
toJSON(message: updateInstallmentsResponse): unknown;
|
|
29
|
+
create<I extends Exact<DeepPartial<updateInstallmentsResponse>, I>>(base?: I): updateInstallmentsResponse;
|
|
30
|
+
fromPartial<I extends Exact<DeepPartial<updateInstallmentsResponse>, I>>(object: I): updateInstallmentsResponse;
|
|
31
|
+
};
|
|
32
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
33
|
+
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 {} ? {
|
|
34
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
35
|
+
} : Partial<T>;
|
|
36
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
37
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
38
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
39
|
+
} & {
|
|
40
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
41
|
+
};
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,226 @@
|
|
|
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 v3.20.3
|
|
6
|
+
// source: loans/updateinstallments.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.updateInstallmentsResponse = exports.updateInstallmentsRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.updateinstallments";
|
|
15
|
+
function createBaseupdateInstallmentsRequest() {
|
|
16
|
+
return {
|
|
17
|
+
installment_id: 0,
|
|
18
|
+
principal: 0,
|
|
19
|
+
interest: 0,
|
|
20
|
+
penalty: 0,
|
|
21
|
+
r_pif_principal: 0,
|
|
22
|
+
r_pif_interest: 0,
|
|
23
|
+
r_pif_penalty: 0,
|
|
24
|
+
amount: 0,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.updateInstallmentsRequest = {
|
|
28
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
29
|
+
if (message.installment_id !== 0) {
|
|
30
|
+
writer.uint32(8).int32(message.installment_id);
|
|
31
|
+
}
|
|
32
|
+
if (message.principal !== 0) {
|
|
33
|
+
writer.uint32(16).int32(message.principal);
|
|
34
|
+
}
|
|
35
|
+
if (message.interest !== 0) {
|
|
36
|
+
writer.uint32(24).int32(message.interest);
|
|
37
|
+
}
|
|
38
|
+
if (message.penalty !== 0) {
|
|
39
|
+
writer.uint32(32).int32(message.penalty);
|
|
40
|
+
}
|
|
41
|
+
if (message.r_pif_principal !== 0) {
|
|
42
|
+
writer.uint32(40).int32(message.r_pif_principal);
|
|
43
|
+
}
|
|
44
|
+
if (message.r_pif_interest !== 0) {
|
|
45
|
+
writer.uint32(48).int32(message.r_pif_interest);
|
|
46
|
+
}
|
|
47
|
+
if (message.r_pif_penalty !== 0) {
|
|
48
|
+
writer.uint32(56).int32(message.r_pif_penalty);
|
|
49
|
+
}
|
|
50
|
+
if (message.amount !== 0) {
|
|
51
|
+
writer.uint32(64).int32(message.amount);
|
|
52
|
+
}
|
|
53
|
+
return writer;
|
|
54
|
+
},
|
|
55
|
+
decode(input, length) {
|
|
56
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
57
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
58
|
+
const message = createBaseupdateInstallmentsRequest();
|
|
59
|
+
while (reader.pos < end) {
|
|
60
|
+
const tag = reader.uint32();
|
|
61
|
+
switch (tag >>> 3) {
|
|
62
|
+
case 1:
|
|
63
|
+
if (tag !== 8) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.installment_id = reader.int32();
|
|
67
|
+
continue;
|
|
68
|
+
case 2:
|
|
69
|
+
if (tag !== 16) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.principal = reader.int32();
|
|
73
|
+
continue;
|
|
74
|
+
case 3:
|
|
75
|
+
if (tag !== 24) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.interest = reader.int32();
|
|
79
|
+
continue;
|
|
80
|
+
case 4:
|
|
81
|
+
if (tag !== 32) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.penalty = reader.int32();
|
|
85
|
+
continue;
|
|
86
|
+
case 5:
|
|
87
|
+
if (tag !== 40) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.r_pif_principal = reader.int32();
|
|
91
|
+
continue;
|
|
92
|
+
case 6:
|
|
93
|
+
if (tag !== 48) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.r_pif_interest = reader.int32();
|
|
97
|
+
continue;
|
|
98
|
+
case 7:
|
|
99
|
+
if (tag !== 56) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.r_pif_penalty = reader.int32();
|
|
103
|
+
continue;
|
|
104
|
+
case 8:
|
|
105
|
+
if (tag !== 64) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.amount = reader.int32();
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
reader.skipType(tag & 7);
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
fromJSON(object) {
|
|
119
|
+
return {
|
|
120
|
+
installment_id: isSet(object.installment_id) ? globalThis.Number(object.installment_id) : 0,
|
|
121
|
+
principal: isSet(object.principal) ? globalThis.Number(object.principal) : 0,
|
|
122
|
+
interest: isSet(object.interest) ? globalThis.Number(object.interest) : 0,
|
|
123
|
+
penalty: isSet(object.penalty) ? globalThis.Number(object.penalty) : 0,
|
|
124
|
+
r_pif_principal: isSet(object.r_pif_principal) ? globalThis.Number(object.r_pif_principal) : 0,
|
|
125
|
+
r_pif_interest: isSet(object.r_pif_interest) ? globalThis.Number(object.r_pif_interest) : 0,
|
|
126
|
+
r_pif_penalty: isSet(object.r_pif_penalty) ? globalThis.Number(object.r_pif_penalty) : 0,
|
|
127
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
128
|
+
};
|
|
129
|
+
},
|
|
130
|
+
toJSON(message) {
|
|
131
|
+
const obj = {};
|
|
132
|
+
if (message.installment_id !== 0) {
|
|
133
|
+
obj.installment_id = Math.round(message.installment_id);
|
|
134
|
+
}
|
|
135
|
+
if (message.principal !== 0) {
|
|
136
|
+
obj.principal = Math.round(message.principal);
|
|
137
|
+
}
|
|
138
|
+
if (message.interest !== 0) {
|
|
139
|
+
obj.interest = Math.round(message.interest);
|
|
140
|
+
}
|
|
141
|
+
if (message.penalty !== 0) {
|
|
142
|
+
obj.penalty = Math.round(message.penalty);
|
|
143
|
+
}
|
|
144
|
+
if (message.r_pif_principal !== 0) {
|
|
145
|
+
obj.r_pif_principal = Math.round(message.r_pif_principal);
|
|
146
|
+
}
|
|
147
|
+
if (message.r_pif_interest !== 0) {
|
|
148
|
+
obj.r_pif_interest = Math.round(message.r_pif_interest);
|
|
149
|
+
}
|
|
150
|
+
if (message.r_pif_penalty !== 0) {
|
|
151
|
+
obj.r_pif_penalty = Math.round(message.r_pif_penalty);
|
|
152
|
+
}
|
|
153
|
+
if (message.amount !== 0) {
|
|
154
|
+
obj.amount = Math.round(message.amount);
|
|
155
|
+
}
|
|
156
|
+
return obj;
|
|
157
|
+
},
|
|
158
|
+
create(base) {
|
|
159
|
+
return exports.updateInstallmentsRequest.fromPartial(base ?? {});
|
|
160
|
+
},
|
|
161
|
+
fromPartial(object) {
|
|
162
|
+
const message = createBaseupdateInstallmentsRequest();
|
|
163
|
+
message.installment_id = object.installment_id ?? 0;
|
|
164
|
+
message.principal = object.principal ?? 0;
|
|
165
|
+
message.interest = object.interest ?? 0;
|
|
166
|
+
message.penalty = object.penalty ?? 0;
|
|
167
|
+
message.r_pif_principal = object.r_pif_principal ?? 0;
|
|
168
|
+
message.r_pif_interest = object.r_pif_interest ?? 0;
|
|
169
|
+
message.r_pif_penalty = object.r_pif_penalty ?? 0;
|
|
170
|
+
message.amount = object.amount ?? 0;
|
|
171
|
+
return message;
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
function createBaseupdateInstallmentsResponse() {
|
|
175
|
+
return { id: 0 };
|
|
176
|
+
}
|
|
177
|
+
exports.updateInstallmentsResponse = {
|
|
178
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
179
|
+
if (message.id !== 0) {
|
|
180
|
+
writer.uint32(8).int32(message.id);
|
|
181
|
+
}
|
|
182
|
+
return writer;
|
|
183
|
+
},
|
|
184
|
+
decode(input, length) {
|
|
185
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
186
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
187
|
+
const message = createBaseupdateInstallmentsResponse();
|
|
188
|
+
while (reader.pos < end) {
|
|
189
|
+
const tag = reader.uint32();
|
|
190
|
+
switch (tag >>> 3) {
|
|
191
|
+
case 1:
|
|
192
|
+
if (tag !== 8) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
message.id = reader.int32();
|
|
196
|
+
continue;
|
|
197
|
+
}
|
|
198
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
reader.skipType(tag & 7);
|
|
202
|
+
}
|
|
203
|
+
return message;
|
|
204
|
+
},
|
|
205
|
+
fromJSON(object) {
|
|
206
|
+
return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
|
|
207
|
+
},
|
|
208
|
+
toJSON(message) {
|
|
209
|
+
const obj = {};
|
|
210
|
+
if (message.id !== 0) {
|
|
211
|
+
obj.id = Math.round(message.id);
|
|
212
|
+
}
|
|
213
|
+
return obj;
|
|
214
|
+
},
|
|
215
|
+
create(base) {
|
|
216
|
+
return exports.updateInstallmentsResponse.fromPartial(base ?? {});
|
|
217
|
+
},
|
|
218
|
+
fromPartial(object) {
|
|
219
|
+
const message = createBaseupdateInstallmentsResponse();
|
|
220
|
+
message.id = object.id ?? 0;
|
|
221
|
+
return message;
|
|
222
|
+
},
|
|
223
|
+
};
|
|
224
|
+
function isSet(value) {
|
|
225
|
+
return value !== null && value !== undefined;
|
|
226
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.updateloan";
|
|
3
|
+
export interface updateLoanRequest {
|
|
4
|
+
loan_id: number;
|
|
5
|
+
status: string;
|
|
6
|
+
disbursal_amount: number;
|
|
7
|
+
disbursal_mode: string;
|
|
8
|
+
is_auto_processing: number;
|
|
9
|
+
}
|
|
10
|
+
export interface updateLoanResponse {
|
|
11
|
+
id: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const updateLoanRequest: {
|
|
14
|
+
encode(message: updateLoanRequest, writer?: _m0.Writer): _m0.Writer;
|
|
15
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateLoanRequest;
|
|
16
|
+
fromJSON(object: any): updateLoanRequest;
|
|
17
|
+
toJSON(message: updateLoanRequest): unknown;
|
|
18
|
+
create<I extends Exact<DeepPartial<updateLoanRequest>, I>>(base?: I): updateLoanRequest;
|
|
19
|
+
fromPartial<I extends Exact<DeepPartial<updateLoanRequest>, I>>(object: I): updateLoanRequest;
|
|
20
|
+
};
|
|
21
|
+
export declare const updateLoanResponse: {
|
|
22
|
+
encode(message: updateLoanResponse, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateLoanResponse;
|
|
24
|
+
fromJSON(object: any): updateLoanResponse;
|
|
25
|
+
toJSON(message: updateLoanResponse): unknown;
|
|
26
|
+
create<I extends Exact<DeepPartial<updateLoanResponse>, I>>(base?: I): updateLoanResponse;
|
|
27
|
+
fromPartial<I extends Exact<DeepPartial<updateLoanResponse>, I>>(object: I): updateLoanResponse;
|
|
28
|
+
};
|
|
29
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
30
|
+
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 {} ? {
|
|
31
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
32
|
+
} : Partial<T>;
|
|
33
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
34
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
35
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
36
|
+
} & {
|
|
37
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
38
|
+
};
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,175 @@
|
|
|
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 v3.20.3
|
|
6
|
+
// source: loans/updateloan.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.updateLoanResponse = exports.updateLoanRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.updateloan";
|
|
15
|
+
function createBaseupdateLoanRequest() {
|
|
16
|
+
return { loan_id: 0, status: "", disbursal_amount: 0, disbursal_mode: "", is_auto_processing: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.updateLoanRequest = {
|
|
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
|
+
if (message.status !== "") {
|
|
24
|
+
writer.uint32(18).string(message.status);
|
|
25
|
+
}
|
|
26
|
+
if (message.disbursal_amount !== 0) {
|
|
27
|
+
writer.uint32(24).int32(message.disbursal_amount);
|
|
28
|
+
}
|
|
29
|
+
if (message.disbursal_mode !== "") {
|
|
30
|
+
writer.uint32(34).string(message.disbursal_mode);
|
|
31
|
+
}
|
|
32
|
+
if (message.is_auto_processing !== 0) {
|
|
33
|
+
writer.uint32(40).int32(message.is_auto_processing);
|
|
34
|
+
}
|
|
35
|
+
return writer;
|
|
36
|
+
},
|
|
37
|
+
decode(input, length) {
|
|
38
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
39
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
40
|
+
const message = createBaseupdateLoanRequest();
|
|
41
|
+
while (reader.pos < end) {
|
|
42
|
+
const tag = reader.uint32();
|
|
43
|
+
switch (tag >>> 3) {
|
|
44
|
+
case 1:
|
|
45
|
+
if (tag !== 8) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.loan_id = reader.int32();
|
|
49
|
+
continue;
|
|
50
|
+
case 2:
|
|
51
|
+
if (tag !== 18) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.status = reader.string();
|
|
55
|
+
continue;
|
|
56
|
+
case 3:
|
|
57
|
+
if (tag !== 24) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
message.disbursal_amount = reader.int32();
|
|
61
|
+
continue;
|
|
62
|
+
case 4:
|
|
63
|
+
if (tag !== 34) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.disbursal_mode = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
case 5:
|
|
69
|
+
if (tag !== 40) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.is_auto_processing = reader.int32();
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
reader.skipType(tag & 7);
|
|
79
|
+
}
|
|
80
|
+
return message;
|
|
81
|
+
},
|
|
82
|
+
fromJSON(object) {
|
|
83
|
+
return {
|
|
84
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
85
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
86
|
+
disbursal_amount: isSet(object.disbursal_amount) ? globalThis.Number(object.disbursal_amount) : 0,
|
|
87
|
+
disbursal_mode: isSet(object.disbursal_mode) ? globalThis.String(object.disbursal_mode) : "",
|
|
88
|
+
is_auto_processing: isSet(object.is_auto_processing) ? globalThis.Number(object.is_auto_processing) : 0,
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
toJSON(message) {
|
|
92
|
+
const obj = {};
|
|
93
|
+
if (message.loan_id !== 0) {
|
|
94
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
95
|
+
}
|
|
96
|
+
if (message.status !== "") {
|
|
97
|
+
obj.status = message.status;
|
|
98
|
+
}
|
|
99
|
+
if (message.disbursal_amount !== 0) {
|
|
100
|
+
obj.disbursal_amount = Math.round(message.disbursal_amount);
|
|
101
|
+
}
|
|
102
|
+
if (message.disbursal_mode !== "") {
|
|
103
|
+
obj.disbursal_mode = message.disbursal_mode;
|
|
104
|
+
}
|
|
105
|
+
if (message.is_auto_processing !== 0) {
|
|
106
|
+
obj.is_auto_processing = Math.round(message.is_auto_processing);
|
|
107
|
+
}
|
|
108
|
+
return obj;
|
|
109
|
+
},
|
|
110
|
+
create(base) {
|
|
111
|
+
return exports.updateLoanRequest.fromPartial(base ?? {});
|
|
112
|
+
},
|
|
113
|
+
fromPartial(object) {
|
|
114
|
+
const message = createBaseupdateLoanRequest();
|
|
115
|
+
message.loan_id = object.loan_id ?? 0;
|
|
116
|
+
message.status = object.status ?? "";
|
|
117
|
+
message.disbursal_amount = object.disbursal_amount ?? 0;
|
|
118
|
+
message.disbursal_mode = object.disbursal_mode ?? "";
|
|
119
|
+
message.is_auto_processing = object.is_auto_processing ?? 0;
|
|
120
|
+
return message;
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
function createBaseupdateLoanResponse() {
|
|
124
|
+
return { id: 0 };
|
|
125
|
+
}
|
|
126
|
+
exports.updateLoanResponse = {
|
|
127
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
128
|
+
if (message.id !== 0) {
|
|
129
|
+
writer.uint32(8).int32(message.id);
|
|
130
|
+
}
|
|
131
|
+
return writer;
|
|
132
|
+
},
|
|
133
|
+
decode(input, length) {
|
|
134
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
135
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
136
|
+
const message = createBaseupdateLoanResponse();
|
|
137
|
+
while (reader.pos < end) {
|
|
138
|
+
const tag = reader.uint32();
|
|
139
|
+
switch (tag >>> 3) {
|
|
140
|
+
case 1:
|
|
141
|
+
if (tag !== 8) {
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
message.id = reader.int32();
|
|
145
|
+
continue;
|
|
146
|
+
}
|
|
147
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
reader.skipType(tag & 7);
|
|
151
|
+
}
|
|
152
|
+
return message;
|
|
153
|
+
},
|
|
154
|
+
fromJSON(object) {
|
|
155
|
+
return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
|
|
156
|
+
},
|
|
157
|
+
toJSON(message) {
|
|
158
|
+
const obj = {};
|
|
159
|
+
if (message.id !== 0) {
|
|
160
|
+
obj.id = Math.round(message.id);
|
|
161
|
+
}
|
|
162
|
+
return obj;
|
|
163
|
+
},
|
|
164
|
+
create(base) {
|
|
165
|
+
return exports.updateLoanResponse.fromPartial(base ?? {});
|
|
166
|
+
},
|
|
167
|
+
fromPartial(object) {
|
|
168
|
+
const message = createBaseupdateLoanResponse();
|
|
169
|
+
message.id = object.id ?? 0;
|
|
170
|
+
return message;
|
|
171
|
+
},
|
|
172
|
+
};
|
|
173
|
+
function isSet(value) {
|
|
174
|
+
return value !== null && value !== undefined;
|
|
175
|
+
}
|
package/ts/loans.d.ts
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
|
+
import { approveLoanRequest, approveLoanResponse } from "./loans/approveloan";
|
|
3
|
+
import { bankListRequest, bankListResponse } from "./loans/banklist";
|
|
4
|
+
import { calculateEmiRequest, calculateEmiResponse } from "./loans/calculateemi";
|
|
5
|
+
import { creditLimitRequest, creditLimitResponse } from "./loans/creditlimit";
|
|
6
|
+
import { restructureLoanRequest, restructureLoanResponse } from "./loans/restructureloan";
|
|
7
|
+
import { transactionListRequest, transactionListResponse } from "./loans/transactionlist";
|
|
8
|
+
import { updateInstallmentsRequest, updateInstallmentsResponse } from "./loans/updateinstallments";
|
|
9
|
+
import { updateLoanRequest, updateLoanResponse } from "./loans/updateloan";
|
|
10
|
+
export declare const protobufPackage = "service";
|
|
11
|
+
export type loansService = typeof loansService;
|
|
12
|
+
export declare const loansService: {
|
|
13
|
+
readonly creditlimit: {
|
|
14
|
+
readonly path: "/service.loans/creditlimit";
|
|
15
|
+
readonly requestStream: false;
|
|
16
|
+
readonly responseStream: false;
|
|
17
|
+
readonly requestSerialize: (value: creditLimitRequest) => Buffer;
|
|
18
|
+
readonly requestDeserialize: (value: Buffer) => creditLimitRequest;
|
|
19
|
+
readonly responseSerialize: (value: creditLimitResponse) => Buffer;
|
|
20
|
+
readonly responseDeserialize: (value: Buffer) => creditLimitResponse;
|
|
21
|
+
};
|
|
22
|
+
readonly calculateemi: {
|
|
23
|
+
readonly path: "/service.loans/calculateemi";
|
|
24
|
+
readonly requestStream: false;
|
|
25
|
+
readonly responseStream: false;
|
|
26
|
+
readonly requestSerialize: (value: calculateEmiRequest) => Buffer;
|
|
27
|
+
readonly requestDeserialize: (value: Buffer) => calculateEmiRequest;
|
|
28
|
+
readonly responseSerialize: (value: calculateEmiResponse) => Buffer;
|
|
29
|
+
readonly responseDeserialize: (value: Buffer) => calculateEmiResponse;
|
|
30
|
+
};
|
|
31
|
+
readonly banklist: {
|
|
32
|
+
readonly path: "/service.loans/banklist";
|
|
33
|
+
readonly requestStream: false;
|
|
34
|
+
readonly responseStream: false;
|
|
35
|
+
readonly requestSerialize: (value: bankListRequest) => Buffer;
|
|
36
|
+
readonly requestDeserialize: (value: Buffer) => bankListRequest;
|
|
37
|
+
readonly responseSerialize: (value: bankListResponse) => Buffer;
|
|
38
|
+
readonly responseDeserialize: (value: Buffer) => bankListResponse;
|
|
39
|
+
};
|
|
40
|
+
readonly approveLoan: {
|
|
41
|
+
readonly path: "/service.loans/approveLoan";
|
|
42
|
+
readonly requestStream: false;
|
|
43
|
+
readonly responseStream: false;
|
|
44
|
+
readonly requestSerialize: (value: approveLoanRequest) => Buffer;
|
|
45
|
+
readonly requestDeserialize: (value: Buffer) => approveLoanRequest;
|
|
46
|
+
readonly responseSerialize: (value: approveLoanResponse) => Buffer;
|
|
47
|
+
readonly responseDeserialize: (value: Buffer) => approveLoanResponse;
|
|
48
|
+
};
|
|
49
|
+
readonly updateloan: {
|
|
50
|
+
readonly path: "/service.loans/updateloan";
|
|
51
|
+
readonly requestStream: false;
|
|
52
|
+
readonly responseStream: false;
|
|
53
|
+
readonly requestSerialize: (value: updateLoanRequest) => Buffer;
|
|
54
|
+
readonly requestDeserialize: (value: Buffer) => updateLoanRequest;
|
|
55
|
+
readonly responseSerialize: (value: updateLoanResponse) => Buffer;
|
|
56
|
+
readonly responseDeserialize: (value: Buffer) => updateLoanResponse;
|
|
57
|
+
};
|
|
58
|
+
readonly updateInstallments: {
|
|
59
|
+
readonly path: "/service.loans/updateInstallments";
|
|
60
|
+
readonly requestStream: false;
|
|
61
|
+
readonly responseStream: false;
|
|
62
|
+
readonly requestSerialize: (value: updateInstallmentsRequest) => Buffer;
|
|
63
|
+
readonly requestDeserialize: (value: Buffer) => updateInstallmentsRequest;
|
|
64
|
+
readonly responseSerialize: (value: updateInstallmentsResponse) => Buffer;
|
|
65
|
+
readonly responseDeserialize: (value: Buffer) => updateInstallmentsResponse;
|
|
66
|
+
};
|
|
67
|
+
readonly restructureLoan: {
|
|
68
|
+
readonly path: "/service.loans/restructureLoan";
|
|
69
|
+
readonly requestStream: false;
|
|
70
|
+
readonly responseStream: false;
|
|
71
|
+
readonly requestSerialize: (value: restructureLoanRequest) => Buffer;
|
|
72
|
+
readonly requestDeserialize: (value: Buffer) => restructureLoanRequest;
|
|
73
|
+
readonly responseSerialize: (value: restructureLoanResponse) => Buffer;
|
|
74
|
+
readonly responseDeserialize: (value: Buffer) => restructureLoanResponse;
|
|
75
|
+
};
|
|
76
|
+
readonly transactionList: {
|
|
77
|
+
readonly path: "/service.loans/transactionList";
|
|
78
|
+
readonly requestStream: false;
|
|
79
|
+
readonly responseStream: false;
|
|
80
|
+
readonly requestSerialize: (value: transactionListRequest) => Buffer;
|
|
81
|
+
readonly requestDeserialize: (value: Buffer) => transactionListRequest;
|
|
82
|
+
readonly responseSerialize: (value: transactionListResponse) => Buffer;
|
|
83
|
+
readonly responseDeserialize: (value: Buffer) => transactionListResponse;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export interface loansServer extends UntypedServiceImplementation {
|
|
87
|
+
creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
|
|
88
|
+
calculateemi: handleUnaryCall<calculateEmiRequest, calculateEmiResponse>;
|
|
89
|
+
banklist: handleUnaryCall<bankListRequest, bankListResponse>;
|
|
90
|
+
approveLoan: handleUnaryCall<approveLoanRequest, approveLoanResponse>;
|
|
91
|
+
updateloan: handleUnaryCall<updateLoanRequest, updateLoanResponse>;
|
|
92
|
+
updateInstallments: handleUnaryCall<updateInstallmentsRequest, updateInstallmentsResponse>;
|
|
93
|
+
restructureLoan: handleUnaryCall<restructureLoanRequest, restructureLoanResponse>;
|
|
94
|
+
transactionList: handleUnaryCall<transactionListRequest, transactionListResponse>;
|
|
95
|
+
}
|
|
96
|
+
export interface loansClient extends Client {
|
|
97
|
+
creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
|
|
98
|
+
creditlimit(request: creditLimitRequest, metadata: Metadata, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
|
|
99
|
+
creditlimit(request: creditLimitRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
|
|
100
|
+
calculateemi(request: calculateEmiRequest, callback: (error: ServiceError | null, response: calculateEmiResponse) => void): ClientUnaryCall;
|
|
101
|
+
calculateemi(request: calculateEmiRequest, metadata: Metadata, callback: (error: ServiceError | null, response: calculateEmiResponse) => void): ClientUnaryCall;
|
|
102
|
+
calculateemi(request: calculateEmiRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: calculateEmiResponse) => void): ClientUnaryCall;
|
|
103
|
+
banklist(request: bankListRequest, callback: (error: ServiceError | null, response: bankListResponse) => void): ClientUnaryCall;
|
|
104
|
+
banklist(request: bankListRequest, metadata: Metadata, callback: (error: ServiceError | null, response: bankListResponse) => void): ClientUnaryCall;
|
|
105
|
+
banklist(request: bankListRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: bankListResponse) => void): ClientUnaryCall;
|
|
106
|
+
approveLoan(request: approveLoanRequest, callback: (error: ServiceError | null, response: approveLoanResponse) => void): ClientUnaryCall;
|
|
107
|
+
approveLoan(request: approveLoanRequest, metadata: Metadata, callback: (error: ServiceError | null, response: approveLoanResponse) => void): ClientUnaryCall;
|
|
108
|
+
approveLoan(request: approveLoanRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: approveLoanResponse) => void): ClientUnaryCall;
|
|
109
|
+
updateloan(request: updateLoanRequest, callback: (error: ServiceError | null, response: updateLoanResponse) => void): ClientUnaryCall;
|
|
110
|
+
updateloan(request: updateLoanRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateLoanResponse) => void): ClientUnaryCall;
|
|
111
|
+
updateloan(request: updateLoanRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateLoanResponse) => void): ClientUnaryCall;
|
|
112
|
+
updateInstallments(request: updateInstallmentsRequest, callback: (error: ServiceError | null, response: updateInstallmentsResponse) => void): ClientUnaryCall;
|
|
113
|
+
updateInstallments(request: updateInstallmentsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateInstallmentsResponse) => void): ClientUnaryCall;
|
|
114
|
+
updateInstallments(request: updateInstallmentsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateInstallmentsResponse) => void): ClientUnaryCall;
|
|
115
|
+
restructureLoan(request: restructureLoanRequest, callback: (error: ServiceError | null, response: restructureLoanResponse) => void): ClientUnaryCall;
|
|
116
|
+
restructureLoan(request: restructureLoanRequest, metadata: Metadata, callback: (error: ServiceError | null, response: restructureLoanResponse) => void): ClientUnaryCall;
|
|
117
|
+
restructureLoan(request: restructureLoanRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: restructureLoanResponse) => void): ClientUnaryCall;
|
|
118
|
+
transactionList(request: transactionListRequest, callback: (error: ServiceError | null, response: transactionListResponse) => void): ClientUnaryCall;
|
|
119
|
+
transactionList(request: transactionListRequest, metadata: Metadata, callback: (error: ServiceError | null, response: transactionListResponse) => void): ClientUnaryCall;
|
|
120
|
+
transactionList(request: transactionListRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: transactionListResponse) => void): ClientUnaryCall;
|
|
121
|
+
}
|
|
122
|
+
export declare const loansClient: {
|
|
123
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
|
|
124
|
+
service: typeof loansService;
|
|
125
|
+
serviceName: string;
|
|
126
|
+
};
|