@stashfin/grpc 1.2.554 → 1.2.555

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 (308) 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 +14 -0
  75. package/ts/customers/getcustomer.js +100 -6
  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 +35 -0
  99. package/ts/customers/kyc/epfo.js +119 -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 +238 -238
  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.js +1 -1
  204. package/ts/kyc.d.ts +2 -2
  205. package/ts/kyc.js +1 -1
  206. package/ts/lamf/getloandetails.js +1 -1
  207. package/ts/lamf/submitotp.js +1 -1
  208. package/ts/lamf/validateuser.js +1 -1
  209. package/ts/lamf.d.ts +6 -6
  210. package/ts/lamf.js +1 -1
  211. package/ts/loans/amortization.js +1 -1
  212. package/ts/loans/approveloan.js +1 -1
  213. package/ts/loans/banklist.js +1 -1
  214. package/ts/loans/calculateemi.js +1 -1
  215. package/ts/loans/cbloan.js +1 -1
  216. package/ts/loans/createlamfloan.js +1 -1
  217. package/ts/loans/createpenalty.js +1 -1
  218. package/ts/loans/creditlimit.js +1 -1
  219. package/ts/loans/emimoredetails.js +1 -1
  220. package/ts/loans/fcppayment.js +1 -1
  221. package/ts/loans/forecloseamount.d.ts +36 -0
  222. package/ts/loans/forecloseamount.js +133 -0
  223. package/ts/loans/foreclosepayment.js +1 -1
  224. package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
  225. package/ts/loans/futurepaymentmoredetails.js +243 -0
  226. package/ts/loans/getaddonslist.js +1 -1
  227. package/ts/loans/getbilldetails.js +1 -1
  228. package/ts/loans/getcbloandetails.js +1 -1
  229. package/ts/loans/getchrdetails.js +1 -1
  230. package/ts/loans/getcustomerloanstatus.js +1 -1
  231. package/ts/loans/getforecloseamount.js +1 -1
  232. package/ts/loans/getloanbyid.js +1 -1
  233. package/ts/loans/getnextdueamount.js +1 -1
  234. package/ts/loans/getpaymentoptions.js +1 -1
  235. package/ts/loans/getpendingemiamount.js +1 -1
  236. package/ts/loans/getsetubilldetails.js +1 -1
  237. package/ts/loans/getsummarystaticfields.js +1 -1
  238. package/ts/loans/gettransactionstatus.js +1 -1
  239. package/ts/loans/getusedlimit.js +1 -1
  240. package/ts/loans/getvirtualbankinfo.js +1 -1
  241. package/ts/loans/loansummary.js +1 -1
  242. package/ts/loans/manualpaymentallocation.js +1 -1
  243. package/ts/loans/paymentallocation.js +1 -1
  244. package/ts/loans/paymenthistory.js +1 -1
  245. package/ts/loans/paynow.js +1 -1
  246. package/ts/loans/refund.js +1 -1
  247. package/ts/loans/restructureloan.js +1 -1
  248. package/ts/loans/rollback.js +1 -1
  249. package/ts/loans/rollbackextrapayment.d.ts +37 -0
  250. package/ts/loans/rollbackextrapayment.js +149 -0
  251. package/ts/loans/sendemail.js +1 -1
  252. package/ts/loans/sendnocemail.js +1 -1
  253. package/ts/loans/transactionlist.js +1 -1
  254. package/ts/loans/updatecollectionview.js +1 -1
  255. package/ts/loans/updateinstallments.js +1 -1
  256. package/ts/loans/updateloan.js +1 -1
  257. package/ts/loans/updatetransactionstatus.js +1 -1
  258. package/ts/loans.d.ts +82 -82
  259. package/ts/loans.js +1 -1
  260. package/ts/payments/checkpaymentstatus.js +1 -1
  261. package/ts/payments/fundtransfer.js +1 -1
  262. package/ts/payments/getpaymentoptions.js +1 -1
  263. package/ts/payments/initiatepayment.js +1 -1
  264. package/ts/payments/nachpresentation.js +1 -1
  265. package/ts/payments/nachregistration.js +1 -1
  266. package/ts/payments.d.ts +12 -12
  267. package/ts/payments.js +1 -1
  268. package/ts/stashcash/creditsc.js +1 -1
  269. package/ts/stashcash/debitsc.js +1 -1
  270. package/ts/stashcash/getscbalance.js +1 -1
  271. package/ts/stashcash/getschistory.js +1 -1
  272. package/ts/stashcash/reversesc.js +1 -1
  273. package/ts/stashcash.d.ts +10 -10
  274. package/ts/stashcash.js +1 -1
  275. package/ts/upi/addaccount.js +1 -1
  276. package/ts/upi/addupinumber.d.ts +39 -0
  277. package/ts/upi/addupinumber.js +177 -0
  278. package/ts/upi/addvpa.d.ts +36 -0
  279. package/ts/upi/addvpa.js +133 -0
  280. package/ts/upi/blockvpa.js +1 -1
  281. package/ts/upi/checktransactionstatus.js +1 -1
  282. package/ts/upi/declinemandate.js +1 -1
  283. package/ts/upi/deregisterprofile.js +1 -1
  284. package/ts/upi/getaccountsbyprovider.js +1 -1
  285. package/ts/upi/getallmandates.js +1 -1
  286. package/ts/upi/getavailablevpa.js +1 -1
  287. package/ts/upi/getlistedaccountproviders.js +1 -1
  288. package/ts/upi/getmandatedetails.js +1 -1
  289. package/ts/upi/getmandatehistory.js +1 -1
  290. package/ts/upi/getpendingcollectrequest.js +1 -1
  291. package/ts/upi/getprofile.js +1 -1
  292. package/ts/upi/getrecentcontacts.js +1 -1
  293. package/ts/upi/gettransactions.js +1 -1
  294. package/ts/upi/getupinumbers.js +1 -1
  295. package/ts/upi/initiatemandateaction.js +1 -1
  296. package/ts/upi/initiatetransaction.js +1 -1
  297. package/ts/upi/listblockedvpa.js +1 -1
  298. package/ts/upi/suggestvpa.d.ts +35 -0
  299. package/ts/upi/suggestvpa.js +122 -0
  300. package/ts/upi/unblockvpa.js +1 -1
  301. package/ts/upi/updatedevicebinding.js +1 -1
  302. package/ts/upi/updatedevicelinking.d.ts +49 -0
  303. package/ts/upi/updatedevicelinking.js +332 -0
  304. package/ts/upi/upinumberoperations.js +1 -1
  305. package/ts/upi/validateifsc.js +1 -1
  306. package/ts/upi/validatevpa.js +1 -1
  307. package/ts/upi.d.ts +50 -50
  308. package/ts/upi.js +1 -1
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getcustomer.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.getCustomerResponse = exports.getCustomerRequest = exports.protobufPackage = void 0;
11
+ exports.Data = exports.getCustomerResponse = exports.getCustomerRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const long_1 = __importDefault(require("long"));
14
14
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
@@ -64,6 +64,100 @@ exports.getCustomerRequest = {
64
64
  },
