@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,31 +1,40 @@
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.3
6
- // source: upi/suggestvpa.proto
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
+ // source: loans/getvirtualaccountnumber.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.suggestVPAResponse = exports.suggestVPARequest = exports.protobufPackage = void 0;
11
+ exports.getVirtualAccountNumberResponse = exports.getVirtualAccountNumberRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "upi.suggestvpa";
15
- function createBasesuggestVPARequest() {
16
- return {};
14
+ exports.protobufPackage = "loans.getvirtualaccountnumber";
15
+ function createBasegetVirtualAccountNumberRequest() {
16
+ return { customer_id: 0 };
17
17
  }
18
- exports.suggestVPARequest = {
19
- encode(_, writer = minimal_1.default.Writer.create()) {
18
+ exports.getVirtualAccountNumberRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.customer_id !== 0) {
21
+ writer.uint32(8).int32(message.customer_id);
22
+ }
20
23
  return writer;
21
24
  },
22
25
  decode(input, length) {
23
26
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
24
27
  let end = length === undefined ? reader.len : reader.pos + length;
25
- const message = createBasesuggestVPARequest();
28
+ const message = createBasegetVirtualAccountNumberRequest();
26
29
  while (reader.pos < end) {
27
30
  const tag = reader.uint32();
28
31
  switch (tag >>> 3) {
32
+ case 1:
33
+ if (tag !== 8) {
34
+ break;
35
+ }
36
+ message.customer_id = reader.int32();
37
+ continue;
29
38
  }
30
39
  if ((tag & 7) === 4 || tag === 0) {
31
40
  break;
@@ -34,38 +43,39 @@ exports.suggestVPARequest = {
34
43
  }
35
44
  return message;
36
45
  },
37
- fromJSON(_) {
38
- return {};
46
+ fromJSON(object) {
47
+ return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
39
48
  },
40
- toJSON(_) {
49
+ toJSON(message) {
41
50
  const obj = {};
51
+ if (message.customer_id !== 0) {
52
+ obj.customer_id = Math.round(message.customer_id);
53
+ }
42
54
  return obj;
43
55
  },
44
56
  create(base) {
45
- return exports.suggestVPARequest.fromPartial(base ?? {});
57
+ return exports.getVirtualAccountNumberRequest.fromPartial(base ?? {});
46
58
  },
47
- fromPartial(_) {
48
- const message = createBasesuggestVPARequest();
59
+ fromPartial(object) {
60
+ const message = createBasegetVirtualAccountNumberRequest();
61
+ message.customer_id = object.customer_id ?? 0;
49
62
  return message;
50
63
  },
51
64
  };
52
- function createBasesuggestVPAResponse() {
53
- return { suggested_vpa_ids: [], message: "" };
65
+ function createBasegetVirtualAccountNumberResponse() {
66
+ return { account_number: "" };
54
67
  }
55
- exports.suggestVPAResponse = {
68
+ exports.getVirtualAccountNumberResponse = {
56
69
  encode(message, writer = minimal_1.default.Writer.create()) {
57
- for (const v of message.suggested_vpa_ids) {
58
- writer.uint32(10).string(v);
59
- }
60
- if (message.message !== "") {
61
- writer.uint32(18).string(message.message);
70
+ if (message.account_number !== "") {
71
+ writer.uint32(10).string(message.account_number);
62
72
  }
63
73
  return writer;
64
74
  },
65
75
  decode(input, length) {
66
76
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
67
77
  let end = length === undefined ? reader.len : reader.pos + length;
68
- const message = createBasesuggestVPAResponse();
78
+ const message = createBasegetVirtualAccountNumberResponse();
69
79
  while (reader.pos < end) {
70
80
  const tag = reader.uint32();
71
81
  switch (tag >>> 3) {
@@ -73,13 +83,7 @@ exports.suggestVPAResponse = {
73
83
  if (tag !== 10) {
74
84
  break;
75
85
  }
76
- message.suggested_vpa_ids.push(reader.string());
77
- continue;
78
- case 2:
79
- if (tag !== 18) {
80
- break;
81
- }
82
- message.message = reader.string();
86
+ message.account_number = reader.string();
83
87
  continue;
84
88
  }
85
89
  if ((tag & 7) === 4 || tag === 0) {
@@ -90,30 +94,21 @@ exports.suggestVPAResponse = {
90
94
  return message;
91
95
  },
92
96
  fromJSON(object) {
93
- return {
94
- suggested_vpa_ids: globalThis.Array.isArray(object?.suggested_vpa_ids)
95
- ? object.suggested_vpa_ids.map((e) => globalThis.String(e))
96
- : [],
97
- message: isSet(object.message) ? globalThis.String(object.message) : "",
98
- };
97
+ return { account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : "" };
99
98
  },
100
99
  toJSON(message) {
101
100
  const obj = {};
102
- if (message.suggested_vpa_ids?.length) {
103
- obj.suggested_vpa_ids = message.suggested_vpa_ids;
104
- }
105
- if (message.message !== "") {
106
- obj.message = message.message;
101
+ if (message.account_number !== "") {
102
+ obj.account_number = message.account_number;
107
103
  }
108
104
  return obj;
109
105
  },
110
106
  create(base) {
111
- return exports.suggestVPAResponse.fromPartial(base ?? {});
107
+ return exports.getVirtualAccountNumberResponse.fromPartial(base ?? {});
112
108
  },
113
109
  fromPartial(object) {
114
- const message = createBasesuggestVPAResponse();
115
- message.suggested_vpa_ids = object.suggested_vpa_ids?.map((e) => e) || [];
116
- message.message = object.message ?? "";
110
+ const message = createBasegetVirtualAccountNumberResponse();
111
+ message.account_number = object.account_number ?? "";
117
112
  return message;
118
113
  },
119
114
  };
@@ -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: loans/getvirtualbankinfo.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: loans/loansummary.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: loans/manualpaymentallocation.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: loans/paymentallocation.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: loans/paymenthistory.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: loans/paynow.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: loans/refund.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: loans/restructureloan.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: loans/rollback.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,37 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.rollbackextrapayment";
3
+ export interface rollbackExtraPaymentRequest {
4
+ customer_id: number;
5
+ amount: number;
6
+ }
7
+ export interface rollbackExtraPaymentResponse {
8
+ message: string;
9
+ status: number;
10
+ }
11
+ export declare const rollbackExtraPaymentRequest: {
12
+ encode(message: rollbackExtraPaymentRequest, writer?: _m0.Writer): _m0.Writer;
13
+ decode(input: _m0.Reader | Uint8Array, length?: number): rollbackExtraPaymentRequest;
14
+ fromJSON(object: any): rollbackExtraPaymentRequest;
15
+ toJSON(message: rollbackExtraPaymentRequest): unknown;
16
+ create<I extends Exact<DeepPartial<rollbackExtraPaymentRequest>, I>>(base?: I): rollbackExtraPaymentRequest;
17
+ fromPartial<I extends Exact<DeepPartial<rollbackExtraPaymentRequest>, I>>(object: I): rollbackExtraPaymentRequest;
18
+ };
19
+ export declare const rollbackExtraPaymentResponse: {
20
+ encode(message: rollbackExtraPaymentResponse, writer?: _m0.Writer): _m0.Writer;
21
+ decode(input: _m0.Reader | Uint8Array, length?: number): rollbackExtraPaymentResponse;
22
+ fromJSON(object: any): rollbackExtraPaymentResponse;
23
+ toJSON(message: rollbackExtraPaymentResponse): unknown;
24
+ create<I extends Exact<DeepPartial<rollbackExtraPaymentResponse>, I>>(base?: I): rollbackExtraPaymentResponse;
25
+ fromPartial<I extends Exact<DeepPartial<rollbackExtraPaymentResponse>, I>>(object: I): rollbackExtraPaymentResponse;
26
+ };
27
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
28
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
29
+ [K in keyof T]?: DeepPartial<T[K]>;
30
+ } : Partial<T>;
31
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
32
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
33
+ [K in keyof P]: Exact<P[K], I[K]>;
34
+ } & {
35
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
36
+ };
37
+ export {};
@@ -1,39 +1,48 @@
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.3
6
- // source: upi/addvpa.proto
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
+ // source: loans/rollbackextrapayment.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.addVPAResponse = exports.addVPARequest = exports.protobufPackage = void 0;
11
+ exports.rollbackExtraPaymentResponse = exports.rollbackExtraPaymentRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "upi.addvpa";
15
- function createBaseaddVPARequest() {
16
- return { vpa: "" };
14
+ exports.protobufPackage = "loans.rollbackextrapayment";
15
+ function createBaserollbackExtraPaymentRequest() {
16
+ return { customer_id: 0, amount: 0 };
17
17
  }
18
- exports.addVPARequest = {
18
+ exports.rollbackExtraPaymentRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.vpa !== "") {
21
- writer.uint32(10).string(message.vpa);
20
+ if (message.customer_id !== 0) {
21
+ writer.uint32(8).int32(message.customer_id);
22
+ }
23
+ if (message.amount !== 0) {
24
+ writer.uint32(16).int32(message.amount);
22
25
  }
23
26
  return writer;
24
27
  },
25
28
  decode(input, length) {
26
29
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
30
  let end = length === undefined ? reader.len : reader.pos + length;
28
- const message = createBaseaddVPARequest();
31
+ const message = createBaserollbackExtraPaymentRequest();
29
32
  while (reader.pos < end) {
30
33
  const tag = reader.uint32();
31
34
  switch (tag >>> 3) {
32
35
  case 1:
33
- if (tag !== 10) {
36
+ if (tag !== 8) {
37
+ break;
38
+ }
39
+ message.customer_id = reader.int32();
40
+ continue;
41
+ case 2:
42
+ if (tag !== 16) {
34
43
  break;
35
44
  }
36
- message.vpa = reader.string();
45
+ message.amount = reader.int32();
37
46
  continue;
38
47
  }
39
48
  if ((tag & 7) === 4 || tag === 0) {
@@ -44,41 +53,48 @@ exports.addVPARequest = {
44
53
  return message;
45
54
  },
46
55
  fromJSON(object) {
47
- return { vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "" };
56
+ return {
57
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
58
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
59
+ };
48
60
  },
49
61
  toJSON(message) {
50
62
  const obj = {};
51
- if (message.vpa !== "") {
52
- obj.vpa = message.vpa;
63
+ if (message.customer_id !== 0) {
64
+ obj.customer_id = Math.round(message.customer_id);
65
+ }
66
+ if (message.amount !== 0) {
67
+ obj.amount = Math.round(message.amount);
53
68
  }
54
69
  return obj;
55
70
  },
56
71
  create(base) {
57
- return exports.addVPARequest.fromPartial(base ?? {});
72
+ return exports.rollbackExtraPaymentRequest.fromPartial(base ?? {});
58
73
  },
59
74
  fromPartial(object) {
60
- const message = createBaseaddVPARequest();
61
- message.vpa = object.vpa ?? "";
75
+ const message = createBaserollbackExtraPaymentRequest();
76
+ message.customer_id = object.customer_id ?? 0;
77
+ message.amount = object.amount ?? 0;
62
78
  return message;
63
79
  },
64
80
  };
65
- function createBaseaddVPAResponse() {
66
- return { status: "", message: "" };
81
+ function createBaserollbackExtraPaymentResponse() {
82
+ return { message: "", status: 0 };
67
83
  }
68
- exports.addVPAResponse = {
84
+ exports.rollbackExtraPaymentResponse = {
69
85
  encode(message, writer = minimal_1.default.Writer.create()) {
70
- if (message.status !== "") {
71
- writer.uint32(10).string(message.status);
72
- }
73
86
  if (message.message !== "") {
74
- writer.uint32(18).string(message.message);
87
+ writer.uint32(10).string(message.message);
88
+ }
89
+ if (message.status !== 0) {
90
+ writer.uint32(16).int32(message.status);
75
91
  }
76
92
  return writer;
77
93
  },
78
94
  decode(input, length) {
79
95
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
80
96
  let end = length === undefined ? reader.len : reader.pos + length;
81
- const message = createBaseaddVPAResponse();
97
+ const message = createBaserollbackExtraPaymentResponse();
82
98
  while (reader.pos < end) {
83
99
  const tag = reader.uint32();
84
100
  switch (tag >>> 3) {
@@ -86,13 +102,13 @@ exports.addVPAResponse = {
86
102
  if (tag !== 10) {
87
103
  break;
88
104
  }
89
- message.status = reader.string();
105
+ message.message = reader.string();
90
106
  continue;
91
107
  case 2:
92
- if (tag !== 18) {
108
+ if (tag !== 16) {
93
109
  break;
94
110
  }
95
- message.message = reader.string();
111
+ message.status = reader.int32();
96
112
  continue;
97
113
  }
98
114
  if ((tag & 7) === 4 || tag === 0) {
@@ -104,27 +120,27 @@ exports.addVPAResponse = {
104
120
  },
105
121
  fromJSON(object) {
106
122
  return {
107
- status: isSet(object.status) ? globalThis.String(object.status) : "",
108
123
  message: isSet(object.message) ? globalThis.String(object.message) : "",
124
+ status: isSet(object.status) ? globalThis.Number(object.status) : 0,
109
125
  };
110
126
  },
111
127
  toJSON(message) {
112
128
  const obj = {};
113
- if (message.status !== "") {
114
- obj.status = message.status;
115
- }
116
129
  if (message.message !== "") {
117
130
  obj.message = message.message;
118
131
  }
132
+ if (message.status !== 0) {
133
+ obj.status = Math.round(message.status);
134
+ }
119
135
  return obj;
120
136
  },
121
137
  create(base) {
122
- return exports.addVPAResponse.fromPartial(base ?? {});
138
+ return exports.rollbackExtraPaymentResponse.fromPartial(base ?? {});
123
139
  },
124
140
  fromPartial(object) {
125
- const message = createBaseaddVPAResponse();
126
- message.status = object.status ?? "";
141
+ const message = createBaserollbackExtraPaymentResponse();
127
142
  message.message = object.message ?? "";
143
+ message.status = object.status ?? 0;
128
144
  return message;
129
145
  },
130
146
  };
@@ -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: loans/sendemail.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: loans/sendnocemail.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: loans/transactionlist.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: loans/updatecollectionview.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: loans/updateinstallments.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: loans/updateloan.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: loans/updatetransactionstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/loans.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: loans.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.loansClient = exports.loansService = 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: payments/checkpaymentstatus.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: payments/fundtransfer.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: payments/getpaymentoptions.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: payments/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.1
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: payments/nachpresentation.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };