@stashfin/grpc 1.2.697 → 1.2.698

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 (309) 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.js +2 -2
  11. package/ts/bureau/getbasicdetails.js +2 -2
  12. package/ts/bureau/getcibilwebtoken.js +2 -2
  13. package/ts/bureau/getdbrcolending.js +2 -2
  14. package/ts/bureau/getdemogs.js +2 -2
  15. package/ts/bureau/getobligation.js +2 -2
  16. package/ts/bureau/getreport.js +2 -2
  17. package/ts/bureau.js +2 -2
  18. package/ts/ckyc/ckycdownload.js +2 -2
  19. package/ts/ckyc/ckycsearch.js +2 -2
  20. package/ts/ckyc.js +2 -2
  21. package/ts/colender/disburseLoan.js +2 -2
  22. package/ts/colender/forecloseLoan.js +2 -2
  23. package/ts/colender/repayLoan.js +2 -2
  24. package/ts/colender.js +2 -2
  25. package/ts/customers/aa/getaatxnstatus.js +2 -2
  26. package/ts/customers/aa/getbanklist.js +2 -2
  27. package/ts/customers/aa/initiate.js +2 -2
  28. package/ts/customers/accidentprotectionplan.js +2 -2
  29. package/ts/customers/addaddress.js +2 -2
  30. package/ts/customers/addbankaccountdetails.js +2 -2
  31. package/ts/customers/addfathersname.js +2 -2
  32. package/ts/customers/addgstnumber.js +2 -2
  33. package/ts/customers/addmoredetails.js +2 -2
  34. package/ts/customers/addsuspendedcustomer.js +2 -2
  35. package/ts/customers/adduserapps.js +2 -2
  36. package/ts/customers/applyclijourney.js +2 -2
  37. package/ts/customers/bulksms.js +2 -2
  38. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  39. package/ts/customers/cb/cbpaynow.js +2 -2
  40. package/ts/customers/cb/cbsignup.js +2 -2
  41. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  42. package/ts/customers/cb/getcreditbuilder.js +2 -2
  43. package/ts/customers/cb/getpaymentsummary.js +2 -2
  44. package/ts/customers/cb/insurancedetails.js +2 -2
  45. package/ts/customers/cb/lesscsimprove.js +2 -2
  46. package/ts/customers/cb/morecsimprove.js +2 -2
  47. package/ts/customers/cb/paynow.js +2 -2
  48. package/ts/customers/cb/savecreditbuilder.js +2 -2
  49. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  50. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  51. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  52. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  53. package/ts/customers/changempin.js +2 -2
  54. package/ts/customers/createcustomerreference.js +2 -2
  55. package/ts/customers/createvanumber.js +2 -2
  56. package/ts/customers/customerinfo.js +2 -2
  57. package/ts/customers/deletedocument.js +2 -2
  58. package/ts/customers/deleteprofile.js +2 -2
  59. package/ts/customers/disablempin.js +2 -2
  60. package/ts/customers/enach/gettxnstatus.js +2 -2
  61. package/ts/customers/enach/getweburl.js +2 -2
  62. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  63. package/ts/customers/enach/updatetxnstatus.js +2 -2
  64. package/ts/customers/fetchrcprofile.js +2 -2
  65. package/ts/customers/floatingvideos.js +2 -2
  66. package/ts/customers/forceupdate.js +2 -2
  67. package/ts/customers/forgotmpin.js +2 -2
  68. package/ts/customers/forgotmpinverify.js +2 -2
  69. package/ts/customers/freedom/addressconfirmation.js +2 -2
  70. package/ts/customers/freedom/freedompaynow.js +2 -2
  71. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  72. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  73. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  74. package/ts/customers/getaddresslist.js +2 -2
  75. package/ts/customers/getappsubmittedscreen.js +2 -2
  76. package/ts/customers/getbankaccountdetails.js +2 -2
  77. package/ts/customers/getbasicinfo.js +2 -2
  78. package/ts/customers/getcities.js +2 -2
  79. package/ts/customers/getclistatus.js +2 -2
  80. package/ts/customers/getcompanyaccdetails.js +2 -2
  81. package/ts/customers/getcustomerbyid.js +2 -2
  82. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  83. package/ts/customers/getdashboard.js +2 -2
  84. package/ts/customers/getdashboardmaincard.js +2 -2
  85. package/ts/customers/getdocuments.js +2 -2
  86. package/ts/customers/getglobalpopups.js +2 -2
  87. package/ts/customers/getlimit.js +2 -2
  88. package/ts/customers/getloclimit.js +2 -2
  89. package/ts/customers/getmessengermode.js +2 -2
  90. package/ts/customers/getoccupationlist.js +2 -2
  91. package/ts/customers/getpaymentoptions.js +2 -2
  92. package/ts/customers/getprofessionalinfo.js +2 -2
  93. package/ts/customers/getprofile.js +2 -2
  94. package/ts/customers/getselfieetxnid.js +2 -2
  95. package/ts/customers/getstates.js +2 -2
  96. package/ts/customers/getstep.js +2 -2
  97. package/ts/customers/getsyncstatus.js +2 -2
  98. package/ts/customers/getvanumber.js +2 -2
  99. package/ts/customers/lamf/applylamf.js +2 -2
  100. package/ts/customers/lamf/sendlamfotp.js +2 -2
  101. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  102. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  103. package/ts/customers/lamf/verifylamfotp.js +2 -2
  104. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  105. package/ts/customers/logout.js +2 -2
  106. package/ts/customers/pd/getbanklist.js +2 -2
  107. package/ts/customers/pd/validatebankaccount.js +2 -2
  108. package/ts/customers/profilebasic.js +2 -2
  109. package/ts/customers/profileupdatetnc.js +2 -2
  110. package/ts/customers/resetbanner.js +2 -2
  111. package/ts/customers/restoreaccount.js +2 -2
  112. package/ts/customers/rpd/getrpdlink.js +2 -2
  113. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  114. package/ts/customers/rpd/mockpayment.js +2 -2
  115. package/ts/customers/saveappslist.js +2 -2
  116. package/ts/customers/savebasicdetails.js +2 -2
  117. package/ts/customers/savelimit.js +2 -2
  118. package/ts/customers/saveunlocklimit.js +2 -2
  119. package/ts/customers/sendotp.js +2 -2
  120. package/ts/customers/sendotptoemail.js +2 -2
  121. package/ts/customers/setmpin.js +2 -2
  122. package/ts/customers/skipscreen.js +2 -2
  123. package/ts/customers/submituploadeddocuments.js +2 -2
  124. package/ts/customers/syncdecisionengine.js +2 -2
  125. package/ts/customers/updatecategory.js +2 -2
  126. package/ts/customers/updatecongratulationstep.js +2 -2
  127. package/ts/customers/updatecustomerbyid.js +2 -2
  128. package/ts/customers/updatedlnumber.js +2 -2
  129. package/ts/customers/updatedob.js +2 -2
  130. package/ts/customers/updatelocstatus.js +2 -2
  131. package/ts/customers/updatemobilesendotp.js +2 -2
  132. package/ts/customers/updatemobileverifyotp.js +2 -2
  133. package/ts/customers/updateokyctxn.js +2 -2
  134. package/ts/customers/updatesanctionamount.js +2 -2
  135. package/ts/customers/updateselfieetxn.js +2 -2
  136. package/ts/customers/updatesyncstatus.js +2 -2
  137. package/ts/customers/updatevehiclenumber.js +2 -2
  138. package/ts/customers/uploaddocuments.js +2 -2
  139. package/ts/customers/validatepan.js +2 -2
  140. package/ts/customers/verifympin.js +2 -2
  141. package/ts/customers/verifyotp.js +2 -2
  142. package/ts/customers/verifyotptoemail.js +2 -2
  143. package/ts/customers.js +2 -2
  144. package/ts/decisionengine/decisionengine.js +2 -2
  145. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  146. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  147. package/ts/decisionengine/saveconsent.js +2 -2
  148. package/ts/decisionengine.js +2 -2
  149. package/ts/deveqxcustomers.js +2 -2
  150. package/ts/devupi.js +2 -2
  151. package/ts/documents/getagreement.js +2 -2
  152. package/ts/documents/getfinancialdoc.js +2 -2
  153. package/ts/documents.js +2 -2
  154. package/ts/eqxcustomer.d.ts +0 -14
  155. package/ts/eqxcustomer.js +2 -12
  156. package/ts/eqxcustomers/authenticateuser.js +2 -2
  157. package/ts/eqxcustomers/creditguidance.js +2 -2
  158. package/ts/eqxcustomers/getbankaccount.js +2 -2
  159. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  160. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  161. package/ts/eqxcustomers/getdashboard.js +2 -2
  162. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  163. package/ts/eqxcustomers/getnotifications.js +2 -2
  164. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  165. package/ts/eqxcustomers/gettokens.js +2 -2
  166. package/ts/eqxcustomers/sendotp.js +2 -2
  167. package/ts/eqxcustomers/updatecustomer.js +2 -2
  168. package/ts/eqxcustomers/updatenotification.js +2 -2
  169. package/ts/eqxcustomers/updatepushid.js +2 -2
  170. package/ts/eqxcustomers/verifyotp.js +2 -2
  171. package/ts/eqxcustomers/verifytoken.js +2 -2
  172. package/ts/example.js +2 -2
  173. package/ts/growth/checkplanstatus.js +2 -2
  174. package/ts/growth/getattachplandetails.js +2 -2
  175. package/ts/growth/getchrpaymentstatus.js +2 -2
  176. package/ts/growth/getchrpdfurl.js +2 -2
  177. package/ts/growth/getchrplans.d.ts +31 -94
  178. package/ts/growth/getchrplans.js +63 -568
  179. package/ts/growth/getchrreport.d.ts +67 -0
  180. package/ts/growth/getchrreport.js +504 -0
  181. package/ts/growth/getchrreportdata.d.ts +51 -0
  182. package/ts/growth/getchrreportdata.js +419 -4
  183. package/ts/growth/getcredithealthreport.js +2 -2
  184. package/ts/growth/initiatepayment.js +2 -2
  185. package/ts/growth/notifychrpayment.js +2 -2
  186. package/ts/growth/processchrpayment.js +2 -2
  187. package/ts/growth.js +2 -2
  188. package/ts/kyc/amldetails.js +2 -2
  189. package/ts/kyc/authbridgepancomprehend.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.js +2 -2
  198. package/ts/lamf/getloandetails.js +2 -2
  199. package/ts/lamf/submitotp.js +2 -2
  200. package/ts/lamf/validateuser.js +2 -2
  201. package/ts/lamf.js +2 -2
  202. package/ts/loans/addreference.js +2 -2
  203. package/ts/loans/amortization.js +2 -2
  204. package/ts/loans/approveloan.js +2 -2
  205. package/ts/loans/banklist.js +2 -2
  206. package/ts/loans/calculateemi.js +2 -2
  207. package/ts/loans/cbloan.js +2 -2
  208. package/ts/loans/createlamfloan.js +2 -2
  209. package/ts/loans/createpenalty.js +2 -2
  210. package/ts/loans/creditlimit.js +2 -2
  211. package/ts/loans/emimoredetails.js +2 -2
  212. package/ts/loans/fcppayment.js +2 -2
  213. package/ts/loans/forecloseamount.js +2 -2
  214. package/ts/loans/foreclosepayment.js +2 -2
  215. package/ts/loans/futurepaymentmoredetails.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/getvirtualaccountnumber.d.ts +35 -0
  238. package/ts/{upi/suggestvpa.js → loans/getvirtualaccountnumber.js} +42 -47
  239. package/ts/loans/getvirtualbankinfo.js +2 -2
  240. package/ts/loans/loansummary.js +2 -2
  241. package/ts/loans/manualpaymentallocation.js +2 -2
  242. package/ts/loans/paymentallocation.js +2 -2
  243. package/ts/loans/paymenthistory.js +2 -2
  244. package/ts/loans/paynow.js +2 -2
  245. package/ts/loans/refund.js +2 -2
  246. package/ts/loans/restructureloan.js +2 -2
  247. package/ts/loans/rollback.js +2 -2
  248. package/ts/loans/rollbackextrapayment.d.ts +37 -0
  249. package/ts/{upi/addvpa.js → loans/rollbackextrapayment.js} +53 -37
  250. package/ts/loans/sendemail.js +2 -2
  251. package/ts/loans/sendnocemail.js +2 -2
  252. package/ts/loans/transactionlist.js +2 -2
  253. package/ts/loans/updatecollectionview.js +2 -2
  254. package/ts/loans/updateinstallments.js +2 -2
  255. package/ts/loans/updateloan.js +2 -2
  256. package/ts/loans/updatetransactionstatus.js +2 -2
  257. package/ts/loans.js +2 -2
  258. package/ts/payments/checkpaymentstatus.js +2 -2
  259. package/ts/payments/fundtransfer.js +2 -2
  260. package/ts/payments/getpaymentoptions.js +2 -2
  261. package/ts/payments/initiatepayment.js +2 -2
  262. package/ts/payments/nachpresentation.js +2 -2
  263. package/ts/payments/nachregistration.js +2 -2
  264. package/ts/payments.js +2 -2
  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.js +2 -2
  269. package/ts/stashcash/creditsc.js +2 -2
  270. package/ts/stashcash/debitsc.js +2 -2
  271. package/ts/stashcash/getscbalance.js +2 -2
  272. package/ts/stashcash/getschistory.js +2 -2
  273. package/ts/stashcash/reversesc.js +2 -2
  274. package/ts/stashcash.js +2 -2
  275. package/ts/upi/addaccount.js +2 -2
  276. package/ts/upi/blockvpa.js +2 -2
  277. package/ts/upi/checkderegisterpermission.js +2 -2
  278. package/ts/upi/checktransactionstatus.js +2 -2
  279. package/ts/upi/declinemandate.js +2 -2
  280. package/ts/upi/deregisterprofile.js +2 -2
  281. package/ts/upi/getaccountsbyprovider.js +2 -2
  282. package/ts/upi/getallmandates.js +2 -2
  283. package/ts/upi/getavailablevpa.js +2 -2
  284. package/ts/upi/getlistedaccountproviders.js +2 -2
  285. package/ts/upi/getmandatedetails.js +2 -2
  286. package/ts/upi/getmandatehistory.js +2 -2
  287. package/ts/upi/getpendingcollectrequest.js +2 -2
  288. package/ts/upi/getprofile.js +2 -2
  289. package/ts/upi/getrecentcontacts.js +2 -2
  290. package/ts/upi/gettransactions.js +2 -2
  291. package/ts/upi/getupinumbers.js +2 -2
  292. package/ts/upi/initiatemandateaction.js +2 -2
  293. package/ts/upi/initiatetransaction.js +2 -2
  294. package/ts/upi/listblockedvpa.js +2 -2
  295. package/ts/upi/unblockvpa.js +2 -2
  296. package/ts/upi/updatedevicebinding.js +2 -2
  297. package/ts/upi/updatedevicelinking.js +2 -2
  298. package/ts/upi/upinumberoperations.js +2 -2
  299. package/ts/upi/validateifsc.js +2 -2
  300. package/ts/upi/validatevpa.js +2 -2
  301. package/ts/upi.js +2 -2
  302. package/ts/banking/aa/checktransactionstatus.d.ts +0 -38
  303. package/ts/banking/aa/checktransactionstatus.js +0 -161
  304. package/ts/eqxcustomers/updatesubscriptionstatus.d.ts +0 -40
  305. package/ts/eqxcustomers/updatesubscriptionstatus.js +0 -205
  306. package/ts/upi/addupinumber.d.ts +0 -39
  307. package/ts/upi/addupinumber.js +0 -177
  308. package/ts/upi/addvpa.d.ts +0 -36
  309. package/ts/upi/suggestvpa.d.ts +0 -35
@@ -1,14 +1,14 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: growth/getchrreportdata.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.chrReportDataResponse = exports.ScoreAnalysis = exports.HeadingData = exports.HeadingTip = exports.TradeLineData = exports.chrReportDataRequest = exports.protobufPackage = void 0;
11
+ exports.chrReportDataResponse = exports.EnquiriesData = exports.ScoreAnalysis = exports.HeadingData = exports.HeadingTip = exports.HistoryData = exports.Enquiries = exports.TradeLineData = exports.chrReportDataRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const long_1 = __importDefault(require("long"));
14
14
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
@@ -83,6 +83,9 @@ function createBaseTradeLineData() {
83
83
  loan_type: undefined,
84
84
  written_off_amount: undefined,
85
85
  settlement_amount: undefined,
86
+ reporting_member: undefined,
87
+ history: [],
88
+ account_number: undefined,
86
89
  };
87
90
  }
88
91
  exports.TradeLineData = {
@@ -141,6 +144,15 @@ exports.TradeLineData = {
141
144
  if (message.settlement_amount !== undefined) {
142
145
  writer.uint32(144).int64(message.settlement_amount);
143
146
  }
147
+ if (message.reporting_member !== undefined) {
148
+ writer.uint32(154).string(message.reporting_member);
149
+ }
150
+ for (const v of message.history) {
151
+ exports.HistoryData.encode(v, writer.uint32(162).fork()).ldelim();
152
+ }
153
+ if (message.account_number !== undefined) {
154
+ writer.uint32(170).string(message.account_number);
155
+ }
144
156
  return writer;
145
157
  },
146
158
  decode(input, length) {
@@ -258,6 +270,24 @@ exports.TradeLineData = {
258
270
  }
259
271
  message.settlement_amount = longToNumber(reader.int64());
260
272
  continue;
273
+ case 19:
274
+ if (tag !== 154) {
275
+ break;
276
+ }
277
+ message.reporting_member = reader.string();
278
+ continue;
279
+ case 20:
280
+ if (tag !== 162) {
281
+ break;
282
+ }
283
+ message.history.push(exports.HistoryData.decode(reader, reader.uint32()));
284
+ continue;
285
+ case 21:
286
+ if (tag !== 170) {
287
+ break;
288
+ }
289
+ message.account_number = reader.string();
290
+ continue;
261
291
  }
262
292
  if ((tag & 7) === 4 || tag === 0) {
263
293
  break;
@@ -288,6 +318,9 @@ exports.TradeLineData = {
288
318
  loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : undefined,
289
319
  written_off_amount: isSet(object.written_off_amount) ? globalThis.Number(object.written_off_amount) : undefined,
290
320
  settlement_amount: isSet(object.settlement_amount) ? globalThis.Number(object.settlement_amount) : undefined,
321
+ reporting_member: isSet(object.reporting_member) ? globalThis.String(object.reporting_member) : undefined,
322
+ history: globalThis.Array.isArray(object?.history) ? object.history.map((e) => exports.HistoryData.fromJSON(e)) : [],
323
+ account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : undefined,
291
324
  };
292
325
  },
293
326
  toJSON(message) {
@@ -346,6 +379,15 @@ exports.TradeLineData = {
346
379
  if (message.settlement_amount !== undefined) {
347
380
  obj.settlement_amount = Math.round(message.settlement_amount);
348
381
  }
382
+ if (message.reporting_member !== undefined) {
383
+ obj.reporting_member = message.reporting_member;
384
+ }
385
+ if (message.history?.length) {
386
+ obj.history = message.history.map((e) => exports.HistoryData.toJSON(e));
387
+ }
388
+ if (message.account_number !== undefined) {
389
+ obj.account_number = message.account_number;
390
+ }
349
391
  return obj;
350
392
  },
351
393
  create(base) {
@@ -371,6 +413,253 @@ exports.TradeLineData = {
371
413
  message.loan_type = object.loan_type ?? undefined;
372
414
  message.written_off_amount = object.written_off_amount ?? undefined;
373
415
  message.settlement_amount = object.settlement_amount ?? undefined;
416
+ message.reporting_member = object.reporting_member ?? undefined;
417
+ message.history = object.history?.map((e) => exports.HistoryData.fromPartial(e)) || [];
418
+ message.account_number = object.account_number ?? undefined;
419
+ return message;
420
+ },
421
+ };
422
+ function createBaseEnquiries() {
423
+ return { month1: 0, month3: 0, month6: 0, month9: 0, month12: 0, month15: 0, month18: 0, month21: 0, month24: 0 };
424
+ }
425
+ exports.Enquiries = {
426
+ encode(message, writer = minimal_1.default.Writer.create()) {
427
+ if (message.month1 !== 0) {
428
+ writer.uint32(8).int32(message.month1);
429
+ }
430
+ if (message.month3 !== 0) {
431
+ writer.uint32(16).int32(message.month3);
432
+ }
433
+ if (message.month6 !== 0) {
434
+ writer.uint32(24).int32(message.month6);
435
+ }
436
+ if (message.month9 !== 0) {
437
+ writer.uint32(32).int32(message.month9);
438
+ }
439
+ if (message.month12 !== 0) {
440
+ writer.uint32(40).int32(message.month12);
441
+ }
442
+ if (message.month15 !== 0) {
443
+ writer.uint32(48).int32(message.month15);
444
+ }
445
+ if (message.month18 !== 0) {
446
+ writer.uint32(56).int32(message.month18);
447
+ }
448
+ if (message.month21 !== 0) {
449
+ writer.uint32(64).int32(message.month21);
450
+ }
451
+ if (message.month24 !== 0) {
452
+ writer.uint32(72).int32(message.month24);
453
+ }
454
+ return writer;
455
+ },
456
+ decode(input, length) {
457
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
458
+ let end = length === undefined ? reader.len : reader.pos + length;
459
+ const message = createBaseEnquiries();
460
+ while (reader.pos < end) {
461
+ const tag = reader.uint32();
462
+ switch (tag >>> 3) {
463
+ case 1:
464
+ if (tag !== 8) {
465
+ break;
466
+ }
467
+ message.month1 = reader.int32();
468
+ continue;
469
+ case 2:
470
+ if (tag !== 16) {
471
+ break;
472
+ }
473
+ message.month3 = reader.int32();
474
+ continue;
475
+ case 3:
476
+ if (tag !== 24) {
477
+ break;
478
+ }
479
+ message.month6 = reader.int32();
480
+ continue;
481
+ case 4:
482
+ if (tag !== 32) {
483
+ break;
484
+ }
485
+ message.month9 = reader.int32();
486
+ continue;
487
+ case 5:
488
+ if (tag !== 40) {
489
+ break;
490
+ }
491
+ message.month12 = reader.int32();
492
+ continue;
493
+ case 6:
494
+ if (tag !== 48) {
495
+ break;
496
+ }
497
+ message.month15 = reader.int32();
498
+ continue;
499
+ case 7:
500
+ if (tag !== 56) {
501
+ break;
502
+ }
503
+ message.month18 = reader.int32();
504
+ continue;
505
+ case 8:
506
+ if (tag !== 64) {
507
+ break;
508
+ }
509
+ message.month21 = reader.int32();
510
+ continue;
511
+ case 9:
512
+ if (tag !== 72) {
513
+ break;
514
+ }
515
+ message.month24 = reader.int32();
516
+ continue;
517
+ }
518
+ if ((tag & 7) === 4 || tag === 0) {
519
+ break;
520
+ }
521
+ reader.skipType(tag & 7);
522
+ }
523
+ return message;
524
+ },
525
+ fromJSON(object) {
526
+ return {
527
+ month1: isSet(object.month1) ? globalThis.Number(object.month1) : 0,
528
+ month3: isSet(object.month3) ? globalThis.Number(object.month3) : 0,
529
+ month6: isSet(object.month6) ? globalThis.Number(object.month6) : 0,
530
+ month9: isSet(object.month9) ? globalThis.Number(object.month9) : 0,
531
+ month12: isSet(object.month12) ? globalThis.Number(object.month12) : 0,
532
+ month15: isSet(object.month15) ? globalThis.Number(object.month15) : 0,
533
+ month18: isSet(object.month18) ? globalThis.Number(object.month18) : 0,
534
+ month21: isSet(object.month21) ? globalThis.Number(object.month21) : 0,
535
+ month24: isSet(object.month24) ? globalThis.Number(object.month24) : 0,
536
+ };
537
+ },
538
+ toJSON(message) {
539
+ const obj = {};
540
+ if (message.month1 !== 0) {
541
+ obj.month1 = Math.round(message.month1);
542
+ }
543
+ if (message.month3 !== 0) {
544
+ obj.month3 = Math.round(message.month3);
545
+ }
546
+ if (message.month6 !== 0) {
547
+ obj.month6 = Math.round(message.month6);
548
+ }
549
+ if (message.month9 !== 0) {
550
+ obj.month9 = Math.round(message.month9);
551
+ }
552
+ if (message.month12 !== 0) {
553
+ obj.month12 = Math.round(message.month12);
554
+ }
555
+ if (message.month15 !== 0) {
556
+ obj.month15 = Math.round(message.month15);
557
+ }
558
+ if (message.month18 !== 0) {
559
+ obj.month18 = Math.round(message.month18);
560
+ }
561
+ if (message.month21 !== 0) {
562
+ obj.month21 = Math.round(message.month21);
563
+ }
564
+ if (message.month24 !== 0) {
565
+ obj.month24 = Math.round(message.month24);
566
+ }
567
+ return obj;
568
+ },
569
+ create(base) {
570
+ return exports.Enquiries.fromPartial(base ?? {});
571
+ },
572
+ fromPartial(object) {
573
+ const message = createBaseEnquiries();
574
+ message.month1 = object.month1 ?? 0;
575
+ message.month3 = object.month3 ?? 0;
576
+ message.month6 = object.month6 ?? 0;
577
+ message.month9 = object.month9 ?? 0;
578
+ message.month12 = object.month12 ?? 0;
579
+ message.month15 = object.month15 ?? 0;
580
+ message.month18 = object.month18 ?? 0;
581
+ message.month21 = object.month21 ?? 0;
582
+ message.month24 = object.month24 ?? 0;
583
+ return message;
584
+ },
585
+ };
586
+ function createBaseHistoryData() {
587
+ return { month_number: 0, dpd: 0, year: 0 };
588
+ }
589
+ exports.HistoryData = {
590
+ encode(message, writer = minimal_1.default.Writer.create()) {
591
+ if (message.month_number !== 0) {
592
+ writer.uint32(8).int64(message.month_number);
593
+ }
594
+ if (message.dpd !== 0) {
595
+ writer.uint32(16).int64(message.dpd);
596
+ }
597
+ if (message.year !== 0) {
598
+ writer.uint32(24).int64(message.year);
599
+ }
600
+ return writer;
601
+ },
602
+ decode(input, length) {
603
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
604
+ let end = length === undefined ? reader.len : reader.pos + length;
605
+ const message = createBaseHistoryData();
606
+ while (reader.pos < end) {
607
+ const tag = reader.uint32();
608
+ switch (tag >>> 3) {
609
+ case 1:
610
+ if (tag !== 8) {
611
+ break;
612
+ }
613
+ message.month_number = longToNumber(reader.int64());
614
+ continue;
615
+ case 2:
616
+ if (tag !== 16) {
617
+ break;
618
+ }
619
+ message.dpd = longToNumber(reader.int64());
620
+ continue;
621
+ case 3:
622
+ if (tag !== 24) {
623
+ break;
624
+ }
625
+ message.year = longToNumber(reader.int64());
626
+ continue;
627
+ }
628
+ if ((tag & 7) === 4 || tag === 0) {
629
+ break;
630
+ }
631
+ reader.skipType(tag & 7);
632
+ }
633
+ return message;
634
+ },
635
+ fromJSON(object) {
636
+ return {
637
+ month_number: isSet(object.month_number) ? globalThis.Number(object.month_number) : 0,
638
+ dpd: isSet(object.dpd) ? globalThis.Number(object.dpd) : 0,
639
+ year: isSet(object.year) ? globalThis.Number(object.year) : 0,
640
+ };
641
+ },
642
+ toJSON(message) {
643
+ const obj = {};
644
+ if (message.month_number !== 0) {
645
+ obj.month_number = Math.round(message.month_number);
646
+ }
647
+ if (message.dpd !== 0) {
648
+ obj.dpd = Math.round(message.dpd);
649
+ }
650
+ if (message.year !== 0) {
651
+ obj.year = Math.round(message.year);
652
+ }
653
+ return obj;
654
+ },
655
+ create(base) {
656
+ return exports.HistoryData.fromPartial(base ?? {});
657
+ },
658
+ fromPartial(object) {
659
+ const message = createBaseHistoryData();
660
+ message.month_number = object.month_number ?? 0;
661
+ message.dpd = object.dpd ?? 0;
662
+ message.year = object.year ?? 0;
374
663
  return message;
375
664
  },
376
665
  };
@@ -654,8 +943,102 @@ exports.ScoreAnalysis = {
654
943
  return message;
655
944
  },
656
945
  };
946
+ function createBaseEnquiriesData() {
947
+ return { date_reported: "", enquiry_purpose: 0, reporting_member: "", loan_type: undefined };
948
+ }
949
+ exports.EnquiriesData = {
950
+ encode(message, writer = minimal_1.default.Writer.create()) {
951
+ if (message.date_reported !== "") {
952
+ writer.uint32(10).string(message.date_reported);
953
+ }
954
+ if (message.enquiry_purpose !== 0) {
955
+ writer.uint32(16).int32(message.enquiry_purpose);
956
+ }
957
+ if (message.reporting_member !== "") {
958
+ writer.uint32(26).string(message.reporting_member);
959
+ }
960
+ if (message.loan_type !== undefined) {
961
+ writer.uint32(34).string(message.loan_type);
962
+ }
963
+ return writer;
964
+ },
965
+ decode(input, length) {
966
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
967
+ let end = length === undefined ? reader.len : reader.pos + length;
968
+ const message = createBaseEnquiriesData();
969
+ while (reader.pos < end) {
970
+ const tag = reader.uint32();
971
+ switch (tag >>> 3) {
972
+ case 1:
973
+ if (tag !== 10) {
974
+ break;
975
+ }
976
+ message.date_reported = reader.string();
977
+ continue;
978
+ case 2:
979
+ if (tag !== 16) {
980
+ break;
981
+ }
982
+ message.enquiry_purpose = reader.int32();
983
+ continue;
984
+ case 3:
985
+ if (tag !== 26) {
986
+ break;
987
+ }
988
+ message.reporting_member = reader.string();
989
+ continue;
990
+ case 4:
991
+ if (tag !== 34) {
992
+ break;
993
+ }
994
+ message.loan_type = reader.string();
995
+ continue;
996
+ }
997
+ if ((tag & 7) === 4 || tag === 0) {
998
+ break;
999
+ }
1000
+ reader.skipType(tag & 7);
1001
+ }
1002
+ return message;
1003
+ },
1004
+ fromJSON(object) {
1005
+ return {
1006
+ date_reported: isSet(object.date_reported) ? globalThis.String(object.date_reported) : "",
1007
+ enquiry_purpose: isSet(object.enquiry_purpose) ? globalThis.Number(object.enquiry_purpose) : 0,
1008
+ reporting_member: isSet(object.reporting_member) ? globalThis.String(object.reporting_member) : "",
1009
+ loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : undefined,
1010
+ };
1011
+ },
1012
+ toJSON(message) {
1013
+ const obj = {};
1014
+ if (message.date_reported !== "") {
1015
+ obj.date_reported = message.date_reported;
1016
+ }
1017
+ if (message.enquiry_purpose !== 0) {
1018
+ obj.enquiry_purpose = Math.round(message.enquiry_purpose);
1019
+ }
1020
+ if (message.reporting_member !== "") {
1021
+ obj.reporting_member = message.reporting_member;
1022
+ }
1023
+ if (message.loan_type !== undefined) {
1024
+ obj.loan_type = message.loan_type;
1025
+ }
1026
+ return obj;
1027
+ },
1028
+ create(base) {
1029
+ return exports.EnquiriesData.fromPartial(base ?? {});
1030
+ },
1031
+ fromPartial(object) {
1032
+ const message = createBaseEnquiriesData();
1033
+ message.date_reported = object.date_reported ?? "";
1034
+ message.enquiry_purpose = object.enquiry_purpose ?? 0;
1035
+ message.reporting_member = object.reporting_member ?? "";
1036
+ message.loan_type = object.loan_type ?? undefined;
1037
+ return message;
1038
+ },
1039
+ };
657
1040
  function createBasechrReportDataResponse() {
658
- return { credit_score: 0, tradelines: [], scoreanalysis: [] };
1041
+ return { credit_score: 0, tradelines: [], scoreanalysis: [], enquiries_data: [], enquiries: undefined };
659
1042
  }
660
1043
  exports.chrReportDataResponse = {
661
1044
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -668,6 +1051,12 @@ exports.chrReportDataResponse = {
668
1051
  for (const v of message.scoreanalysis) {
669
1052
  exports.ScoreAnalysis.encode(v, writer.uint32(26).fork()).ldelim();
670
1053
  }
1054
+ for (const v of message.enquiries_data) {
1055
+ exports.EnquiriesData.encode(v, writer.uint32(34).fork()).ldelim();
1056
+ }
1057
+ if (message.enquiries !== undefined) {
1058
+ exports.Enquiries.encode(message.enquiries, writer.uint32(42).fork()).ldelim();
1059
+ }
671
1060
  return writer;
672
1061
  },
673
1062
  decode(input, length) {
@@ -695,6 +1084,18 @@ exports.chrReportDataResponse = {
695
1084
  }
696
1085
  message.scoreanalysis.push(exports.ScoreAnalysis.decode(reader, reader.uint32()));
697
1086
  continue;
1087
+ case 4:
1088
+ if (tag !== 34) {
1089
+ break;
1090
+ }
1091
+ message.enquiries_data.push(exports.EnquiriesData.decode(reader, reader.uint32()));
1092
+ continue;
1093
+ case 5:
1094
+ if (tag !== 42) {
1095
+ break;
1096
+ }
1097
+ message.enquiries = exports.Enquiries.decode(reader, reader.uint32());
1098
+ continue;
698
1099
  }
699
1100
  if ((tag & 7) === 4 || tag === 0) {
700
1101
  break;
@@ -712,6 +1113,10 @@ exports.chrReportDataResponse = {
712
1113
  scoreanalysis: globalThis.Array.isArray(object?.scoreanalysis)
713
1114
  ? object.scoreanalysis.map((e) => exports.ScoreAnalysis.fromJSON(e))
714
1115
  : [],
1116
+ enquiries_data: globalThis.Array.isArray(object?.enquiries_data)
1117
+ ? object.enquiries_data.map((e) => exports.EnquiriesData.fromJSON(e))
1118
+ : [],
1119
+ enquiries: isSet(object.enquiries) ? exports.Enquiries.fromJSON(object.enquiries) : undefined,
715
1120
  };
716
1121
  },
717
1122
  toJSON(message) {
@@ -725,6 +1130,12 @@ exports.chrReportDataResponse = {
725
1130
  if (message.scoreanalysis?.length) {
726
1131
  obj.scoreanalysis = message.scoreanalysis.map((e) => exports.ScoreAnalysis.toJSON(e));
727
1132
  }
1133
+ if (message.enquiries_data?.length) {
1134
+ obj.enquiries_data = message.enquiries_data.map((e) => exports.EnquiriesData.toJSON(e));
1135
+ }
1136
+ if (message.enquiries !== undefined) {
1137
+ obj.enquiries = exports.Enquiries.toJSON(message.enquiries);
1138
+ }
728
1139
  return obj;
729
1140
  },
730
1141
  create(base) {
@@ -735,6 +1146,10 @@ exports.chrReportDataResponse = {
735
1146
  message.credit_score = object.credit_score ?? 0;
736
1147
  message.tradelines = object.tradelines?.map((e) => exports.TradeLineData.fromPartial(e)) || [];
737
1148
  message.scoreanalysis = object.scoreanalysis?.map((e) => exports.ScoreAnalysis.fromPartial(e)) || [];
1149
+ message.enquiries_data = object.enquiries_data?.map((e) => exports.EnquiriesData.fromPartial(e)) || [];
1150
+ message.enquiries = (object.enquiries !== undefined && object.enquiries !== null)
1151
+ ? exports.Enquiries.fromPartial(object.enquiries)
1152
+ : undefined;
738
1153
  return message;
739
1154
  },
740
1155
  };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: growth/getcredithealthreport.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: growth/initiatepayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: growth/notifychrpayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: growth/processchrpayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/growth.js CHANGED
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: growth.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.growthClient = exports.growthService = exports.protobufPackage = void 0;
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: kyc/amldetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: kyc/authbridgepancomprehend.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: kyc/facematch.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: kyc/fetchaadhaarbypan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: kyc/fetchemploymenthistory.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: kyc/fetchuanlist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: kyc/getselfietxnid.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
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.181.2
5
- // protoc v6.30.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: kyc/getselfieurl.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };