@stashfin/grpc 1.2.457 → 1.2.459

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 (257) 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.d.ts +46 -14
  70. package/ts/customers/getcustomerbyid.js +312 -94
  71. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  72. package/ts/customers/getdashboard.js +2 -2
  73. package/ts/customers/getdashboardmaincard.js +2 -2
  74. package/ts/customers/getdocuments.js +2 -2
  75. package/ts/customers/getglobalpopups.js +2 -2
  76. package/ts/customers/getlimit.js +2 -2
  77. package/ts/customers/getloclimit.js +2 -2
  78. package/ts/customers/getmessengermode.js +2 -2
  79. package/ts/customers/getoccupationlist.js +2 -2
  80. package/ts/customers/getpaymentoptions.js +2 -2
  81. package/ts/customers/getprofessionalinfo.js +2 -2
  82. package/ts/customers/getprofile.js +2 -2
  83. package/ts/customers/getselfieetxnid.js +2 -2
  84. package/ts/customers/getstates.js +2 -2
  85. package/ts/customers/getstep.js +2 -2
  86. package/ts/customers/getsyncstatus.js +2 -2
  87. package/ts/customers/getvanumber.js +2 -2
  88. package/ts/customers/lamf/applylamf.js +2 -2
  89. package/ts/customers/lamf/sendlamfotp.js +2 -2
  90. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  91. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  92. package/ts/customers/lamf/verifylamfotp.js +2 -2
  93. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  94. package/ts/customers/logout.js +2 -2
  95. package/ts/customers/pd/getbanklist.js +2 -2
  96. package/ts/customers/pd/validatebankaccount.js +2 -2
  97. package/ts/customers/profilebasic.js +2 -2
  98. package/ts/customers/profileupdatetnc.js +2 -2
  99. package/ts/customers/resetbanner.js +2 -2
  100. package/ts/customers/restoreaccount.js +2 -2
  101. package/ts/customers/rpd/getrpdlink.js +2 -2
  102. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  103. package/ts/customers/rpd/mockpayment.js +2 -2
  104. package/ts/customers/saveappslist.js +2 -2
  105. package/ts/customers/savebasicdetails.js +2 -2
  106. package/ts/customers/savelimit.js +2 -2
  107. package/ts/customers/saveunlocklimit.js +2 -2
  108. package/ts/customers/sendotp.js +2 -2
  109. package/ts/customers/sendotptoemail.js +2 -2
  110. package/ts/customers/setmpin.js +2 -2
  111. package/ts/customers/skipscreen.js +2 -2
  112. package/ts/customers/submituploadeddocuments.js +2 -2
  113. package/ts/customers/syncdecisionengine.js +2 -2
  114. package/ts/customers/updatecategory.js +2 -2
  115. package/ts/customers/updatecongratulationstep.js +2 -2
  116. package/ts/customers/updatecustomerbyid.js +2 -2
  117. package/ts/customers/updatedlnumber.js +2 -2
  118. package/ts/customers/updatedob.js +2 -2
  119. package/ts/customers/updatelocstatus.js +2 -2
  120. package/ts/customers/updatemobilesendotp.js +2 -2
  121. package/ts/customers/updatemobileverifyotp.js +2 -2
  122. package/ts/customers/updateokyctxn.js +2 -2
  123. package/ts/customers/updatesanctionamount.js +2 -2
  124. package/ts/customers/updateselfieetxn.js +2 -2
  125. package/ts/customers/updatesyncstatus.js +2 -2
  126. package/ts/customers/updatevehiclenumber.js +2 -2
  127. package/ts/customers/uploaddocuments.js +2 -2
  128. package/ts/customers/validatepan.js +2 -2
  129. package/ts/customers/verifympin.js +2 -2
  130. package/ts/customers/verifyotp.js +2 -2
  131. package/ts/customers/verifyotptoemail.js +2 -2
  132. package/ts/customers.js +2 -2
  133. package/ts/decisionengine/decisionengine.js +2 -2
  134. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  135. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  136. package/ts/decisionengine/saveconsent.js +2 -2
  137. package/ts/decisionengine.js +2 -2
  138. package/ts/documents/getagreement.js +2 -2
  139. package/ts/documents/getfinancialdoc.js +2 -2
  140. package/ts/documents.js +2 -2
  141. package/ts/eqxcustomer.js +2 -2
  142. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  143. package/ts/eqxcustomers/getdashboard.js +2 -2
  144. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  145. package/ts/eqxcustomers/sendotp.js +2 -2
  146. package/ts/eqxcustomers/verifyotp.js +2 -2
  147. package/ts/example.js +2 -2
  148. package/ts/growth/checkplanstatus.js +2 -2
  149. package/ts/growth/getattachplandetails.js +2 -2
  150. package/ts/growth/getchrpaymentstatus.js +2 -2
  151. package/ts/growth/getchrplans.js +2 -2
  152. package/ts/growth/getcredithealthreport.js +2 -2
  153. package/ts/growth/initiatepayment.js +2 -2
  154. package/ts/growth/notifychrpayment.js +2 -2
  155. package/ts/growth/processchrpayment.js +2 -2
  156. package/ts/growth.js +2 -2
  157. package/ts/lamf/getloandetails.js +2 -2
  158. package/ts/lamf/submitotp.js +2 -2
  159. package/ts/lamf/validateuser.js +2 -2
  160. package/ts/lamf.js +2 -2
  161. package/ts/loans/amortization.js +2 -2
  162. package/ts/loans/approveloan.js +2 -2
  163. package/ts/loans/banklist.js +2 -2
  164. package/ts/loans/calculateemi.js +2 -2
  165. package/ts/loans/cbloan.js +2 -2
  166. package/ts/loans/createlamfloan.js +2 -2
  167. package/ts/loans/createpenalty.js +2 -2
  168. package/ts/loans/creditlimit.js +2 -2
  169. package/ts/loans/emimoredetails.js +2 -2
  170. package/ts/loans/fcppayment.js +2 -2
  171. package/ts/loans/forecloseamount.js +2 -2
  172. package/ts/loans/foreclosepayment.js +2 -2
  173. package/ts/loans/futurepaymentmoredetails.js +2 -2
  174. package/ts/loans/getaddonslist.js +2 -2
  175. package/ts/loans/getbilldetails.js +2 -2
  176. package/ts/loans/getcbloandetails.js +2 -2
  177. package/ts/loans/getchrdetails.js +2 -2
  178. package/ts/loans/getcustomerloanstatus.js +2 -2
  179. package/ts/loans/getforecloseamount.js +2 -2
  180. package/ts/loans/getloanbyid.js +2 -2
  181. package/ts/loans/getnextdueamount.js +2 -2
  182. package/ts/loans/getpaymentoptions.js +2 -2
  183. package/ts/loans/getpendingemiamount.js +2 -2
  184. package/ts/loans/getsetubilldetails.js +2 -2
  185. package/ts/loans/getsummarystaticfields.js +2 -2
  186. package/ts/loans/gettransactionstatus.js +2 -2
  187. package/ts/loans/getusedlimit.js +2 -2
  188. package/ts/loans/getvirtualaccountnumber.d.ts +35 -0
  189. package/ts/{customers/verifyemail.js → loans/getvirtualaccountnumber.js} +32 -32
  190. package/ts/loans/getvirtualbankinfo.js +2 -2
  191. package/ts/loans/loansummary.js +2 -2
  192. package/ts/loans/manualpaymentallocation.js +2 -2
  193. package/ts/loans/paymentallocation.js +2 -2
  194. package/ts/loans/paymenthistory.js +2 -2
  195. package/ts/loans/paynow.js +2 -2
  196. package/ts/loans/refund.js +2 -2
  197. package/ts/loans/restructureloan.js +2 -2
  198. package/ts/loans/rollback.js +2 -2
  199. package/ts/loans/rollbackextrapayment.js +2 -2
  200. package/ts/loans/sendemail.js +2 -2
  201. package/ts/loans/sendnocemail.js +2 -2
  202. package/ts/loans/transactionlist.js +2 -2
  203. package/ts/loans/updatecollectionview.js +2 -2
  204. package/ts/loans/updateinstallments.js +2 -2
  205. package/ts/loans/updateloan.js +2 -2
  206. package/ts/loans/updatetransactionstatus.js +2 -2
  207. package/ts/loans.js +2 -2
  208. package/ts/payments/checkpaymentstatus.js +2 -2
  209. package/ts/payments/fundtransfer.js +2 -2
  210. package/ts/payments/getpaymentoptions.js +2 -2
  211. package/ts/payments/initiatepayment.js +2 -2
  212. package/ts/payments/nachpresentation.js +2 -2
  213. package/ts/payments/nachregistration.js +2 -2
  214. package/ts/payments.js +2 -2
  215. package/ts/stashcash/creditsc.js +2 -2
  216. package/ts/stashcash/debitsc.js +2 -2
  217. package/ts/stashcash/getscbalance.js +2 -2
  218. package/ts/stashcash/getschistory.js +2 -2
  219. package/ts/stashcash/reversesc.js +2 -2
  220. package/ts/stashcash.js +2 -2
  221. package/ts/upi/getavailablevpa.js +2 -2
  222. package/ts/upi/getlistedaccountproviders.js +2 -2
  223. package/ts/upi/initiatetransaction.js +2 -2
  224. package/ts/upi/updatedevicebinding.js +2 -2
  225. package/ts/upi/updatedevicelinking.js +2 -2
  226. package/ts/upi.js +2 -2
  227. package/ts/customers/getrecommendedtag.d.ts +0 -35
  228. package/ts/customers/getrecommendedtag.js +0 -134
  229. package/ts/customers/getrpdlink.d.ts +0 -40
  230. package/ts/customers/getrpdlink.js +0 -190
  231. package/ts/customers/sendemailtoken.d.ts +0 -35
  232. package/ts/customers/sendemailtoken.js +0 -117
  233. package/ts/customers/skipdlrcscreen.d.ts +0 -35
  234. package/ts/customers/skipdlrcscreen.js +0 -117
  235. package/ts/customers/step1.d.ts +0 -69
  236. package/ts/customers/step1.js +0 -395
  237. package/ts/customers/step10.d.ts +0 -73
  238. package/ts/customers/step10.js +0 -459
  239. package/ts/customers/step2.d.ts +0 -68
  240. package/ts/customers/step2.js +0 -381
  241. package/ts/customers/step7.d.ts +0 -68
  242. package/ts/customers/step7.js +0 -381
  243. package/ts/customers/step8.d.ts +0 -69
  244. package/ts/customers/step8.js +0 -395
  245. package/ts/customers/step9.d.ts +0 -75
  246. package/ts/customers/step9.js +0 -489
  247. package/ts/customers/stepstatic.d.ts +0 -66
  248. package/ts/customers/stepstatic.js +0 -354
  249. package/ts/customers/verifyemail.d.ts +0 -35
  250. package/ts/google/protobuf/timestamp.d.ts +0 -127
  251. package/ts/google/protobuf/timestamp.js +0 -97
  252. package/ts/upi/addupinumber.d.ts +0 -39
  253. package/ts/upi/addupinumber.js +0 -177
  254. package/ts/upi/addvpa.d.ts +0 -36
  255. package/ts/upi/addvpa.js +0 -133
  256. package/ts/upi/suggestvpa.d.ts +0 -35
  257. package/ts/upi/suggestvpa.js +0 -122
