@stashfin/grpc 1.2.459 → 1.2.461

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 (267) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +2 -2
  3. package/ts/bureau/getcibilwebtoken.js +2 -2
  4. package/ts/bureau/getdbrcolending.js +2 -2
  5. package/ts/bureau/getdemogs.js +2 -2
  6. package/ts/bureau/getobligation.js +2 -2
  7. package/ts/bureau/getreport.js +2 -2
  8. package/ts/bureau.js +2 -2
  9. package/ts/colender/disburseLoan.js +2 -2
  10. package/ts/colender/forecloseLoan.js +2 -2
  11. package/ts/colender/repayLoan.js +2 -2
  12. package/ts/colender.js +2 -2
  13. package/ts/customers/aa/getaatxnstatus.js +2 -2
  14. package/ts/customers/aa/getbanklist.js +2 -2
  15. package/ts/customers/aa/initiate.js +2 -2
  16. package/ts/customers/accidentprotectionplan.js +2 -2
  17. package/ts/customers/addaddress.js +2 -2
  18. package/ts/customers/addbankaccountdetails.js +2 -2
  19. package/ts/customers/addfathersname.js +2 -2
  20. package/ts/customers/addgstnumber.js +2 -2
  21. package/ts/customers/addmoredetails.js +2 -2
  22. package/ts/customers/addsuspendedcustomer.js +2 -2
  23. package/ts/customers/adduserapps.js +2 -2
  24. package/ts/customers/applyclijourney.js +2 -2
  25. package/ts/customers/bulksms.js +2 -2
  26. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  27. package/ts/customers/cb/cbpaynow.js +2 -2
  28. package/ts/customers/cb/cbsignup.js +2 -2
  29. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  30. package/ts/customers/cb/getcreditbuilder.js +2 -2
  31. package/ts/customers/cb/getpaymentsummary.js +2 -2
  32. package/ts/customers/cb/insurancedetails.js +2 -2
  33. package/ts/customers/cb/lesscsimprove.js +2 -2
  34. package/ts/customers/cb/morecsimprove.js +2 -2
  35. package/ts/customers/cb/paynow.js +2 -2
  36. package/ts/customers/cb/savecreditbuilder.js +2 -2
  37. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  38. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  39. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  40. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  41. package/ts/customers/changempin.js +2 -2
  42. package/ts/customers/createcustomerreference.js +2 -2
  43. package/ts/customers/createvanumber.js +2 -2
  44. package/ts/customers/customerinfo.js +2 -2
  45. package/ts/customers/deletedocument.js +2 -2
  46. package/ts/customers/deleteprofile.js +2 -2
  47. package/ts/customers/disablempin.js +2 -2
  48. package/ts/customers/enach/gettxnstatus.js +2 -2
  49. package/ts/customers/enach/getweburl.js +2 -2
  50. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  51. package/ts/customers/enach/updatetxnstatus.js +2 -2
  52. package/ts/customers/fetchrcprofile.js +2 -2
  53. package/ts/customers/floatingvideos.js +2 -2
  54. package/ts/customers/forceupdate.js +2 -2
  55. package/ts/customers/forgotmpin.js +2 -2
  56. package/ts/customers/forgotmpinverify.js +2 -2
  57. package/ts/customers/freedom/addressconfirmation.js +2 -2
  58. package/ts/customers/freedom/freedompaynow.js +2 -2
  59. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  60. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  61. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  62. package/ts/customers/getaddresslist.js +2 -2
  63. package/ts/customers/getappsubmittedscreen.js +2 -2
  64. package/ts/customers/getbankaccountdetails.js +2 -2
  65. package/ts/customers/getbasicinfo.js +2 -2
  66. package/ts/customers/getcities.js +2 -2
  67. package/ts/customers/getclistatus.js +2 -2
  68. package/ts/customers/getcompanyaccdetails.js +2 -2
  69. package/ts/customers/getcustomerbyid.js +2 -2
  70. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  71. package/ts/customers/getdashboard.js +2 -2
  72. package/ts/customers/getdashboardmaincard.js +2 -2
  73. package/ts/customers/getdocuments.js +2 -2
  74. package/ts/customers/getglobalpopups.js +2 -2
  75. package/ts/customers/getlimit.js +2 -2
  76. package/ts/customers/getloclimit.js +2 -2
  77. package/ts/customers/getmessengermode.js +2 -2
  78. package/ts/customers/getoccupationlist.js +2 -2
  79. package/ts/customers/getpaymentoptions.js +2 -2
  80. package/ts/customers/getprofessionalinfo.js +2 -2
  81. package/ts/customers/getprofile.js +2 -2
  82. package/ts/customers/getrecommendedtag.d.ts +35 -0
  83. package/ts/customers/getrecommendedtag.js +134 -0
  84. package/ts/customers/getrpdlink.d.ts +40 -0
  85. package/ts/customers/getrpdlink.js +190 -0
  86. package/ts/customers/getselfieetxnid.js +2 -2
  87. package/ts/customers/getstates.js +2 -2
  88. package/ts/customers/getstep.js +2 -2
  89. package/ts/customers/getsyncstatus.js +2 -2
  90. package/ts/customers/getvanumber.js +2 -2
  91. package/ts/customers/lamf/applylamf.js +2 -2
  92. package/ts/customers/lamf/sendlamfotp.js +2 -2
  93. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  94. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  95. package/ts/customers/lamf/verifylamfotp.js +2 -2
  96. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  97. package/ts/customers/logout.js +2 -2
  98. package/ts/customers/pd/getbanklist.js +2 -2
  99. package/ts/customers/pd/validatebankaccount.js +2 -2
  100. package/ts/customers/profilebasic.js +2 -2
  101. package/ts/customers/profileupdatetnc.js +2 -2
  102. package/ts/customers/resetbanner.js +2 -2
  103. package/ts/customers/restoreaccount.js +2 -2
  104. package/ts/customers/rpd/getrpdlink.js +2 -2
  105. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  106. package/ts/customers/rpd/mockpayment.js +2 -2
  107. package/ts/customers/saveappslist.js +2 -2
  108. package/ts/customers/savebasicdetails.js +2 -2
  109. package/ts/customers/savelimit.js +2 -2
  110. package/ts/customers/saveunlocklimit.js +2 -2
  111. package/ts/customers/sendemailtoken.d.ts +35 -0
  112. package/ts/customers/sendemailtoken.js +117 -0
  113. package/ts/customers/sendotp.js +2 -2
  114. package/ts/customers/sendotptoemail.js +2 -2
  115. package/ts/customers/setmpin.js +2 -2
  116. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  117. package/ts/customers/skipdlrcscreen.js +117 -0
  118. package/ts/customers/skipscreen.js +2 -2
  119. package/ts/customers/step1.d.ts +69 -0
  120. package/ts/customers/step1.js +395 -0
  121. package/ts/customers/step10.d.ts +73 -0
  122. package/ts/customers/step10.js +459 -0
  123. package/ts/customers/step2.d.ts +68 -0
  124. package/ts/customers/step2.js +381 -0
  125. package/ts/customers/step7.d.ts +68 -0
  126. package/ts/customers/step7.js +381 -0
  127. package/ts/customers/step8.d.ts +69 -0
  128. package/ts/customers/step8.js +395 -0
  129. package/ts/customers/step9.d.ts +75 -0
  130. package/ts/customers/step9.js +489 -0
  131. package/ts/customers/stepstatic.d.ts +66 -0
  132. package/ts/customers/stepstatic.js +354 -0
  133. package/ts/customers/submituploadeddocuments.js +2 -2
  134. package/ts/customers/syncdecisionengine.js +2 -2
  135. package/ts/customers/updatecategory.js +2 -2
  136. package/ts/customers/updatecongratulationstep.js +2 -2
  137. package/ts/customers/updatecustomerbyid.js +2 -2
  138. package/ts/customers/updatedlnumber.js +2 -2
  139. package/ts/customers/updatedob.js +2 -2
  140. package/ts/customers/updatelocstatus.js +2 -2
  141. package/ts/customers/updatemobilesendotp.js +2 -2
  142. package/ts/customers/updatemobileverifyotp.js +2 -2
  143. package/ts/customers/updateokyctxn.js +2 -2
  144. package/ts/customers/updatesanctionamount.js +2 -2
  145. package/ts/customers/updateselfieetxn.js +2 -2
  146. package/ts/customers/updatesyncstatus.js +2 -2
  147. package/ts/customers/updatevehiclenumber.js +2 -2
  148. package/ts/customers/uploaddocuments.js +2 -2
  149. package/ts/customers/validatepan.js +2 -2
  150. package/ts/customers/verifyemail.d.ts +35 -0
  151. package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
  152. package/ts/customers/verifympin.js +2 -2
  153. package/ts/customers/verifyotp.js +2 -2
  154. package/ts/customers/verifyotptoemail.js +2 -2
  155. package/ts/customers.js +2 -2
  156. package/ts/decisionengine/decisionengine.js +2 -2
  157. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  158. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  159. package/ts/decisionengine/saveconsent.js +2 -2
  160. package/ts/decisionengine.js +2 -2
  161. package/ts/documents/getagreement.js +2 -2
  162. package/ts/documents/getfinancialdoc.js +2 -2
  163. package/ts/documents.js +2 -2
  164. package/ts/eqxcustomer.js +2 -2
  165. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  166. package/ts/eqxcustomers/getdashboard.d.ts +1 -0
  167. package/ts/eqxcustomers/getdashboard.js +17 -3
  168. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  169. package/ts/eqxcustomers/sendotp.js +2 -2
  170. package/ts/eqxcustomers/verifyotp.js +2 -2
  171. package/ts/example.js +2 -2
  172. package/ts/google/protobuf/timestamp.d.ts +127 -0
  173. package/ts/google/protobuf/timestamp.js +97 -0
  174. package/ts/growth/checkplanstatus.js +2 -2
  175. package/ts/growth/getattachplandetails.js +2 -2
  176. package/ts/growth/getchrpaymentstatus.js +2 -2
  177. package/ts/growth/getchrplans.js +2 -2
  178. package/ts/growth/getcredithealthreport.js +2 -2
  179. package/ts/growth/initiatepayment.js +2 -2
  180. package/ts/growth/notifychrpayment.js +2 -2
  181. package/ts/growth/processchrpayment.js +2 -2
  182. package/ts/growth.js +2 -2
  183. package/ts/lamf/getloandetails.js +2 -2
  184. package/ts/lamf/submitotp.js +2 -2
  185. package/ts/lamf/validateuser.js +2 -2
  186. package/ts/lamf.js +2 -2
  187. package/ts/loans/amortization.js +2 -2
  188. package/ts/loans/approveloan.js +2 -2
  189. package/ts/loans/banklist.js +2 -2
  190. package/ts/loans/calculateemi.js +2 -2
  191. package/ts/loans/cbloan.js +2 -2
  192. package/ts/loans/createlamfloan.js +2 -2
  193. package/ts/loans/createpenalty.js +2 -2
  194. package/ts/loans/creditlimit.js +2 -2
  195. package/ts/loans/emimoredetails.js +2 -2
  196. package/ts/loans/fcppayment.js +2 -2
  197. package/ts/loans/forecloseamount.js +2 -2
  198. package/ts/loans/foreclosepayment.js +2 -2
  199. package/ts/loans/futurepaymentmoredetails.js +2 -2
  200. package/ts/loans/getaddonslist.js +2 -2
  201. package/ts/loans/getbilldetails.js +2 -2
  202. package/ts/loans/getcbloandetails.js +2 -2
  203. package/ts/loans/getchrdetails.js +2 -2
  204. package/ts/loans/getcustomerloanstatus.js +2 -2
  205. package/ts/loans/getforecloseamount.js +2 -2
  206. package/ts/loans/getloanbyid.js +2 -2
  207. package/ts/loans/getnextdueamount.js +2 -2
  208. package/ts/loans/getpaymentoptions.js +2 -2
  209. package/ts/loans/getpendingemiamount.js +2 -2
  210. package/ts/loans/getsetubilldetails.js +2 -2
  211. package/ts/loans/getsummarystaticfields.js +2 -2
  212. package/ts/loans/gettransactionstatus.js +2 -2
  213. package/ts/loans/getusedlimit.js +2 -2
  214. package/ts/loans/getvirtualbankinfo.js +2 -2
  215. package/ts/loans/loansummary.js +2 -2
  216. package/ts/loans/manualpaymentallocation.js +2 -2
  217. package/ts/loans/paymentallocation.js +2 -2
  218. package/ts/loans/paymenthistory.js +2 -2
  219. package/ts/loans/paynow.js +2 -2
  220. package/ts/loans/refund.js +2 -2
  221. package/ts/loans/restructureloan.js +2 -2
  222. package/ts/loans/rollback.js +2 -2
  223. package/ts/loans/rollbackextrapayment.js +2 -2
  224. package/ts/loans/sendemail.js +2 -2
  225. package/ts/loans/sendnocemail.js +2 -2
  226. package/ts/loans/transactionlist.js +2 -2
  227. package/ts/loans/updatecollectionview.js +2 -2
  228. package/ts/loans/updateinstallments.js +2 -2
  229. package/ts/loans/updateloan.js +2 -2
  230. package/ts/loans/updatetransactionstatus.js +2 -2
  231. package/ts/loans.js +2 -2
  232. package/ts/payments/checkpaymentstatus.js +2 -2
  233. package/ts/payments/fundtransfer.js +2 -2
  234. package/ts/payments/getpaymentoptions.js +2 -2
  235. package/ts/payments/initiatepayment.js +2 -2
  236. package/ts/payments/nachpresentation.js +2 -2
  237. package/ts/payments/nachregistration.js +2 -2
  238. package/ts/payments.js +2 -2
  239. package/ts/stashcash/creditsc.js +2 -2
  240. package/ts/stashcash/debitsc.js +2 -2
  241. package/ts/stashcash/getscbalance.js +2 -2
  242. package/ts/stashcash/getschistory.js +2 -2
  243. package/ts/stashcash/reversesc.js +2 -2
  244. package/ts/stashcash.js +2 -2
  245. package/ts/upi/addaccount.d.ts +49 -0
  246. package/ts/upi/addaccount.js +332 -0
  247. package/ts/upi/addupinumber.d.ts +39 -0
  248. package/ts/upi/addupinumber.js +177 -0
  249. package/ts/upi/addvpa.d.ts +36 -0
  250. package/ts/upi/addvpa.js +133 -0
  251. package/ts/upi/getaccountsbyprovider.d.ts +119 -0
  252. package/ts/upi/getaccountsbyprovider.js +827 -0
  253. package/ts/upi/getavailablevpa.js +2 -2
  254. package/ts/upi/getlistedaccountproviders.js +2 -2
  255. package/ts/upi/getprofile.d.ts +138 -0
  256. package/ts/upi/getprofile.js +1057 -0
  257. package/ts/upi/initiatetransaction.d.ts +6 -0
  258. package/ts/upi/initiatetransaction.js +92 -2
  259. package/ts/upi/suggestvpa.d.ts +35 -0
  260. package/ts/upi/suggestvpa.js +122 -0
  261. package/ts/upi/updatedevicebinding.js +2 -2
  262. package/ts/upi/updatedevicelinking.js +2 -2
  263. package/ts/upi/validatevpa.d.ts +58 -0
  264. package/ts/upi/validatevpa.js +353 -0
  265. package/ts/upi.d.ts +50 -9
  266. package/ts/upi.js +36 -7
  267. package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
@@ -8,6 +8,12 @@ export interface initiateTransactionRequest {
8
8
  txn_status: string;
9
9
  payee_vpa?: string | undefined;
10
10
  payer_vpa?: string | undefined;
11
+ account_number?: string | undefined;
12
+ account_ref_number?: string | undefined;
13
+ account_provider?: string | undefined;
14
+ account_type?: string | undefined;
15
+ payee_name?: string | undefined;
16
+ payer_name?: string | undefined;
11
17
  }
12
18
  export interface initiateTransactionResponse {
13
19
  seq_no: string;
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.29.0
6
6
  // source: upi/initiatetransaction.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -21,6 +21,12 @@ function createBaseinitiateTransactionRequest() {
21
21
  txn_status: "",
22
22
  payee_vpa: undefined,
23
23
  payer_vpa: undefined,
24
+ account_number: undefined,
25
+ account_ref_number: undefined,
26
+ account_provider: undefined,
27
+ account_type: undefined,
28
+ payee_name: undefined,
29
+ payer_name: undefined,
24
30
  };
25
31
  }
26
32
  exports.initiateTransactionRequest = {
@@ -46,6 +52,24 @@ exports.initiateTransactionRequest = {
46
52
  if (message.payer_vpa !== undefined) {
47
53
  writer.uint32(58).string(message.payer_vpa);
48
54
  }
55
+ if (message.account_number !== undefined) {
56
+ writer.uint32(66).string(message.account_number);
57
+ }
58
+ if (message.account_ref_number !== undefined) {
59
+ writer.uint32(74).string(message.account_ref_number);
60
+ }
61
+ if (message.account_provider !== undefined) {
62
+ writer.uint32(82).string(message.account_provider);
63
+ }
64
+ if (message.account_type !== undefined) {
65
+ writer.uint32(90).string(message.account_type);
66
+ }
67
+ if (message.payee_name !== undefined) {
68
+ writer.uint32(98).string(message.payee_name);
69
+ }
70
+ if (message.payer_name !== undefined) {
71
+ writer.uint32(106).string(message.payer_name);
72
+ }
49
73
  return writer;
50
74
  },
51
75
  decode(input, length) {
@@ -97,6 +121,42 @@ exports.initiateTransactionRequest = {
97
121
  }
98
122
  message.payer_vpa = reader.string();
99
123
  continue;
124
+ case 8:
125
+ if (tag !== 66) {
126
+ break;
127
+ }
128
+ message.account_number = reader.string();
129
+ continue;
130
+ case 9:
131
+ if (tag !== 74) {
132
+ break;
133
+ }
134
+ message.account_ref_number = reader.string();
135
+ continue;
136
+ case 10:
137
+ if (tag !== 82) {
138
+ break;
139
+ }
140
+ message.account_provider = reader.string();
141
+ continue;
142
+ case 11:
143
+ if (tag !== 90) {
144
+ break;
145
+ }
146
+ message.account_type = reader.string();
147
+ continue;
148
+ case 12:
149
+ if (tag !== 98) {
150
+ break;
151
+ }
152
+ message.payee_name = reader.string();
153
+ continue;
154
+ case 13:
155
+ if (tag !== 106) {
156
+ break;
157
+ }
158
+ message.payer_name = reader.string();
159
+ continue;
100
160
  }
101
161
  if ((tag & 7) === 4 || tag === 0) {
102
162
  break;
@@ -114,6 +174,12 @@ exports.initiateTransactionRequest = {
114
174
  txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "",
115
175
  payee_vpa: isSet(object.payee_vpa) ? globalThis.String(object.payee_vpa) : undefined,
116
176
  payer_vpa: isSet(object.payer_vpa) ? globalThis.String(object.payer_vpa) : undefined,
177
+ account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : undefined,
178
+ account_ref_number: isSet(object.account_ref_number) ? globalThis.String(object.account_ref_number) : undefined,
179
+ account_provider: isSet(object.account_provider) ? globalThis.String(object.account_provider) : undefined,
180
+ account_type: isSet(object.account_type) ? globalThis.String(object.account_type) : undefined,
181
+ payee_name: isSet(object.payee_name) ? globalThis.String(object.payee_name) : undefined,
182
+ payer_name: isSet(object.payer_name) ? globalThis.String(object.payer_name) : undefined,
117
183
  };
118
184
  },
119
185
  toJSON(message) {
@@ -139,6 +205,24 @@ exports.initiateTransactionRequest = {
139
205
  if (message.payer_vpa !== undefined) {
140
206
  obj.payer_vpa = message.payer_vpa;
141
207
  }
208
+ if (message.account_number !== undefined) {
209
+ obj.account_number = message.account_number;
210
+ }
211
+ if (message.account_ref_number !== undefined) {
212
+ obj.account_ref_number = message.account_ref_number;
213
+ }
214
+ if (message.account_provider !== undefined) {
215
+ obj.account_provider = message.account_provider;
216
+ }
217
+ if (message.account_type !== undefined) {
218
+ obj.account_type = message.account_type;
219
+ }
220
+ if (message.payee_name !== undefined) {
221
+ obj.payee_name = message.payee_name;
222
+ }
223
+ if (message.payer_name !== undefined) {
224
+ obj.payer_name = message.payer_name;
225
+ }
142
226
  return obj;
143
227
  },
144
228
  create(base) {
@@ -153,6 +237,12 @@ exports.initiateTransactionRequest = {
153
237
  message.txn_status = object.txn_status ?? "";
154
238
  message.payee_vpa = object.payee_vpa ?? undefined;
155
239
  message.payer_vpa = object.payer_vpa ?? undefined;
240
+ message.account_number = object.account_number ?? undefined;
241
+ message.account_ref_number = object.account_ref_number ?? undefined;
242
+ message.account_provider = object.account_provider ?? undefined;
243
+ message.account_type = object.account_type ?? undefined;
244
+ message.payee_name = object.payee_name ?? undefined;
245
+ message.payer_name = object.payer_name ?? undefined;
156
246
  return message;
157
247
  },
158
248
  };
@@ -0,0 +1,35 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "upi.suggestvpa";
3
+ export interface suggestVPARequest {
4
+ }
5
+ export interface suggestVPAResponse {
6
+ suggested_vpa_ids: string[];
7
+ message: string;
8
+ }
9
+ export declare const suggestVPARequest: {
10
+ encode(_: suggestVPARequest, writer?: _m0.Writer): _m0.Writer;
11
+ decode(input: _m0.Reader | Uint8Array, length?: number): suggestVPARequest;
12
+ fromJSON(_: any): suggestVPARequest;
13
+ toJSON(_: suggestVPARequest): unknown;
14
+ create<I extends Exact<DeepPartial<suggestVPARequest>, I>>(base?: I): suggestVPARequest;
15
+ fromPartial<I extends Exact<DeepPartial<suggestVPARequest>, I>>(_: I): suggestVPARequest;
16
+ };
17
+ export declare const suggestVPAResponse: {
18
+ encode(message: suggestVPAResponse, writer?: _m0.Writer): _m0.Writer;
19
+ decode(input: _m0.Reader | Uint8Array, length?: number): suggestVPAResponse;
20
+ fromJSON(object: any): suggestVPAResponse;
21
+ toJSON(message: suggestVPAResponse): unknown;
22
+ create<I extends Exact<DeepPartial<suggestVPAResponse>, I>>(base?: I): suggestVPAResponse;
23
+ fromPartial<I extends Exact<DeepPartial<suggestVPAResponse>, I>>(object: I): suggestVPAResponse;
24
+ };
25
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
26
+ 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 {} ? {
27
+ [K in keyof T]?: DeepPartial<T[K]>;
28
+ } : Partial<T>;
29
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
30
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
31
+ [K in keyof P]: Exact<P[K], I[K]>;
32
+ } & {
33
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
34
+ };
35
+ export {};
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
+ // source: upi/suggestvpa.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.suggestVPAResponse = exports.suggestVPARequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "upi.suggestvpa";
15
+ function createBasesuggestVPARequest() {
16
+ return {};
17
+ }
18
+ exports.suggestVPARequest = {
19
+ encode(_, writer = minimal_1.default.Writer.create()) {
20
+ return writer;
21
+ },
22
+ decode(input, length) {
23
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
24
+ let end = length === undefined ? reader.len : reader.pos + length;
25
+ const message = createBasesuggestVPARequest();
26
+ while (reader.pos < end) {
27
+ const tag = reader.uint32();
28
+ switch (tag >>> 3) {
29
+ }
30
+ if ((tag & 7) === 4 || tag === 0) {
31
+ break;
32
+ }
33
+ reader.skipType(tag & 7);
34
+ }
35
+ return message;
36
+ },
37
+ fromJSON(_) {
38
+ return {};
39
+ },
40
+ toJSON(_) {
41
+ const obj = {};
42
+ return obj;
43
+ },
44
+ create(base) {
45
+ return exports.suggestVPARequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasesuggestVPARequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasesuggestVPAResponse() {
53
+ return { suggested_vpa_ids: [], message: "" };
54
+ }
55
+ exports.suggestVPAResponse = {
56
+ 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);
62
+ }
63
+ return writer;
64
+ },
65
+ decode(input, length) {
66
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
67
+ let end = length === undefined ? reader.len : reader.pos + length;
68
+ const message = createBasesuggestVPAResponse();
69
+ while (reader.pos < end) {
70
+ const tag = reader.uint32();
71
+ switch (tag >>> 3) {
72
+ case 1:
73
+ if (tag !== 10) {
74
+ break;
75
+ }
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();
83
+ continue;
84
+ }
85
+ if ((tag & 7) === 4 || tag === 0) {
86
+ break;
87
+ }
88
+ reader.skipType(tag & 7);
89
+ }
90
+ return message;
91
+ },
92
+ 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
+ };
99
+ },
100
+ toJSON(message) {
101
+ 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;
107
+ }
108
+ return obj;
109
+ },
110
+ create(base) {
111
+ return exports.suggestVPAResponse.fromPartial(base ?? {});
112
+ },
113
+ fromPartial(object) {
114
+ const message = createBasesuggestVPAResponse();
115
+ message.suggested_vpa_ids = object.suggested_vpa_ids?.map((e) => e) || [];
116
+ message.message = object.message ?? "";
117
+ return message;
118
+ },
119
+ };
120
+ function isSet(value) {
121
+ return value !== null && value !== undefined;
122
+ }
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.29.0
6
6
  // source: upi/updatedevicebinding.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.29.0
6
6
  // source: upi/updatedevicelinking.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,58 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "upi.validateVPA";
3
+ export interface validateVPARequest {
4
+ mobile: string;
5
+ device_id: string;
6
+ profile_id: string;
7
+ vpa: string;
8
+ }
9
+ export interface validateVPAResponse {
10
+ vpa?: string | undefined;
11
+ vpaData?: VpaData | undefined;
12
+ }
13
+ export interface VpaData {
14
+ maskName?: string | undefined;
15
+ type?: string | undefined;
16
+ code?: string | undefined;
17
+ mid?: string | undefined;
18
+ sid?: string | undefined;
19
+ tid?: string | undefined;
20
+ merchantGenre?: string | undefined;
21
+ onBoardingType?: string | undefined;
22
+ verifiedMerchant?: boolean | undefined;
23
+ }
24
+ export declare const validateVPARequest: {
25
+ encode(message: validateVPARequest, writer?: _m0.Writer): _m0.Writer;
26
+ decode(input: _m0.Reader | Uint8Array, length?: number): validateVPARequest;
27
+ fromJSON(object: any): validateVPARequest;
28
+ toJSON(message: validateVPARequest): unknown;
29
+ create<I extends Exact<DeepPartial<validateVPARequest>, I>>(base?: I): validateVPARequest;
30
+ fromPartial<I extends Exact<DeepPartial<validateVPARequest>, I>>(object: I): validateVPARequest;
31
+ };
32
+ export declare const validateVPAResponse: {
33
+ encode(message: validateVPAResponse, writer?: _m0.Writer): _m0.Writer;
34
+ decode(input: _m0.Reader | Uint8Array, length?: number): validateVPAResponse;
35
+ fromJSON(object: any): validateVPAResponse;
36
+ toJSON(message: validateVPAResponse): unknown;
37
+ create<I extends Exact<DeepPartial<validateVPAResponse>, I>>(base?: I): validateVPAResponse;
38
+ fromPartial<I extends Exact<DeepPartial<validateVPAResponse>, I>>(object: I): validateVPAResponse;
39
+ };
40
+ export declare const VpaData: {
41
+ encode(message: VpaData, writer?: _m0.Writer): _m0.Writer;
42
+ decode(input: _m0.Reader | Uint8Array, length?: number): VpaData;
43
+ fromJSON(object: any): VpaData;
44
+ toJSON(message: VpaData): unknown;
45
+ create<I extends Exact<DeepPartial<VpaData>, I>>(base?: I): VpaData;
46
+ fromPartial<I extends Exact<DeepPartial<VpaData>, I>>(object: I): VpaData;
47
+ };
48
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
49
+ 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 {} ? {
50
+ [K in keyof T]?: DeepPartial<T[K]>;
51
+ } : Partial<T>;
52
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
53
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
54
+ [K in keyof P]: Exact<P[K], I[K]>;
55
+ } & {
56
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
57
+ };
58
+ export {};