@stashfin/grpc 1.2.169 → 1.2.171

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.
Files changed (189) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.d.ts +57 -0
  3. package/ts/bureau/getbasicdetails.js +341 -0
  4. package/ts/bureau/getdemogs.d.ts +113 -0
  5. package/ts/bureau/getdemogs.js +611 -0
  6. package/ts/bureau/getreport.d.ts +188 -0
  7. package/ts/bureau/getreport.js +1640 -0
  8. package/ts/bureau.d.ts +56 -0
  9. package/ts/bureau.js +44 -0
  10. package/ts/colender/disburseLoan.d.ts +44 -0
  11. package/ts/colender/disburseLoan.js +256 -0
  12. package/ts/colender/forecloseLoan.d.ts +41 -0
  13. package/ts/colender/forecloseLoan.js +205 -0
  14. package/ts/colender/repayLoan.d.ts +48 -0
  15. package/ts/colender/repayLoan.js +313 -0
  16. package/ts/colender.d.ts +56 -0
  17. package/ts/colender.js +44 -0
  18. package/ts/customers/aa/getbanklist.d.ts +48 -0
  19. package/ts/customers/aa/getbanklist.js +198 -0
  20. package/ts/customers/aa/initiate.d.ts +40 -0
  21. package/ts/customers/aa/initiate.js +209 -0
  22. package/ts/customers/addaddress.d.ts +50 -0
  23. package/ts/customers/addaddress.js +265 -0
  24. package/ts/customers/addbankaccountdetails.d.ts +37 -0
  25. package/ts/customers/addbankaccountdetails.js +147 -0
  26. package/ts/customers/addfathersname.d.ts +35 -0
  27. package/ts/customers/addfathersname.js +117 -0
  28. package/ts/customers/addgstnumber.d.ts +35 -0
  29. package/ts/customers/addgstnumber.js +117 -0
  30. package/ts/customers/addmoredetails.d.ts +47 -0
  31. package/ts/customers/addmoredetails.js +185 -0
  32. package/ts/customers/addsuspendedcustomer.d.ts +36 -0
  33. package/ts/customers/addsuspendedcustomer.js +133 -0
  34. package/ts/customers/adduserapps.d.ts +74 -0
  35. package/ts/customers/adduserapps.js +210 -0
  36. package/ts/customers/bulksms.d.ts +48 -0
  37. package/ts/customers/bulksms.js +201 -0
  38. package/ts/customers/changempin.d.ts +36 -0
  39. package/ts/customers/changempin.js +133 -0
  40. package/ts/customers/createcustomerreference.d.ts +43 -0
  41. package/ts/customers/createcustomerreference.js +226 -0
  42. package/ts/customers/deleteprofile.d.ts +35 -0
  43. package/ts/customers/deleteprofile.js +120 -0
  44. package/ts/customers/disablempin.d.ts +34 -0
  45. package/ts/customers/disablempin.js +104 -0
  46. package/ts/customers/fetchrcprofile.d.ts +45 -0
  47. package/ts/customers/fetchrcprofile.js +271 -0
  48. package/ts/customers/forgotmpin.d.ts +35 -0
  49. package/ts/customers/forgotmpin.js +117 -0
  50. package/ts/customers/forgotmpinverify.d.ts +36 -0
  51. package/ts/customers/forgotmpinverify.js +133 -0
  52. package/ts/customers/getbankaccountdetails.d.ts +37 -0
  53. package/ts/customers/getbankaccountdetails.js +148 -0
  54. package/ts/customers/getbasicinfo.d.ts +56 -0
  55. package/ts/customers/getbasicinfo.js +323 -0
  56. package/ts/customers/getcities.d.ts +47 -0
  57. package/ts/customers/getcities.js +183 -0
  58. package/ts/customers/getcompanyaccdetails.d.ts +37 -0
  59. package/ts/customers/getcompanyaccdetails.js +148 -0
  60. package/ts/customers/getcustomerbyid.d.ts +142 -0
  61. package/ts/customers/getcustomerbyid.js +1521 -0
  62. package/ts/customers/getdashboard.d.ts +88 -0
  63. package/ts/customers/getdashboard.js +574 -0
  64. package/ts/customers/getdashboardmaincard.d.ts +70 -0
  65. package/ts/customers/getdashboardmaincard.js +534 -0
  66. package/ts/customers/getdocuments.d.ts +46 -0
  67. package/ts/customers/getdocuments.js +174 -0
  68. package/ts/customers/getlimit.d.ts +37 -0
  69. package/ts/customers/getlimit.js +148 -0
  70. package/ts/customers/getprofessionalinfo.d.ts +54 -0
  71. package/ts/customers/getprofessionalinfo.js +286 -0
  72. package/ts/customers/getprofile.d.ts +54 -0
  73. package/ts/customers/getprofile.js +296 -0
  74. package/ts/customers/getselfieetxnid.d.ts +34 -0
  75. package/ts/customers/getselfieetxnid.js +104 -0
  76. package/ts/customers/getstates.d.ts +46 -0
  77. package/ts/customers/getstates.js +170 -0
  78. package/ts/customers/getstep.d.ts +69 -0
  79. package/ts/customers/getstep.js +406 -0
  80. package/ts/customers/logout.d.ts +34 -0
  81. package/ts/customers/logout.js +104 -0
  82. package/ts/customers/profilebasic.d.ts +40 -0
  83. package/ts/customers/profilebasic.js +189 -0
  84. package/ts/customers/profileupdatetnc.d.ts +35 -0
  85. package/ts/customers/profileupdatetnc.js +117 -0
  86. package/ts/customers/savebasicdetails.d.ts +47 -0
  87. package/ts/customers/savebasicdetails.js +185 -0
  88. package/ts/customers/saveunlocklimit.d.ts +34 -0
  89. package/ts/customers/saveunlocklimit.js +104 -0
  90. package/ts/customers/sendotp.d.ts +38 -0
  91. package/ts/customers/sendotp.js +165 -0
  92. package/ts/customers/sendotptoemail.d.ts +35 -0
  93. package/ts/customers/sendotptoemail.js +117 -0
  94. package/ts/customers/setmpin.d.ts +36 -0
  95. package/ts/customers/setmpin.js +133 -0
  96. package/ts/customers/skipscreen.d.ts +44 -0
  97. package/ts/customers/skipscreen.js +162 -0
  98. package/ts/customers/updatecustomerbyid.d.ts +48 -0
  99. package/ts/customers/updatecustomerbyid.js +201 -0
  100. package/ts/customers/updatedlnumber.d.ts +35 -0
  101. package/ts/customers/updatedlnumber.js +119 -0
  102. package/ts/customers/updatedob.d.ts +35 -0
  103. package/ts/customers/updatedob.js +117 -0
  104. package/ts/customers/updatelocstatus.d.ts +36 -0
  105. package/ts/customers/updatelocstatus.js +133 -0
  106. package/ts/customers/updatemobilesendotp.d.ts +35 -0
  107. package/ts/customers/updatemobilesendotp.js +117 -0
  108. package/ts/customers/updatemobileverifyotp.d.ts +36 -0
  109. package/ts/customers/updatemobileverifyotp.js +133 -0
  110. package/ts/customers/updateokyctxn.d.ts +37 -0
  111. package/ts/customers/updateokyctxn.js +147 -0
  112. package/ts/customers/updateselfieetxn.d.ts +36 -0
  113. package/ts/customers/updateselfieetxn.js +133 -0
  114. package/ts/customers/updatevehiclenumber.d.ts +35 -0
  115. package/ts/customers/updatevehiclenumber.js +117 -0
  116. package/ts/customers/uploaddocuments.d.ts +37 -0
  117. package/ts/customers/uploaddocuments.js +172 -0
  118. package/ts/customers/validatepan.d.ts +45 -0
  119. package/ts/customers/validatepan.js +274 -0
  120. package/ts/customers/verifympin.d.ts +37 -0
  121. package/ts/customers/verifympin.js +149 -0
  122. package/ts/customers/verifyotp.d.ts +41 -0
  123. package/ts/customers/verifyotp.js +205 -0
  124. package/ts/customers/verifyotptoemail.d.ts +35 -0
  125. package/ts/customers/verifyotptoemail.js +117 -0
  126. package/ts/customers.d.ts +796 -0
  127. package/ts/customers.js +572 -0
  128. package/ts/example.d.ts +78 -0
  129. package/ts/example.js +199 -0
  130. package/ts/growth/processchrpayment.d.ts +40 -0
  131. package/ts/growth/processchrpayment.js +205 -0
  132. package/ts/growth.d.ts +28 -0
  133. package/ts/growth.js +24 -0
  134. package/ts/loans/approveloan.d.ts +81 -0
  135. package/ts/loans/approveloan.js +703 -0
  136. package/ts/loans/banklist.d.ts +37 -0
  137. package/ts/loans/banklist.js +148 -0
  138. package/ts/loans/calculateemi.d.ts +57 -0
  139. package/ts/loans/calculateemi.js +340 -0
  140. package/ts/loans/creditlimit.d.ts +51 -0
  141. package/ts/loans/creditlimit.js +381 -0
  142. package/ts/loans/futurepaymentmoredetails.d.ts +50 -0
  143. package/ts/loans/futurepaymentmoredetails.js +230 -0
  144. package/ts/loans/getbilldetails.d.ts +38 -0
  145. package/ts/loans/getbilldetails.js +161 -0
  146. package/ts/loans/getcustomerloanstatus.d.ts +34 -0
  147. package/ts/loans/getcustomerloanstatus.js +104 -0
  148. package/ts/loans/getloanbyid.d.ts +48 -0
  149. package/ts/loans/getloanbyid.js +318 -0
  150. package/ts/loans/getnextdueamount.d.ts +34 -0
  151. package/ts/loans/getnextdueamount.js +104 -0
  152. package/ts/loans/getpendingemiamount.d.ts +34 -0
  153. package/ts/loans/getpendingemiamount.js +104 -0
  154. package/ts/loans/getsummarystaticfields.d.ts +80 -0
  155. package/ts/loans/getsummarystaticfields.js +700 -0
  156. package/ts/loans/loansummary.d.ts +66 -0
  157. package/ts/loans/loansummary.js +593 -0
  158. package/ts/loans/paymentallocation.d.ts +38 -0
  159. package/ts/loans/paymentallocation.js +161 -0
  160. package/ts/loans/paymenthistory.d.ts +47 -0
  161. package/ts/loans/paymenthistory.js +188 -0
  162. package/ts/loans/restructureloan.d.ts +36 -0
  163. package/ts/loans/restructureloan.js +133 -0
  164. package/ts/loans/sendemail.d.ts +35 -0
  165. package/ts/loans/sendemail.js +117 -0
  166. package/ts/loans/sendnocemail.d.ts +35 -0
  167. package/ts/loans/sendnocemail.js +117 -0
  168. package/ts/loans/transactionlist.d.ts +52 -0
  169. package/ts/loans/transactionlist.js +257 -0
  170. package/ts/loans/updateinstallments.d.ts +42 -0
  171. package/ts/loans/updateinstallments.js +226 -0
  172. package/ts/loans/updateloan.d.ts +37 -0
  173. package/ts/loans/updateloan.js +147 -0
  174. package/ts/loans.d.ts +294 -0
  175. package/ts/loans.js +214 -0
  176. package/ts/payments.d.ts +239 -0
  177. package/ts/payments.js +1117 -0
  178. package/ts/stashcash/creditsc.d.ts +54 -0
  179. package/ts/stashcash/creditsc.js +301 -0
  180. package/ts/stashcash/debitsc.d.ts +59 -0
  181. package/ts/stashcash/debitsc.js +380 -0
  182. package/ts/stashcash/getscbalance.d.ts +53 -0
  183. package/ts/stashcash/getscbalance.js +293 -0
  184. package/ts/stashcash/getschistory.d.ts +73 -0
  185. package/ts/stashcash/getschistory.js +479 -0
  186. package/ts/stashcash/reversesc.d.ts +52 -0
  187. package/ts/stashcash/reversesc.js +273 -0
  188. package/ts/stashcash.d.ts +84 -0
  189. package/ts/stashcash.js +64 -0
