@stashfin/grpc 1.2.127 → 1.2.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ts/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getbureau.d.ts +157 -0
- package/ts/bureau/getbureau.js +1376 -0
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getreport.d.ts +1 -1
- package/ts/bureau/getreport.js +9 -9
- package/ts/bureau.js +1 -1
- package/ts/colender/disburseLoan.js +1 -1
- package/ts/colender/forecloseLoan.js +1 -1
- package/ts/colender/repayLoan.js +1 -1
- 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/addgstnumber.js +1 -1
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.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/fetchrcprofile.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinotp.js +2 -2
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbanklist.d.ts +48 -0
- package/ts/customers/getbanklist.js +198 -0
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.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/getkycweburl.js +2 -2
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetmpin.js +2 -2
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendemailtoken.js +2 -2
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/step1.d.ts +71 -0
- package/ts/customers/step1.js +423 -0
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step2.d.ts +67 -0
- package/ts/customers/step2.js +366 -0
- package/ts/customers/step7.js +1 -1
- package/ts/customers/step8.js +1 -1
- package/ts/customers/step9.js +1 -1
- package/ts/customers/stepstatic.js +1 -1
- package/ts/customers/updatedigilockertxn.js +2 -2
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatehypervergetxn.js +2 -2
- package/ts/customers/updatelocdisabled.d.ts +35 -0
- package/ts/customers/updatelocdisabled.js +117 -0
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobile.d.ts +35 -0
- package/ts/customers/updatemobile.js +117 -0
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifyemail.js +2 -2
- 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/google/protobuf/timestamp.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.d.ts +5 -0
- package/ts/loans/calculateemi.js +83 -2
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/futurepaymentmoredetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getloanbyid.d.ts +53 -0
- package/ts/loans/getloanbyid.js +393 -0
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getstaticfields.d.ts +86 -0
- package/ts/loans/getstaticfields.js +801 -0
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/restructureloan.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.d.ts +14 -0
- package/ts/loans.js +11 -1
- package/ts/payments.d.ts +211 -42
- package/ts/payments.js +1092 -29
- 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
- package/ts/payments/checkpaymentstatus.d.ts +0 -51
- package/ts/payments/checkpaymentstatus.js +0 -259
- package/ts/payments/getpaymentoptions.d.ts +0 -50
- package/ts/payments/getpaymentoptions.js +0 -233
- package/ts/payments/initiatepayment.d.ts +0 -67
- package/ts/payments/initiatepayment.js +0 -381
- package/ts/payments/nachregistration.d.ts +0 -51
- package/ts/payments/nachregistration.js +0 -257
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: bureau/getbasicdetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "bureau.getbureau";
|
|
3
|
+
export interface bureauRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
range: number;
|
|
6
|
+
bureau_type: number;
|
|
7
|
+
source: string;
|
|
8
|
+
pull_type: number;
|
|
9
|
+
}
|
|
10
|
+
export interface bureauResponse {
|
|
11
|
+
status: string;
|
|
12
|
+
data: Report | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface Report {
|
|
15
|
+
report_id: number;
|
|
16
|
+
score: number;
|
|
17
|
+
/** Possible values: "cibil", "crif", "equifax" */
|
|
18
|
+
type: string;
|
|
19
|
+
trdelines: TradeLine[];
|
|
20
|
+
dpd: DPD | undefined;
|
|
21
|
+
enquiries: Enquiries | undefined;
|
|
22
|
+
dpd_char: dpdChar | undefined;
|
|
23
|
+
written_off: number;
|
|
24
|
+
suit_filled: string;
|
|
25
|
+
}
|
|
26
|
+
export interface TradeLine {
|
|
27
|
+
account_id: number;
|
|
28
|
+
account_type: string;
|
|
29
|
+
current_balance: number;
|
|
30
|
+
date_closed: string;
|
|
31
|
+
last_payment_date: string;
|
|
32
|
+
disbursed_date: string;
|
|
33
|
+
date_reported: string;
|
|
34
|
+
sanctioned_amount: number;
|
|
35
|
+
ownership_indicator: string;
|
|
36
|
+
suit_filed: string;
|
|
37
|
+
overdue_amount: number;
|
|
38
|
+
settled_status: string;
|
|
39
|
+
account_status: string;
|
|
40
|
+
emi_amount: number;
|
|
41
|
+
credit_limit: number;
|
|
42
|
+
}
|
|
43
|
+
export interface DPD {
|
|
44
|
+
month1: number;
|
|
45
|
+
month2: number;
|
|
46
|
+
month3: number;
|
|
47
|
+
month4: number;
|
|
48
|
+
month5: number;
|
|
49
|
+
month6: number;
|
|
50
|
+
month7: number;
|
|
51
|
+
month8: number;
|
|
52
|
+
month9: number;
|
|
53
|
+
month10: number;
|
|
54
|
+
month11: number;
|
|
55
|
+
month12: number;
|
|
56
|
+
month13: number;
|
|
57
|
+
month14: number;
|
|
58
|
+
month15: number;
|
|
59
|
+
month16: number;
|
|
60
|
+
month17: number;
|
|
61
|
+
month18: number;
|
|
62
|
+
month19: number;
|
|
63
|
+
month20: number;
|
|
64
|
+
month21: number;
|
|
65
|
+
month22: number;
|
|
66
|
+
month23: number;
|
|
67
|
+
month24: number;
|
|
68
|
+
}
|
|
69
|
+
export interface Enquiries {
|
|
70
|
+
month1: number;
|
|
71
|
+
month3: number;
|
|
72
|
+
month6: number;
|
|
73
|
+
month9: number;
|
|
74
|
+
month12: number;
|
|
75
|
+
month15: number;
|
|
76
|
+
month18: number;
|
|
77
|
+
month21: number;
|
|
78
|
+
month24: number;
|
|
79
|
+
}
|
|
80
|
+
export interface dpdChar {
|
|
81
|
+
month1: number;
|
|
82
|
+
month3: number;
|
|
83
|
+
month6: number;
|
|
84
|
+
month9: number;
|
|
85
|
+
month12: number;
|
|
86
|
+
month15: number;
|
|
87
|
+
month18: number;
|
|
88
|
+
month21: number;
|
|
89
|
+
month24: number;
|
|
90
|
+
}
|
|
91
|
+
export declare const bureauRequest: {
|
|
92
|
+
encode(message: bureauRequest, writer?: _m0.Writer): _m0.Writer;
|
|
93
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): bureauRequest;
|
|
94
|
+
fromJSON(object: any): bureauRequest;
|
|
95
|
+
toJSON(message: bureauRequest): unknown;
|
|
96
|
+
create<I extends Exact<DeepPartial<bureauRequest>, I>>(base?: I): bureauRequest;
|
|
97
|
+
fromPartial<I extends Exact<DeepPartial<bureauRequest>, I>>(object: I): bureauRequest;
|
|
98
|
+
};
|
|
99
|
+
export declare const bureauResponse: {
|
|
100
|
+
encode(message: bureauResponse, writer?: _m0.Writer): _m0.Writer;
|
|
101
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): bureauResponse;
|
|
102
|
+
fromJSON(object: any): bureauResponse;
|
|
103
|
+
toJSON(message: bureauResponse): unknown;
|
|
104
|
+
create<I extends Exact<DeepPartial<bureauResponse>, I>>(base?: I): bureauResponse;
|
|
105
|
+
fromPartial<I extends Exact<DeepPartial<bureauResponse>, I>>(object: I): bureauResponse;
|
|
106
|
+
};
|
|
107
|
+
export declare const Report: {
|
|
108
|
+
encode(message: Report, writer?: _m0.Writer): _m0.Writer;
|
|
109
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Report;
|
|
110
|
+
fromJSON(object: any): Report;
|
|
111
|
+
toJSON(message: Report): unknown;
|
|
112
|
+
create<I extends Exact<DeepPartial<Report>, I>>(base?: I): Report;
|
|
113
|
+
fromPartial<I extends Exact<DeepPartial<Report>, I>>(object: I): Report;
|
|
114
|
+
};
|
|
115
|
+
export declare const TradeLine: {
|
|
116
|
+
encode(message: TradeLine, writer?: _m0.Writer): _m0.Writer;
|
|
117
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TradeLine;
|
|
118
|
+
fromJSON(object: any): TradeLine;
|
|
119
|
+
toJSON(message: TradeLine): unknown;
|
|
120
|
+
create<I extends Exact<DeepPartial<TradeLine>, I>>(base?: I): TradeLine;
|
|
121
|
+
fromPartial<I extends Exact<DeepPartial<TradeLine>, I>>(object: I): TradeLine;
|
|
122
|
+
};
|
|
123
|
+
export declare const DPD: {
|
|
124
|
+
encode(message: DPD, writer?: _m0.Writer): _m0.Writer;
|
|
125
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DPD;
|
|
126
|
+
fromJSON(object: any): DPD;
|
|
127
|
+
toJSON(message: DPD): unknown;
|
|
128
|
+
create<I extends Exact<DeepPartial<DPD>, I>>(base?: I): DPD;
|
|
129
|
+
fromPartial<I extends Exact<DeepPartial<DPD>, I>>(object: I): DPD;
|
|
130
|
+
};
|
|
131
|
+
export declare const Enquiries: {
|
|
132
|
+
encode(message: Enquiries, writer?: _m0.Writer): _m0.Writer;
|
|
133
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Enquiries;
|
|
134
|
+
fromJSON(object: any): Enquiries;
|
|
135
|
+
toJSON(message: Enquiries): unknown;
|
|
136
|
+
create<I extends Exact<DeepPartial<Enquiries>, I>>(base?: I): Enquiries;
|
|
137
|
+
fromPartial<I extends Exact<DeepPartial<Enquiries>, I>>(object: I): Enquiries;
|
|
138
|
+
};
|
|
139
|
+
export declare const dpdChar: {
|
|
140
|
+
encode(message: dpdChar, writer?: _m0.Writer): _m0.Writer;
|
|
141
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): dpdChar;
|
|
142
|
+
fromJSON(object: any): dpdChar;
|
|
143
|
+
toJSON(message: dpdChar): unknown;
|
|
144
|
+
create<I extends Exact<DeepPartial<dpdChar>, I>>(base?: I): dpdChar;
|
|
145
|
+
fromPartial<I extends Exact<DeepPartial<dpdChar>, I>>(object: I): dpdChar;
|
|
146
|
+
};
|
|
147
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
148
|
+
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 {} ? {
|
|
149
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
150
|
+
} : Partial<T>;
|
|
151
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
152
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
153
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
154
|
+
} & {
|
|
155
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
156
|
+
};
|
|
157
|
+
export {};
|