@stashfin/grpc 1.2.127 → 1.2.129

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 (115) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getbureau.d.ts +157 -0
  4. package/ts/bureau/getbureau.js +1376 -0
  5. package/ts/bureau/getdemogs.js +1 -1
  6. package/ts/bureau/getreport.d.ts +1 -1
  7. package/ts/bureau/getreport.js +9 -9
  8. package/ts/bureau.js +1 -1
  9. package/ts/colender/disburseLoan.js +1 -1
  10. package/ts/colender/forecloseLoan.js +1 -1
  11. package/ts/colender/repayLoan.js +1 -1
  12. package/ts/colender.js +1 -1
  13. package/ts/customers/aa/getbanklist.js +1 -1
  14. package/ts/customers/aa/initiate.js +1 -1
  15. package/ts/customers/addaddress.js +1 -1
  16. package/ts/customers/addbankaccountdetails.js +1 -1
  17. package/ts/customers/addgstnumber.js +1 -1
  18. package/ts/customers/addsuspendedcustomer.js +1 -1
  19. package/ts/customers/adduserapps.js +1 -1
  20. package/ts/customers/changempin.js +1 -1
  21. package/ts/customers/createcustomerreference.js +1 -1
  22. package/ts/customers/deleteprofile.js +1 -1
  23. package/ts/customers/disablempin.js +1 -1
  24. package/ts/customers/fetchrcprofile.js +1 -1
  25. package/ts/customers/forgotmpin.js +1 -1
  26. package/ts/customers/forgotmpinotp.js +2 -2
  27. package/ts/customers/forgotmpinverify.js +1 -1
  28. package/ts/customers/getbankaccountdetails.js +1 -1
  29. package/ts/customers/getbanklist.d.ts +48 -0
  30. package/ts/customers/getbanklist.js +198 -0
  31. package/ts/customers/getbasicinfo.js +1 -1
  32. package/ts/customers/getcities.js +1 -1
  33. package/ts/customers/getcustomerbyid.js +1 -1
  34. package/ts/customers/getdashboard.js +1 -1
  35. package/ts/customers/getdashboardmaincard.js +1 -1
  36. package/ts/customers/getdocuments.js +1 -1
  37. package/ts/customers/getkycweburl.js +2 -2
  38. package/ts/customers/getprofessionalinfo.js +1 -1
  39. package/ts/customers/getprofile.js +1 -1
  40. package/ts/customers/getstates.js +1 -1
  41. package/ts/customers/getstep.js +1 -1
  42. package/ts/customers/profilebasic.js +1 -1
  43. package/ts/customers/profileupdatetnc.js +1 -1
  44. package/ts/customers/resetmpin.js +2 -2
  45. package/ts/customers/savebasicdetails.js +1 -1
  46. package/ts/customers/saveunlocklimit.js +1 -1
  47. package/ts/customers/sendemailtoken.js +2 -2
  48. package/ts/customers/sendotp.js +1 -1
  49. package/ts/customers/sendotptoemail.js +1 -1
  50. package/ts/customers/setmpin.js +1 -1
  51. package/ts/customers/step1.d.ts +71 -0
  52. package/ts/customers/step1.js +423 -0
  53. package/ts/customers/step10.js +1 -1
  54. package/ts/customers/step2.d.ts +67 -0
  55. package/ts/customers/step2.js +366 -0
  56. package/ts/customers/step7.js +1 -1
  57. package/ts/customers/step8.js +1 -1
  58. package/ts/customers/step9.js +1 -1
  59. package/ts/customers/stepstatic.js +1 -1
  60. package/ts/customers/updatedigilockertxn.js +2 -2
  61. package/ts/customers/updatedob.js +1 -1
  62. package/ts/customers/updatehypervergetxn.js +2 -2
  63. package/ts/customers/updatelocdisabled.d.ts +35 -0
  64. package/ts/customers/updatelocdisabled.js +117 -0
  65. package/ts/customers/updatelocstatus.js +1 -1
  66. package/ts/customers/updatemobile.d.ts +35 -0
  67. package/ts/customers/updatemobile.js +117 -0
  68. package/ts/customers/updatemobilesendotp.js +1 -1
  69. package/ts/customers/updatemobileverifyotp.js +1 -1
  70. package/ts/customers/updateokyctxn.js +1 -1
  71. package/ts/customers/validatepan.js +1 -1
  72. package/ts/customers/verifyemail.js +2 -2
  73. package/ts/customers/verifympin.js +1 -1
  74. package/ts/customers/verifyotp.js +1 -1
  75. package/ts/customers/verifyotptoemail.js +1 -1
  76. package/ts/customers.js +1 -1
  77. package/ts/example.js +1 -1
  78. package/ts/google/protobuf/timestamp.js +1 -1
  79. package/ts/loans/approveloan.js +1 -1
  80. package/ts/loans/banklist.js +1 -1
  81. package/ts/loans/calculateemi.d.ts +5 -0
  82. package/ts/loans/calculateemi.js +83 -2
  83. package/ts/loans/creditlimit.js +1 -1
  84. package/ts/loans/futurepaymentmoredetails.js +1 -1
  85. package/ts/loans/getcustomerloanstatus.js +1 -1
  86. package/ts/loans/getpendingemiamount.js +1 -1
  87. package/ts/loans/getstaticfields.d.ts +86 -0
  88. package/ts/loans/getstaticfields.js +801 -0
  89. package/ts/loans/getsummarystaticfields.js +1 -1
  90. package/ts/loans/loansummary.js +1 -1
  91. package/ts/loans/paymentallocation.js +1 -1
  92. package/ts/loans/paymenthistory.js +1 -1
  93. package/ts/loans/restructureloan.js +1 -1
  94. package/ts/loans/sendemail.js +1 -1
  95. package/ts/loans/sendnocemail.js +1 -1
  96. package/ts/loans/transactionlist.js +1 -1
  97. package/ts/loans/updateinstallments.js +1 -1
  98. package/ts/loans/updateloan.js +1 -1
  99. package/ts/loans.js +1 -1
  100. package/ts/payments.d.ts +211 -42
  101. package/ts/payments.js +1092 -29
  102. package/ts/stashcash/creditsc.js +1 -1
  103. package/ts/stashcash/debitsc.js +1 -1
  104. package/ts/stashcash/getscbalance.js +1 -1
  105. package/ts/stashcash/getschistory.js +1 -1
  106. package/ts/stashcash/reversesc.js +1 -1
  107. package/ts/stashcash.js +1 -1
  108. package/ts/payments/checkpaymentstatus.d.ts +0 -51
  109. package/ts/payments/checkpaymentstatus.js +0 -259
  110. package/ts/payments/getpaymentoptions.d.ts +0 -50
  111. package/ts/payments/getpaymentoptions.js +0 -233
  112. package/ts/payments/initiatepayment.d.ts +0 -67
  113. package/ts/payments/initiatepayment.js +0 -381
  114. package/ts/payments/nachregistration.d.ts +0 -51
  115. package/ts/payments/nachregistration.js +0 -257
@@ -0,0 +1,801 @@
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.27.3
6
+ // source: loans/getstaticfields.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.getStaticFieldsResponse_Field = exports.getStaticFieldsResponse = exports.getStaticFieldsRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getstaticfields";
15
+ function createBasegetStaticFieldsRequest() {
16
+ return {};
17
+ }
18
+ exports.getStaticFieldsRequest = {
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 = createBasegetStaticFieldsRequest();
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.getStaticFieldsRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetStaticFieldsRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasegetStaticFieldsResponse() {
53
+ return {
54
+ sanctioned_limit_info_popup_heading: "",
55
+ sanctioned_limit_info_popup_body: "",
56
+ exposure_limit_info_popup_heading: "",
57
+ exposure_limit_info_popup_body: "",
58
+ sanctioned_limit_heading: "",
59
+ exposure_limit_heading: "",
60
+ emi_date_l: "",
61
+ emi_amount_l: "",
62
+ first_emi_date_l: "",
63
+ final_disbursal_amount_l: "",
64
+ upfront_interest_l: "",
65
+ processing_fees_l: "",
66
+ gst_l: "",
67
+ rate_of_interest_l: "",
68
+ bill_amount_l: "",
69
+ early_foreclosure_fees_l: "",
70
+ convenience_fees_l: "",
71
+ total_interest_pay_l: "",
72
+ effective_annual_rate_l: "",
73
+ trans_fee_plus_gst_l: "",
74
+ processing_fee_plus_gst_l: "",
75
+ max_amount_l: "",
76
+ credit_report_fees_l: "",
77
+ fee_and_charges_l: "",
78
+ add_on_l: "",
79
+ total_loan_amount_l: "",
80
+ loan_amount_l: "",
81
+ disbursed_amount_l: "",
82
+ total_payable_amount_l: "",
83
+ disbursal_amount_l: "",
84
+ number_of_emi_l: "",
85
+ first_emi_amt_l: "",
86
+ subsequent_emi_l: "",
87
+ effective_roi_l: "",
88
+ effective_annual_roi_l: "",
89
+ insurance_l: "",
90
+ apr_title: "",
91
+ insurance_desc: [],
92
+ insurance_title: "",
93
+ upfront_interest_description: "",
94
+ };
95
+ }
96
+ exports.getStaticFieldsResponse = {
97
+ encode(message, writer = minimal_1.default.Writer.create()) {
98
+ if (message.sanctioned_limit_info_popup_heading !== "") {
99
+ writer.uint32(10).string(message.sanctioned_limit_info_popup_heading);
100
+ }
101
+ if (message.sanctioned_limit_info_popup_body !== "") {
102
+ writer.uint32(18).string(message.sanctioned_limit_info_popup_body);
103
+ }
104
+ if (message.exposure_limit_info_popup_heading !== "") {
105
+ writer.uint32(26).string(message.exposure_limit_info_popup_heading);
106
+ }
107
+ if (message.exposure_limit_info_popup_body !== "") {
108
+ writer.uint32(34).string(message.exposure_limit_info_popup_body);
109
+ }
110
+ if (message.sanctioned_limit_heading !== "") {
111
+ writer.uint32(42).string(message.sanctioned_limit_heading);
112
+ }
113
+ if (message.exposure_limit_heading !== "") {
114
+ writer.uint32(50).string(message.exposure_limit_heading);
115
+ }
116
+ if (message.emi_date_l !== "") {
117
+ writer.uint32(58).string(message.emi_date_l);
118
+ }
119
+ if (message.emi_amount_l !== "") {
120
+ writer.uint32(66).string(message.emi_amount_l);
121
+ }
122
+ if (message.first_emi_date_l !== "") {
123
+ writer.uint32(74).string(message.first_emi_date_l);
124
+ }
125
+ if (message.final_disbursal_amount_l !== "") {
126
+ writer.uint32(82).string(message.final_disbursal_amount_l);
127
+ }
128
+ if (message.upfront_interest_l !== "") {
129
+ writer.uint32(90).string(message.upfront_interest_l);
130
+ }
131
+ if (message.processing_fees_l !== "") {
132
+ writer.uint32(98).string(message.processing_fees_l);
133
+ }
134
+ if (message.gst_l !== "") {
135
+ writer.uint32(106).string(message.gst_l);
136
+ }
137
+ if (message.rate_of_interest_l !== "") {
138
+ writer.uint32(114).string(message.rate_of_interest_l);
139
+ }
140
+ if (message.bill_amount_l !== "") {
141
+ writer.uint32(122).string(message.bill_amount_l);
142
+ }
143
+ if (message.early_foreclosure_fees_l !== "") {
144
+ writer.uint32(130).string(message.early_foreclosure_fees_l);
145
+ }
146
+ if (message.convenience_fees_l !== "") {
147
+ writer.uint32(138).string(message.convenience_fees_l);
148
+ }
149
+ if (message.total_interest_pay_l !== "") {
150
+ writer.uint32(146).string(message.total_interest_pay_l);
151
+ }
152
+ if (message.effective_annual_rate_l !== "") {
153
+ writer.uint32(154).string(message.effective_annual_rate_l);
154
+ }
155
+ if (message.trans_fee_plus_gst_l !== "") {
156
+ writer.uint32(162).string(message.trans_fee_plus_gst_l);
157
+ }
158
+ if (message.processing_fee_plus_gst_l !== "") {
159
+ writer.uint32(170).string(message.processing_fee_plus_gst_l);
160
+ }
161
+ if (message.max_amount_l !== "") {
162
+ writer.uint32(178).string(message.max_amount_l);
163
+ }
164
+ if (message.credit_report_fees_l !== "") {
165
+ writer.uint32(186).string(message.credit_report_fees_l);
166
+ }
167
+ if (message.fee_and_charges_l !== "") {
168
+ writer.uint32(194).string(message.fee_and_charges_l);
169
+ }
170
+ if (message.add_on_l !== "") {
171
+ writer.uint32(202).string(message.add_on_l);
172
+ }
173
+ if (message.total_loan_amount_l !== "") {
174
+ writer.uint32(210).string(message.total_loan_amount_l);
175
+ }
176
+ if (message.loan_amount_l !== "") {
177
+ writer.uint32(218).string(message.loan_amount_l);
178
+ }
179
+ if (message.disbursed_amount_l !== "") {
180
+ writer.uint32(226).string(message.disbursed_amount_l);
181
+ }
182
+ if (message.total_payable_amount_l !== "") {
183
+ writer.uint32(234).string(message.total_payable_amount_l);
184
+ }
185
+ if (message.disbursal_amount_l !== "") {
186
+ writer.uint32(242).string(message.disbursal_amount_l);
187
+ }
188
+ if (message.number_of_emi_l !== "") {
189
+ writer.uint32(250).string(message.number_of_emi_l);
190
+ }
191
+ if (message.first_emi_amt_l !== "") {
192
+ writer.uint32(258).string(message.first_emi_amt_l);
193
+ }
194
+ if (message.subsequent_emi_l !== "") {
195
+ writer.uint32(266).string(message.subsequent_emi_l);
196
+ }
197
+ if (message.effective_roi_l !== "") {
198
+ writer.uint32(274).string(message.effective_roi_l);
199
+ }
200
+ if (message.effective_annual_roi_l !== "") {
201
+ writer.uint32(282).string(message.effective_annual_roi_l);
202
+ }
203
+ if (message.insurance_l !== "") {
204
+ writer.uint32(290).string(message.insurance_l);
205
+ }
206
+ if (message.apr_title !== "") {
207
+ writer.uint32(298).string(message.apr_title);
208
+ }
209
+ for (const v of message.insurance_desc) {
210
+ exports.getStaticFieldsResponse_Field.encode(v, writer.uint32(306).fork()).ldelim();
211
+ }
212
+ if (message.insurance_title !== "") {
213
+ writer.uint32(314).string(message.insurance_title);
214
+ }
215
+ if (message.upfront_interest_description !== "") {
216
+ writer.uint32(322).string(message.upfront_interest_description);
217
+ }
218
+ return writer;
219
+ },
220
+ decode(input, length) {
221
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
222
+ let end = length === undefined ? reader.len : reader.pos + length;
223
+ const message = createBasegetStaticFieldsResponse();
224
+ while (reader.pos < end) {
225
+ const tag = reader.uint32();
226
+ switch (tag >>> 3) {
227
+ case 1:
228
+ if (tag !== 10) {
229
+ break;
230
+ }
231
+ message.sanctioned_limit_info_popup_heading = reader.string();
232
+ continue;
233
+ case 2:
234
+ if (tag !== 18) {
235
+ break;
236
+ }
237
+ message.sanctioned_limit_info_popup_body = reader.string();
238
+ continue;
239
+ case 3:
240
+ if (tag !== 26) {
241
+ break;
242
+ }
243
+ message.exposure_limit_info_popup_heading = reader.string();
244
+ continue;
245
+ case 4:
246
+ if (tag !== 34) {
247
+ break;
248
+ }
249
+ message.exposure_limit_info_popup_body = reader.string();
250
+ continue;
251
+ case 5:
252
+ if (tag !== 42) {
253
+ break;
254
+ }
255
+ message.sanctioned_limit_heading = reader.string();
256
+ continue;
257
+ case 6:
258
+ if (tag !== 50) {
259
+ break;
260
+ }
261
+ message.exposure_limit_heading = reader.string();
262
+ continue;
263
+ case 7:
264
+ if (tag !== 58) {
265
+ break;
266
+ }
267
+ message.emi_date_l = reader.string();
268
+ continue;
269
+ case 8:
270
+ if (tag !== 66) {
271
+ break;
272
+ }
273
+ message.emi_amount_l = reader.string();
274
+ continue;
275
+ case 9:
276
+ if (tag !== 74) {
277
+ break;
278
+ }
279
+ message.first_emi_date_l = reader.string();
280
+ continue;
281
+ case 10:
282
+ if (tag !== 82) {
283
+ break;
284
+ }
285
+ message.final_disbursal_amount_l = reader.string();
286
+ continue;
287
+ case 11:
288
+ if (tag !== 90) {
289
+ break;
290
+ }
291
+ message.upfront_interest_l = reader.string();
292
+ continue;
293
+ case 12:
294
+ if (tag !== 98) {
295
+ break;
296
+ }
297
+ message.processing_fees_l = reader.string();
298
+ continue;
299
+ case 13:
300
+ if (tag !== 106) {
301
+ break;
302
+ }
303
+ message.gst_l = reader.string();
304
+ continue;
305
+ case 14:
306
+ if (tag !== 114) {
307
+ break;
308
+ }
309
+ message.rate_of_interest_l = reader.string();
310
+ continue;
311
+ case 15:
312
+ if (tag !== 122) {
313
+ break;
314
+ }
315
+ message.bill_amount_l = reader.string();
316
+ continue;
317
+ case 16:
318
+ if (tag !== 130) {
319
+ break;
320
+ }
321
+ message.early_foreclosure_fees_l = reader.string();
322
+ continue;
323
+ case 17:
324
+ if (tag !== 138) {
325
+ break;
326
+ }
327
+ message.convenience_fees_l = reader.string();
328
+ continue;
329
+ case 18:
330
+ if (tag !== 146) {
331
+ break;
332
+ }
333
+ message.total_interest_pay_l = reader.string();
334
+ continue;
335
+ case 19:
336
+ if (tag !== 154) {
337
+ break;
338
+ }
339
+ message.effective_annual_rate_l = reader.string();
340
+ continue;
341
+ case 20:
342
+ if (tag !== 162) {
343
+ break;
344
+ }
345
+ message.trans_fee_plus_gst_l = reader.string();
346
+ continue;
347
+ case 21:
348
+ if (tag !== 170) {
349
+ break;
350
+ }
351
+ message.processing_fee_plus_gst_l = reader.string();
352
+ continue;
353
+ case 22:
354
+ if (tag !== 178) {
355
+ break;
356
+ }
357
+ message.max_amount_l = reader.string();
358
+ continue;
359
+ case 23:
360
+ if (tag !== 186) {
361
+ break;
362
+ }
363
+ message.credit_report_fees_l = reader.string();
364
+ continue;
365
+ case 24:
366
+ if (tag !== 194) {
367
+ break;
368
+ }
369
+ message.fee_and_charges_l = reader.string();
370
+ continue;
371
+ case 25:
372
+ if (tag !== 202) {
373
+ break;
374
+ }
375
+ message.add_on_l = reader.string();
376
+ continue;
377
+ case 26:
378
+ if (tag !== 210) {
379
+ break;
380
+ }
381
+ message.total_loan_amount_l = reader.string();
382
+ continue;
383
+ case 27:
384
+ if (tag !== 218) {
385
+ break;
386
+ }
387
+ message.loan_amount_l = reader.string();
388
+ continue;
389
+ case 28:
390
+ if (tag !== 226) {
391
+ break;
392
+ }
393
+ message.disbursed_amount_l = reader.string();
394
+ continue;
395
+ case 29:
396
+ if (tag !== 234) {
397
+ break;
398
+ }
399
+ message.total_payable_amount_l = reader.string();
400
+ continue;
401
+ case 30:
402
+ if (tag !== 242) {
403
+ break;
404
+ }
405
+ message.disbursal_amount_l = reader.string();
406
+ continue;
407
+ case 31:
408
+ if (tag !== 250) {
409
+ break;
410
+ }
411
+ message.number_of_emi_l = reader.string();
412
+ continue;
413
+ case 32:
414
+ if (tag !== 258) {
415
+ break;
416
+ }
417
+ message.first_emi_amt_l = reader.string();
418
+ continue;
419
+ case 33:
420
+ if (tag !== 266) {
421
+ break;
422
+ }
423
+ message.subsequent_emi_l = reader.string();
424
+ continue;
425
+ case 34:
426
+ if (tag !== 274) {
427
+ break;
428
+ }
429
+ message.effective_roi_l = reader.string();
430
+ continue;
431
+ case 35:
432
+ if (tag !== 282) {
433
+ break;
434
+ }
435
+ message.effective_annual_roi_l = reader.string();
436
+ continue;
437
+ case 36:
438
+ if (tag !== 290) {
439
+ break;
440
+ }
441
+ message.insurance_l = reader.string();
442
+ continue;
443
+ case 37:
444
+ if (tag !== 298) {
445
+ break;
446
+ }
447
+ message.apr_title = reader.string();
448
+ continue;
449
+ case 38:
450
+ if (tag !== 306) {
451
+ break;
452
+ }
453
+ message.insurance_desc.push(exports.getStaticFieldsResponse_Field.decode(reader, reader.uint32()));
454
+ continue;
455
+ case 39:
456
+ if (tag !== 314) {
457
+ break;
458
+ }
459
+ message.insurance_title = reader.string();
460
+ continue;
461
+ case 40:
462
+ if (tag !== 322) {
463
+ break;
464
+ }
465
+ message.upfront_interest_description = reader.string();
466
+ continue;
467
+ }
468
+ if ((tag & 7) === 4 || tag === 0) {
469
+ break;
470
+ }
471
+ reader.skipType(tag & 7);
472
+ }
473
+ return message;
474
+ },
475
+ fromJSON(object) {
476
+ return {
477
+ sanctioned_limit_info_popup_heading: isSet(object.sanctioned_limit_info_popup_heading)
478
+ ? globalThis.String(object.sanctioned_limit_info_popup_heading)
479
+ : "",
480
+ sanctioned_limit_info_popup_body: isSet(object.sanctioned_limit_info_popup_body)
481
+ ? globalThis.String(object.sanctioned_limit_info_popup_body)
482
+ : "",
483
+ exposure_limit_info_popup_heading: isSet(object.exposure_limit_info_popup_heading)
484
+ ? globalThis.String(object.exposure_limit_info_popup_heading)
485
+ : "",
486
+ exposure_limit_info_popup_body: isSet(object.exposure_limit_info_popup_body)
487
+ ? globalThis.String(object.exposure_limit_info_popup_body)
488
+ : "",
489
+ sanctioned_limit_heading: isSet(object.sanctioned_limit_heading)
490
+ ? globalThis.String(object.sanctioned_limit_heading)
491
+ : "",
492
+ exposure_limit_heading: isSet(object.exposure_limit_heading)
493
+ ? globalThis.String(object.exposure_limit_heading)
494
+ : "",
495
+ emi_date_l: isSet(object.emi_date_l) ? globalThis.String(object.emi_date_l) : "",
496
+ emi_amount_l: isSet(object.emi_amount_l) ? globalThis.String(object.emi_amount_l) : "",
497
+ first_emi_date_l: isSet(object.first_emi_date_l) ? globalThis.String(object.first_emi_date_l) : "",
498
+ final_disbursal_amount_l: isSet(object.final_disbursal_amount_l)
499
+ ? globalThis.String(object.final_disbursal_amount_l)
500
+ : "",
501
+ upfront_interest_l: isSet(object.upfront_interest_l) ? globalThis.String(object.upfront_interest_l) : "",
502
+ processing_fees_l: isSet(object.processing_fees_l) ? globalThis.String(object.processing_fees_l) : "",
503
+ gst_l: isSet(object.gst_l) ? globalThis.String(object.gst_l) : "",
504
+ rate_of_interest_l: isSet(object.rate_of_interest_l) ? globalThis.String(object.rate_of_interest_l) : "",
505
+ bill_amount_l: isSet(object.bill_amount_l) ? globalThis.String(object.bill_amount_l) : "",
506
+ early_foreclosure_fees_l: isSet(object.early_foreclosure_fees_l)
507
+ ? globalThis.String(object.early_foreclosure_fees_l)
508
+ : "",
509
+ convenience_fees_l: isSet(object.convenience_fees_l) ? globalThis.String(object.convenience_fees_l) : "",
510
+ total_interest_pay_l: isSet(object.total_interest_pay_l) ? globalThis.String(object.total_interest_pay_l) : "",
511
+ effective_annual_rate_l: isSet(object.effective_annual_rate_l)
512
+ ? globalThis.String(object.effective_annual_rate_l)
513
+ : "",
514
+ trans_fee_plus_gst_l: isSet(object.trans_fee_plus_gst_l) ? globalThis.String(object.trans_fee_plus_gst_l) : "",
515
+ processing_fee_plus_gst_l: isSet(object.processing_fee_plus_gst_l)
516
+ ? globalThis.String(object.processing_fee_plus_gst_l)
517
+ : "",
518
+ max_amount_l: isSet(object.max_amount_l) ? globalThis.String(object.max_amount_l) : "",
519
+ credit_report_fees_l: isSet(object.credit_report_fees_l) ? globalThis.String(object.credit_report_fees_l) : "",
520
+ fee_and_charges_l: isSet(object.fee_and_charges_l) ? globalThis.String(object.fee_and_charges_l) : "",
521
+ add_on_l: isSet(object.add_on_l) ? globalThis.String(object.add_on_l) : "",
522
+ total_loan_amount_l: isSet(object.total_loan_amount_l) ? globalThis.String(object.total_loan_amount_l) : "",
523
+ loan_amount_l: isSet(object.loan_amount_l) ? globalThis.String(object.loan_amount_l) : "",
524
+ disbursed_amount_l: isSet(object.disbursed_amount_l) ? globalThis.String(object.disbursed_amount_l) : "",
525
+ total_payable_amount_l: isSet(object.total_payable_amount_l)
526
+ ? globalThis.String(object.total_payable_amount_l)
527
+ : "",
528
+ disbursal_amount_l: isSet(object.disbursal_amount_l) ? globalThis.String(object.disbursal_amount_l) : "",
529
+ number_of_emi_l: isSet(object.number_of_emi_l) ? globalThis.String(object.number_of_emi_l) : "",
530
+ first_emi_amt_l: isSet(object.first_emi_amt_l) ? globalThis.String(object.first_emi_amt_l) : "",
531
+ subsequent_emi_l: isSet(object.subsequent_emi_l) ? globalThis.String(object.subsequent_emi_l) : "",
532
+ effective_roi_l: isSet(object.effective_roi_l) ? globalThis.String(object.effective_roi_l) : "",
533
+ effective_annual_roi_l: isSet(object.effective_annual_roi_l)
534
+ ? globalThis.String(object.effective_annual_roi_l)
535
+ : "",
536
+ insurance_l: isSet(object.insurance_l) ? globalThis.String(object.insurance_l) : "",
537
+ apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) : "",
538
+ insurance_desc: globalThis.Array.isArray(object?.insurance_desc)
539
+ ? object.insurance_desc.map((e) => exports.getStaticFieldsResponse_Field.fromJSON(e))
540
+ : [],
541
+ insurance_title: isSet(object.insurance_title) ? globalThis.String(object.insurance_title) : "",
542
+ upfront_interest_description: isSet(object.upfront_interest_description)
543
+ ? globalThis.String(object.upfront_interest_description)
544
+ : "",
545
+ };
546
+ },
547
+ toJSON(message) {
548
+ const obj = {};
549
+ if (message.sanctioned_limit_info_popup_heading !== "") {
550
+ obj.sanctioned_limit_info_popup_heading = message.sanctioned_limit_info_popup_heading;
551
+ }
552
+ if (message.sanctioned_limit_info_popup_body !== "") {
553
+ obj.sanctioned_limit_info_popup_body = message.sanctioned_limit_info_popup_body;
554
+ }
555
+ if (message.exposure_limit_info_popup_heading !== "") {
556
+ obj.exposure_limit_info_popup_heading = message.exposure_limit_info_popup_heading;
557
+ }
558
+ if (message.exposure_limit_info_popup_body !== "") {
559
+ obj.exposure_limit_info_popup_body = message.exposure_limit_info_popup_body;
560
+ }
561
+ if (message.sanctioned_limit_heading !== "") {
562
+ obj.sanctioned_limit_heading = message.sanctioned_limit_heading;
563
+ }
564
+ if (message.exposure_limit_heading !== "") {
565
+ obj.exposure_limit_heading = message.exposure_limit_heading;
566
+ }
567
+ if (message.emi_date_l !== "") {
568
+ obj.emi_date_l = message.emi_date_l;
569
+ }
570
+ if (message.emi_amount_l !== "") {
571
+ obj.emi_amount_l = message.emi_amount_l;
572
+ }
573
+ if (message.first_emi_date_l !== "") {
574
+ obj.first_emi_date_l = message.first_emi_date_l;
575
+ }
576
+ if (message.final_disbursal_amount_l !== "") {
577
+ obj.final_disbursal_amount_l = message.final_disbursal_amount_l;
578
+ }
579
+ if (message.upfront_interest_l !== "") {
580
+ obj.upfront_interest_l = message.upfront_interest_l;
581
+ }
582
+ if (message.processing_fees_l !== "") {
583
+ obj.processing_fees_l = message.processing_fees_l;
584
+ }
585
+ if (message.gst_l !== "") {
586
+ obj.gst_l = message.gst_l;
587
+ }
588
+ if (message.rate_of_interest_l !== "") {
589
+ obj.rate_of_interest_l = message.rate_of_interest_l;
590
+ }
591
+ if (message.bill_amount_l !== "") {
592
+ obj.bill_amount_l = message.bill_amount_l;
593
+ }
594
+ if (message.early_foreclosure_fees_l !== "") {
595
+ obj.early_foreclosure_fees_l = message.early_foreclosure_fees_l;
596
+ }
597
+ if (message.convenience_fees_l !== "") {
598
+ obj.convenience_fees_l = message.convenience_fees_l;
599
+ }
600
+ if (message.total_interest_pay_l !== "") {
601
+ obj.total_interest_pay_l = message.total_interest_pay_l;
602
+ }
603
+ if (message.effective_annual_rate_l !== "") {
604
+ obj.effective_annual_rate_l = message.effective_annual_rate_l;
605
+ }
606
+ if (message.trans_fee_plus_gst_l !== "") {
607
+ obj.trans_fee_plus_gst_l = message.trans_fee_plus_gst_l;
608
+ }
609
+ if (message.processing_fee_plus_gst_l !== "") {
610
+ obj.processing_fee_plus_gst_l = message.processing_fee_plus_gst_l;
611
+ }
612
+ if (message.max_amount_l !== "") {
613
+ obj.max_amount_l = message.max_amount_l;
614
+ }
615
+ if (message.credit_report_fees_l !== "") {
616
+ obj.credit_report_fees_l = message.credit_report_fees_l;
617
+ }
618
+ if (message.fee_and_charges_l !== "") {
619
+ obj.fee_and_charges_l = message.fee_and_charges_l;
620
+ }
621
+ if (message.add_on_l !== "") {
622
+ obj.add_on_l = message.add_on_l;
623
+ }
624
+ if (message.total_loan_amount_l !== "") {
625
+ obj.total_loan_amount_l = message.total_loan_amount_l;
626
+ }
627
+ if (message.loan_amount_l !== "") {
628
+ obj.loan_amount_l = message.loan_amount_l;
629
+ }
630
+ if (message.disbursed_amount_l !== "") {
631
+ obj.disbursed_amount_l = message.disbursed_amount_l;
632
+ }
633
+ if (message.total_payable_amount_l !== "") {
634
+ obj.total_payable_amount_l = message.total_payable_amount_l;
635
+ }
636
+ if (message.disbursal_amount_l !== "") {
637
+ obj.disbursal_amount_l = message.disbursal_amount_l;
638
+ }
639
+ if (message.number_of_emi_l !== "") {
640
+ obj.number_of_emi_l = message.number_of_emi_l;
641
+ }
642
+ if (message.first_emi_amt_l !== "") {
643
+ obj.first_emi_amt_l = message.first_emi_amt_l;
644
+ }
645
+ if (message.subsequent_emi_l !== "") {
646
+ obj.subsequent_emi_l = message.subsequent_emi_l;
647
+ }
648
+ if (message.effective_roi_l !== "") {
649
+ obj.effective_roi_l = message.effective_roi_l;
650
+ }
651
+ if (message.effective_annual_roi_l !== "") {
652
+ obj.effective_annual_roi_l = message.effective_annual_roi_l;
653
+ }
654
+ if (message.insurance_l !== "") {
655
+ obj.insurance_l = message.insurance_l;
656
+ }
657
+ if (message.apr_title !== "") {
658
+ obj.apr_title = message.apr_title;
659
+ }
660
+ if (message.insurance_desc?.length) {
661
+ obj.insurance_desc = message.insurance_desc.map((e) => exports.getStaticFieldsResponse_Field.toJSON(e));
662
+ }
663
+ if (message.insurance_title !== "") {
664
+ obj.insurance_title = message.insurance_title;
665
+ }
666
+ if (message.upfront_interest_description !== "") {
667
+ obj.upfront_interest_description = message.upfront_interest_description;
668
+ }
669
+ return obj;
670
+ },
671
+ create(base) {
672
+ return exports.getStaticFieldsResponse.fromPartial(base ?? {});
673
+ },
674
+ fromPartial(object) {
675
+ const message = createBasegetStaticFieldsResponse();
676
+ message.sanctioned_limit_info_popup_heading = object.sanctioned_limit_info_popup_heading ?? "";
677
+ message.sanctioned_limit_info_popup_body = object.sanctioned_limit_info_popup_body ?? "";
678
+ message.exposure_limit_info_popup_heading = object.exposure_limit_info_popup_heading ?? "";
679
+ message.exposure_limit_info_popup_body = object.exposure_limit_info_popup_body ?? "";
680
+ message.sanctioned_limit_heading = object.sanctioned_limit_heading ?? "";
681
+ message.exposure_limit_heading = object.exposure_limit_heading ?? "";
682
+ message.emi_date_l = object.emi_date_l ?? "";
683
+ message.emi_amount_l = object.emi_amount_l ?? "";
684
+ message.first_emi_date_l = object.first_emi_date_l ?? "";
685
+ message.final_disbursal_amount_l = object.final_disbursal_amount_l ?? "";
686
+ message.upfront_interest_l = object.upfront_interest_l ?? "";
687
+ message.processing_fees_l = object.processing_fees_l ?? "";
688
+ message.gst_l = object.gst_l ?? "";
689
+ message.rate_of_interest_l = object.rate_of_interest_l ?? "";
690
+ message.bill_amount_l = object.bill_amount_l ?? "";
691
+ message.early_foreclosure_fees_l = object.early_foreclosure_fees_l ?? "";
692
+ message.convenience_fees_l = object.convenience_fees_l ?? "";
693
+ message.total_interest_pay_l = object.total_interest_pay_l ?? "";
694
+ message.effective_annual_rate_l = object.effective_annual_rate_l ?? "";
695
+ message.trans_fee_plus_gst_l = object.trans_fee_plus_gst_l ?? "";
696
+ message.processing_fee_plus_gst_l = object.processing_fee_plus_gst_l ?? "";
697
+ message.max_amount_l = object.max_amount_l ?? "";
698
+ message.credit_report_fees_l = object.credit_report_fees_l ?? "";
699
+ message.fee_and_charges_l = object.fee_and_charges_l ?? "";
700
+ message.add_on_l = object.add_on_l ?? "";
701
+ message.total_loan_amount_l = object.total_loan_amount_l ?? "";
702
+ message.loan_amount_l = object.loan_amount_l ?? "";
703
+ message.disbursed_amount_l = object.disbursed_amount_l ?? "";
704
+ message.total_payable_amount_l = object.total_payable_amount_l ?? "";
705
+ message.disbursal_amount_l = object.disbursal_amount_l ?? "";
706
+ message.number_of_emi_l = object.number_of_emi_l ?? "";
707
+ message.first_emi_amt_l = object.first_emi_amt_l ?? "";
708
+ message.subsequent_emi_l = object.subsequent_emi_l ?? "";
709
+ message.effective_roi_l = object.effective_roi_l ?? "";
710
+ message.effective_annual_roi_l = object.effective_annual_roi_l ?? "";
711
+ message.insurance_l = object.insurance_l ?? "";
712
+ message.apr_title = object.apr_title ?? "";
713
+ message.insurance_desc = object.insurance_desc?.map((e) => exports.getStaticFieldsResponse_Field.fromPartial(e)) || [];
714
+ message.insurance_title = object.insurance_title ?? "";
715
+ message.upfront_interest_description = object.upfront_interest_description ?? "";
716
+ return message;
717
+ },
718
+ };
719
+ function createBasegetStaticFieldsResponse_Field() {
720
+ return { title: "", desc: "", icon: "" };
721
+ }
722
+ exports.getStaticFieldsResponse_Field = {
723
+ encode(message, writer = minimal_1.default.Writer.create()) {
724
+ if (message.title !== "") {
725
+ writer.uint32(10).string(message.title);
726
+ }
727
+ if (message.desc !== "") {
728
+ writer.uint32(18).string(message.desc);
729
+ }
730
+ if (message.icon !== "") {
731
+ writer.uint32(26).string(message.icon);
732
+ }
733
+ return writer;
734
+ },
735
+ decode(input, length) {
736
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
737
+ let end = length === undefined ? reader.len : reader.pos + length;
738
+ const message = createBasegetStaticFieldsResponse_Field();
739
+ while (reader.pos < end) {
740
+ const tag = reader.uint32();
741
+ switch (tag >>> 3) {
742
+ case 1:
743
+ if (tag !== 10) {
744
+ break;
745
+ }
746
+ message.title = reader.string();
747
+ continue;
748
+ case 2:
749
+ if (tag !== 18) {
750
+ break;
751
+ }
752
+ message.desc = reader.string();
753
+ continue;
754
+ case 3:
755
+ if (tag !== 26) {
756
+ break;
757
+ }
758
+ message.icon = reader.string();
759
+ continue;
760
+ }
761
+ if ((tag & 7) === 4 || tag === 0) {
762
+ break;
763
+ }
764
+ reader.skipType(tag & 7);
765
+ }
766
+ return message;
767
+ },
768
+ fromJSON(object) {
769
+ return {
770
+ title: isSet(object.title) ? globalThis.String(object.title) : "",
771
+ desc: isSet(object.desc) ? globalThis.String(object.desc) : "",
772
+ icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
773
+ };
774
+ },
775
+ toJSON(message) {
776
+ const obj = {};
777
+ if (message.title !== "") {
778
+ obj.title = message.title;
779
+ }
780
+ if (message.desc !== "") {
781
+ obj.desc = message.desc;
782
+ }
783
+ if (message.icon !== "") {
784
+ obj.icon = message.icon;
785
+ }
786
+ return obj;
787
+ },
788
+ create(base) {
789
+ return exports.getStaticFieldsResponse_Field.fromPartial(base ?? {});
790
+ },
791
+ fromPartial(object) {
792
+ const message = createBasegetStaticFieldsResponse_Field();
793
+ message.title = object.title ?? "";
794
+ message.desc = object.desc ?? "";
795
+ message.icon = object.icon ?? "";
796
+ return message;
797
+ },
798
+ };
799
+ function isSet(value) {
800
+ return value !== null && value !== undefined;
801
+ }