65
65
  };
66
66
  function createBasegetCustomerResponse() {
67
+ return { success: false, data: undefined, error_code: undefined, error_message: undefined };
68
+ }
69
+ exports.getCustomerResponse = {
70
+ encode(message, writer = minimal_1.default.Writer.create()) {
71
+ if (message.success !== false) {
72
+ writer.uint32(8).bool(message.success);
73
+ }
74
+ if (message.data !== undefined) {
75
+ exports.Data.encode(message.data, writer.uint32(18).fork()).ldelim();
76
+ }
77
+ if (message.error_code !== undefined) {
78
+ writer.uint32(24).int32(message.error_code);
79
+ }
80
+ if (message.error_message !== undefined) {
81
+ writer.uint32(34).string(message.error_message);
82
+ }
83
+ return writer;
84
+ },
85
+ decode(input, length) {
86
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
87
+ let end = length === undefined ? reader.len : reader.pos + length;
88
+ const message = createBasegetCustomerResponse();
89
+ while (reader.pos < end) {
90
+ const tag = reader.uint32();
91
+ switch (tag >>> 3) {
92
+ case 1:
93
+ if (tag !== 8) {
94
+ break;
95
+ }
96
+ message.success = reader.bool();
97
+ continue;
98
+ case 2:
99
+ if (tag !== 18) {
100
+ break;
101
+ }
102
+ message.data = exports.Data.decode(reader, reader.uint32());
103
+ continue;
104
+ case 3:
105
+ if (tag !== 24) {
106
+ break;
107
+ }
108
+ message.error_code = reader.int32();
109
+ continue;
110
+ case 4:
111
+ if (tag !== 34) {
112
+ break;
113
+ }
114
+ message.error_message = reader.string();
115
+ continue;
116
+ }
117
+ if ((tag & 7) === 4 || tag === 0) {
118
+ break;
119
+ }
120
+ reader.skipType(tag & 7);
121
+ }
122
+ return message;
123
+ },
124
+ fromJSON(object) {
125
+ return {
126
+ success: isSet(object.success) ? globalThis.Boolean(object.success) : false,
127
+ data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
128
+ error_code: isSet(object.error_code) ? globalThis.Number(object.error_code) : undefined,
129
+ error_message: isSet(object.error_message) ? globalThis.String(object.error_message) : undefined,
130
+ };
131
+ },
132
+ toJSON(message) {
133
+ const obj = {};
134
+ if (message.success !== false) {
135
+ obj.success = message.success;
136
+ }
137
+ if (message.data !== undefined) {
138
+ obj.data = exports.Data.toJSON(message.data);
139
+ }
140
+ if (message.error_code !== undefined) {
141
+ obj.error_code = Math.round(message.error_code);
142
+ }
143
+ if (message.error_message !== undefined) {
144
+ obj.error_message = message.error_message;
145
+ }
146
+ return obj;
147
+ },
148
+ create(base) {
149
+ return exports.getCustomerResponse.fromPartial(base ?? {});
150
+ },
151
+ fromPartial(object) {
152
+ const message = createBasegetCustomerResponse();
153
+ message.success = object.success ?? false;
154
+ message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
155
+ message.error_code = object.error_code ?? undefined;
156
+ message.error_message = object.error_message ?? undefined;
157
+ return message;
158
+ },
159
+ };
160
+ function createBaseData() {
67
161
  return {
68
162
  first_name: "",
69
163
  middle_name: undefined,
@@ -76,7 +170,7 @@ function createBasegetCustomerResponse() {
76
170
  is_email_verify_done: undefined,
77
171
  };
78
172
  }
79
- exports.getCustomerResponse = {
173
+ exports.Data = {
80
174
  encode(message, writer = minimal_1.default.Writer.create()) {
81
175
  if (message.first_name !== "") {
82
176
  writer.uint32(10).string(message.first_name);
@@ -110,7 +204,7 @@ exports.getCustomerResponse = {
110
204
  decode(input, length) {
111
205
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
112
206
  let end = length === undefined ? reader.len : reader.pos + length;
113
- const message = createBasegetCustomerResponse();
207
+ const message = createBaseData();
114
208
  while (reader.pos < end) {
115
209
  const tag = reader.uint32();
116
210
  switch (tag >>> 3) {
@@ -223,10 +317,10 @@ exports.getCustomerResponse = {
223
317
  return obj;
224
318
  },
225
319
  create(base) {
226
- return exports.getCustomerResponse.fromPartial(base ?? {});
320
+ return exports.Data.fromPartial(base ?? {});
227
321
  },
228
322
  fromPartial(object) {
229
- const message = createBasegetCustomerResponse();
323
+ const message = createBaseData();
230
324
  message.first_name = object.first_name ?? "";
231
325
  message.middle_name = object.middle_name ?? undefined;
232
326
  message.last_name = object.last_name ?? undefined;
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getcustomerbyid.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getcustomerdetailsbymobile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getdashboard.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getdashboardmaincard.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getdocuments.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getglobalpopups.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getlimit.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getloclimit.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getmessengermode.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getoccupationlist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getpaymentoptions.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getprofessionalinfo.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: customers/getprofile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -0,0 +1,35 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.getrecommendedtag";
3
+ export interface getRecommendedTagRequest {
4
+ }
5
+ export interface getRecommendedTagResponse {
6
+ click_to_call: number;
7
+ ym_chat: number;
8
+ }
9
+ export declare const getRecommendedTagRequest: {
10
+ encode(_: getRecommendedTagRequest, writer?: _m0.Writer): _m0.Writer;
11
+ decode(input: _m0.Reader | Uint8Array, length?: number): getRecommendedTagRequest;
12
+ fromJSON(_: any): getRecommendedTagRequest;
13
+ toJSON(_: getRecommendedTagRequest): unknown;
14
+ create<I extends Exact<DeepPartial<getRecommendedTagRequest>, I>>(base?: I): getRecommendedTagRequest;
15
+ fromPartial<I extends Exact<DeepPartial<getRecommendedTagRequest>, I>>(_: I): getRecommendedTagRequest;
16
+ };
17
+ export declare const getRecommendedTagResponse: {
18
+ encode(message: getRecommendedTagResponse, writer?: _m0.Writer): _m0.Writer;
19
+ decode(input: _m0.Reader | Uint8Array, length?: number): getRecommendedTagResponse;
20
+ fromJSON(object: any): getRecommendedTagResponse;
21
+ toJSON(message: getRecommendedTagResponse): unknown;
22
+ create<I extends Exact<DeepPartial<getRecommendedTagResponse>, I>>(base?: I): getRecommendedTagResponse;
23
+ fromPartial<I extends Exact<DeepPartial<getRecommendedTagResponse>, I>>(object: I): getRecommendedTagResponse;
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,134 @@
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: customers/getrecommendedtag.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.getRecommendedTagResponse = exports.getRecommendedTagRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const long_1 = __importDefault(require("long"));
14
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
+ exports.protobufPackage = "customers.getrecommendedtag";
16
+ function createBasegetRecommendedTagRequest() {
17
+ return {};
18
+ }
19
+ exports.getRecommendedTagRequest = {
20
+ encode(_, writer = minimal_1.default.Writer.create()) {
21
+ return writer;
22
+ },
23
+ decode(input, length) {
24
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
25
+ let end = length === undefined ? reader.len : reader.pos + length;
26
+ const message = createBasegetRecommendedTagRequest();
27
+ while (reader.pos < end) {
28
+ const tag = reader.uint32();
29
+ switch (tag >>> 3) {
30
+ }
31
+ if ((tag & 7) === 4 || tag === 0) {
32
+ break;
33
+ }
34
+ reader.skipType(tag & 7);
35
+ }
36
+ return message;
37
+ },
38
+ fromJSON(_) {
39
+ return {};
40
+ },
41
+ toJSON(_) {
42
+ const obj = {};
43
+ return obj;
44
+ },
45
+ create(base) {
46
+ return exports.getRecommendedTagRequest.fromPartial(base ?? {});
47
+ },
48
+ fromPartial(_) {
49
+ const message = createBasegetRecommendedTagRequest();
50
+ return message;
51
+ },
52
+ };
53
+ function createBasegetRecommendedTagResponse() {
54
+ return { click_to_call: 0, ym_chat: 0 };
55
+ }
56
+ exports.getRecommendedTagResponse = {
57
+ encode(message, writer = minimal_1.default.Writer.create()) {
58
+ if (message.click_to_call !== 0) {
59
+ writer.uint32(8).int64(message.click_to_call);
60
+ }
61
+ if (message.ym_chat !== 0) {
62
+ writer.uint32(16).int64(message.ym_chat);
63
+ }
64
+ return writer;
65
+ },
66
+ decode(input, length) {
67
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
68
+ let end = length === undefined ? reader.len : reader.pos + length;
69
+ const message = createBasegetRecommendedTagResponse();
70
+ while (reader.pos < end) {
71
+ const tag = reader.uint32();
72
+ switch (tag >>> 3) {
73
+ case 1:
74
+ if (tag !== 8) {
75
+ break;
76
+ }
77
+ message.click_to_call = longToNumber(reader.int64());
78
+ continue;
79
+ case 2:
80
+ if (tag !== 16) {
81
+ break;
82
+ }
83
+ message.ym_chat = longToNumber(reader.int64());
84
+ continue;
85
+ }
86
+ if ((tag & 7) === 4 || tag === 0) {
87
+ break;
88
+ }
89
+ reader.skipType(tag & 7);
90
+ }
91
+ return message;
92
+ },
93
+ fromJSON(object) {
94
+ return {
95
+ click_to_call: isSet(object.click_to_call) ? globalThis.Number(object.click_to_call) : 0,
96
+ ym_chat: isSet(object.ym_chat) ? globalThis.Number(object.ym_chat) : 0,
97
+ };
98
+ },
99
+ toJSON(message) {
100
+ const obj = {};
101
+ if (message.click_to_call !== 0) {
102
+ obj.click_to_call = Math.round(message.click_to_call);
103
+ }
104
+ if (message.ym_chat !== 0) {
105
+ obj.ym_chat = Math.round(message.ym_chat);
106
+ }
107
+ return obj;
108
+ },
109
+ create(base) {
110
+ return exports.getRecommendedTagResponse.fromPartial(base ?? {});
111
+ },
112
+ fromPartial(object) {
113
+ const message = createBasegetRecommendedTagResponse();
114
+ message.click_to_call = object.click_to_call ?? 0;
115
+ message.ym_chat = object.ym_chat ?? 0;
116
+ return message;
117
+ },
118
+ };
119
+ function longToNumber(long) {
120
+ if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
121
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
122
+ }
123
+ if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
124
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
125
+ }
126
+ return long.toNumber();
127
+ }
128
+ if (minimal_1.default.util.Long !== long_1.default) {
129
+ minimal_1.default.util.Long = long_1.default;
130
+ minimal_1.default.configure();
131
+ }
132
+ function isSet(value) {
133
+ return value !== null && value !== undefined;
134
+ }
@@ -0,0 +1,40 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.getrpdlink";
3
+ export interface createRpdLinkRequest {
4
+ }
5
+ export interface createRpdLinkResponse {
6
+ id: string;
7
+ shortUrl: string;
8
+ status: string;
9
+ traceId: string;
10
+ upiBillId: string;
11
+ upiLink: string;
12
+ validUpto: string;
13
+ }
14
+ export declare const createRpdLinkRequest: {
15
+ encode(_: createRpdLinkRequest, writer?: _m0.Writer): _m0.Writer;
16
+ decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkRequest;
17
+ fromJSON(_: any): createRpdLinkRequest;
18
+ toJSON(_: createRpdLinkRequest): unknown;
19
+ create<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(base?: I): createRpdLinkRequest;
20
+ fromPartial<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(_: I): createRpdLinkRequest;
21
+ };
22
+ export declare const createRpdLinkResponse: {
23
+ encode(message: createRpdLinkResponse, writer?: _m0.Writer): _m0.Writer;
24
+ decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkResponse;
25
+ fromJSON(object: any): createRpdLinkResponse;
26
+ toJSON(message: createRpdLinkResponse): unknown;
27
+ create<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(base?: I): createRpdLinkResponse;
28
+ fromPartial<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(object: I): createRpdLinkResponse;
29
+ };
30
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
31
+ 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 {} ? {
32
+ [K in keyof T]?: DeepPartial<T[K]>;
33
+ } : Partial<T>;
34
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
35
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
36
+ [K in keyof P]: Exact<P[K], I[K]>;
37
+ } & {
38
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
39
+ };
40
+ export {};
@@ -0,0 +1,190 @@
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.0
6
+ // source: customers/getrpdlink.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.createRpdLinkResponse = exports.createRpdLinkRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.getrpdlink";
15
+ function createBasecreateRpdLinkRequest() {
16
+ return {};
17
+ }
18
+ exports.createRpdLinkRequest = {
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 = createBasecreateRpdLinkRequest();
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.createRpdLinkRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasecreateRpdLinkRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasecreateRpdLinkResponse() {
53
+ return { id: "", shortUrl: "", status: "", traceId: "", upiBillId: "", upiLink: "", validUpto: "" };
54
+ }
55
+ exports.createRpdLinkResponse = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ if (message.id !== "") {
58
+ writer.uint32(10).string(message.id);
59
+ }
60
+ if (message.shortUrl !== "") {
61
+ writer.uint32(18).string(message.shortUrl);
62
+ }
63
+ if (message.status !== "") {
64
+ writer.uint32(26).string(message.status);
65
+ }
66
+ if (message.traceId !== "") {
67
+ writer.uint32(34).string(message.traceId);
68
+ }
69
+ if (message.upiBillId !== "") {
70
+ writer.uint32(42).string(message.upiBillId);
71
+ }
72
+ if (message.upiLink !== "") {
73
+ writer.uint32(50).string(message.upiLink);
74
+ }
75
+ if (message.validUpto !== "") {
76
+ writer.uint32(58).string(message.validUpto);
77
+ }
78
+ return writer;
79
+ },
80
+ decode(input, length) {
81
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
82
+ let end = length === undefined ? reader.len : reader.pos + length;
83
+ const message = createBasecreateRpdLinkResponse();
84
+ while (reader.pos < end) {
85
+ const tag = reader.uint32();
86
+ switch (tag >>> 3) {
87
+ case 1:
88
+ if (tag !== 10) {
89
+ break;
90
+ }
91
+ message.id = reader.string();
92
+ continue;
93
+ case 2:
94
+ if (tag !== 18) {
95
+ break;
96
+ }
97
+ message.shortUrl = reader.string();
98
+ continue;
99
+ case 3:
100
+ if (tag !== 26) {
101
+ break;
102
+ }
103
+ message.status = reader.string();
104
+ continue;
105
+ case 4:
106
+ if (tag !== 34) {
107
+ break;
108
+ }
109
+ message.traceId = reader.string();
110
+ continue;
111
+ case 5:
112
+ if (tag !== 42) {
113
+ break;
114
+ }
115
+ message.upiBillId = reader.string();
116
+ continue;
117
+ case 6:
118
+ if (tag !== 50) {
119
+ break;
120
+ }
121
+ message.upiLink = reader.string();
122
+ continue;
123
+ case 7:
124
+ if (tag !== 58) {
125
+ break;
126
+ }
127
+ message.validUpto = reader.string();
128
+ continue;
129
+ }
130
+ if ((tag & 7) === 4 || tag === 0) {
131
+ break;
132
+ }
133
+ reader.skipType(tag & 7);
134
+ }
135
+ return message;
136
+ },
137
+ fromJSON(object) {
138
+ return {
139
+ id: isSet(object.id) ? globalThis.String(object.id) : "",
140
+ shortUrl: isSet(object.shortUrl) ? globalThis.String(object.shortUrl) : "",
141
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
142
+ traceId: isSet(object.traceId) ? globalThis.String(object.traceId) : "",
143
+ upiBillId: isSet(object.upiBillId) ? globalThis.String(object.upiBillId) : "",
144
+ upiLink: isSet(object.upiLink) ? globalThis.String(object.upiLink) : "",
145
+ validUpto: isSet(object.validUpto) ? globalThis.String(object.validUpto) : "",
146
+ };
147
+ },
148
+ toJSON(message) {
149
+ const obj = {};
150
+ if (message.id !== "") {
151
+ obj.id = message.id;
152
+ }
153
+ if (message.shortUrl !== "") {
154
+ obj.shortUrl = message.shortUrl;
155
+ }
156
+ if (message.status !== "") {
157
+ obj.status = message.status;
158
+ }
159
+ if (message.traceId !== "") {
160
+ obj.traceId = message.traceId;
161
+ }
162
+ if (message.upiBillId !== "") {
163
+ obj.upiBillId = message.upiBillId;
164
+ }
165
+ if (message.upiLink !== "") {
166
+ obj.upiLink = message.upiLink;
167
+ }
168
+ if (message.validUpto !== "") {
169
+ obj.validUpto = message.validUpto;
170
+ }
171
+ return obj;
172
+ },
173
+ create(base) {
174
+ return exports.createRpdLinkResponse.fromPartial(base ?? {});
175
+ },
176
+ fromPartial(object) {
177
+ const message = createBasecreateRpdLinkResponse();
178
+ message.id = object.id ?? "";
179
+ message.shortUrl = object.shortUrl ?? "";
180
+ message.status = object.status ?? "";
181
+ message.traceId = object.traceId ?? "";
182
+ message.upiBillId = object.upiBillId ?? "";
183
+ message.upiLink = object.upiLink ?? "";
184
+ message.validUpto = object.validUpto ?? "";
185
+ return message;
186
+ },
187
+ };
188
+ function isSet(value) {
189
+ return value !== null && value !== undefined;
190
+ }