@stashfin/grpc 1.2.225 → 1.2.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ts/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getbureaulist.js +1 -1
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getobligation.js +1 -1
- package/ts/bureau/getreport.js +1 -1
- package/ts/bureau.js +1 -1
- package/ts/colender/disburseLoan.js +1 -1
- package/ts/colender/forecloseLoan.d.ts +1 -0
- package/ts/colender/forecloseLoan.js +16 -2
- package/ts/colender/repayLoan.d.ts +2 -1
- package/ts/colender/repayLoan.js +25 -9
- package/ts/colender.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.js +1 -1
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addfathersname.js +1 -1
- package/ts/customers/addgstnumber.js +1 -1
- package/ts/customers/addmoredetails.js +1 -1
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/cb/cbsignup.js +1 -1
- package/ts/customers/cb/getcreditbuilder.js +1 -1
- package/ts/customers/cb/paynow.js +1 -1
- package/ts/customers/cb/savecreditbuilder.js +1 -1
- package/ts/customers/changempin.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/disablempin.js +1 -1
- package/ts/customers/enach/gettxnstatus.js +1 -1
- package/ts/customers/enach/getweburl.js +1 -1
- package/ts/customers/enach/updatetxnstatus.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/floatingvideos.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/getaddresslist.js +1 -1
- package/ts/customers/getappsubmittedscreen.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getdocuments.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getoccupationlist.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getselfieetxnid.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/logout.js +1 -1
- package/ts/customers/pd/getbanklist.js +1 -1
- package/ts/customers/pd/validatebankaccount.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/rpd/getrpdlink.js +1 -1
- package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
- package/ts/customers/rpd/mockpayment.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/savelimit.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/updatecustomerbyid.js +1 -1
- package/ts/customers/updatedlnumber.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatevehiclenumber.js +1 -1
- package/ts/customers/uploaddocuments.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.js +1 -1
- package/ts/example.js +1 -1
- package/ts/growth/checkplanstatus.js +1 -1
- package/ts/growth/getattachplandetails.js +1 -1
- package/ts/growth/getchrplans.js +1 -1
- package/ts/growth/getcredithealthreport.js +1 -1
- package/ts/growth/initiatepayment.js +1 -1
- package/ts/growth/processchrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/loans/amortization.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/fcppayment.js +1 -1
- package/ts/loans/forecloseamount.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/futurepaymentmoredetails.js +1 -1
- package/ts/loans/getbilldetails.d.ts +15 -5
- package/ts/loans/getbilldetails.js +60 -19
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/gettransactionstatus.d.ts +35 -0
- package/ts/loans/gettransactionstatus.js +117 -0
- package/ts/loans/getvirtualbankinfo.d.ts +37 -0
- package/ts/loans/getvirtualbankinfo.js +148 -0
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/paynow.d.ts +16 -1
- package/ts/loans/paynow.js +124 -14
- package/ts/loans/refund.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/rollback.js +1 -1
- package/ts/loans/sendemail.js +1 -1
- package/ts/loans/sendnocemail.js +1 -1
- package/ts/loans/transactionlist.js +1 -1
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans/updatetransactionstatus.d.ts +36 -0
- package/ts/loans/updatetransactionstatus.js +133 -0
- package/ts/loans.d.ts +42 -0
- package/ts/loans.js +31 -1
- package/ts/payments/checkpaymentstatus.js +1 -1
- package/ts/payments/getpaymentoptions.js +1 -1
- package/ts/payments/initiatepayment.js +1 -1
- package/ts/payments/nachpresentation.js +1 -1
- package/ts/payments/nachregistration.js +1 -1
- package/ts/payments.js +1 -1
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
|
@@ -2,38 +2,75 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/getbilldetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.getBillDetailsResponse = exports.getBillDetailsRequest = exports.protobufPackage = void 0;
|
|
11
|
+
exports.getBillDetailsResponse_Field = exports.getBillDetailsResponse = exports.getBillDetailsRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.getbilldetails";
|
|
15
15
|
function createBasegetBillDetailsRequest() {
|
|
16
|
-
return {
|
|
16
|
+
return {};
|
|
17
17
|
}
|
|
18
18
|
exports.getBillDetailsRequest = {
|
|
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 = createBasegetBillDetailsRequest();
|
|
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.getBillDetailsRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetBillDetailsRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasegetBillDetailsResponse() {
|
|
53
|
+
return { data: [] };
|
|
54
|
+
}
|
|
55
|
+
exports.getBillDetailsResponse = {
|
|
19
56
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
|
|
21
|
-
writer.uint32(
|
|
57
|
+
for (const v of message.data) {
|
|
58
|
+
exports.getBillDetailsResponse_Field.encode(v, writer.uint32(10).fork()).ldelim();
|
|
22
59
|
}
|
|
23
60
|
return writer;
|
|
24
61
|
},
|
|
25
62
|
decode(input, length) {
|
|
26
63
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
64
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message =
|
|
65
|
+
const message = createBasegetBillDetailsResponse();
|
|
29
66
|
while (reader.pos < end) {
|
|
30
67
|
const tag = reader.uint32();
|
|
31
68
|
switch (tag >>> 3) {
|
|
32
69
|
case 1:
|
|
33
|
-
if (tag !==
|
|
70
|
+
if (tag !== 10) {
|
|
34
71
|
break;
|
|
35
72
|
}
|
|
36
|
-
message.
|
|
73
|
+
message.data.push(exports.getBillDetailsResponse_Field.decode(reader, reader.uint32()));
|
|
37
74
|
continue;
|
|
38
75
|
}
|
|
39
76
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -44,28 +81,32 @@ exports.getBillDetailsRequest = {
|
|
|
44
81
|
return message;
|
|
45
82
|
},
|
|
46
83
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
84
|
+
return {
|
|
85
|
+
data: globalThis.Array.isArray(object?.data)
|
|
86
|
+
? object.data.map((e) => exports.getBillDetailsResponse_Field.fromJSON(e))
|
|
87
|
+
: [],
|
|
88
|
+
};
|
|
48
89
|
},
|
|
49
90
|
toJSON(message) {
|
|
50
91
|
const obj = {};
|
|
51
|
-
if (message.
|
|
52
|
-
obj.
|
|
92
|
+
if (message.data?.length) {
|
|
93
|
+
obj.data = message.data.map((e) => exports.getBillDetailsResponse_Field.toJSON(e));
|
|
53
94
|
}
|
|
54
95
|
return obj;
|
|
55
96
|
},
|
|
56
97
|
create(base) {
|
|
57
|
-
return exports.
|
|
98
|
+
return exports.getBillDetailsResponse.fromPartial(base ?? {});
|
|
58
99
|
},
|
|
59
100
|
fromPartial(object) {
|
|
60
|
-
const message =
|
|
61
|
-
message.
|
|
101
|
+
const message = createBasegetBillDetailsResponse();
|
|
102
|
+
message.data = object.data?.map((e) => exports.getBillDetailsResponse_Field.fromPartial(e)) || [];
|
|
62
103
|
return message;
|
|
63
104
|
},
|
|
64
105
|
};
|
|
65
|
-
function
|
|
106
|
+
function createBasegetBillDetailsResponse_Field() {
|
|
66
107
|
return { bill_amount: 0, bill_date: "", principal: 0, interest: 0, inst_id: 0, penalty: 0 };
|
|
67
108
|
}
|
|
68
|
-
exports.
|
|
109
|
+
exports.getBillDetailsResponse_Field = {
|
|
69
110
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
111
|
if (message.bill_amount !== 0) {
|
|
71
112
|
writer.uint32(8).int32(message.bill_amount);
|
|
@@ -90,7 +131,7 @@ exports.getBillDetailsResponse = {
|
|
|
90
131
|
decode(input, length) {
|
|
91
132
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
92
133
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
93
|
-
const message =
|
|
134
|
+
const message = createBasegetBillDetailsResponse_Field();
|
|
94
135
|
while (reader.pos < end) {
|
|
95
136
|
const tag = reader.uint32();
|
|
96
137
|
switch (tag >>> 3) {
|
|
@@ -171,10 +212,10 @@ exports.getBillDetailsResponse = {
|
|
|
171
212
|
return obj;
|
|
172
213
|
},
|
|
173
214
|
create(base) {
|
|
174
|
-
return exports.
|
|
215
|
+
return exports.getBillDetailsResponse_Field.fromPartial(base ?? {});
|
|
175
216
|
},
|
|
176
217
|
fromPartial(object) {
|
|
177
|
-
const message =
|
|
218
|
+
const message = createBasegetBillDetailsResponse_Field();
|
|
178
219
|
message.bill_amount = object.bill_amount ?? 0;
|
|
179
220
|
message.bill_date = object.bill_date ?? "";
|
|
180
221
|
message.principal = object.principal ?? 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/getcustomerloanstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/getloanbyid.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/getloanbyid.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/getnextdueamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/getpendingemiamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/getsummarystaticfields.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.gettransactionstatus";
|
|
3
|
+
export interface getTransactionStatusRequest {
|
|
4
|
+
order_id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface getTransactionStatusResponse {
|
|
7
|
+
status: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const getTransactionStatusRequest: {
|
|
10
|
+
encode(message: getTransactionStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getTransactionStatusRequest;
|
|
12
|
+
fromJSON(object: any): getTransactionStatusRequest;
|
|
13
|
+
toJSON(message: getTransactionStatusRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<getTransactionStatusRequest>, I>>(base?: I): getTransactionStatusRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<getTransactionStatusRequest>, I>>(object: I): getTransactionStatusRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const getTransactionStatusResponse: {
|
|
18
|
+
encode(message: getTransactionStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getTransactionStatusResponse;
|
|
20
|
+
fromJSON(object: any): getTransactionStatusResponse;
|
|
21
|
+
toJSON(message: getTransactionStatusResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<getTransactionStatusResponse>, I>>(base?: I): getTransactionStatusResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<getTransactionStatusResponse>, I>>(object: I): getTransactionStatusResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
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 {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,117 @@
|
|
|
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.28.1
|
|
6
|
+
// source: loans/gettransactionstatus.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.getTransactionStatusResponse = exports.getTransactionStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.gettransactionstatus";
|
|
15
|
+
function createBasegetTransactionStatusRequest() {
|
|
16
|
+
return { order_id: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.getTransactionStatusRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.order_id !== "") {
|
|
21
|
+
writer.uint32(10).string(message.order_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 = createBasegetTransactionStatusRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.order_id = reader.string();
|
|
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 { order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.order_id !== "") {
|
|
52
|
+
obj.order_id = message.order_id;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.getTransactionStatusRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasegetTransactionStatusRequest();
|
|
61
|
+
message.order_id = object.order_id ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasegetTransactionStatusResponse() {
|
|
66
|
+
return { status: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.getTransactionStatusResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.status !== "") {
|
|
71
|
+
writer.uint32(10).string(message.status);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBasegetTransactionStatusResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 10) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.status = reader.string();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.status !== "") {
|
|
102
|
+
obj.status = message.status;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.getTransactionStatusResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBasegetTransactionStatusResponse();
|
|
111
|
+
message.status = object.status ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.getvirtualbankinfo";
|
|
3
|
+
export interface getVirtualBankInfoRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getVirtualBankInfoResponse {
|
|
6
|
+
account_number: string;
|
|
7
|
+
account_name: string;
|
|
8
|
+
ifsc_code: string;
|
|
9
|
+
bank_name: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const getVirtualBankInfoRequest: {
|
|
12
|
+
encode(_: getVirtualBankInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getVirtualBankInfoRequest;
|
|
14
|
+
fromJSON(_: any): getVirtualBankInfoRequest;
|
|
15
|
+
toJSON(_: getVirtualBankInfoRequest): unknown;
|
|
16
|
+
create<I extends Exact<DeepPartial<getVirtualBankInfoRequest>, I>>(base?: I): getVirtualBankInfoRequest;
|
|
17
|
+
fromPartial<I extends Exact<DeepPartial<getVirtualBankInfoRequest>, I>>(_: I): getVirtualBankInfoRequest;
|
|
18
|
+
};
|
|
19
|
+
export declare const getVirtualBankInfoResponse: {
|
|
20
|
+
encode(message: getVirtualBankInfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getVirtualBankInfoResponse;
|
|
22
|
+
fromJSON(object: any): getVirtualBankInfoResponse;
|
|
23
|
+
toJSON(message: getVirtualBankInfoResponse): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<getVirtualBankInfoResponse>, I>>(base?: I): getVirtualBankInfoResponse;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<getVirtualBankInfoResponse>, I>>(object: I): getVirtualBankInfoResponse;
|
|
26
|
+
};
|
|
27
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
+
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 {} ? {
|
|
29
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,148 @@
|
|
|
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.28.1
|
|
6
|
+
// source: loans/getvirtualbankinfo.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.getVirtualBankInfoResponse = exports.getVirtualBankInfoRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.getvirtualbankinfo";
|
|
15
|
+
function createBasegetVirtualBankInfoRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.getVirtualBankInfoRequest = {
|
|
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 = createBasegetVirtualBankInfoRequest();
|
|
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.getVirtualBankInfoRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetVirtualBankInfoRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasegetVirtualBankInfoResponse() {
|
|
53
|
+
return { account_number: "", account_name: "", ifsc_code: "", bank_name: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.getVirtualBankInfoResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.account_number !== "") {
|
|
58
|
+
writer.uint32(10).string(message.account_number);
|
|
59
|
+
}
|
|
60
|
+
if (message.account_name !== "") {
|
|
61
|
+
writer.uint32(18).string(message.account_name);
|
|
62
|
+
}
|
|
63
|
+
if (message.ifsc_code !== "") {
|
|
64
|
+
writer.uint32(26).string(message.ifsc_code);
|
|
65
|
+
}
|
|
66
|
+
if (message.bank_name !== "") {
|
|
67
|
+
writer.uint32(34).string(message.bank_name);
|
|
68
|
+
}
|
|
69
|
+
return writer;
|
|
70
|
+
},
|
|
71
|
+
decode(input, length) {
|
|
72
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
73
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
74
|
+
const message = createBasegetVirtualBankInfoResponse();
|
|
75
|
+
while (reader.pos < end) {
|
|
76
|
+
const tag = reader.uint32();
|
|
77
|
+
switch (tag >>> 3) {
|
|
78
|
+
case 1:
|
|
79
|
+
if (tag !== 10) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
message.account_number = reader.string();
|
|
83
|
+
continue;
|
|
84
|
+
case 2:
|
|
85
|
+
if (tag !== 18) {
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
message.account_name = reader.string();
|
|
89
|
+
continue;
|
|
90
|
+
case 3:
|
|
91
|
+
if (tag !== 26) {
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
message.ifsc_code = reader.string();
|
|
95
|
+
continue;
|
|
96
|
+
case 4:
|
|
97
|
+
if (tag !== 34) {
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
message.bank_name = reader.string();
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
reader.skipType(tag & 7);
|
|
107
|
+
}
|
|
108
|
+
return message;
|
|
109
|
+
},
|
|
110
|
+
fromJSON(object) {
|
|
111
|
+
return {
|
|
112
|
+
account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : "",
|
|
113
|
+
account_name: isSet(object.account_name) ? globalThis.String(object.account_name) : "",
|
|
114
|
+
ifsc_code: isSet(object.ifsc_code) ? globalThis.String(object.ifsc_code) : "",
|
|
115
|
+
bank_name: isSet(object.bank_name) ? globalThis.String(object.bank_name) : "",
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
toJSON(message) {
|
|
119
|
+
const obj = {};
|
|
120
|
+
if (message.account_number !== "") {
|
|
121
|
+
obj.account_number = message.account_number;
|
|
122
|
+
}
|
|
123
|
+
if (message.account_name !== "") {
|
|
124
|
+
obj.account_name = message.account_name;
|
|
125
|
+
}
|
|
126
|
+
if (message.ifsc_code !== "") {
|
|
127
|
+
obj.ifsc_code = message.ifsc_code;
|
|
128
|
+
}
|
|
129
|
+
if (message.bank_name !== "") {
|
|
130
|
+
obj.bank_name = message.bank_name;
|
|
131
|
+
}
|
|
132
|
+
return obj;
|
|
133
|
+
},
|
|
134
|
+
create(base) {
|
|
135
|
+
return exports.getVirtualBankInfoResponse.fromPartial(base ?? {});
|
|
136
|
+
},
|
|
137
|
+
fromPartial(object) {
|
|
138
|
+
const message = createBasegetVirtualBankInfoResponse();
|
|
139
|
+
message.account_number = object.account_number ?? "";
|
|
140
|
+
message.account_name = object.account_name ?? "";
|
|
141
|
+
message.ifsc_code = object.ifsc_code ?? "";
|
|
142
|
+
message.bank_name = object.bank_name ?? "";
|
|
143
|
+
return message;
|
|
144
|
+
},
|
|
145
|
+
};
|
|
146
|
+
function isSet(value) {
|
|
147
|
+
return value !== null && value !== undefined;
|
|
148
|
+
}
|
package/ts/loans/loansummary.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/loansummary.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/paymentallocation.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.1
|
|
6
6
|
// source: loans/paymenthistory.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/paynow.d.ts
CHANGED
|
@@ -2,8 +2,15 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "loans.paynow";
|
|
3
3
|
export interface payNowRequest {
|
|
4
4
|
customer_id: number;
|
|
5
|
-
inst_id: string;
|
|
6
5
|
mode: string;
|
|
6
|
+
add_ons: payNowRequest_add_on[];
|
|
7
|
+
amount: number;
|
|
8
|
+
}
|
|
9
|
+
export interface payNowRequest_add_on {
|
|
10
|
+
type: string;
|
|
11
|
+
plan_id: string;
|
|
12
|
+
amount: number;
|
|
13
|
+
meta_data: string;
|
|
7
14
|
}
|
|
8
15
|
export interface payNowResponse {
|
|
9
16
|
redirect_url: string;
|
|
@@ -16,6 +23,14 @@ export declare const payNowRequest: {
|
|
|
16
23
|
create<I extends Exact<DeepPartial<payNowRequest>, I>>(base?: I): payNowRequest;
|
|
17
24
|
fromPartial<I extends Exact<DeepPartial<payNowRequest>, I>>(object: I): payNowRequest;
|
|
18
25
|
};
|
|
26
|
+
export declare const payNowRequest_add_on: {
|
|
27
|
+
encode(message: payNowRequest_add_on, writer?: _m0.Writer): _m0.Writer;
|
|
28
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): payNowRequest_add_on;
|
|
29
|
+
fromJSON(object: any): payNowRequest_add_on;
|
|
30
|
+
toJSON(message: payNowRequest_add_on): unknown;
|
|
31
|
+
create<I extends Exact<DeepPartial<payNowRequest_add_on>, I>>(base?: I): payNowRequest_add_on;
|
|
32
|
+
fromPartial<I extends Exact<DeepPartial<payNowRequest_add_on>, I>>(object: I): payNowRequest_add_on;
|
|
33
|
+
};
|
|
19
34
|
export declare const payNowResponse: {
|
|
20
35
|
encode(message: payNowResponse, writer?: _m0.Writer): _m0.Writer;
|
|
21
36
|
decode(input: _m0.Reader | Uint8Array, length?: number): payNowResponse;
|