@@ -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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getcustomerbyid.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.BannerSequenceMessage = exports.BankDetails = exports.Address = exports.getCustomerByIdResponse = exports.getCustomerByIdRequest = exports.protobufPackage = void 0;
11
+ exports.BankDetails = exports.Address = exports.getCustomerByIdResponse_BannerLeadStatusEntry = exports.getCustomerByIdResponse_BannerJourneyStatusEntry = exports.getCustomerByIdResponse_BannerSequenceEntry = exports.getCustomerByIdResponse = exports.getCustomerByIdRequest = 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"));
@@ -153,9 +153,9 @@ function createBasegetCustomerByIdResponse() {
153
153
  max_loc_limit: undefined,
154
154
  enach_amount: 0,
155
155
  new_sanctioned_limit: 0,
156
- banner_sequence: undefined,
157
- banner_journey_status: undefined,
158
- banner_lead_status: undefined,
156
+ banner_sequence: {},
157
+ banner_journey_status: {},
158
+ banner_lead_status: {},
159
159
  created_at: "",
160
160
  };
161
161
  }
@@ -425,15 +425,18 @@ exports.getCustomerByIdResponse = {
425
425
  if (message.new_sanctioned_limit !== 0) {
426
426
  writer.uint32(717).float(message.new_sanctioned_limit);
427
427
  }
428
- if (message.banner_sequence !== undefined) {
429
- exports.BannerSequenceMessage.encode(message.banner_sequence, writer.uint32(722).fork()).ldelim();
430
- }
431
- if (message.banner_journey_status !== undefined) {
432
- exports.BannerSequenceMessage.encode(message.banner_journey_status, writer.uint32(730).fork()).ldelim();
433
- }
434
- if (message.banner_lead_status !== undefined) {
435
- exports.BannerSequenceMessage.encode(message.banner_lead_status, writer.uint32(738).fork()).ldelim();
436
- }
428
+ Object.entries(message.banner_sequence).forEach(([key, value]) => {
429
+ exports.getCustomerByIdResponse_BannerSequenceEntry.encode({ key: key, value }, writer.uint32(722).fork())
430
+ .ldelim();
431
+ });
432
+ Object.entries(message.banner_journey_status).forEach(([key, value]) => {
433
+ exports.getCustomerByIdResponse_BannerJourneyStatusEntry.encode({ key: key, value }, writer.uint32(730).fork())
434
+ .ldelim();
435
+ });
436
+ Object.entries(message.banner_lead_status).forEach(([key, value]) => {
437
+ exports.getCustomerByIdResponse_BannerLeadStatusEntry.encode({ key: key, value }, writer.uint32(738).fork())
438
+ .ldelim();
439
+ });
437
440
  if (message.created_at !== "") {
438
441
  writer.uint32(746).string(message.created_at);
439
442
  }
@@ -978,19 +981,28 @@ exports.getCustomerByIdResponse = {
978
981
  if (tag !== 722) {
979
982
  break;
980
983
  }
981
- message.banner_sequence = exports.BannerSequenceMessage.decode(reader, reader.uint32());
984
+ const entry90 = exports.getCustomerByIdResponse_BannerSequenceEntry.decode(reader, reader.uint32());
985
+ if (entry90.value !== undefined) {
986
+ message.banner_sequence[entry90.key] = entry90.value;
987
+ }
982
988
  continue;
983
989
  case 91:
984
990
  if (tag !== 730) {
985
991
  break;
986
992
  }
987
- message.banner_journey_status = exports.BannerSequenceMessage.decode(reader, reader.uint32());
993
+ const entry91 = exports.getCustomerByIdResponse_BannerJourneyStatusEntry.decode(reader, reader.uint32());
994
+ if (entry91.value !== undefined) {
995
+ message.banner_journey_status[entry91.key] = entry91.value;
996
+ }
988
997
  continue;
989
998
  case 92:
990
999
  if (tag !== 738) {
991
1000
  break;
992
1001
  }
993
- message.banner_lead_status = exports.BannerSequenceMessage.decode(reader, reader.uint32());
1002
+ const entry92 = exports.getCustomerByIdResponse_BannerLeadStatusEntry.decode(reader, reader.uint32());
1003
+ if (entry92.value !== undefined) {
1004
+ message.banner_lead_status[entry92.key] = entry92.value;
1005
+ }
994
1006
  continue;
995
1007
  case 93:
996
1008
  if (tag !== 746) {
@@ -1096,15 +1108,24 @@ exports.getCustomerByIdResponse = {
1096
1108
  max_loc_limit: isSet(object.max_loc_limit) ? globalThis.Number(object.max_loc_limit) : undefined,
1097
1109
  enach_amount: isSet(object.enach_amount) ? globalThis.Number(object.enach_amount) : 0,
1098
1110
  new_sanctioned_limit: isSet(object.new_sanctioned_limit) ? globalThis.Number(object.new_sanctioned_limit) : 0,
1099
- banner_sequence: isSet(object.banner_sequence)
1100
- ? exports.BannerSequenceMessage.fromJSON(object.banner_sequence)
1101
- : undefined,
1102
- banner_journey_status: isSet(object.banner_journey_status)
1103
- ? exports.BannerSequenceMessage.fromJSON(object.banner_journey_status)
1104
- : undefined,
1105
- banner_lead_status: isSet(object.banner_lead_status)
1106
- ? exports.BannerSequenceMessage.fromJSON(object.banner_lead_status)
1107
- : undefined,
1111
+ banner_sequence: isObject(object.banner_sequence)
1112
+ ? Object.entries(object.banner_sequence).reduce((acc, [key, value]) => {
1113
+ acc[key] = String(value);
1114
+ return acc;
1115
+ }, {})
1116
+ : {},
1117
+ banner_journey_status: isObject(object.banner_journey_status)
1118
+ ? Object.entries(object.banner_journey_status).reduce((acc, [key, value]) => {
1119
+ acc[key] = String(value);
1120
+ return acc;
1121
+ }, {})
1122
+ : {},
1123
+ banner_lead_status: isObject(object.banner_lead_status)
1124
+ ? Object.entries(object.banner_lead_status).reduce((acc, [key, value]) => {
1125
+ acc[key] = String(value);
1126
+ return acc;
1127
+ }, {})
1128
+ : {},
1108
1129
  created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : "",
1109
1130
  };
1110
1131
  },
@@ -1374,14 +1395,32 @@ exports.getCustomerByIdResponse = {
1374
1395
  if (message.new_sanctioned_limit !== 0) {
1375
1396
  obj.new_sanctioned_limit = message.new_sanctioned_limit;
1376
1397
  }
1377
- if (message.banner_sequence !== undefined) {
1378
- obj.banner_sequence = exports.BannerSequenceMessage.toJSON(message.banner_sequence);
1398
+ if (message.banner_sequence) {
1399
+ const entries = Object.entries(message.banner_sequence);
1400
+ if (entries.length > 0) {
1401
+ obj.banner_sequence = {};
1402
+ entries.forEach(([k, v]) => {
1403
+ obj.banner_sequence[k] = v;
1404
+ });
1405
+ }
1379
1406
  }
1380
- if (message.banner_journey_status !== undefined) {
1381
- obj.banner_journey_status = exports.BannerSequenceMessage.toJSON(message.banner_journey_status);
1407
+ if (message.banner_journey_status) {
1408
+ const entries = Object.entries(message.banner_journey_status);
1409
+ if (entries.length > 0) {
1410
+ obj.banner_journey_status = {};
1411
+ entries.forEach(([k, v]) => {
1412
+ obj.banner_journey_status[k] = v;
1413
+ });
1414
+ }
1382
1415
  }
1383
- if (message.banner_lead_status !== undefined) {
1384
- obj.banner_lead_status = exports.BannerSequenceMessage.toJSON(message.banner_lead_status);
1416
+ if (message.banner_lead_status) {
1417
+ const entries = Object.entries(message.banner_lead_status);
1418
+ if (entries.length > 0) {
1419
+ obj.banner_lead_status = {};
1420
+ entries.forEach(([k, v]) => {
1421
+ obj.banner_lead_status[k] = v;
1422
+ });
1423
+ }
1385
1424
  }
1386
1425
  if (message.created_at !== "") {
1387
1426
  obj.created_at = message.created_at;
@@ -1489,20 +1528,226 @@ exports.getCustomerByIdResponse = {
1489
1528
  message.max_loc_limit = object.max_loc_limit ?? undefined;
1490
1529
  message.enach_amount = object.enach_amount ?? 0;
1491
1530
  message.new_sanctioned_limit = object.new_sanctioned_limit ?? 0;
1492
- message.banner_sequence = (object.banner_sequence !== undefined && object.banner_sequence !== null)
1493
- ? exports.BannerSequenceMessage.fromPartial(object.banner_sequence)
1494
- : undefined;
1495
- message.banner_journey_status =
1496
- (object.banner_journey_status !== undefined && object.banner_journey_status !== null)
1497
- ? exports.BannerSequenceMessage.fromPartial(object.banner_journey_status)
1498
- : undefined;
1499
- message.banner_lead_status = (object.banner_lead_status !== undefined && object.banner_lead_status !== null)
1500
- ? exports.BannerSequenceMessage.fromPartial(object.banner_lead_status)
1501
- : undefined;
1531
+ message.banner_sequence = Object.entries(object.banner_sequence ?? {}).reduce((acc, [key, value]) => {
1532
+ if (value !== undefined) {
1533
+ acc[key] = globalThis.String(value);
1534
+ }
1535
+ return acc;
1536
+ }, {});
1537
+ message.banner_journey_status = Object.entries(object.banner_journey_status ?? {}).reduce((acc, [key, value]) => {
1538
+ if (value !== undefined) {
1539
+ acc[key] = globalThis.String(value);
1540
+ }
1541
+ return acc;
1542
+ }, {});
1543
+ message.banner_lead_status = Object.entries(object.banner_lead_status ?? {}).reduce((acc, [key, value]) => {
1544
+ if (value !== undefined) {
1545
+ acc[key] = globalThis.String(value);
1546
+ }
1547
+ return acc;
1548
+ }, {});
1502
1549
  message.created_at = object.created_at ?? "";
1503
1550
  return message;
1504
1551
  },
1505
1552
  };
1553
+ function createBasegetCustomerByIdResponse_BannerSequenceEntry() {
1554
+ return { key: "", value: "" };
1555
+ }
1556
+ exports.getCustomerByIdResponse_BannerSequenceEntry = {
1557
+ encode(message, writer = minimal_1.default.Writer.create()) {
1558
+ if (message.key !== "") {
1559
+ writer.uint32(10).string(message.key);
1560
+ }
1561
+ if (message.value !== "") {
1562
+ writer.uint32(18).string(message.value);
1563
+ }
1564
+ return writer;
1565
+ },
1566
+ decode(input, length) {
1567
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1568
+ let end = length === undefined ? reader.len : reader.pos + length;
1569
+ const message = createBasegetCustomerByIdResponse_BannerSequenceEntry();
1570
+ while (reader.pos < end) {
1571
+ const tag = reader.uint32();
1572
+ switch (tag >>> 3) {
1573
+ case 1:
1574
+ if (tag !== 10) {
1575
+ break;
1576
+ }
1577
+ message.key = reader.string();
1578
+ continue;
1579
+ case 2:
1580
+ if (tag !== 18) {
1581
+ break;
1582
+ }
1583
+ message.value = reader.string();
1584
+ continue;
1585
+ }
1586
+ if ((tag & 7) === 4 || tag === 0) {
1587
+ break;
1588
+ }
1589
+ reader.skipType(tag & 7);
1590
+ }
1591
+ return message;
1592
+ },
1593
+ fromJSON(object) {
1594
+ return {
1595
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
1596
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
1597
+ };
1598
+ },
1599
+ toJSON(message) {
1600
+ const obj = {};
1601
+ if (message.key !== "") {
1602
+ obj.key = message.key;
1603
+ }
1604
+ if (message.value !== "") {
1605
+ obj.value = message.value;
1606
+ }
1607
+ return obj;
1608
+ },
1609
+ create(base) {
1610
+ return exports.getCustomerByIdResponse_BannerSequenceEntry.fromPartial(base ?? {});
1611
+ },
1612
+ fromPartial(object) {
1613
+ const message = createBasegetCustomerByIdResponse_BannerSequenceEntry();
1614
+ message.key = object.key ?? "";
1615
+ message.value = object.value ?? "";
1616
+ return message;
1617
+ },
1618
+ };
1619
+ function createBasegetCustomerByIdResponse_BannerJourneyStatusEntry() {
1620
+ return { key: "", value: "" };
1621
+ }
1622
+ exports.getCustomerByIdResponse_BannerJourneyStatusEntry = {
1623
+ encode(message, writer = minimal_1.default.Writer.create()) {
1624
+ if (message.key !== "") {
1625
+ writer.uint32(10).string(message.key);
1626
+ }
1627
+ if (message.value !== "") {
1628
+ writer.uint32(18).string(message.value);
1629
+ }
1630
+ return writer;
1631
+ },
1632
+ decode(input, length) {
1633
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1634
+ let end = length === undefined ? reader.len : reader.pos + length;
1635
+ const message = createBasegetCustomerByIdResponse_BannerJourneyStatusEntry();
1636
+ while (reader.pos < end) {
1637
+ const tag = reader.uint32();
1638
+ switch (tag >>> 3) {
1639
+ case 1:
1640
+ if (tag !== 10) {
1641
+ break;
1642
+ }
1643
+ message.key = reader.string();
1644
+ continue;
1645
+ case 2:
1646
+ if (tag !== 18) {
1647
+ break;
1648
+ }
1649
+ message.value = reader.string();
1650
+ continue;
1651
+ }
1652
+ if ((tag & 7) === 4 || tag === 0) {
1653
+ break;
1654
+ }
1655
+ reader.skipType(tag & 7);
1656
+ }
1657
+ return message;
1658
+ },
1659
+ fromJSON(object) {
1660
+ return {
1661
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
1662
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
1663
+ };
1664
+ },
1665
+ toJSON(message) {
1666
+ const obj = {};
1667
+ if (message.key !== "") {
1668
+ obj.key = message.key;
1669
+ }
1670
+ if (message.value !== "") {
1671
+ obj.value = message.value;
1672
+ }
1673
+ return obj;
1674
+ },
1675
+ create(base) {
1676
+ return exports.getCustomerByIdResponse_BannerJourneyStatusEntry.fromPartial(base ?? {});
1677
+ },
1678
+ fromPartial(object) {
1679
+ const message = createBasegetCustomerByIdResponse_BannerJourneyStatusEntry();
1680
+ message.key = object.key ?? "";
1681
+ message.value = object.value ?? "";
1682
+ return message;
1683
+ },
1684
+ };
1685
+ function createBasegetCustomerByIdResponse_BannerLeadStatusEntry() {
1686
+ return { key: "", value: "" };
1687
+ }
1688
+ exports.getCustomerByIdResponse_BannerLeadStatusEntry = {
1689
+ encode(message, writer = minimal_1.default.Writer.create()) {
1690
+ if (message.key !== "") {
1691
+ writer.uint32(10).string(message.key);
1692
+ }
1693
+ if (message.value !== "") {
1694
+ writer.uint32(18).string(message.value);
1695
+ }
1696
+ return writer;
1697
+ },
1698
+ decode(input, length) {
1699
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1700
+ let end = length === undefined ? reader.len : reader.pos + length;
1701
+ const message = createBasegetCustomerByIdResponse_BannerLeadStatusEntry();
1702
+ while (reader.pos < end) {
1703
+ const tag = reader.uint32();
1704
+ switch (tag >>> 3) {
1705
+ case 1:
1706
+ if (tag !== 10) {
1707
+ break;
1708
+ }
1709
+ message.key = reader.string();
1710
+ continue;
1711
+ case 2:
1712
+ if (tag !== 18) {
1713
+ break;
1714
+ }
1715
+ message.value = reader.string();
1716
+ continue;
1717
+ }
1718
+ if ((tag & 7) === 4 || tag === 0) {
1719
+ break;
1720
+ }
1721
+ reader.skipType(tag & 7);
1722
+ }
1723
+ return message;
1724
+ },
1725
+ fromJSON(object) {
1726
+ return {
1727
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
1728
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
1729
+ };
1730
+ },
1731
+ toJSON(message) {
1732
+ const obj = {};
1733
+ if (message.key !== "") {
1734
+ obj.key = message.key;
1735
+ }
1736
+ if (message.value !== "") {
1737
+ obj.value = message.value;
1738
+ }
1739
+ return obj;
1740
+ },
1741
+ create(base) {
1742
+ return exports.getCustomerByIdResponse_BannerLeadStatusEntry.fromPartial(base ?? {});
1743
+ },
1744
+ fromPartial(object) {
1745
+ const message = createBasegetCustomerByIdResponse_BannerLeadStatusEntry();
1746
+ message.key = object.key ?? "";
1747
+ message.value = object.value ?? "";
1748
+ return message;
1749
+ },
1750
+ };
1506
1751
  function createBaseAddress() {
1507
1752
  return {
1508
1753
  house_flat_no: undefined,
@@ -1648,7 +1893,13 @@ exports.Address = {
1648
1893
  },
1649
1894
  };
1650
1895
  function createBaseBankDetails() {
1651
- return { bank_id: undefined, bank_name: undefined, account_number: undefined, ifsc_code: undefined };
1896
+ return {
1897
+ bank_id: undefined,
1898
+ bank_name: undefined,
1899
+ account_number: undefined,
1900
+ ifsc_code: undefined,
1901
+ holder_name: undefined,
1902
+ };
1652
1903
  }
1653
1904
  exports.BankDetails = {
1654
1905
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -1664,6 +1915,9 @@ exports.BankDetails = {
1664
1915
  if (message.ifsc_code !== undefined) {
1665
1916
  writer.uint32(34).string(message.ifsc_code);
1666
1917
  }
1918
+ if (message.holder_name !== undefined) {
1919
+ writer.uint32(42).string(message.holder_name);
1920
+ }
1667
1921
  return writer;
1668
1922
  },
1669
1923
  decode(input, length) {
@@ -1697,6 +1951,12 @@ exports.BankDetails = {
1697
1951
  }
1698
1952
  message.ifsc_code = reader.string();
1699
1953
  continue;
1954
+ case 5:
1955
+ if (tag !== 42) {
1956
+ break;
1957
+ }
1958
+ message.holder_name = reader.string();
1959
+ continue;
1700
1960
  }
1701
1961
  if ((tag & 7) === 4 || tag === 0) {
1702
1962
  break;
@@ -1711,6 +1971,7 @@ exports.BankDetails = {
1711
1971
  bank_name: isSet(object.bank_name) ? globalThis.String(object.bank_name) : undefined,
1712
1972
  account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : undefined,
1713
1973
  ifsc_code: isSet(object.ifsc_code) ? globalThis.String(object.ifsc_code) : undefined,
1974
+ holder_name: isSet(object.holder_name) ? globalThis.String(object.holder_name) : undefined,
1714
1975
  };
1715
1976
  },
1716
1977
  toJSON(message) {
@@ -1727,6 +1988,9 @@ exports.BankDetails = {
1727
1988
  if (message.ifsc_code !== undefined) {
1728
1989
  obj.ifsc_code = message.ifsc_code;
1729
1990
  }
1991
+ if (message.holder_name !== undefined) {
1992
+ obj.holder_name = message.holder_name;
1993
+ }
1730
1994
  return obj;
1731
1995
  },
1732
1996
  create(base) {
@@ -1738,56 +2002,7 @@ exports.BankDetails = {
1738
2002
  message.bank_name = object.bank_name ?? undefined;
1739
2003
  message.account_number = object.account_number ?? undefined;
1740
2004
  message.ifsc_code = object.ifsc_code ?? undefined;
1741
- return message;
1742
- },
1743
- };
1744
- function createBaseBannerSequenceMessage() {
1745
- return { lamf: undefined };
1746
- }
1747
- exports.BannerSequenceMessage = {
1748
- encode(message, writer = minimal_1.default.Writer.create()) {
1749
- if (message.lamf !== undefined) {
1750
- writer.uint32(10).string(message.lamf);
1751
- }
1752
- return writer;
1753
- },
1754
- decode(input, length) {
1755
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1756
- let end = length === undefined ? reader.len : reader.pos + length;
1757
- const message = createBaseBannerSequenceMessage();
1758
- while (reader.pos < end) {
1759
- const tag = reader.uint32();
1760
- switch (tag >>> 3) {
1761
- case 1:
1762
- if (tag !== 10) {
1763
- break;
1764
- }
1765
- message.lamf = reader.string();
1766
- continue;
1767
- }
1768
- if ((tag & 7) === 4 || tag === 0) {
1769
- break;
1770
- }
1771
- reader.skipType(tag & 7);
1772
- }
1773
- return message;
1774
- },
1775
- fromJSON(object) {
1776
- return { lamf: isSet(object.lamf) ? globalThis.String(object.lamf) : undefined };
1777
- },
1778
- toJSON(message) {
1779
- const obj = {};
1780
- if (message.lamf !== undefined) {
1781
- obj.lamf = message.lamf;
1782
- }
1783
- return obj;
1784
- },
1785
- create(base) {
1786
- return exports.BannerSequenceMessage.fromPartial(base ?? {});
1787
- },
1788
- fromPartial(object) {
1789
- const message = createBaseBannerSequenceMessage();
1790
- message.lamf = object.lamf ?? undefined;
2005
+ message.holder_name = object.holder_name ?? undefined;
1791
2006
  return message;
1792
2007
  },
1793
2008
  };
@@ -1804,6 +2019,9 @@ if (minimal_1.default.util.Long !== long_1.default) {
1804
2019
  minimal_1.default.util.Long = long_1.default;
1805
2020
  minimal_1.default.configure();
1806
2021
  }
2022
+ function isObject(value) {
2023
+ return typeof value === "object" && value !== null;
2024
+ }
1807
2025
  function isSet(value) {
1808
2026
  return value !== null && value !== undefined;
1809
2027
  }
@@ -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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getcustomerdetailsbymobile.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getdashboard.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getdashboardmaincard.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getdocuments.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getglobalpopups.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getlimit.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getloclimit.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getmessengermode.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getoccupationlist.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getpaymentoptions.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getprofessionalinfo.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.0
5
- // protoc v5.29.0
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: customers/getprofile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };