@stashfin/grpc 1.2.568 → 1.2.571

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 (312) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getcibilwebtoken.js +1 -1
  4. package/ts/bureau/getdbrcolending.js +1 -1
  5. package/ts/bureau/getdemogs.js +1 -1
  6. package/ts/bureau/getobligation.js +1 -1
  7. package/ts/bureau/getreport.js +1 -1
  8. package/ts/bureau.d.ts +12 -12
  9. package/ts/bureau.js +1 -1
  10. package/ts/colender/disburseLoan.js +1 -1
  11. package/ts/colender/forecloseLoan.js +1 -1
  12. package/ts/colender/repayLoan.js +1 -1
  13. package/ts/colender.d.ts +6 -6
  14. package/ts/colender.js +1 -1
  15. package/ts/customers/aa/getaatxnstatus.js +1 -1
  16. package/ts/customers/aa/getbanklist.js +1 -1
  17. package/ts/customers/aa/initiate.js +1 -1
  18. package/ts/customers/accidentprotectionplan.js +1 -1
  19. package/ts/customers/addaddress.js +1 -1
  20. package/ts/customers/addbankaccountdetails.js +1 -1
  21. package/ts/customers/addfathersname.js +1 -1
  22. package/ts/customers/addgstnumber.js +1 -1
  23. package/ts/customers/addmoredetails.js +1 -1
  24. package/ts/customers/addsuspendedcustomer.js +1 -1
  25. package/ts/customers/adduserapps.d.ts +2 -2
  26. package/ts/customers/adduserapps.js +1 -1
  27. package/ts/customers/applyclijourney.js +1 -1
  28. package/ts/customers/bulksms.js +1 -1
  29. package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
  30. package/ts/customers/cb/cbpaynow.js +1 -1
  31. package/ts/customers/cb/cbsignup.js +1 -1
  32. package/ts/customers/cb/getcbtxnstatus.js +1 -1
  33. package/ts/customers/cb/getcreditbuilder.js +1 -1
  34. package/ts/customers/cb/getpaymentsummary.js +1 -1
  35. package/ts/customers/cb/insurancedetails.js +1 -1
  36. package/ts/customers/cb/lesscsimprove.js +1 -1
  37. package/ts/customers/cb/morecsimprove.js +1 -1
  38. package/ts/customers/cb/paynow.d.ts +36 -0
  39. package/ts/customers/cb/paynow.js +133 -0
  40. package/ts/customers/cb/savecreditbuilder.js +1 -1
  41. package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
  42. package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
  43. package/ts/customers/cb/updatecbstandalonejourney.js +1 -1
  44. package/ts/customers/cb/updatecbtxnstatus.js +1 -1
  45. package/ts/customers/changempin.js +1 -1
  46. package/ts/customers/createcustomerreference.js +1 -1
  47. package/ts/customers/createvanumber.js +1 -1
  48. package/ts/customers/customerinfo.js +1 -1
  49. package/ts/customers/deletedocument.js +1 -1
  50. package/ts/customers/deleteprofile.js +1 -1
  51. package/ts/customers/disablempin.js +1 -1
  52. package/ts/customers/enach/gettxnstatus.js +1 -1
  53. package/ts/customers/enach/getweburl.js +1 -1
  54. package/ts/customers/enach/updateenachtxnstatus.js +1 -1
  55. package/ts/customers/enach/updatetxnstatus.d.ts +36 -0
  56. package/ts/customers/enach/updatetxnstatus.js +133 -0
  57. package/ts/customers/fetchrcprofile.js +1 -1
  58. package/ts/customers/floatingvideos.js +1 -1
  59. package/ts/customers/forceupdate.js +1 -1
  60. package/ts/customers/forgotmpin.js +1 -1
  61. package/ts/customers/forgotmpinverify.js +1 -1
  62. package/ts/customers/freedom/addressconfirmation.js +1 -1
  63. package/ts/customers/freedom/freedompaynow.js +1 -1
  64. package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
  65. package/ts/customers/freedom/updateadditionalverification.js +1 -1
  66. package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
  67. package/ts/customers/getaddresslist.js +1 -1
  68. package/ts/customers/getappsubmittedscreen.js +1 -1
  69. package/ts/customers/getbankaccountdetails.js +1 -1
  70. package/ts/customers/getbasicinfo.js +1 -1
  71. package/ts/customers/getcities.js +1 -1
  72. package/ts/customers/getclistatus.js +1 -1
  73. package/ts/customers/getcompanyaccdetails.js +1 -1
  74. package/ts/customers/getcustomer.d.ts +57 -0
  75. package/ts/customers/getcustomer.js +351 -0
  76. package/ts/customers/getcustomerbyid.js +1 -1
  77. package/ts/customers/getcustomerdetailsbymobile.js +1 -1
  78. package/ts/customers/getdashboard.js +1 -1
  79. package/ts/customers/getdashboardmaincard.js +1 -1
  80. package/ts/customers/getdocuments.js +1 -1
  81. package/ts/customers/getglobalpopups.js +1 -1
  82. package/ts/customers/getlimit.js +1 -1
  83. package/ts/customers/getloclimit.js +1 -1
  84. package/ts/customers/getmessengermode.js +1 -1
  85. package/ts/customers/getoccupationlist.js +1 -1
  86. package/ts/customers/getpaymentoptions.js +1 -1
  87. package/ts/customers/getprofessionalinfo.js +1 -1
  88. package/ts/customers/getprofile.js +1 -1
  89. package/ts/customers/getrecommendedtag.d.ts +35 -0
  90. package/ts/customers/getrecommendedtag.js +134 -0
  91. package/ts/customers/getrpdlink.d.ts +40 -0
  92. package/ts/customers/getrpdlink.js +190 -0
  93. package/ts/customers/getselfieetxnid.js +1 -1
  94. package/ts/customers/getstates.js +1 -1
  95. package/ts/customers/getstep.js +1 -1
  96. package/ts/customers/getsyncstatus.js +1 -1
  97. package/ts/customers/getvanumber.js +1 -1
  98. package/ts/customers/kyc/epfo.d.ts +38 -0
  99. package/ts/customers/kyc/epfo.js +149 -0
  100. package/ts/customers/lamf/applylamf.js +1 -1
  101. package/ts/customers/lamf/sendlamfotp.js +1 -1
  102. package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
  103. package/ts/customers/lamf/updatelamfjourney.d.ts +34 -0
  104. package/ts/customers/lamf/updatelamfjourney.js +104 -0
  105. package/ts/customers/lamf/verifylamfotp.js +1 -1
  106. package/ts/customers/lamf/verifylamfpledgeotp.js +1 -1
  107. package/ts/customers/logout.js +1 -1
  108. package/ts/customers/pd/getbanklist.js +1 -1
  109. package/ts/customers/pd/validatebankaccount.js +1 -1
  110. package/ts/customers/profilebasic.js +1 -1
  111. package/ts/customers/profileupdatetnc.js +1 -1
  112. package/ts/customers/resetbanner.js +1 -1
  113. package/ts/customers/restoreaccount.js +1 -1
  114. package/ts/customers/rpd/getrpdlink.js +1 -1
  115. package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
  116. package/ts/customers/rpd/mockpayment.js +1 -1
  117. package/ts/customers/saveappslist.js +1 -1
  118. package/ts/customers/savebasicdetails.js +1 -1
  119. package/ts/customers/savelimit.js +1 -1
  120. package/ts/customers/saveunlocklimit.js +1 -1
  121. package/ts/customers/sendemailtoken.d.ts +35 -0
  122. package/ts/customers/sendemailtoken.js +117 -0
  123. package/ts/customers/sendotp.js +1 -1
  124. package/ts/customers/sendotptoemail.js +1 -1
  125. package/ts/customers/setmpin.js +1 -1
  126. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  127. package/ts/customers/skipdlrcscreen.js +117 -0
  128. package/ts/customers/skipscreen.js +1 -1
  129. package/ts/customers/step1.d.ts +69 -0
  130. package/ts/customers/step1.js +395 -0
  131. package/ts/customers/step10.d.ts +73 -0
  132. package/ts/customers/step10.js +459 -0
  133. package/ts/customers/step2.d.ts +68 -0
  134. package/ts/customers/step2.js +381 -0
  135. package/ts/customers/step7.d.ts +68 -0
  136. package/ts/customers/step7.js +381 -0
  137. package/ts/customers/step8.d.ts +69 -0
  138. package/ts/customers/step8.js +395 -0
  139. package/ts/customers/step9.d.ts +75 -0
  140. package/ts/customers/step9.js +489 -0
  141. package/ts/customers/stepstatic.d.ts +66 -0
  142. package/ts/customers/stepstatic.js +354 -0
  143. package/ts/customers/submituploadeddocuments.js +1 -1
  144. package/ts/customers/syncdecisionengine.js +1 -1
  145. package/ts/customers/updatecategory.js +1 -1
  146. package/ts/customers/updatecongratulationstep.js +1 -1
  147. package/ts/customers/updatecustomerbyid.js +1 -1
  148. package/ts/customers/updatedlnumber.js +1 -1
  149. package/ts/customers/updatedob.js +1 -1
  150. package/ts/customers/updatelocstatus.js +1 -1
  151. package/ts/customers/updatemobilesendotp.js +1 -1
  152. package/ts/customers/updatemobileverifyotp.js +1 -1
  153. package/ts/customers/updateokyctxn.js +1 -1
  154. package/ts/customers/updatesanctionamount.js +1 -1
  155. package/ts/customers/updateselfieetxn.js +1 -1
  156. package/ts/customers/updatesyncstatus.js +1 -1
  157. package/ts/customers/updatevehiclenumber.js +1 -1
  158. package/ts/customers/uploaddocuments.js +1 -1
  159. package/ts/customers/validatepan.js +1 -1
  160. package/ts/customers/verifyemail.d.ts +35 -0
  161. package/ts/customers/verifyemail.js +117 -0
  162. package/ts/customers/verifympin.js +1 -1
  163. package/ts/customers/verifyotp.js +1 -1
  164. package/ts/customers/verifyotptoemail.js +1 -1
  165. package/ts/customers.d.ts +236 -236
  166. package/ts/customers.js +1 -1
  167. package/ts/decisionengine/decisionengine.d.ts +40 -0
  168. package/ts/decisionengine/decisionengine.js +191 -0
  169. package/ts/decisionengine/decisionenginetrigger.js +1 -1
  170. package/ts/decisionengine/locdisbursalapproval.js +1 -1
  171. package/ts/decisionengine/saveconsent.js +1 -1
  172. package/ts/decisionengine.d.ts +6 -6
  173. package/ts/decisionengine.js +1 -1
  174. package/ts/documents/getagreement.js +1 -1
  175. package/ts/documents/getfinancialdoc.js +1 -1
  176. package/ts/documents.d.ts +4 -4
  177. package/ts/documents.js +1 -1
  178. package/ts/eqxcustomer.d.ts +16 -16
  179. package/ts/eqxcustomer.js +1 -1
  180. package/ts/eqxcustomers/getcustomerbyid.js +1 -1
  181. package/ts/eqxcustomers/getdashboard.js +1 -1
  182. package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
  183. package/ts/eqxcustomers/getnotifications.js +1 -1
  184. package/ts/eqxcustomers/sendotp.js +1 -1
  185. package/ts/eqxcustomers/updatenotification.js +1 -1
  186. package/ts/eqxcustomers/updatepushid.js +1 -1
  187. package/ts/eqxcustomers/verifyotp.js +1 -1
  188. package/ts/example.d.ts +4 -4
  189. package/ts/example.js +1 -1
  190. package/ts/google/protobuf/timestamp.d.ts +127 -0
  191. package/ts/google/protobuf/timestamp.js +97 -0
  192. package/ts/growth/checkplanstatus.js +1 -1
  193. package/ts/growth/getattachplandetails.js +1 -1
  194. package/ts/growth/getchrpaymentstatus.js +1 -1
  195. package/ts/growth/getchrplans.js +1 -1
  196. package/ts/growth/getcredithealthreport.js +1 -1
  197. package/ts/growth/initiatepayment.js +1 -1
  198. package/ts/growth/notifychrpayment.js +1 -1
  199. package/ts/growth/processchrpayment.d.ts +39 -0
  200. package/ts/growth/processchrpayment.js +177 -0
  201. package/ts/growth.d.ts +14 -14
  202. package/ts/growth.js +1 -1
  203. package/ts/kyc/epfo/fetchUANList.d.ts +35 -0
  204. package/ts/kyc/{fetchuannumber.js → epfo/fetchUANList.js} +29 -29
  205. package/ts/kyc.d.ts +11 -25
  206. package/ts/kyc.js +8 -18
  207. package/ts/lamf/getloandetails.js +1 -1
  208. package/ts/lamf/submitotp.js +1 -1
  209. package/ts/lamf/validateuser.js +1 -1
  210. package/ts/lamf.d.ts +6 -6
  211. package/ts/lamf.js +1 -1
  212. package/ts/loans/amortization.js +1 -1
  213. package/ts/loans/approveloan.js +1 -1
  214. package/ts/loans/banklist.js +1 -1
  215. package/ts/loans/calculateemi.js +1 -1
  216. package/ts/loans/cbloan.js +1 -1
  217. package/ts/loans/createlamfloan.js +1 -1
  218. package/ts/loans/createpenalty.js +1 -1
  219. package/ts/loans/creditlimit.js +1 -1
  220. package/ts/loans/emimoredetails.js +1 -1
  221. package/ts/loans/fcppayment.js +1 -1
  222. package/ts/loans/forecloseamount.d.ts +36 -0
  223. package/ts/loans/forecloseamount.js +133 -0
  224. package/ts/loans/foreclosepayment.js +1 -1
  225. package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
  226. package/ts/loans/futurepaymentmoredetails.js +243 -0
  227. package/ts/loans/getaddonslist.js +1 -1
  228. package/ts/loans/getbilldetails.js +1 -1
  229. package/ts/loans/getcbloandetails.js +1 -1
  230. package/ts/loans/getchrdetails.js +1 -1
  231. package/ts/loans/getcustomerloanstatus.js +1 -1
  232. package/ts/loans/getforecloseamount.js +1 -1
  233. package/ts/loans/getloanbyid.js +1 -1
  234. package/ts/loans/getnextdueamount.js +1 -1
  235. package/ts/loans/getpaymentoptions.js +1 -1
  236. package/ts/loans/getpendingemiamount.js +1 -1
  237. package/ts/loans/getsetubilldetails.js +1 -1
  238. package/ts/loans/getsummarystaticfields.js +1 -1
  239. package/ts/loans/gettransactionstatus.js +1 -1
  240. package/ts/loans/getusedlimit.js +1 -1
  241. package/ts/loans/getvirtualbankinfo.js +1 -1
  242. package/ts/loans/loansummary.js +1 -1
  243. package/ts/loans/manualpaymentallocation.js +1 -1
  244. package/ts/loans/paymentallocation.js +1 -1
  245. package/ts/loans/paymenthistory.js +1 -1
  246. package/ts/loans/paynow.js +1 -1
  247. package/ts/loans/refund.js +1 -1
  248. package/ts/loans/restructureloan.js +1 -1
  249. package/ts/loans/rollback.js +1 -1
  250. package/ts/loans/rollbackextrapayment.d.ts +37 -0
  251. package/ts/loans/rollbackextrapayment.js +149 -0
  252. package/ts/loans/sendemail.js +1 -1
  253. package/ts/loans/sendnocemail.js +1 -1
  254. package/ts/loans/transactionlist.js +1 -1
  255. package/ts/loans/updatecollectionview.js +1 -1
  256. package/ts/loans/updateinstallments.js +1 -1
  257. package/ts/loans/updateloan.js +1 -1
  258. package/ts/loans/updatetransactionstatus.js +1 -1
  259. package/ts/loans.d.ts +82 -82
  260. package/ts/loans.js +1 -1
  261. package/ts/payments/checkpaymentstatus.js +1 -1
  262. package/ts/payments/fundtransfer.js +1 -1
  263. package/ts/payments/getpaymentoptions.js +1 -1
  264. package/ts/payments/initiatepayment.js +1 -1
  265. package/ts/payments/nachpresentation.js +1 -1
  266. package/ts/payments/nachregistration.js +1 -1
  267. package/ts/payments.d.ts +12 -12
  268. package/ts/payments.js +1 -1
  269. package/ts/stashcash/creditsc.js +1 -1
  270. package/ts/stashcash/debitsc.js +1 -1
  271. package/ts/stashcash/getscbalance.js +1 -1
  272. package/ts/stashcash/getschistory.js +1 -1
  273. package/ts/stashcash/reversesc.js +1 -1
  274. package/ts/stashcash.d.ts +10 -10
  275. package/ts/stashcash.js +1 -1
  276. package/ts/upi/addaccount.js +1 -1
  277. package/ts/upi/addupinumber.d.ts +39 -0
  278. package/ts/upi/addupinumber.js +177 -0
  279. package/ts/upi/addvpa.d.ts +36 -0
  280. package/ts/upi/addvpa.js +133 -0
  281. package/ts/upi/blockvpa.js +1 -1
  282. package/ts/upi/checktransactionstatus.js +1 -1
  283. package/ts/upi/declinemandate.js +1 -1
  284. package/ts/upi/deregisterprofile.js +1 -1
  285. package/ts/upi/getaccountsbyprovider.js +1 -1
  286. package/ts/upi/getallmandates.js +1 -1
  287. package/ts/upi/getavailablevpa.js +1 -1
  288. package/ts/upi/getlistedaccountproviders.js +1 -1
  289. package/ts/upi/getmandatedetails.js +1 -1
  290. package/ts/upi/getmandatehistory.js +1 -1
  291. package/ts/upi/getpendingcollectrequest.js +1 -1
  292. package/ts/upi/getprofile.js +1 -1
  293. package/ts/upi/getrecentcontacts.js +1 -1
  294. package/ts/upi/gettransactions.js +1 -1
  295. package/ts/upi/getupinumbers.js +1 -1
  296. package/ts/upi/initiatemandateaction.js +1 -1
  297. package/ts/upi/initiatetransaction.js +1 -1
  298. package/ts/upi/listblockedvpa.js +1 -1
  299. package/ts/upi/suggestvpa.d.ts +35 -0
  300. package/ts/upi/suggestvpa.js +122 -0
  301. package/ts/upi/unblockvpa.js +1 -1
  302. package/ts/upi/updatedevicebinding.js +1 -1
  303. package/ts/upi/updatedevicelinking.d.ts +49 -0
  304. package/ts/upi/updatedevicelinking.js +332 -0
  305. package/ts/upi/upinumberoperations.js +1 -1
  306. package/ts/upi/validateifsc.js +1 -1
  307. package/ts/upi/validatevpa.js +1 -1
  308. package/ts/upi.d.ts +50 -50
  309. package/ts/upi.js +1 -1
  310. package/ts/kyc/fetchuanemployment.d.ts +0 -66
  311. package/ts/kyc/fetchuanemployment.js +0 -359
  312. package/ts/kyc/fetchuannumber.d.ts +0 -35
@@ -1,359 +0,0 @@
1
- "use strict";
2
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
- // versions:
4
- // protoc-gen-ts_proto v1.181.2
5
- // protoc v5.29.3
6
- // source: kyc/fetchuanemployment.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.fetchUanEmploymentResponse = exports.Data = exports.EmploymentData = exports.fetchUanEmploymentRequest = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "kyc.fetchuanemployment";
15
- function createBasefetchUanEmploymentRequest() {
16
- return { uan: "" };
17
- }
18
- exports.fetchUanEmploymentRequest = {
19
- encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.uan !== "") {
21
- writer.uint32(10).string(message.uan);
22
- }
23
- return writer;
24
- },
25
- decode(input, length) {
26
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
- let end = length === undefined ? reader.len : reader.pos + length;
28
- const message = createBasefetchUanEmploymentRequest();
29
- while (reader.pos < end) {
30
- const tag = reader.uint32();
31
- switch (tag >>> 3) {
32
- case 1:
33
- if (tag !== 10) {
34
- break;
35
- }
36
- message.uan = reader.string();
37
- continue;
38
- }
39
- if ((tag & 7) === 4 || tag === 0) {
40
- break;
41
- }
42
- reader.skipType(tag & 7);
43
- }
44
- return message;
45
- },
46
- fromJSON(object) {
47
- return { uan: isSet(object.uan) ? globalThis.String(object.uan) : "" };
48
- },
49
- toJSON(message) {
50
- const obj = {};
51
- if (message.uan !== "") {
52
- obj.uan = message.uan;
53
- }
54
- return obj;
55
- },
56
- create(base) {
57
- return exports.fetchUanEmploymentRequest.fromPartial(base ?? {});
58
- },
59
- fromPartial(object) {
60
- const message = createBasefetchUanEmploymentRequest();
61
- message.uan = object.uan ?? "";
62
- return message;
63
- },
64
- };
65
- function createBaseEmploymentData() {
66
- return {
67
- name: "",
68
- guardian_name: "",
69
- establishment_name: "",
70
- member_id: "",
71
- date_of_joining: "",
72
- date_of_exit: "",
73
- exit_reason: "",
74
- };
75
- }
76
- exports.EmploymentData = {
77
- encode(message, writer = minimal_1.default.Writer.create()) {
78
- if (message.name !== "") {
79
- writer.uint32(10).string(message.name);
80
- }
81
- if (message.guardian_name !== "") {
82
- writer.uint32(18).string(message.guardian_name);
83
- }
84
- if (message.establishment_name !== "") {
85
- writer.uint32(26).string(message.establishment_name);
86
- }
87
- if (message.member_id !== "") {
88
- writer.uint32(34).string(message.member_id);
89
- }
90
- if (message.date_of_joining !== "") {
91
- writer.uint32(42).string(message.date_of_joining);
92
- }
93
- if (message.date_of_exit !== "") {
94
- writer.uint32(50).string(message.date_of_exit);
95
- }
96
- if (message.exit_reason !== "") {
97
- writer.uint32(58).string(message.exit_reason);
98
- }
99
- return writer;
100
- },
101
- decode(input, length) {
102
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
103
- let end = length === undefined ? reader.len : reader.pos + length;
104
- const message = createBaseEmploymentData();
105
- while (reader.pos < end) {
106
- const tag = reader.uint32();
107
- switch (tag >>> 3) {
108
- case 1:
109
- if (tag !== 10) {
110
- break;
111
- }
112
- message.name = reader.string();
113
- continue;
114
- case 2:
115
- if (tag !== 18) {
116
- break;
117
- }
118
- message.guardian_name = reader.string();
119
- continue;
120
- case 3:
121
- if (tag !== 26) {
122
- break;
123
- }
124
- message.establishment_name = reader.string();
125
- continue;
126
- case 4:
127
- if (tag !== 34) {
128
- break;
129
- }
130
- message.member_id = reader.string();
131
- continue;
132
- case 5:
133
- if (tag !== 42) {
134
- break;
135
- }
136
- message.date_of_joining = reader.string();
137
- continue;
138
- case 6:
139
- if (tag !== 50) {
140
- break;
141
- }
142
- message.date_of_exit = reader.string();
143
- continue;
144
- case 7:
145
- if (tag !== 58) {
146
- break;
147
- }
148
- message.exit_reason = reader.string();
149
- continue;
150
- }
151
- if ((tag & 7) === 4 || tag === 0) {
152
- break;
153
- }
154
- reader.skipType(tag & 7);
155
- }
156
- return message;
157
- },
158
- fromJSON(object) {
159
- return {
160
- name: isSet(object.name) ? globalThis.String(object.name) : "",
161
- guardian_name: isSet(object.guardian_name) ? globalThis.String(object.guardian_name) : "",
162
- establishment_name: isSet(object.establishment_name) ? globalThis.String(object.establishment_name) : "",
163
- member_id: isSet(object.member_id) ? globalThis.String(object.member_id) : "",
164
- date_of_joining: isSet(object.date_of_joining) ? globalThis.String(object.date_of_joining) : "",
165
- date_of_exit: isSet(object.date_of_exit) ? globalThis.String(object.date_of_exit) : "",
166
- exit_reason: isSet(object.exit_reason) ? globalThis.String(object.exit_reason) : "",
167
- };
168
- },
169
- toJSON(message) {
170
- const obj = {};
171
- if (message.name !== "") {
172
- obj.name = message.name;
173
- }
174
- if (message.guardian_name !== "") {
175
- obj.guardian_name = message.guardian_name;
176
- }
177
- if (message.establishment_name !== "") {
178
- obj.establishment_name = message.establishment_name;
179
- }
180
- if (message.member_id !== "") {
181
- obj.member_id = message.member_id;
182
- }
183
- if (message.date_of_joining !== "") {
184
- obj.date_of_joining = message.date_of_joining;
185
- }
186
- if (message.date_of_exit !== "") {
187
- obj.date_of_exit = message.date_of_exit;
188
- }
189
- if (message.exit_reason !== "") {
190
- obj.exit_reason = message.exit_reason;
191
- }
192
- return obj;
193
- },
194
- create(base) {
195
- return exports.EmploymentData.fromPartial(base ?? {});
196
- },
197
- fromPartial(object) {
198
- const message = createBaseEmploymentData();
199
- message.name = object.name ?? "";
200
- message.guardian_name = object.guardian_name ?? "";
201
- message.establishment_name = object.establishment_name ?? "";
202
- message.member_id = object.member_id ?? "";
203
- message.date_of_joining = object.date_of_joining ?? "";
204
- message.date_of_exit = object.date_of_exit ?? "";
205
- message.exit_reason = object.exit_reason ?? "";
206
- return message;
207
- },
208
- };
209
- function createBaseData() {
210
- return { code: "", message: "", employment_data: undefined };
211
- }
212
- exports.Data = {
213
- encode(message, writer = minimal_1.default.Writer.create()) {
214
- if (message.code !== "") {
215
- writer.uint32(10).string(message.code);
216
- }
217
- if (message.message !== "") {
218
- writer.uint32(18).string(message.message);
219
- }
220
- if (message.employment_data !== undefined) {
221
- exports.EmploymentData.encode(message.employment_data, writer.uint32(26).fork()).ldelim();
222
- }
223
- return writer;
224
- },
225
- decode(input, length) {
226
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
227
- let end = length === undefined ? reader.len : reader.pos + length;
228
- const message = createBaseData();
229
- while (reader.pos < end) {
230
- const tag = reader.uint32();
231
- switch (tag >>> 3) {
232
- case 1:
233
- if (tag !== 10) {
234
- break;
235
- }
236
- message.code = reader.string();
237
- continue;
238
- case 2:
239
- if (tag !== 18) {
240
- break;
241
- }
242
- message.message = reader.string();
243
- continue;
244
- case 3:
245
- if (tag !== 26) {
246
- break;
247
- }
248
- message.employment_data = exports.EmploymentData.decode(reader, reader.uint32());
249
- continue;
250
- }
251
- if ((tag & 7) === 4 || tag === 0) {
252
- break;
253
- }
254
- reader.skipType(tag & 7);
255
- }
256
- return message;
257
- },
258
- fromJSON(object) {
259
- return {
260
- code: isSet(object.code) ? globalThis.String(object.code) : "",
261
- message: isSet(object.message) ? globalThis.String(object.message) : "",
262
- employment_data: isSet(object.employment_data) ? exports.EmploymentData.fromJSON(object.employment_data) : undefined,
263
- };
264
- },
265
- toJSON(message) {
266
- const obj = {};
267
- if (message.code !== "") {
268
- obj.code = message.code;
269
- }
270
- if (message.message !== "") {
271
- obj.message = message.message;
272
- }
273
- if (message.employment_data !== undefined) {
274
- obj.employment_data = exports.EmploymentData.toJSON(message.employment_data);
275
- }
276
- return obj;
277
- },
278
- create(base) {
279
- return exports.Data.fromPartial(base ?? {});
280
- },
281
- fromPartial(object) {
282
- const message = createBaseData();
283
- message.code = object.code ?? "";
284
- message.message = object.message ?? "";
285
- message.employment_data = (object.employment_data !== undefined && object.employment_data !== null)
286
- ? exports.EmploymentData.fromPartial(object.employment_data)
287
- : undefined;
288
- return message;
289
- },
290
- };
291
- function createBasefetchUanEmploymentResponse() {
292
- return { data: undefined, request_id: "" };
293
- }
294
- exports.fetchUanEmploymentResponse = {
295
- encode(message, writer = minimal_1.default.Writer.create()) {
296
- if (message.data !== undefined) {
297
- exports.Data.encode(message.data, writer.uint32(10).fork()).ldelim();
298
- }
299
- if (message.request_id !== "") {
300
- writer.uint32(18).string(message.request_id);
301
- }
302
- return writer;
303
- },
304
- decode(input, length) {
305
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
306
- let end = length === undefined ? reader.len : reader.pos + length;
307
- const message = createBasefetchUanEmploymentResponse();
308
- while (reader.pos < end) {
309
- const tag = reader.uint32();
310
- switch (tag >>> 3) {
311
- case 1:
312
- if (tag !== 10) {
313
- break;
314
- }
315
- message.data = exports.Data.decode(reader, reader.uint32());
316
- continue;
317
- case 2:
318
- if (tag !== 18) {
319
- break;
320
- }
321
- message.request_id = reader.string();
322
- continue;
323
- }
324
- if ((tag & 7) === 4 || tag === 0) {
325
- break;
326
- }
327
- reader.skipType(tag & 7);
328
- }
329
- return message;
330
- },
331
- fromJSON(object) {
332
- return {
333
- data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
334
- request_id: isSet(object.request_id) ? globalThis.String(object.request_id) : "",
335
- };
336
- },
337
- toJSON(message) {
338
- const obj = {};
339
- if (message.data !== undefined) {
340
- obj.data = exports.Data.toJSON(message.data);
341
- }
342
- if (message.request_id !== "") {
343
- obj.request_id = message.request_id;
344
- }
345
- return obj;
346
- },
347
- create(base) {
348
- return exports.fetchUanEmploymentResponse.fromPartial(base ?? {});
349
- },
350
- fromPartial(object) {
351
- const message = createBasefetchUanEmploymentResponse();
352
- message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
353
- message.request_id = object.request_id ?? "";
354
- return message;
355
- },
356
- };
357
- function isSet(value) {
358
- return value !== null && value !== undefined;
359
- }
@@ -1,35 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "kyc.fetchuannumber";
3
- export interface fetchUanListRequest {
4
- mobile: string;
5
- }
6
- export interface fetchUanListResponse {
7
- uan_list: string[];
8
- }
9
- export declare const fetchUanListRequest: {
10
- encode(message: fetchUanListRequest, writer?: _m0.Writer): _m0.Writer;
11
- decode(input: _m0.Reader | Uint8Array, length?: number): fetchUanListRequest;
12
- fromJSON(object: any): fetchUanListRequest;
13
- toJSON(message: fetchUanListRequest): unknown;
14
- create<I extends Exact<DeepPartial<fetchUanListRequest>, I>>(base?: I): fetchUanListRequest;
15
- fromPartial<I extends Exact<DeepPartial<fetchUanListRequest>, I>>(object: I): fetchUanListRequest;
16
- };
17
- export declare const fetchUanListResponse: {
18
- encode(message: fetchUanListResponse, writer?: _m0.Writer): _m0.Writer;
19
- decode(input: _m0.Reader | Uint8Array, length?: number): fetchUanListResponse;
20
- fromJSON(object: any): fetchUanListResponse;
21
- toJSON(message: fetchUanListResponse): unknown;
22
- create<I extends Exact<DeepPartial<fetchUanListResponse>, I>>(base?: I): fetchUanListResponse;
23
- fromPartial<I extends Exact<DeepPartial<fetchUanListResponse>, I>>(object: I): fetchUanListResponse;
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 {};