@stashfin/grpc 1.2.714 → 1.2.716

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 (343) hide show
  1. package/package.json +1 -1
  2. package/ts/banking/aa/getaasupport.js +2 -2
  3. package/ts/banking/aa/getbanklist.js +2 -2
  4. package/ts/banking/aa/getcustomerbank.js +2 -2
  5. package/ts/banking/aa/getrpdlink.js +2 -2
  6. package/ts/banking/aa/initiate.js +2 -2
  7. package/ts/banking/aa/initiatepennydrop.js +2 -2
  8. package/ts/banking/aa/netbankinginitiate.js +2 -2
  9. package/ts/banking/aa/pollingrpd.js +2 -2
  10. package/ts/banking.d.ts +16 -16
  11. package/ts/banking.js +2 -2
  12. package/ts/bureau/getbasicdetails.js +2 -2
  13. package/ts/bureau/getcibilwebtoken.js +2 -2
  14. package/ts/bureau/getdbrcolending.js +2 -2
  15. package/ts/bureau/getdemogs.js +2 -2
  16. package/ts/bureau/getobligation.js +2 -2
  17. package/ts/bureau/getreport.js +2 -2
  18. package/ts/bureau.d.ts +12 -12
  19. package/ts/bureau.js +2 -2
  20. package/ts/ckyc/ckycdownload.js +2 -2
  21. package/ts/ckyc/ckycsearch.js +2 -2
  22. package/ts/ckyc.d.ts +4 -4
  23. package/ts/ckyc.js +2 -2
  24. package/ts/colender/disburseLoan.js +2 -2
  25. package/ts/colender/forecloseLoan.js +2 -2
  26. package/ts/colender/repayLoan.js +2 -2
  27. package/ts/colender.d.ts +6 -6
  28. package/ts/colender.js +2 -2
  29. package/ts/customers/aa/getaatxnstatus.js +2 -2
  30. package/ts/customers/aa/getbanklist.js +2 -2
  31. package/ts/customers/aa/initiate.js +2 -2
  32. package/ts/customers/accidentprotectionplan.js +2 -2
  33. package/ts/customers/addaddress.js +2 -2
  34. package/ts/customers/addbankaccountdetails.js +2 -2
  35. package/ts/customers/addfathersname.js +2 -2
  36. package/ts/customers/addgstnumber.js +2 -2
  37. package/ts/customers/addmoredetails.js +2 -2
  38. package/ts/customers/addsuspendedcustomer.js +2 -2
  39. package/ts/customers/adduserapps.d.ts +2 -2
  40. package/ts/customers/adduserapps.js +2 -2
  41. package/ts/customers/applyclijourney.js +2 -2
  42. package/ts/customers/bulksms.js +2 -2
  43. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  44. package/ts/customers/cb/cbpaynow.js +2 -2
  45. package/ts/customers/cb/cbsignup.js +2 -2
  46. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  47. package/ts/customers/cb/getcreditbuilder.js +2 -2
  48. package/ts/customers/cb/getpaymentsummary.js +2 -2
  49. package/ts/customers/cb/insurancedetails.js +2 -2
  50. package/ts/customers/cb/lesscsimprove.js +2 -2
  51. package/ts/customers/cb/morecsimprove.js +2 -2
  52. package/ts/customers/cb/savecreditbuilder.js +2 -2
  53. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  54. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  55. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  56. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  57. package/ts/customers/changempin.js +2 -2
  58. package/ts/customers/createcustomerreference.js +2 -2
  59. package/ts/customers/createvanumber.js +2 -2
  60. package/ts/customers/customerinfo.js +2 -2
  61. package/ts/customers/deletedocument.js +2 -2
  62. package/ts/customers/deleteprofile.js +2 -2
  63. package/ts/customers/disablempin.js +2 -2
  64. package/ts/customers/enach/gettxnstatus.js +2 -2
  65. package/ts/customers/enach/getweburl.js +2 -2
  66. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  67. package/ts/customers/fetchrcprofile.js +2 -2
  68. package/ts/customers/floatingvideos.js +2 -2
  69. package/ts/customers/forceupdate.js +2 -2
  70. package/ts/customers/forgotmpin.js +2 -2
  71. package/ts/customers/forgotmpinverify.js +2 -2
  72. package/ts/customers/freedom/addressconfirmation.js +2 -2
  73. package/ts/customers/freedom/freedompaynow.js +2 -2
  74. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  75. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  76. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  77. package/ts/customers/getaddresslist.js +2 -2
  78. package/ts/customers/getappsubmittedscreen.js +2 -2
  79. package/ts/customers/getbankaccountdetails.js +2 -2
  80. package/ts/customers/getbasicinfo.js +2 -2
  81. package/ts/customers/getcities.js +2 -2
  82. package/ts/customers/getclistatus.js +2 -2
  83. package/ts/customers/getcompanyaccdetails.js +2 -2
  84. package/ts/customers/getcustomerbyid.js +2 -2
  85. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  86. package/ts/customers/getdashboard.js +2 -2
  87. package/ts/customers/getdashboardmaincard.js +2 -2
  88. package/ts/customers/getdocuments.js +2 -2
  89. package/ts/customers/getglobalpopups.js +2 -2
  90. package/ts/customers/getlimit.js +2 -2
  91. package/ts/customers/getloclimit.js +2 -2
  92. package/ts/customers/getmessengermode.js +2 -2
  93. package/ts/customers/getoccupationlist.js +2 -2
  94. package/ts/customers/getpaymentoptions.js +2 -2
  95. package/ts/customers/getprofessionalinfo.js +2 -2
  96. package/ts/customers/getprofile.js +2 -2
  97. package/ts/customers/getselfieetxnid.js +2 -2
  98. package/ts/customers/getstates.js +2 -2
  99. package/ts/customers/getstep.js +2 -2
  100. package/ts/customers/getsyncstatus.js +2 -2
  101. package/ts/customers/getvanumber.js +2 -2
  102. package/ts/customers/lamf/applylamf.js +2 -2
  103. package/ts/customers/lamf/sendlamfotp.js +2 -2
  104. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  105. package/ts/customers/lamf/verifylamfotp.js +2 -2
  106. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  107. package/ts/customers/logout.js +2 -2
  108. package/ts/customers/pd/getbanklist.js +2 -2
  109. package/ts/customers/pd/validatebankaccount.js +2 -2
  110. package/ts/customers/profilebasic.js +2 -2
  111. package/ts/customers/profileupdatetnc.js +2 -2
  112. package/ts/customers/resetbanner.js +2 -2
  113. package/ts/customers/restoreaccount.js +2 -2
  114. package/ts/customers/rpd/getrpdlink.js +2 -2
  115. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  116. package/ts/customers/rpd/mockpayment.js +2 -2
  117. package/ts/customers/saveappslist.js +2 -2
  118. package/ts/customers/savebasicdetails.js +2 -2
  119. package/ts/customers/savelimit.js +2 -2
  120. package/ts/customers/saveunlocklimit.js +2 -2
  121. package/ts/customers/sendotp.js +2 -2
  122. package/ts/customers/sendotptoemail.js +2 -2
  123. package/ts/customers/setmpin.js +2 -2
  124. package/ts/customers/skipscreen.js +2 -2
  125. package/ts/customers/submituploadeddocuments.js +2 -2
  126. package/ts/customers/syncdecisionengine.js +2 -2
  127. package/ts/customers/updatecategory.js +2 -2
  128. package/ts/customers/updatecongratulationstep.js +2 -2
  129. package/ts/customers/updatecustomerbyid.js +2 -2
  130. package/ts/customers/updatedlnumber.js +2 -2
  131. package/ts/customers/updatedob.js +2 -2
  132. package/ts/customers/updatelocstatus.js +2 -2
  133. package/ts/customers/updatemobilesendotp.js +2 -2
  134. package/ts/customers/updatemobileverifyotp.js +2 -2
  135. package/ts/customers/updateokyctxn.js +2 -2
  136. package/ts/customers/updatesanctionamount.js +2 -2
  137. package/ts/customers/updateselfieetxn.js +2 -2
  138. package/ts/customers/updatesyncstatus.js +2 -2
  139. package/ts/customers/updatevehiclenumber.js +2 -2
  140. package/ts/customers/uploaddocuments.js +2 -2
  141. package/ts/customers/validatepan.js +2 -2
  142. package/ts/customers/verifympin.js +2 -2
  143. package/ts/customers/verifyotp.js +2 -2
  144. package/ts/customers/verifyotptoemail.js +2 -2
  145. package/ts/customers.d.ts +238 -238
  146. package/ts/customers.js +2 -2
  147. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  148. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  149. package/ts/decisionengine/saveconsent.js +2 -2
  150. package/ts/decisionengine.d.ts +6 -6
  151. package/ts/decisionengine.js +2 -2
  152. package/ts/deveqxcustomers.d.ts +30 -30
  153. package/ts/deveqxcustomers.js +2 -2
  154. package/ts/devupi.d.ts +54 -54
  155. package/ts/devupi.js +2 -2
  156. package/ts/documents/getagreement.js +2 -2
  157. package/ts/documents/getfinancialdoc.js +2 -2
  158. package/ts/documents.d.ts +4 -4
  159. package/ts/documents.js +2 -2
  160. package/ts/eqxcustomer.d.ts +36 -36
  161. package/ts/eqxcustomer.js +2 -2
  162. package/ts/eqxcustomers/authenticateuser.js +2 -2
  163. package/ts/eqxcustomers/creditguidance.js +2 -2
  164. package/ts/eqxcustomers/getbankaccount.js +2 -2
  165. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  166. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  167. package/ts/eqxcustomers/getdashboard.js +2 -2
  168. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  169. package/ts/eqxcustomers/getnotifications.js +2 -2
  170. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  171. package/ts/eqxcustomers/gettokens.js +2 -2
  172. package/ts/eqxcustomers/iscustomerregistered.js +2 -2
  173. package/ts/eqxcustomers/sendotp.js +2 -2
  174. package/ts/eqxcustomers/updatecustomer.js +2 -2
  175. package/ts/eqxcustomers/updatenotification.js +2 -2
  176. package/ts/eqxcustomers/updatepushid.js +2 -2
  177. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  178. package/ts/eqxcustomers/verifyotp.js +2 -2
  179. package/ts/eqxcustomers/verifytoken.js +2 -2
  180. package/ts/example.d.ts +4 -4
  181. package/ts/example.js +2 -2
  182. package/ts/growth/getchrpdfurl.js +2 -2
  183. package/ts/growth/getchrreportdata.js +2 -2
  184. package/ts/growth/getchrvideourl.js +2 -2
  185. package/ts/growth.d.ts +6 -6
  186. package/ts/growth.js +2 -2
  187. package/ts/kyc/amldetails.js +2 -2
  188. package/ts/kyc/authbridgepancomprehend.js +2 -2
  189. package/ts/kyc/bureauidwhatsapp.js +2 -2
  190. package/ts/kyc/facematch.js +2 -2
  191. package/ts/kyc/fetchaadhaarbypan.js +2 -2
  192. package/ts/kyc/fetchemploymenthistory.js +2 -2
  193. package/ts/kyc/fetchuanlist.js +2 -2
  194. package/ts/kyc/getselfietxnid.js +2 -2
  195. package/ts/kyc/getselfieurl.js +2 -2
  196. package/ts/kyc/nsdlpanvalidate.js +2 -2
  197. package/ts/kyc.d.ts +20 -20
  198. package/ts/kyc.js +2 -2
  199. package/ts/lamf/getloandetails.js +2 -2
  200. package/ts/lamf/submitotp.js +2 -2
  201. package/ts/lamf/validateuser.js +2 -2
  202. package/ts/lamf.d.ts +6 -6
  203. package/ts/lamf.js +2 -2
  204. package/ts/loans/addreference.js +2 -2
  205. package/ts/loans/amortization.js +2 -2
  206. package/ts/loans/approveloan.js +2 -2
  207. package/ts/loans/banklist.js +2 -2
  208. package/ts/loans/calculateemi.js +2 -2
  209. package/ts/loans/cbloan.js +2 -2
  210. package/ts/loans/createlamfloan.js +2 -2
  211. package/ts/loans/createpenalty.js +2 -2
  212. package/ts/loans/creditlimit.js +2 -2
  213. package/ts/loans/emimoredetails.js +2 -2
  214. package/ts/loans/fcppayment.js +2 -2
  215. package/ts/loans/foreclosepayment.js +2 -2
  216. package/ts/loans/getaddonslist.js +2 -2
  217. package/ts/loans/getbankdetails.js +2 -2
  218. package/ts/loans/getbilldetails.js +2 -2
  219. package/ts/loans/getcbloandetails.js +2 -2
  220. package/ts/loans/getchrdetails.js +2 -2
  221. package/ts/loans/getcustomerloanstatus.js +2 -2
  222. package/ts/loans/getforecloseamount.js +2 -2
  223. package/ts/loans/getloanbyid.js +2 -2
  224. package/ts/loans/getlocconfirms.js +2 -2
  225. package/ts/loans/getlocdetails.js +2 -2
  226. package/ts/loans/getlocdisburse.js +2 -2
  227. package/ts/loans/getloctenure.js +2 -2
  228. package/ts/loans/getlocwithdraw.js +2 -2
  229. package/ts/loans/getlocwithdrawform.js +2 -2
  230. package/ts/loans/getnextdueamount.js +2 -2
  231. package/ts/loans/getpaymentoptions.js +2 -2
  232. package/ts/loans/getpendingemiamount.js +2 -2
  233. package/ts/loans/getsetubilldetails.js +2 -2
  234. package/ts/loans/getsummarystaticfields.js +2 -2
  235. package/ts/loans/gettransactionstatus.js +2 -2
  236. package/ts/loans/getusedlimit.js +2 -2
  237. package/ts/loans/getvirtualbankinfo.js +2 -2
  238. package/ts/loans/loansummary.js +2 -2
  239. package/ts/loans/locrequested.js +2 -2
  240. package/ts/loans/manualpaymentallocation.js +2 -2
  241. package/ts/loans/paymentallocation.js +2 -2
  242. package/ts/loans/paymenthistory.js +2 -2
  243. package/ts/loans/paynow.js +2 -2
  244. package/ts/loans/refund.js +2 -2
  245. package/ts/loans/restructureloan.js +2 -2
  246. package/ts/loans/rollback.js +2 -2
  247. package/ts/loans/sendemail.js +2 -2
  248. package/ts/loans/sendnocemail.js +2 -2
  249. package/ts/loans/transactionlist.js +2 -2
  250. package/ts/loans/updatecollectionview.js +2 -2
  251. package/ts/loans/updateinstallments.js +2 -2
  252. package/ts/loans/updateloan.js +2 -2
  253. package/ts/loans/updatetransactionstatus.js +2 -2
  254. package/ts/loans.d.ts +100 -100
  255. package/ts/loans.js +2 -2
  256. package/ts/payments/checkpaymentstatus.js +2 -2
  257. package/ts/payments/fundtransfer.js +2 -2
  258. package/ts/payments/getpaymentoptions.js +2 -2
  259. package/ts/payments/initiatepayment.js +2 -2
  260. package/ts/payments/nachpresentation.js +2 -2
  261. package/ts/payments/nachregistration.js +2 -2
  262. package/ts/payments.d.ts +12 -12
  263. package/ts/payments.js +2 -2
  264. package/ts/paymentsnode.d.ts +12 -12
  265. package/ts/paymentsnode.js +2 -2
  266. package/ts/rewards/getoffers.js +2 -2
  267. package/ts/rewards/redeemoffer.js +2 -2
  268. package/ts/rewards.d.ts +4 -4
  269. package/ts/rewards.js +2 -2
  270. package/ts/stashcash/creditsc.js +2 -2
  271. package/ts/stashcash/debitsc.js +2 -2
  272. package/ts/stashcash/getscbalance.js +2 -2
  273. package/ts/stashcash/getschistory.js +2 -2
  274. package/ts/stashcash/reversesc.js +2 -2
  275. package/ts/stashcash.d.ts +10 -10
  276. package/ts/stashcash.js +2 -2
  277. package/ts/upi/addaccount.js +2 -2
  278. package/ts/upi/blockvpa.js +2 -2
  279. package/ts/upi/checkderegisterpermission.js +2 -2
  280. package/ts/upi/checktransactionstatus.js +2 -2
  281. package/ts/upi/declinemandate.js +2 -2
  282. package/ts/upi/deregisterprofile.js +2 -2
  283. package/ts/upi/getaccountsbyprovider.js +2 -2
  284. package/ts/upi/getallmandates.js +2 -2
  285. package/ts/upi/getavailablevpa.js +2 -2
  286. package/ts/upi/getlistedaccountproviders.js +2 -2
  287. package/ts/upi/getmandatedetails.js +2 -2
  288. package/ts/upi/getmandatehistory.js +2 -2
  289. package/ts/upi/getpendingcollectrequest.js +2 -2
  290. package/ts/upi/getprofile.js +2 -2
  291. package/ts/upi/getrecentcontacts.js +2 -2
  292. package/ts/upi/gettransactions.js +2 -2
  293. package/ts/upi/getupinumbers.js +2 -2
  294. package/ts/upi/initiatemandateaction.js +2 -2
  295. package/ts/upi/initiatetransaction.js +2 -2
  296. package/ts/upi/listblockedvpa.js +2 -2
  297. package/ts/upi/unblockvpa.js +2 -2
  298. package/ts/upi/updatedevicebinding.js +2 -2
  299. package/ts/upi/upinumberoperations.js +2 -2
  300. package/ts/upi/validateifsc.js +2 -2
  301. package/ts/upi/validatevpa.js +2 -2
  302. package/ts/upi.d.ts +54 -54
  303. package/ts/upi.js +2 -2
  304. package/ts/communications/bureauidwhatsapp.d.ts +0 -38
  305. package/ts/communications/bureauidwhatsapp.js +0 -161
  306. package/ts/communications.d.ts +0 -28
  307. package/ts/communications.js +0 -24
  308. package/ts/customers/cb/paynow.d.ts +0 -36
  309. package/ts/customers/cb/paynow.js +0 -133
  310. package/ts/customers/enach/updatetxnstatus.d.ts +0 -36
  311. package/ts/customers/enach/updatetxnstatus.js +0 -133
  312. package/ts/customers/lamf/updatelamfjourney.d.ts +0 -34
  313. package/ts/customers/lamf/updatelamfjourney.js +0 -104
  314. package/ts/decisionengine/decisionengine.d.ts +0 -40
  315. package/ts/decisionengine/decisionengine.js +0 -191
  316. package/ts/growth/checkplanstatus.d.ts +0 -48
  317. package/ts/growth/checkplanstatus.js +0 -200
  318. package/ts/growth/getattachplandetails.d.ts +0 -53
  319. package/ts/growth/getattachplandetails.js +0 -270
  320. package/ts/growth/getchrpaymentstatus.d.ts +0 -49
  321. package/ts/growth/getchrpaymentstatus.js +0 -213
  322. package/ts/growth/getchrplans.d.ts +0 -49
  323. package/ts/growth/getchrplans.js +0 -212
  324. package/ts/growth/getchrreport.d.ts +0 -67
  325. package/ts/growth/getchrreport.js +0 -504
  326. package/ts/growth/getcredithealthreport.d.ts +0 -98
  327. package/ts/growth/getcredithealthreport.js +0 -617
  328. package/ts/growth/initiatepayment.d.ts +0 -52
  329. package/ts/growth/initiatepayment.js +0 -259
  330. package/ts/growth/notifychrpayment.d.ts +0 -42
  331. package/ts/growth/notifychrpayment.js +0 -219
  332. package/ts/growth/processchrpayment.d.ts +0 -39
  333. package/ts/growth/processchrpayment.js +0 -177
  334. package/ts/loans/forecloseamount.d.ts +0 -36
  335. package/ts/loans/forecloseamount.js +0 -133
  336. package/ts/loans/futurepaymentmoredetails.d.ts +0 -51
  337. package/ts/loans/futurepaymentmoredetails.js +0 -243
  338. package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
  339. package/ts/loans/getvirtualaccountnumber.js +0 -117
  340. package/ts/loans/rollbackextrapayment.d.ts +0 -37
  341. package/ts/loans/rollbackextrapayment.js +0 -149
  342. package/ts/upi/updatedevicelinking.d.ts +0 -49
  343. package/ts/upi/updatedevicelinking.js +0 -332