@@ -0,0 +1,188 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "bureau.getreport";
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
+ type: string;
18
+ tradelines: TradeLine[];
19
+ dpd: DPD | undefined;
20
+ enquiries: Enquiries | undefined;
21
+ dpd_char: dpdChar | undefined;
22
+ report_path?: string | undefined;
23
+ dpd_counts?: DPDCounts | undefined;
24
+ enquiries_data: EnquiriesData[];
25
+ }
26
+ export interface TradeLine {
27
+ id: number;
28
+ account_type: string;
29
+ current_balance: number;
30
+ date_closed?: string | undefined;
31
+ last_payment_date?: string | undefined;
32
+ disbursed_date?: string | undefined;
33
+ date_reported?: string | undefined;
34
+ sanctioned_amount?: number | undefined;
35
+ ownership_indicator?: string | undefined;
36
+ suit_filed: string;
37
+ overdue_amount?: number | undefined;
38
+ settled_status: string;
39
+ account_status?: string | undefined;
40
+ emi_amount?: number | undefined;
41
+ credit_limit?: number | undefined;
42
+ loan_type?: string | undefined;
43
+ written_off_amount?: number | undefined;
44
+ settlement_amount?: number | undefined;
45
+ }
46
+ export interface DPD {
47
+ month1: number;
48
+ month2: number;
49
+ month3: number;
50
+ month4: number;
51
+ month5: number;
52
+ month6: number;
53
+ month7: number;
54
+ month8: number;
55
+ month9: number;
56
+ month10: number;
57
+ month11: number;
58
+ month12: number;
59
+ month13: number;
60
+ month14: number;
61
+ month15: number;
62
+ month16: number;
63
+ month17: number;
64
+ month18: number;
65
+ month19: number;
66
+ month20: number;
67
+ month21: number;
68
+ month22: number;
69
+ month23: number;
70
+ month24: number;
71
+ }
72
+ export interface Enquiries {
73
+ month1: number;
74
+ month3: number;
75
+ month6: number;
76
+ month9: number;
77
+ month12: number;
78
+ month15: number;
79
+ month18: number;
80
+ month21: number;
81
+ month24: number;
82
+ }
83
+ export interface dpdChar {
84
+ month1: boolean;
85
+ month3: boolean;
86
+ month6: boolean;
87
+ month9: boolean;
88
+ month12: boolean;
89
+ month15: boolean;
90
+ month18: boolean;
91
+ month21: boolean;
92
+ month24: boolean;
93
+ }
94
+ export interface DPDCounts {
95
+ dpd1to30: number;
96
+ dpd36month: number;
97
+ dpd90_plus: number;
98
+ dpd31to90: number;
99
+ }
100
+ export interface EnquiriesData {
101
+ date_reported: string;
102
+ enquiry_purpose: number;
103
+ reporting_member: string;
104
+ loan_type?: string | undefined;
105
+ }
106
+ export declare const bureauRequest: {
107
+ encode(message: bureauRequest, writer?: _m0.Writer): _m0.Writer;
108
+ decode(input: _m0.Reader | Uint8Array, length?: number): bureauRequest;
109
+ fromJSON(object: any): bureauRequest;
110
+ toJSON(message: bureauRequest): unknown;
111
+ create<I extends Exact<DeepPartial<bureauRequest>, I>>(base?: I): bureauRequest;
112
+ fromPartial<I extends Exact<DeepPartial<bureauRequest>, I>>(object: I): bureauRequest;
113
+ };
114
+ export declare const bureauResponse: {
115
+ encode(message: bureauResponse, writer?: _m0.Writer): _m0.Writer;
116
+ decode(input: _m0.Reader | Uint8Array, length?: number): bureauResponse;
117
+ fromJSON(object: any): bureauResponse;
118
+ toJSON(message: bureauResponse): unknown;
119
+ create<I extends Exact<DeepPartial<bureauResponse>, I>>(base?: I): bureauResponse;
120
+ fromPartial<I extends Exact<DeepPartial<bureauResponse>, I>>(object: I): bureauResponse;
121
+ };
122
+ export declare const Report: {
123
+ encode(message: Report, writer?: _m0.Writer): _m0.Writer;
124
+ decode(input: _m0.Reader | Uint8Array, length?: number): Report;
125
+ fromJSON(object: any): Report;
126
+ toJSON(message: Report): unknown;
127
+ create<I extends Exact<DeepPartial<Report>, I>>(base?: I): Report;
128
+ fromPartial<I extends Exact<DeepPartial<Report>, I>>(object: I): Report;
129
+ };
130
+ export declare const TradeLine: {
131
+ encode(message: TradeLine, writer?: _m0.Writer): _m0.Writer;
132
+ decode(input: _m0.Reader | Uint8Array, length?: number): TradeLine;
133
+ fromJSON(object: any): TradeLine;
134
+ toJSON(message: TradeLine): unknown;
135
+ create<I extends Exact<DeepPartial<TradeLine>, I>>(base?: I): TradeLine;
136
+ fromPartial<I extends Exact<DeepPartial<TradeLine>, I>>(object: I): TradeLine;
137
+ };
138
+ export declare const DPD: {
139
+ encode(message: DPD, writer?: _m0.Writer): _m0.Writer;
140
+ decode(input: _m0.Reader | Uint8Array, length?: number): DPD;
141
+ fromJSON(object: any): DPD;
142
+ toJSON(message: DPD): unknown;
143
+ create<I extends Exact<DeepPartial<DPD>, I>>(base?: I): DPD;
144
+ fromPartial<I extends Exact<DeepPartial<DPD>, I>>(object: I): DPD;
145
+ };
146
+ export declare const Enquiries: {
147
+ encode(message: Enquiries, writer?: _m0.Writer): _m0.Writer;
148
+ decode(input: _m0.Reader | Uint8Array, length?: number): Enquiries;
149
+ fromJSON(object: any): Enquiries;
150
+ toJSON(message: Enquiries): unknown;
151
+ create<I extends Exact<DeepPartial<Enquiries>, I>>(base?: I): Enquiries;
152
+ fromPartial<I extends Exact<DeepPartial<Enquiries>, I>>(object: I): Enquiries;
153
+ };
154
+ export declare const dpdChar: {
155
+ encode(message: dpdChar, writer?: _m0.Writer): _m0.Writer;
156
+ decode(input: _m0.Reader | Uint8Array, length?: number): dpdChar;
157
+ fromJSON(object: any): dpdChar;
158
+ toJSON(message: dpdChar): unknown;
159
+ create<I extends Exact<DeepPartial<dpdChar>, I>>(base?: I): dpdChar;
160
+ fromPartial<I extends Exact<DeepPartial<dpdChar>, I>>(object: I): dpdChar;
161
+ };
162
+ export declare const DPDCounts: {
163
+ encode(message: DPDCounts, writer?: _m0.Writer): _m0.Writer;
164
+ decode(input: _m0.Reader | Uint8Array, length?: number): DPDCounts;
165
+ fromJSON(object: any): DPDCounts;
166
+ toJSON(message: DPDCounts): unknown;
167
+ create<I extends Exact<DeepPartial<DPDCounts>, I>>(base?: I): DPDCounts;
168
+ fromPartial<I extends Exact<DeepPartial<DPDCounts>, I>>(object: I): DPDCounts;
169
+ };
170
+ export declare const EnquiriesData: {
171
+ encode(message: EnquiriesData, writer?: _m0.Writer): _m0.Writer;
172
+ decode(input: _m0.Reader | Uint8Array, length?: number): EnquiriesData;
173
+ fromJSON(object: any): EnquiriesData;
174
+ toJSON(message: EnquiriesData): unknown;
175
+ create<I extends Exact<DeepPartial<EnquiriesData>, I>>(base?: I): EnquiriesData;
176
+ fromPartial<I extends Exact<DeepPartial<EnquiriesData>, I>>(object: I): EnquiriesData;
177
+ };
178
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
179
+ 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 {} ? {
180
+ [K in keyof T]?: DeepPartial<T[K]>;
181
+ } : Partial<T>;
182
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
183
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
184
+ [K in keyof P]: Exact<P[K], I[K]>;
185
+ } & {
186
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
187
+ };
188
+ export {};