@@ -1,504 +0,0 @@
1
- "use strict";
2
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
- // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
6
- // source: growth/getchrreport.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.chrReportResponse = exports.TradeLineData = exports.chrReportRequest = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const long_1 = __importDefault(require("long"));
14
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
- exports.protobufPackage = "growth.getchrreport";
16
- function createBasechrReportRequest() {
17
- return { customer_id: 0, fisrt_name: "", last_name: "" };
18
- }
19
- exports.chrReportRequest = {
20
- encode(message, writer = minimal_1.default.Writer.create()) {
21
- if (message.customer_id !== 0) {
22
- writer.uint32(8).int32(message.customer_id);
23
- }
24
- if (message.fisrt_name !== "") {
25
- writer.uint32(18).string(message.fisrt_name);
26
- }
27
- if (message.last_name !== "") {
28
- writer.uint32(26).string(message.last_name);
29
- }
30
- return writer;
31
- },
32
- decode(input, length) {
33
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
34
- let end = length === undefined ? reader.len : reader.pos + length;
35
- const message = createBasechrReportRequest();
36
- while (reader.pos < end) {
37
- const tag = reader.uint32();
38
- switch (tag >>> 3) {
39
- case 1:
40
- if (tag !== 8) {
41
- break;
42
- }
43
- message.customer_id = reader.int32();
44
- continue;
45
- case 2:
46
- if (tag !== 18) {
47
- break;
48
- }
49
- message.fisrt_name = reader.string();
50
- continue;
51
- case 3:
52
- if (tag !== 26) {
53
- break;
54
- }
55
- message.last_name = reader.string();
56
- continue;
57
- }
58
- if ((tag & 7) === 4 || tag === 0) {
59
- break;
60
- }
61
- reader.skipType(tag & 7);
62
- }
63
- return message;
64
- },
65
- fromJSON(object) {
66
- return {
67
- customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
68
- fisrt_name: isSet(object.fisrt_name) ? globalThis.String(object.fisrt_name) : "",
69
- last_name: isSet(object.last_name) ? globalThis.String(object.last_name) : "",
70
- };
71
- },
72
- toJSON(message) {
73
- const obj = {};
74
- if (message.customer_id !== 0) {
75
- obj.customer_id = Math.round(message.customer_id);
76
- }
77
- if (message.fisrt_name !== "") {
78
- obj.fisrt_name = message.fisrt_name;
79
- }
80
- if (message.last_name !== "") {
81
- obj.last_name = message.last_name;
82
- }
83
- return obj;
84
- },
85
- create(base) {
86
- return exports.chrReportRequest.fromPartial(base ?? {});
87
- },
88
- fromPartial(object) {
89
- const message = createBasechrReportRequest();
90
- message.customer_id = object.customer_id ?? 0;
91
- message.fisrt_name = object.fisrt_name ?? "";
92
- message.last_name = object.last_name ?? "";
93
- return message;
94
- },
95
- };
96
- function createBaseTradeLineData() {
97
- return {
98
- id: 0,
99
- account_type: "",
100
- current_balance: 0,
101
- date_closed: undefined,
102
- last_payment_date: undefined,
103
- disbursed_date: undefined,
104
- date_reported: undefined,
105
- sanctioned_amount: undefined,
106
- ownership_indicator: undefined,
107
- suit_filed: "",
108
- overdue_amount: undefined,
109
- settled_status: "",
110
- account_status: undefined,
111
- emi_amount: undefined,
112
- credit_limit: undefined,
113
- loan_type: undefined,
114
- written_off_amount: undefined,
115
- settlement_amount: undefined,
116
- };
117
- }
118
- exports.TradeLineData = {
119
- encode(message, writer = minimal_1.default.Writer.create()) {
120
- if (message.id !== 0) {
121
- writer.uint32(8).int32(message.id);
122
- }
123
- if (message.account_type !== "") {
124
- writer.uint32(18).string(message.account_type);
125
- }
126
- if (message.current_balance !== 0) {
127
- writer.uint32(24).int32(message.current_balance);
128
- }
129
- if (message.date_closed !== undefined) {
130
- writer.uint32(34).string(message.date_closed);
131
- }
132
- if (message.last_payment_date !== undefined) {
133
- writer.uint32(42).string(message.last_payment_date);
134
- }
135
- if (message.disbursed_date !== undefined) {
136
- writer.uint32(50).string(message.disbursed_date);
137
- }
138
- if (message.date_reported !== undefined) {
139
- writer.uint32(58).string(message.date_reported);
140
- }
141
- if (message.sanctioned_amount !== undefined) {
142
- writer.uint32(64).int64(message.sanctioned_amount);
143
- }
144
- if (message.ownership_indicator !== undefined) {
145
- writer.uint32(74).string(message.ownership_indicator);
146
- }
147
- if (message.suit_filed !== "") {
148
- writer.uint32(82).string(message.suit_filed);
149
- }
150
- if (message.overdue_amount !== undefined) {
151
- writer.uint32(88).int32(message.overdue_amount);
152
- }
153
- if (message.settled_status !== "") {
154
- writer.uint32(98).string(message.settled_status);
155
- }
156
- if (message.account_status !== undefined) {
157
- writer.uint32(106).string(message.account_status);
158
- }
159
- if (message.emi_amount !== undefined) {
160
- writer.uint32(112).int64(message.emi_amount);
161
- }
162
- if (message.credit_limit !== undefined) {
163
- writer.uint32(120).int64(message.credit_limit);
164
- }
165
- if (message.loan_type !== undefined) {
166
- writer.uint32(130).string(message.loan_type);
167
- }
168
- if (message.written_off_amount !== undefined) {
169
- writer.uint32(136).int64(message.written_off_amount);
170
- }
171
- if (message.settlement_amount !== undefined) {
172
- writer.uint32(144).int64(message.settlement_amount);
173
- }
174
- return writer;
175
- },
176
- decode(input, length) {
177
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
178
- let end = length === undefined ? reader.len : reader.pos + length;
179
- const message = createBaseTradeLineData();
180
- while (reader.pos < end) {
181
- const tag = reader.uint32();
182
- switch (tag >>> 3) {
183
- case 1:
184
- if (tag !== 8) {
185
- break;
186
- }
187
- message.id = reader.int32();
188
- continue;
189
- case 2:
190
- if (tag !== 18) {
191
- break;
192
- }
193
- message.account_type = reader.string();
194
- continue;
195
- case 3:
196
- if (tag !== 24) {
197
- break;
198
- }
199
- message.current_balance = reader.int32();
200
- continue;
201
- case 4:
202
- if (tag !== 34) {
203
- break;
204
- }
205
- message.date_closed = reader.string();
206
- continue;
207
- case 5:
208
- if (tag !== 42) {
209
- break;
210
- }
211
- message.last_payment_date = reader.string();
212
- continue;
213
- case 6:
214
- if (tag !== 50) {
215
- break;
216
- }
217
- message.disbursed_date = reader.string();
218
- continue;
219
- case 7:
220
- if (tag !== 58) {
221
- break;
222
- }
223
- message.date_reported = reader.string();
224
- continue;
225
- case 8:
226
- if (tag !== 64) {
227
- break;
228
- }
229
- message.sanctioned_amount = longToNumber(reader.int64());
230
- continue;
231
- case 9:
232
- if (tag !== 74) {
233
- break;
234
- }
235
- message.ownership_indicator = reader.string();
236
- continue;
237
- case 10:
238
- if (tag !== 82) {
239
- break;
240
- }
241
- message.suit_filed = reader.string();
242
- continue;
243
- case 11:
244
- if (tag !== 88) {
245
- break;
246
- }
247
- message.overdue_amount = reader.int32();
248
- continue;
249
- case 12:
250
- if (tag !== 98) {
251
- break;
252
- }
253
- message.settled_status = reader.string();
254
- continue;
255
- case 13:
256
- if (tag !== 106) {
257
- break;
258
- }
259
- message.account_status = reader.string();
260
- continue;
261
- case 14:
262
- if (tag !== 112) {
263
- break;
264
- }
265
- message.emi_amount = longToNumber(reader.int64());
266
- continue;
267
- case 15:
268
- if (tag !== 120) {
269
- break;
270
- }
271
- message.credit_limit = longToNumber(reader.int64());
272
- continue;
273
- case 16:
274
- if (tag !== 130) {
275
- break;
276
- }
277
- message.loan_type = reader.string();
278
- continue;
279
- case 17:
280
- if (tag !== 136) {
281
- break;
282
- }
283
- message.written_off_amount = longToNumber(reader.int64());
284
- continue;
285
- case 18:
286
- if (tag !== 144) {
287
- break;
288
- }
289
- message.settlement_amount = longToNumber(reader.int64());
290
- continue;
291
- }
292
- if ((tag & 7) === 4 || tag === 0) {
293
- break;
294
- }
295
- reader.skipType(tag & 7);
296
- }
297
- return message;
298
- },
299
- fromJSON(object) {
300
- return {
301
- id: isSet(object.id) ? globalThis.Number(object.id) : 0,
302
- account_type: isSet(object.account_type) ? globalThis.String(object.account_type) : "",
303
- current_balance: isSet(object.current_balance) ? globalThis.Number(object.current_balance) : 0,
304
- date_closed: isSet(object.date_closed) ? globalThis.String(object.date_closed) : undefined,
305
- last_payment_date: isSet(object.last_payment_date) ? globalThis.String(object.last_payment_date) : undefined,
306
- disbursed_date: isSet(object.disbursed_date) ? globalThis.String(object.disbursed_date) : undefined,
307
- date_reported: isSet(object.date_reported) ? globalThis.String(object.date_reported) : undefined,
308
- sanctioned_amount: isSet(object.sanctioned_amount) ? globalThis.Number(object.sanctioned_amount) : undefined,
309
- ownership_indicator: isSet(object.ownership_indicator)
310
- ? globalThis.String(object.ownership_indicator)
311
- : undefined,
312
- suit_filed: isSet(object.suit_filed) ? globalThis.String(object.suit_filed) : "",
313
- overdue_amount: isSet(object.overdue_amount) ? globalThis.Number(object.overdue_amount) : undefined,
314
- settled_status: isSet(object.settled_status) ? globalThis.String(object.settled_status) : "",
315
- account_status: isSet(object.account_status) ? globalThis.String(object.account_status) : undefined,
316
- emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : undefined,
317
- credit_limit: isSet(object.credit_limit) ? globalThis.Number(object.credit_limit) : undefined,
318
- loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : undefined,
319
- written_off_amount: isSet(object.written_off_amount) ? globalThis.Number(object.written_off_amount) : undefined,
320
- settlement_amount: isSet(object.settlement_amount) ? globalThis.Number(object.settlement_amount) : undefined,
321
- };
322
- },
323
- toJSON(message) {
324
- const obj = {};
325
- if (message.id !== 0) {
326
- obj.id = Math.round(message.id);
327
- }
328
- if (message.account_type !== "") {
329
- obj.account_type = message.account_type;
330
- }
331
- if (message.current_balance !== 0) {
332
- obj.current_balance = Math.round(message.current_balance);
333
- }
334
- if (message.date_closed !== undefined) {
335
- obj.date_closed = message.date_closed;
336
- }
337
- if (message.last_payment_date !== undefined) {
338
- obj.last_payment_date = message.last_payment_date;
339
- }
340
- if (message.disbursed_date !== undefined) {
341
- obj.disbursed_date = message.disbursed_date;
342
- }
343
- if (message.date_reported !== undefined) {
344
- obj.date_reported = message.date_reported;
345
- }
346
- if (message.sanctioned_amount !== undefined) {
347
- obj.sanctioned_amount = Math.round(message.sanctioned_amount);
348
- }
349
- if (message.ownership_indicator !== undefined) {
350
- obj.ownership_indicator = message.ownership_indicator;
351
- }
352
- if (message.suit_filed !== "") {
353
- obj.suit_filed = message.suit_filed;
354
- }
355
- if (message.overdue_amount !== undefined) {
356
- obj.overdue_amount = Math.round(message.overdue_amount);
357
- }
358
- if (message.settled_status !== "") {
359
- obj.settled_status = message.settled_status;
360
- }
361
- if (message.account_status !== undefined) {
362
- obj.account_status = message.account_status;
363
- }
364
- if (message.emi_amount !== undefined) {
365
- obj.emi_amount = Math.round(message.emi_amount);
366
- }
367
- if (message.credit_limit !== undefined) {
368
- obj.credit_limit = Math.round(message.credit_limit);
369
- }
370
- if (message.loan_type !== undefined) {
371
- obj.loan_type = message.loan_type;
372
- }
373
- if (message.written_off_amount !== undefined) {
374
- obj.written_off_amount = Math.round(message.written_off_amount);
375
- }
376
- if (message.settlement_amount !== undefined) {
377
- obj.settlement_amount = Math.round(message.settlement_amount);
378
- }
379
- return obj;
380
- },
381
- create(base) {
382
- return exports.TradeLineData.fromPartial(base ?? {});
383
- },
384
- fromPartial(object) {
385
- const message = createBaseTradeLineData();
386
- message.id = object.id ?? 0;
387
- message.account_type = object.account_type ?? "";
388
- message.current_balance = object.current_balance ?? 0;
389
- message.date_closed = object.date_closed ?? undefined;
390
- message.last_payment_date = object.last_payment_date ?? undefined;
391
- message.disbursed_date = object.disbursed_date ?? undefined;
392
- message.date_reported = object.date_reported ?? undefined;
393
- message.sanctioned_amount = object.sanctioned_amount ?? undefined;
394
- message.ownership_indicator = object.ownership_indicator ?? undefined;
395
- message.suit_filed = object.suit_filed ?? "";
396
- message.overdue_amount = object.overdue_amount ?? undefined;
397
- message.settled_status = object.settled_status ?? "";
398
- message.account_status = object.account_status ?? undefined;
399
- message.emi_amount = object.emi_amount ?? undefined;
400
- message.credit_limit = object.credit_limit ?? undefined;
401
- message.loan_type = object.loan_type ?? undefined;
402
- message.written_off_amount = object.written_off_amount ?? undefined;
403
- message.settlement_amount = object.settlement_amount ?? undefined;
404
- return message;
405
- },
406
- };
407
- function createBasechrReportResponse() {
408
- return { resport_url: "", credit_score: 0, tradelines: [] };
409
- }
410
- exports.chrReportResponse = {
411
- encode(message, writer = minimal_1.default.Writer.create()) {
412
- if (message.resport_url !== "") {
413
- writer.uint32(10).string(message.resport_url);
414
- }
415
- if (message.credit_score !== 0) {
416
- writer.uint32(16).int32(message.credit_score);
417
- }
418
- for (const v of message.tradelines) {
419
- exports.TradeLineData.encode(v, writer.uint32(26).fork()).ldelim();
420
- }
421
- return writer;
422
- },
423
- decode(input, length) {
424
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
425
- let end = length === undefined ? reader.len : reader.pos + length;
426
- const message = createBasechrReportResponse();
427
- while (reader.pos < end) {
428
- const tag = reader.uint32();
429
- switch (tag >>> 3) {
430
- case 1:
431
- if (tag !== 10) {
432
- break;
433
- }
434
- message.resport_url = reader.string();
435
- continue;
436
- case 2:
437
- if (tag !== 16) {
438
- break;
439
- }
440
- message.credit_score = reader.int32();
441
- continue;
442
- case 3:
443
- if (tag !== 26) {
444
- break;
445
- }
446
- message.tradelines.push(exports.TradeLineData.decode(reader, reader.uint32()));
447
- continue;
448
- }
449
- if ((tag & 7) === 4 || tag === 0) {
450
- break;
451
- }
452
- reader.skipType(tag & 7);
453
- }
454
- return message;
455
- },
456
- fromJSON(object) {
457
- return {
458
- resport_url: isSet(object.resport_url) ? globalThis.String(object.resport_url) : "",
459
- credit_score: isSet(object.credit_score) ? globalThis.Number(object.credit_score) : 0,
460
- tradelines: globalThis.Array.isArray(object?.tradelines)
461
- ? object.tradelines.map((e) => exports.TradeLineData.fromJSON(e))
462
- : [],
463
- };
464
- },
465
- toJSON(message) {
466
- const obj = {};
467
- if (message.resport_url !== "") {
468
- obj.resport_url = message.resport_url;
469
- }
470
- if (message.credit_score !== 0) {
471
- obj.credit_score = Math.round(message.credit_score);
472
- }
473
- if (message.tradelines?.length) {
474
- obj.tradelines = message.tradelines.map((e) => exports.TradeLineData.toJSON(e));
475
- }
476
- return obj;
477
- },
478
- create(base) {
479
- return exports.chrReportResponse.fromPartial(base ?? {});
480
- },
481
- fromPartial(object) {
482
- const message = createBasechrReportResponse();
483
- message.resport_url = object.resport_url ?? "";
484
- message.credit_score = object.credit_score ?? 0;
485
- message.tradelines = object.tradelines?.map((e) => exports.TradeLineData.fromPartial(e)) || [];
486
- return message;
487
- },
488
- };
489
- function longToNumber(long) {
490
- if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
491
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
492
- }
493
- if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
494
- throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
495
- }
496
- return long.toNumber();
497
- }
498
- if (minimal_1.default.util.Long !== long_1.default) {
499
- minimal_1.default.util.Long = long_1.default;
500
- minimal_1.default.configure();
501
- }
502
- function isSet(value) {
503
- return value !== null && value !== undefined;
504
- }
@@ -1,98 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "growth.getcredithealthreport";
3
- export interface credithealthreportrequest {
4
- refresh_report: boolean;
5
- }
6
- export interface chrdata {
7
- plan_type_text: string;
8
- cibil_score: number;
9
- cibil_state_text: string;
10
- cibil_state_text_color: string;
11
- report_url: string;
12
- refresh_date: string;
13
- refresh_enabled: number;
14
- plan_subscription_id: number;
15
- recommended_plan: chrdata_recommendedplan | undefined;
16
- user_state: string;
17
- refer_and_earn: chrdata_referandearn | undefined;
18
- report_refresh_count: number;
19
- recommended_plan_status: boolean;
20
- }
21
- export interface chrdata_recommendedplan {
22
- label: string;
23
- benefits: string[];
24
- cta_text: string;
25
- amount: number;
26
- plan_id: number;
27
- }
28
- export interface chrdata_referandearn {
29
- referral_amount: number;
30
- }
31
- export interface chrdatawrapper {
32
- chr_data: chrdata | undefined;
33
- }
34
- export interface credithealthreportresponse {
35
- status: string;
36
- statusCode: number;
37
- data: chrdatawrapper | undefined;
38
- message: string;
39
- }
40
- export declare const credithealthreportrequest: {
41
- encode(message: credithealthreportrequest, writer?: _m0.Writer): _m0.Writer;
42
- decode(input: _m0.Reader | Uint8Array, length?: number): credithealthreportrequest;
43
- fromJSON(object: any): credithealthreportrequest;
44
- toJSON(message: credithealthreportrequest): unknown;
45
- create<I extends Exact<DeepPartial<credithealthreportrequest>, I>>(base?: I): credithealthreportrequest;
46
- fromPartial<I extends Exact<DeepPartial<credithealthreportrequest>, I>>(object: I): credithealthreportrequest;
47
- };
48
- export declare const chrdata: {
49
- encode(message: chrdata, writer?: _m0.Writer): _m0.Writer;
50
- decode(input: _m0.Reader | Uint8Array, length?: number): chrdata;
51
- fromJSON(object: any): chrdata;
52
- toJSON(message: chrdata): unknown;
53
- create<I extends Exact<DeepPartial<chrdata>, I>>(base?: I): chrdata;
54
- fromPartial<I extends Exact<DeepPartial<chrdata>, I>>(object: I): chrdata;
55
- };
56
- export declare const chrdata_recommendedplan: {
57
- encode(message: chrdata_recommendedplan, writer?: _m0.Writer): _m0.Writer;
58
- decode(input: _m0.Reader | Uint8Array, length?: number): chrdata_recommendedplan;
59
- fromJSON(object: any): chrdata_recommendedplan;
60
- toJSON(message: chrdata_recommendedplan): unknown;
61
- create<I extends Exact<DeepPartial<chrdata_recommendedplan>, I>>(base?: I): chrdata_recommendedplan;
62
- fromPartial<I extends Exact<DeepPartial<chrdata_recommendedplan>, I>>(object: I): chrdata_recommendedplan;
63
- };
64
- export declare const chrdata_referandearn: {
65
- encode(message: chrdata_referandearn, writer?: _m0.Writer): _m0.Writer;
66
- decode(input: _m0.Reader | Uint8Array, length?: number): chrdata_referandearn;
67
- fromJSON(object: any): chrdata_referandearn;
68
- toJSON(message: chrdata_referandearn): unknown;
69
- create<I extends Exact<DeepPartial<chrdata_referandearn>, I>>(base?: I): chrdata_referandearn;
70
- fromPartial<I extends Exact<DeepPartial<chrdata_referandearn>, I>>(object: I): chrdata_referandearn;
71
- };
72
- export declare const chrdatawrapper: {
73
- encode(message: chrdatawrapper, writer?: _m0.Writer): _m0.Writer;
74
- decode(input: _m0.Reader | Uint8Array, length?: number): chrdatawrapper;
75
- fromJSON(object: any): chrdatawrapper;
76
- toJSON(message: chrdatawrapper): unknown;
77
- create<I extends Exact<DeepPartial<chrdatawrapper>, I>>(base?: I): chrdatawrapper;
78
- fromPartial<I extends Exact<DeepPartial<chrdatawrapper>, I>>(object: I): chrdatawrapper;
79
- };
80
- export declare const credithealthreportresponse: {
81
- encode(message: credithealthreportresponse, writer?: _m0.Writer): _m0.Writer;
82
- decode(input: _m0.Reader | Uint8Array, length?: number): credithealthreportresponse;
83
- fromJSON(object: any): credithealthreportresponse;
84
- toJSON(message: credithealthreportresponse): unknown;
85
- create<I extends Exact<DeepPartial<credithealthreportresponse>, I>>(base?: I): credithealthreportresponse;
86
- fromPartial<I extends Exact<DeepPartial<credithealthreportresponse>, I>>(object: I): credithealthreportresponse;
87
- };
88
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
89
- 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 {} ? {
90
- [K in keyof T]?: DeepPartial<T[K]>;
91
- } : Partial<T>;
92
- type KeysOfUnion<T> = T extends T ? keyof T : never;
93
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
94
- [K in keyof P]: Exact<P[K], I[K]>;
95
- } & {
96
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
97
- };
98
- export {};