@stashfin/grpc 1.2.609 → 1.2.611

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.
@@ -0,0 +1,1891 @@
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.29.3
6
+ // source: loans/getlocwithdraw.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.GetLocWithdrawlResponse = exports.InsuranceDesc = exports.AgreementLinks = exports.GetLocWithdrawlRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getlocwithdraw";
15
+ function createBaseGetLocWithdrawlRequest() {
16
+ return {
17
+ amount: 0,
18
+ tenure: 0,
19
+ gateway_enable: 0,
20
+ is_fip: false,
21
+ credit_shield_enable: false,
22
+ pcr_enable: false,
23
+ gateway_type: "",
24
+ credit_shield_opt: false,
25
+ pcr_opt: false,
26
+ };
27
+ }
28
+ exports.GetLocWithdrawlRequest = {
29
+ encode(message, writer = minimal_1.default.Writer.create()) {
30
+ if (message.amount !== 0) {
31
+ writer.uint32(8).int32(message.amount);
32
+ }
33
+ if (message.tenure !== 0) {
34
+ writer.uint32(16).int32(message.tenure);
35
+ }
36
+ if (message.gateway_enable !== 0) {
37
+ writer.uint32(24).int32(message.gateway_enable);
38
+ }
39
+ if (message.is_fip !== false) {
40
+ writer.uint32(32).bool(message.is_fip);
41
+ }
42
+ if (message.credit_shield_enable !== false) {
43
+ writer.uint32(40).bool(message.credit_shield_enable);
44
+ }
45
+ if (message.pcr_enable !== false) {
46
+ writer.uint32(48).bool(message.pcr_enable);
47
+ }
48
+ if (message.gateway_type !== "") {
49
+ writer.uint32(58).string(message.gateway_type);
50
+ }
51
+ if (message.credit_shield_opt !== false) {
52
+ writer.uint32(64).bool(message.credit_shield_opt);
53
+ }
54
+ if (message.pcr_opt !== false) {
55
+ writer.uint32(72).bool(message.pcr_opt);
56
+ }
57
+ return writer;
58
+ },
59
+ decode(input, length) {
60
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
61
+ let end = length === undefined ? reader.len : reader.pos + length;
62
+ const message = createBaseGetLocWithdrawlRequest();
63
+ while (reader.pos < end) {
64
+ const tag = reader.uint32();
65
+ switch (tag >>> 3) {
66
+ case 1:
67
+ if (tag !== 8) {
68
+ break;
69
+ }
70
+ message.amount = reader.int32();
71
+ continue;
72
+ case 2:
73
+ if (tag !== 16) {
74
+ break;
75
+ }
76
+ message.tenure = reader.int32();
77
+ continue;
78
+ case 3:
79
+ if (tag !== 24) {
80
+ break;
81
+ }
82
+ message.gateway_enable = reader.int32();
83
+ continue;
84
+ case 4:
85
+ if (tag !== 32) {
86
+ break;
87
+ }
88
+ message.is_fip = reader.bool();
89
+ continue;
90
+ case 5:
91
+ if (tag !== 40) {
92
+ break;
93
+ }
94
+ message.credit_shield_enable = reader.bool();
95
+ continue;
96
+ case 6:
97
+ if (tag !== 48) {
98
+ break;
99
+ }
100
+ message.pcr_enable = reader.bool();
101
+ continue;
102
+ case 7:
103
+ if (tag !== 58) {
104
+ break;
105
+ }
106
+ message.gateway_type = reader.string();
107
+ continue;
108
+ case 8:
109
+ if (tag !== 64) {
110
+ break;
111
+ }
112
+ message.credit_shield_opt = reader.bool();
113
+ continue;
114
+ case 9:
115
+ if (tag !== 72) {
116
+ break;
117
+ }
118
+ message.pcr_opt = reader.bool();
119
+ continue;
120
+ }
121
+ if ((tag & 7) === 4 || tag === 0) {
122
+ break;
123
+ }
124
+ reader.skipType(tag & 7);
125
+ }
126
+ return message;
127
+ },
128
+ fromJSON(object) {
129
+ return {
130
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
131
+ tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
132
+ gateway_enable: isSet(object.gateway_enable) ? globalThis.Number(object.gateway_enable) : 0,
133
+ is_fip: isSet(object.is_fip) ? globalThis.Boolean(object.is_fip) : false,
134
+ credit_shield_enable: isSet(object.credit_shield_enable)
135
+ ? globalThis.Boolean(object.credit_shield_enable)
136
+ : false,
137
+ pcr_enable: isSet(object.pcr_enable) ? globalThis.Boolean(object.pcr_enable) : false,
138
+ gateway_type: isSet(object.gateway_type) ? globalThis.String(object.gateway_type) : "",
139
+ credit_shield_opt: isSet(object.credit_shield_opt) ? globalThis.Boolean(object.credit_shield_opt) : false,
140
+ pcr_opt: isSet(object.pcr_opt) ? globalThis.Boolean(object.pcr_opt) : false,
141
+ };
142
+ },
143
+ toJSON(message) {
144
+ const obj = {};
145
+ if (message.amount !== 0) {
146
+ obj.amount = Math.round(message.amount);
147
+ }
148
+ if (message.tenure !== 0) {
149
+ obj.tenure = Math.round(message.tenure);
150
+ }
151
+ if (message.gateway_enable !== 0) {
152
+ obj.gateway_enable = Math.round(message.gateway_enable);
153
+ }
154
+ if (message.is_fip !== false) {
155
+ obj.is_fip = message.is_fip;
156
+ }
157
+ if (message.credit_shield_enable !== false) {
158
+ obj.credit_shield_enable = message.credit_shield_enable;
159
+ }
160
+ if (message.pcr_enable !== false) {
161
+ obj.pcr_enable = message.pcr_enable;
162
+ }
163
+ if (message.gateway_type !== "") {
164
+ obj.gateway_type = message.gateway_type;
165
+ }
166
+ if (message.credit_shield_opt !== false) {
167
+ obj.credit_shield_opt = message.credit_shield_opt;
168
+ }
169
+ if (message.pcr_opt !== false) {
170
+ obj.pcr_opt = message.pcr_opt;
171
+ }
172
+ return obj;
173
+ },
174
+ create(base) {
175
+ return exports.GetLocWithdrawlRequest.fromPartial(base ?? {});
176
+ },
177
+ fromPartial(object) {
178
+ const message = createBaseGetLocWithdrawlRequest();
179
+ message.amount = object.amount ?? 0;
180
+ message.tenure = object.tenure ?? 0;
181
+ message.gateway_enable = object.gateway_enable ?? 0;
182
+ message.is_fip = object.is_fip ?? false;
183
+ message.credit_shield_enable = object.credit_shield_enable ?? false;
184
+ message.pcr_enable = object.pcr_enable ?? false;
185
+ message.gateway_type = object.gateway_type ?? "";
186
+ message.credit_shield_opt = object.credit_shield_opt ?? false;
187
+ message.pcr_opt = object.pcr_opt ?? false;
188
+ return message;
189
+ },
190
+ };
191
+ function createBaseAgreementLinks() {
192
+ return {
193
+ required: false,
194
+ error_msg: "",
195
+ applicant_pdf_url: "",
196
+ co_applicant_pdf_url: "",
197
+ colender_agreement: "",
198
+ colender: "",
199
+ credit_line_detail_sheet: "",
200
+ payment_undertaking: "",
201
+ tc_online_disbursal: "",
202
+ schedule_for_charges: "",
203
+ acknowledge_by_borrower: "",
204
+ venacular_declaration: "",
205
+ Declaration: "",
206
+ };
207
+ }
208
+ exports.AgreementLinks = {
209
+ encode(message, writer = minimal_1.default.Writer.create()) {
210
+ if (message.required !== false) {
211
+ writer.uint32(8).bool(message.required);
212
+ }
213
+ if (message.error_msg !== "") {
214
+ writer.uint32(18).string(message.error_msg);
215
+ }
216
+ if (message.applicant_pdf_url !== "") {
217
+ writer.uint32(26).string(message.applicant_pdf_url);
218
+ }
219
+ if (message.co_applicant_pdf_url !== "") {
220
+ writer.uint32(34).string(message.co_applicant_pdf_url);
221
+ }
222
+ if (message.colender_agreement !== "") {
223
+ writer.uint32(42).string(message.colender_agreement);
224
+ }
225
+ if (message.colender !== "") {
226
+ writer.uint32(50).string(message.colender);
227
+ }
228
+ if (message.credit_line_detail_sheet !== "") {
229
+ writer.uint32(58).string(message.credit_line_detail_sheet);
230
+ }
231
+ if (message.payment_undertaking !== "") {
232
+ writer.uint32(66).string(message.payment_undertaking);
233
+ }
234
+ if (message.tc_online_disbursal !== "") {
235
+ writer.uint32(74).string(message.tc_online_disbursal);
236
+ }
237
+ if (message.schedule_for_charges !== "") {
238
+ writer.uint32(82).string(message.schedule_for_charges);
239
+ }
240
+ if (message.acknowledge_by_borrower !== "") {
241
+ writer.uint32(90).string(message.acknowledge_by_borrower);
242
+ }
243
+ if (message.venacular_declaration !== "") {
244
+ writer.uint32(98).string(message.venacular_declaration);
245
+ }
246
+ if (message.Declaration !== "") {
247
+ writer.uint32(106).string(message.Declaration);
248
+ }
249
+ return writer;
250
+ },
251
+ decode(input, length) {
252
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
253
+ let end = length === undefined ? reader.len : reader.pos + length;
254
+ const message = createBaseAgreementLinks();
255
+ while (reader.pos < end) {
256
+ const tag = reader.uint32();
257
+ switch (tag >>> 3) {
258
+ case 1:
259
+ if (tag !== 8) {
260
+ break;
261
+ }
262
+ message.required = reader.bool();
263
+ continue;
264
+ case 2:
265
+ if (tag !== 18) {
266
+ break;
267
+ }
268
+ message.error_msg = reader.string();
269
+ continue;
270
+ case 3:
271
+ if (tag !== 26) {
272
+ break;
273
+ }
274
+ message.applicant_pdf_url = reader.string();
275
+ continue;
276
+ case 4:
277
+ if (tag !== 34) {
278
+ break;
279
+ }
280
+ message.co_applicant_pdf_url = reader.string();
281
+ continue;
282
+ case 5:
283
+ if (tag !== 42) {
284
+ break;
285
+ }
286
+ message.colender_agreement = reader.string();
287
+ continue;
288
+ case 6:
289
+ if (tag !== 50) {
290
+ break;
291
+ }
292
+ message.colender = reader.string();
293
+ continue;
294
+ case 7:
295
+ if (tag !== 58) {
296
+ break;
297
+ }
298
+ message.credit_line_detail_sheet = reader.string();
299
+ continue;
300
+ case 8:
301
+ if (tag !== 66) {
302
+ break;
303
+ }
304
+ message.payment_undertaking = reader.string();
305
+ continue;
306
+ case 9:
307
+ if (tag !== 74) {
308
+ break;
309
+ }
310
+ message.tc_online_disbursal = reader.string();
311
+ continue;
312
+ case 10:
313
+ if (tag !== 82) {
314
+ break;
315
+ }
316
+ message.schedule_for_charges = reader.string();
317
+ continue;
318
+ case 11:
319
+ if (tag !== 90) {
320
+ break;
321
+ }
322
+ message.acknowledge_by_borrower = reader.string();
323
+ continue;
324
+ case 12:
325
+ if (tag !== 98) {
326
+ break;
327
+ }
328
+ message.venacular_declaration = reader.string();
329
+ continue;
330
+ case 13:
331
+ if (tag !== 106) {
332
+ break;
333
+ }
334
+ message.Declaration = reader.string();
335
+ continue;
336
+ }
337
+ if ((tag & 7) === 4 || tag === 0) {
338
+ break;
339
+ }
340
+ reader.skipType(tag & 7);
341
+ }
342
+ return message;
343
+ },
344
+ fromJSON(object) {
345
+ return {
346
+ required: isSet(object.required) ? globalThis.Boolean(object.required) : false,
347
+ error_msg: isSet(object.error_msg) ? globalThis.String(object.error_msg) : "",
348
+ applicant_pdf_url: isSet(object.applicant_pdf_url) ? globalThis.String(object.applicant_pdf_url) : "",
349
+ co_applicant_pdf_url: isSet(object.co_applicant_pdf_url) ? globalThis.String(object.co_applicant_pdf_url) : "",
350
+ colender_agreement: isSet(object.colender_agreement) ? globalThis.String(object.colender_agreement) : "",
351
+ colender: isSet(object.colender) ? globalThis.String(object.colender) : "",
352
+ credit_line_detail_sheet: isSet(object.credit_line_detail_sheet)
353
+ ? globalThis.String(object.credit_line_detail_sheet)
354
+ : "",
355
+ payment_undertaking: isSet(object.payment_undertaking) ? globalThis.String(object.payment_undertaking) : "",
356
+ tc_online_disbursal: isSet(object.tc_online_disbursal) ? globalThis.String(object.tc_online_disbursal) : "",
357
+ schedule_for_charges: isSet(object.schedule_for_charges) ? globalThis.String(object.schedule_for_charges) : "",
358
+ acknowledge_by_borrower: isSet(object.acknowledge_by_borrower)
359
+ ? globalThis.String(object.acknowledge_by_borrower)
360
+ : "",
361
+ venacular_declaration: isSet(object.venacular_declaration) ? globalThis.String(object.venacular_declaration) : "",
362
+ Declaration: isSet(object.Declaration) ? globalThis.String(object.Declaration) : "",
363
+ };
364
+ },
365
+ toJSON(message) {
366
+ const obj = {};
367
+ if (message.required !== false) {
368
+ obj.required = message.required;
369
+ }
370
+ if (message.error_msg !== "") {
371
+ obj.error_msg = message.error_msg;
372
+ }
373
+ if (message.applicant_pdf_url !== "") {
374
+ obj.applicant_pdf_url = message.applicant_pdf_url;
375
+ }
376
+ if (message.co_applicant_pdf_url !== "") {
377
+ obj.co_applicant_pdf_url = message.co_applicant_pdf_url;
378
+ }
379
+ if (message.colender_agreement !== "") {
380
+ obj.colender_agreement = message.colender_agreement;
381
+ }
382
+ if (message.colender !== "") {
383
+ obj.colender = message.colender;
384
+ }
385
+ if (message.credit_line_detail_sheet !== "") {
386
+ obj.credit_line_detail_sheet = message.credit_line_detail_sheet;
387
+ }
388
+ if (message.payment_undertaking !== "") {
389
+ obj.payment_undertaking = message.payment_undertaking;
390
+ }
391
+ if (message.tc_online_disbursal !== "") {
392
+ obj.tc_online_disbursal = message.tc_online_disbursal;
393
+ }
394
+ if (message.schedule_for_charges !== "") {
395
+ obj.schedule_for_charges = message.schedule_for_charges;
396
+ }
397
+ if (message.acknowledge_by_borrower !== "") {
398
+ obj.acknowledge_by_borrower = message.acknowledge_by_borrower;
399
+ }
400
+ if (message.venacular_declaration !== "") {
401
+ obj.venacular_declaration = message.venacular_declaration;
402
+ }
403
+ if (message.Declaration !== "") {
404
+ obj.Declaration = message.Declaration;
405
+ }
406
+ return obj;
407
+ },
408
+ create(base) {
409
+ return exports.AgreementLinks.fromPartial(base ?? {});
410
+ },
411
+ fromPartial(object) {
412
+ const message = createBaseAgreementLinks();
413
+ message.required = object.required ?? false;
414
+ message.error_msg = object.error_msg ?? "";
415
+ message.applicant_pdf_url = object.applicant_pdf_url ?? "";
416
+ message.co_applicant_pdf_url = object.co_applicant_pdf_url ?? "";
417
+ message.colender_agreement = object.colender_agreement ?? "";
418
+ message.colender = object.colender ?? "";
419
+ message.credit_line_detail_sheet = object.credit_line_detail_sheet ?? "";
420
+ message.payment_undertaking = object.payment_undertaking ?? "";
421
+ message.tc_online_disbursal = object.tc_online_disbursal ?? "";
422
+ message.schedule_for_charges = object.schedule_for_charges ?? "";
423
+ message.acknowledge_by_borrower = object.acknowledge_by_borrower ?? "";
424
+ message.venacular_declaration = object.venacular_declaration ?? "";
425
+ message.Declaration = object.Declaration ?? "";
426
+ return message;
427
+ },
428
+ };
429
+ function createBaseInsuranceDesc() {
430
+ return { title: "", desc: "", icon: "" };
431
+ }
432
+ exports.InsuranceDesc = {
433
+ encode(message, writer = minimal_1.default.Writer.create()) {
434
+ if (message.title !== "") {
435
+ writer.uint32(10).string(message.title);
436
+ }
437
+ if (message.desc !== "") {
438
+ writer.uint32(18).string(message.desc);
439
+ }
440
+ if (message.icon !== "") {
441
+ writer.uint32(26).string(message.icon);
442
+ }
443
+ return writer;
444
+ },
445
+ decode(input, length) {
446
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
447
+ let end = length === undefined ? reader.len : reader.pos + length;
448
+ const message = createBaseInsuranceDesc();
449
+ while (reader.pos < end) {
450
+ const tag = reader.uint32();
451
+ switch (tag >>> 3) {
452
+ case 1:
453
+ if (tag !== 10) {
454
+ break;
455
+ }
456
+ message.title = reader.string();
457
+ continue;
458
+ case 2:
459
+ if (tag !== 18) {
460
+ break;
461
+ }
462
+ message.desc = reader.string();
463
+ continue;
464
+ case 3:
465
+ if (tag !== 26) {
466
+ break;
467
+ }
468
+ message.icon = reader.string();
469
+ continue;
470
+ }
471
+ if ((tag & 7) === 4 || tag === 0) {
472
+ break;
473
+ }
474
+ reader.skipType(tag & 7);
475
+ }
476
+ return message;
477
+ },
478
+ fromJSON(object) {
479
+ return {
480
+ title: isSet(object.title) ? globalThis.String(object.title) : "",
481
+ desc: isSet(object.desc) ? globalThis.String(object.desc) : "",
482
+ icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
483
+ };
484
+ },
485
+ toJSON(message) {
486
+ const obj = {};
487
+ if (message.title !== "") {
488
+ obj.title = message.title;
489
+ }
490
+ if (message.desc !== "") {
491
+ obj.desc = message.desc;
492
+ }
493
+ if (message.icon !== "") {
494
+ obj.icon = message.icon;
495
+ }
496
+ return obj;
497
+ },
498
+ create(base) {
499
+ return exports.InsuranceDesc.fromPartial(base ?? {});
500
+ },
501
+ fromPartial(object) {
502
+ const message = createBaseInsuranceDesc();
503
+ message.title = object.title ?? "";
504
+ message.desc = object.desc ?? "";
505
+ message.icon = object.icon ?? "";
506
+ return message;
507
+ },
508
+ };
509
+ function createBaseGetLocWithdrawlResponse() {
510
+ return {
511
+ gateway_fees: 0,
512
+ striked_gateway_fees: 0,
513
+ bill_date: "",
514
+ matched: false,
515
+ remaining_loc: 0,
516
+ requested_amount: 0,
517
+ tenure: 0,
518
+ emi_amount: 0,
519
+ net_amount_payable: 0,
520
+ first_emi_date: "",
521
+ emi_date: "",
522
+ final_disbursal_amount: 0,
523
+ upfront_interest: 0,
524
+ approved_amount: 0,
525
+ processing_fees: 0,
526
+ gst: 0,
527
+ rate_of_interest: 0,
528
+ bill_amount: 0,
529
+ early_foreclosure_fees: 0,
530
+ convenience_fees: 0,
531
+ total_interest_pay: 0,
532
+ effective_annual_rate: 0,
533
+ transaction_rate: 0,
534
+ transaction_fee_amount: 0,
535
+ emi_date_l: "",
536
+ emi_amount_l: "",
537
+ first_emi_date_l: "",
538
+ final_disbursal_amount_l: "",
539
+ upfront_interest_l: "",
540
+ processing_fees_l: "",
541
+ gst_l: "",
542
+ rate_of_interest_l: "",
543
+ bill_amount_l: "",
544
+ early_foreclosure_fees_l: "",
545
+ convenience_fees_l: "",
546
+ total_interest_pay_l: "",
547
+ effective_annual_rate_l: "",
548
+ transaction_fee_bill_amount: 0,
549
+ processing_fee_plus_gst: 0,
550
+ trans_fee_plus_gst: 0,
551
+ trans_fee_plus_gst_l: "",
552
+ processing_fee_plus_gst_l: "",
553
+ max_amount_l: "",
554
+ credit_report_fees_l: "",
555
+ fee_and_charges_l: "",
556
+ fee_and_charges: 0,
557
+ fee_and_charges_bill: 0,
558
+ add_on_l: "",
559
+ total_loan_amount_l: "",
560
+ loan_amount_l: "",
561
+ disbursed_amount_l: "",
562
+ total_payable_amount_l: "",
563
+ disbursal_amount_l: "",
564
+ fcp_interest: 0,
565
+ number_of_emi_l: "",
566
+ first_emi_amt_l: "",
567
+ subsequent_emi_l: "",
568
+ effective_roi_l: "",
569
+ effective_roi: 0,
570
+ effective_annual_roi_l: "",
571
+ effective_annual_roi: 0,
572
+ insurance_l: "",
573
+ emi_card_description: "",
574
+ bill_card_description: "",
575
+ loan_id: "",
576
+ apr_title: "",
577
+ apr_value: "",
578
+ apr_type: "",
579
+ colender_id: 0,
580
+ credit_line_details_sheet: "",
581
+ Acknowledgement: "",
582
+ payment_undertaking: "",
583
+ key_fact_statement: "",
584
+ sanction_letter: "",
585
+ financing_documents: "",
586
+ landers_credit_facility_form: "",
587
+ agreement_links: undefined,
588
+ max_amount: 0,
589
+ credit_report_fees: 0,
590
+ credit_report_actual_fees: 0,
591
+ plan_id: "",
592
+ lender_name: "",
593
+ free_loc_eligible_bank: "",
594
+ insurance_title: "",
595
+ insurance_desc: [],
596
+ upfront_interest_description: "",
597
+ txn_id: "",
598
+ };
599
+ }
600
+ exports.GetLocWithdrawlResponse = {
601
+ encode(message, writer = minimal_1.default.Writer.create()) {
602
+ if (message.gateway_fees !== 0) {
603
+ writer.uint32(9).double(message.gateway_fees);
604
+ }
605
+ if (message.striked_gateway_fees !== 0) {
606
+ writer.uint32(17).double(message.striked_gateway_fees);
607
+ }
608
+ if (message.bill_date !== "") {
609
+ writer.uint32(26).string(message.bill_date);
610
+ }
611
+ if (message.matched !== false) {
612
+ writer.uint32(32).bool(message.matched);
613
+ }
614
+ if (message.remaining_loc !== 0) {
615
+ writer.uint32(41).double(message.remaining_loc);
616
+ }
617
+ if (message.requested_amount !== 0) {
618
+ writer.uint32(49).double(message.requested_amount);
619
+ }
620
+ if (message.tenure !== 0) {
621
+ writer.uint32(57).double(message.tenure);
622
+ }
623
+ if (message.emi_amount !== 0) {
624
+ writer.uint32(65).double(message.emi_amount);
625
+ }
626
+ if (message.net_amount_payable !== 0) {
627
+ writer.uint32(73).double(message.net_amount_payable);
628
+ }
629
+ if (message.first_emi_date !== "") {
630
+ writer.uint32(82).string(message.first_emi_date);
631
+ }
632
+ if (message.emi_date !== "") {
633
+ writer.uint32(90).string(message.emi_date);
634
+ }
635
+ if (message.final_disbursal_amount !== 0) {
636
+ writer.uint32(97).double(message.final_disbursal_amount);
637
+ }
638
+ if (message.upfront_interest !== 0) {
639
+ writer.uint32(105).double(message.upfront_interest);
640
+ }
641
+ if (message.approved_amount !== 0) {
642
+ writer.uint32(113).double(message.approved_amount);
643
+ }
644
+ if (message.processing_fees !== 0) {
645
+ writer.uint32(121).double(message.processing_fees);
646
+ }
647
+ if (message.gst !== 0) {
648
+ writer.uint32(129).double(message.gst);
649
+ }
650
+ if (message.rate_of_interest !== 0) {
651
+ writer.uint32(137).double(message.rate_of_interest);
652
+ }
653
+ if (message.bill_amount !== 0) {
654
+ writer.uint32(145).double(message.bill_amount);
655
+ }
656
+ if (message.early_foreclosure_fees !== 0) {
657
+ writer.uint32(153).double(message.early_foreclosure_fees);
658
+ }
659
+ if (message.convenience_fees !== 0) {
660
+ writer.uint32(161).double(message.convenience_fees);
661
+ }
662
+ if (message.total_interest_pay !== 0) {
663
+ writer.uint32(169).double(message.total_interest_pay);
664
+ }
665
+ if (message.effective_annual_rate !== 0) {
666
+ writer.uint32(177).double(message.effective_annual_rate);
667
+ }
668
+ if (message.transaction_rate !== 0) {
669
+ writer.uint32(185).double(message.transaction_rate);
670
+ }
671
+ if (message.transaction_fee_amount !== 0) {
672
+ writer.uint32(193).double(message.transaction_fee_amount);
673
+ }
674
+ if (message.emi_date_l !== "") {
675
+ writer.uint32(202).string(message.emi_date_l);
676
+ }
677
+ if (message.emi_amount_l !== "") {
678
+ writer.uint32(210).string(message.emi_amount_l);
679
+ }
680
+ if (message.first_emi_date_l !== "") {
681
+ writer.uint32(218).string(message.first_emi_date_l);
682
+ }
683
+ if (message.final_disbursal_amount_l !== "") {
684
+ writer.uint32(226).string(message.final_disbursal_amount_l);
685
+ }
686
+ if (message.upfront_interest_l !== "") {
687
+ writer.uint32(234).string(message.upfront_interest_l);
688
+ }
689
+ if (message.processing_fees_l !== "") {
690
+ writer.uint32(242).string(message.processing_fees_l);
691
+ }
692
+ if (message.gst_l !== "") {
693
+ writer.uint32(250).string(message.gst_l);
694
+ }
695
+ if (message.rate_of_interest_l !== "") {
696
+ writer.uint32(258).string(message.rate_of_interest_l);
697
+ }
698
+ if (message.bill_amount_l !== "") {
699
+ writer.uint32(266).string(message.bill_amount_l);
700
+ }
701
+ if (message.early_foreclosure_fees_l !== "") {
702
+ writer.uint32(274).string(message.early_foreclosure_fees_l);
703
+ }
704
+ if (message.convenience_fees_l !== "") {
705
+ writer.uint32(282).string(message.convenience_fees_l);
706
+ }
707
+ if (message.total_interest_pay_l !== "") {
708
+ writer.uint32(290).string(message.total_interest_pay_l);
709
+ }
710
+ if (message.effective_annual_rate_l !== "") {
711
+ writer.uint32(298).string(message.effective_annual_rate_l);
712
+ }
713
+ if (message.transaction_fee_bill_amount !== 0) {
714
+ writer.uint32(305).double(message.transaction_fee_bill_amount);
715
+ }
716
+ if (message.processing_fee_plus_gst !== 0) {
717
+ writer.uint32(313).double(message.processing_fee_plus_gst);
718
+ }
719
+ if (message.trans_fee_plus_gst !== 0) {
720
+ writer.uint32(321).double(message.trans_fee_plus_gst);
721
+ }
722
+ if (message.trans_fee_plus_gst_l !== "") {
723
+ writer.uint32(330).string(message.trans_fee_plus_gst_l);
724
+ }
725
+ if (message.processing_fee_plus_gst_l !== "") {
726
+ writer.uint32(338).string(message.processing_fee_plus_gst_l);
727
+ }
728
+ if (message.max_amount_l !== "") {
729
+ writer.uint32(346).string(message.max_amount_l);
730
+ }
731
+ if (message.credit_report_fees_l !== "") {
732
+ writer.uint32(354).string(message.credit_report_fees_l);
733
+ }
734
+ if (message.fee_and_charges_l !== "") {
735
+ writer.uint32(362).string(message.fee_and_charges_l);
736
+ }
737
+ if (message.fee_and_charges !== 0) {
738
+ writer.uint32(369).double(message.fee_and_charges);
739
+ }
740
+ if (message.fee_and_charges_bill !== 0) {
741
+ writer.uint32(377).double(message.fee_and_charges_bill);
742
+ }
743
+ if (message.add_on_l !== "") {
744
+ writer.uint32(386).string(message.add_on_l);
745
+ }
746
+ if (message.total_loan_amount_l !== "") {
747
+ writer.uint32(394).string(message.total_loan_amount_l);
748
+ }
749
+ if (message.loan_amount_l !== "") {
750
+ writer.uint32(402).string(message.loan_amount_l);
751
+ }
752
+ if (message.disbursed_amount_l !== "") {
753
+ writer.uint32(410).string(message.disbursed_amount_l);
754
+ }
755
+ if (message.total_payable_amount_l !== "") {
756
+ writer.uint32(418).string(message.total_payable_amount_l);
757
+ }
758
+ if (message.disbursal_amount_l !== "") {
759
+ writer.uint32(426).string(message.disbursal_amount_l);
760
+ }
761
+ if (message.fcp_interest !== 0) {
762
+ writer.uint32(433).double(message.fcp_interest);
763
+ }
764
+ if (message.number_of_emi_l !== "") {
765
+ writer.uint32(442).string(message.number_of_emi_l);
766
+ }
767
+ if (message.first_emi_amt_l !== "") {
768
+ writer.uint32(450).string(message.first_emi_amt_l);
769
+ }
770
+ if (message.subsequent_emi_l !== "") {
771
+ writer.uint32(458).string(message.subsequent_emi_l);
772
+ }
773
+ if (message.effective_roi_l !== "") {
774
+ writer.uint32(466).string(message.effective_roi_l);
775
+ }
776
+ if (message.effective_roi !== 0) {
777
+ writer.uint32(473).double(message.effective_roi);
778
+ }
779
+ if (message.effective_annual_roi_l !== "") {
780
+ writer.uint32(482).string(message.effective_annual_roi_l);
781
+ }
782
+ if (message.effective_annual_roi !== 0) {
783
+ writer.uint32(489).double(message.effective_annual_roi);
784
+ }
785
+ if (message.insurance_l !== "") {
786
+ writer.uint32(498).string(message.insurance_l);
787
+ }
788
+ if (message.emi_card_description !== "") {
789
+ writer.uint32(506).string(message.emi_card_description);
790
+ }
791
+ if (message.bill_card_description !== "") {
792
+ writer.uint32(514).string(message.bill_card_description);
793
+ }
794
+ if (message.loan_id !== "") {
795
+ writer.uint32(522).string(message.loan_id);
796
+ }
797
+ if (message.apr_title !== "") {
798
+ writer.uint32(530).string(message.apr_title);
799
+ }
800
+ if (message.apr_value !== "") {
801
+ writer.uint32(538).string(message.apr_value);
802
+ }
803
+ if (message.apr_type !== "") {
804
+ writer.uint32(546).string(message.apr_type);
805
+ }
806
+ if (message.colender_id !== 0) {
807
+ writer.uint32(552).int32(message.colender_id);
808
+ }
809
+ if (message.credit_line_details_sheet !== "") {
810
+ writer.uint32(562).string(message.credit_line_details_sheet);
811
+ }
812
+ if (message.Acknowledgement !== "") {
813
+ writer.uint32(570).string(message.Acknowledgement);
814
+ }
815
+ if (message.payment_undertaking !== "") {
816
+ writer.uint32(578).string(message.payment_undertaking);
817
+ }
818
+ if (message.key_fact_statement !== "") {
819
+ writer.uint32(586).string(message.key_fact_statement);
820
+ }
821
+ if (message.sanction_letter !== "") {
822
+ writer.uint32(594).string(message.sanction_letter);
823
+ }
824
+ if (message.financing_documents !== "") {
825
+ writer.uint32(602).string(message.financing_documents);
826
+ }
827
+ if (message.landers_credit_facility_form !== "") {
828
+ writer.uint32(610).string(message.landers_credit_facility_form);
829
+ }
830
+ if (message.agreement_links !== undefined) {
831
+ exports.AgreementLinks.encode(message.agreement_links, writer.uint32(618).fork()).ldelim();
832
+ }
833
+ if (message.max_amount !== 0) {
834
+ writer.uint32(625).double(message.max_amount);
835
+ }
836
+ if (message.credit_report_fees !== 0) {
837
+ writer.uint32(633).double(message.credit_report_fees);
838
+ }
839
+ if (message.credit_report_actual_fees !== 0) {
840
+ writer.uint32(641).double(message.credit_report_actual_fees);
841
+ }
842
+ if (message.plan_id !== "") {
843
+ writer.uint32(650).string(message.plan_id);
844
+ }
845
+ if (message.lender_name !== "") {
846
+ writer.uint32(658).string(message.lender_name);
847
+ }
848
+ if (message.free_loc_eligible_bank !== "") {
849
+ writer.uint32(666).string(message.free_loc_eligible_bank);
850
+ }
851
+ if (message.insurance_title !== "") {
852
+ writer.uint32(674).string(message.insurance_title);
853
+ }
854
+ for (const v of message.insurance_desc) {
855
+ exports.InsuranceDesc.encode(v, writer.uint32(682).fork()).ldelim();
856
+ }
857
+ if (message.upfront_interest_description !== "") {
858
+ writer.uint32(690).string(message.upfront_interest_description);
859
+ }
860
+ if (message.txn_id !== "") {
861
+ writer.uint32(698).string(message.txn_id);
862
+ }
863
+ return writer;
864
+ },
865
+ decode(input, length) {
866
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
867
+ let end = length === undefined ? reader.len : reader.pos + length;
868
+ const message = createBaseGetLocWithdrawlResponse();
869
+ while (reader.pos < end) {
870
+ const tag = reader.uint32();
871
+ switch (tag >>> 3) {
872
+ case 1:
873
+ if (tag !== 9) {
874
+ break;
875
+ }
876
+ message.gateway_fees = reader.double();
877
+ continue;
878
+ case 2:
879
+ if (tag !== 17) {
880
+ break;
881
+ }
882
+ message.striked_gateway_fees = reader.double();
883
+ continue;
884
+ case 3:
885
+ if (tag !== 26) {
886
+ break;
887
+ }
888
+ message.bill_date = reader.string();
889
+ continue;
890
+ case 4:
891
+ if (tag !== 32) {
892
+ break;
893
+ }
894
+ message.matched = reader.bool();
895
+ continue;
896
+ case 5:
897
+ if (tag !== 41) {
898
+ break;
899
+ }
900
+ message.remaining_loc = reader.double();
901
+ continue;
902
+ case 6:
903
+ if (tag !== 49) {
904
+ break;
905
+ }
906
+ message.requested_amount = reader.double();
907
+ continue;
908
+ case 7:
909
+ if (tag !== 57) {
910
+ break;
911
+ }
912
+ message.tenure = reader.double();
913
+ continue;
914
+ case 8:
915
+ if (tag !== 65) {
916
+ break;
917
+ }
918
+ message.emi_amount = reader.double();
919
+ continue;
920
+ case 9:
921
+ if (tag !== 73) {
922
+ break;
923
+ }
924
+ message.net_amount_payable = reader.double();
925
+ continue;
926
+ case 10:
927
+ if (tag !== 82) {
928
+ break;
929
+ }
930
+ message.first_emi_date = reader.string();
931
+ continue;
932
+ case 11:
933
+ if (tag !== 90) {
934
+ break;
935
+ }
936
+ message.emi_date = reader.string();
937
+ continue;
938
+ case 12:
939
+ if (tag !== 97) {
940
+ break;
941
+ }
942
+ message.final_disbursal_amount = reader.double();
943
+ continue;
944
+ case 13:
945
+ if (tag !== 105) {
946
+ break;
947
+ }
948
+ message.upfront_interest = reader.double();
949
+ continue;
950
+ case 14:
951
+ if (tag !== 113) {
952
+ break;
953
+ }
954
+ message.approved_amount = reader.double();
955
+ continue;
956
+ case 15:
957
+ if (tag !== 121) {
958
+ break;
959
+ }
960
+ message.processing_fees = reader.double();
961
+ continue;
962
+ case 16:
963
+ if (tag !== 129) {
964
+ break;
965
+ }
966
+ message.gst = reader.double();
967
+ continue;
968
+ case 17:
969
+ if (tag !== 137) {
970
+ break;
971
+ }
972
+ message.rate_of_interest = reader.double();
973
+ continue;
974
+ case 18:
975
+ if (tag !== 145) {
976
+ break;
977
+ }
978
+ message.bill_amount = reader.double();
979
+ continue;
980
+ case 19:
981
+ if (tag !== 153) {
982
+ break;
983
+ }
984
+ message.early_foreclosure_fees = reader.double();
985
+ continue;
986
+ case 20:
987
+ if (tag !== 161) {
988
+ break;
989
+ }
990
+ message.convenience_fees = reader.double();
991
+ continue;
992
+ case 21:
993
+ if (tag !== 169) {
994
+ break;
995
+ }
996
+ message.total_interest_pay = reader.double();
997
+ continue;
998
+ case 22:
999
+ if (tag !== 177) {
1000
+ break;
1001
+ }
1002
+ message.effective_annual_rate = reader.double();
1003
+ continue;
1004
+ case 23:
1005
+ if (tag !== 185) {
1006
+ break;
1007
+ }
1008
+ message.transaction_rate = reader.double();
1009
+ continue;
1010
+ case 24:
1011
+ if (tag !== 193) {
1012
+ break;
1013
+ }
1014
+ message.transaction_fee_amount = reader.double();
1015
+ continue;
1016
+ case 25:
1017
+ if (tag !== 202) {
1018
+ break;
1019
+ }
1020
+ message.emi_date_l = reader.string();
1021
+ continue;
1022
+ case 26:
1023
+ if (tag !== 210) {
1024
+ break;
1025
+ }
1026
+ message.emi_amount_l = reader.string();
1027
+ continue;
1028
+ case 27:
1029
+ if (tag !== 218) {
1030
+ break;
1031
+ }
1032
+ message.first_emi_date_l = reader.string();
1033
+ continue;
1034
+ case 28:
1035
+ if (tag !== 226) {
1036
+ break;
1037
+ }
1038
+ message.final_disbursal_amount_l = reader.string();
1039
+ continue;
1040
+ case 29:
1041
+ if (tag !== 234) {
1042
+ break;
1043
+ }
1044
+ message.upfront_interest_l = reader.string();
1045
+ continue;
1046
+ case 30:
1047
+ if (tag !== 242) {
1048
+ break;
1049
+ }
1050
+ message.processing_fees_l = reader.string();
1051
+ continue;
1052
+ case 31:
1053
+ if (tag !== 250) {
1054
+ break;
1055
+ }
1056
+ message.gst_l = reader.string();
1057
+ continue;
1058
+ case 32:
1059
+ if (tag !== 258) {
1060
+ break;
1061
+ }
1062
+ message.rate_of_interest_l = reader.string();
1063
+ continue;
1064
+ case 33:
1065
+ if (tag !== 266) {
1066
+ break;
1067
+ }
1068
+ message.bill_amount_l = reader.string();
1069
+ continue;
1070
+ case 34:
1071
+ if (tag !== 274) {
1072
+ break;
1073
+ }
1074
+ message.early_foreclosure_fees_l = reader.string();
1075
+ continue;
1076
+ case 35:
1077
+ if (tag !== 282) {
1078
+ break;
1079
+ }
1080
+ message.convenience_fees_l = reader.string();
1081
+ continue;
1082
+ case 36:
1083
+ if (tag !== 290) {
1084
+ break;
1085
+ }
1086
+ message.total_interest_pay_l = reader.string();
1087
+ continue;
1088
+ case 37:
1089
+ if (tag !== 298) {
1090
+ break;
1091
+ }
1092
+ message.effective_annual_rate_l = reader.string();
1093
+ continue;
1094
+ case 38:
1095
+ if (tag !== 305) {
1096
+ break;
1097
+ }
1098
+ message.transaction_fee_bill_amount = reader.double();
1099
+ continue;
1100
+ case 39:
1101
+ if (tag !== 313) {
1102
+ break;
1103
+ }
1104
+ message.processing_fee_plus_gst = reader.double();
1105
+ continue;
1106
+ case 40:
1107
+ if (tag !== 321) {
1108
+ break;
1109
+ }
1110
+ message.trans_fee_plus_gst = reader.double();
1111
+ continue;
1112
+ case 41:
1113
+ if (tag !== 330) {
1114
+ break;
1115
+ }
1116
+ message.trans_fee_plus_gst_l = reader.string();
1117
+ continue;
1118
+ case 42:
1119
+ if (tag !== 338) {
1120
+ break;
1121
+ }
1122
+ message.processing_fee_plus_gst_l = reader.string();
1123
+ continue;
1124
+ case 43:
1125
+ if (tag !== 346) {
1126
+ break;
1127
+ }
1128
+ message.max_amount_l = reader.string();
1129
+ continue;
1130
+ case 44:
1131
+ if (tag !== 354) {
1132
+ break;
1133
+ }
1134
+ message.credit_report_fees_l = reader.string();
1135
+ continue;
1136
+ case 45:
1137
+ if (tag !== 362) {
1138
+ break;
1139
+ }
1140
+ message.fee_and_charges_l = reader.string();
1141
+ continue;
1142
+ case 46:
1143
+ if (tag !== 369) {
1144
+ break;
1145
+ }
1146
+ message.fee_and_charges = reader.double();
1147
+ continue;
1148
+ case 47:
1149
+ if (tag !== 377) {
1150
+ break;
1151
+ }
1152
+ message.fee_and_charges_bill = reader.double();
1153
+ continue;
1154
+ case 48:
1155
+ if (tag !== 386) {
1156
+ break;
1157
+ }
1158
+ message.add_on_l = reader.string();
1159
+ continue;
1160
+ case 49:
1161
+ if (tag !== 394) {
1162
+ break;
1163
+ }
1164
+ message.total_loan_amount_l = reader.string();
1165
+ continue;
1166
+ case 50:
1167
+ if (tag !== 402) {
1168
+ break;
1169
+ }
1170
+ message.loan_amount_l = reader.string();
1171
+ continue;
1172
+ case 51:
1173
+ if (tag !== 410) {
1174
+ break;
1175
+ }
1176
+ message.disbursed_amount_l = reader.string();
1177
+ continue;
1178
+ case 52:
1179
+ if (tag !== 418) {
1180
+ break;
1181
+ }
1182
+ message.total_payable_amount_l = reader.string();
1183
+ continue;
1184
+ case 53:
1185
+ if (tag !== 426) {
1186
+ break;
1187
+ }
1188
+ message.disbursal_amount_l = reader.string();
1189
+ continue;
1190
+ case 54:
1191
+ if (tag !== 433) {
1192
+ break;
1193
+ }
1194
+ message.fcp_interest = reader.double();
1195
+ continue;
1196
+ case 55:
1197
+ if (tag !== 442) {
1198
+ break;
1199
+ }
1200
+ message.number_of_emi_l = reader.string();
1201
+ continue;
1202
+ case 56:
1203
+ if (tag !== 450) {
1204
+ break;
1205
+ }
1206
+ message.first_emi_amt_l = reader.string();
1207
+ continue;
1208
+ case 57:
1209
+ if (tag !== 458) {
1210
+ break;
1211
+ }
1212
+ message.subsequent_emi_l = reader.string();
1213
+ continue;
1214
+ case 58:
1215
+ if (tag !== 466) {
1216
+ break;
1217
+ }
1218
+ message.effective_roi_l = reader.string();
1219
+ continue;
1220
+ case 59:
1221
+ if (tag !== 473) {
1222
+ break;
1223
+ }
1224
+ message.effective_roi = reader.double();
1225
+ continue;
1226
+ case 60:
1227
+ if (tag !== 482) {
1228
+ break;
1229
+ }
1230
+ message.effective_annual_roi_l = reader.string();
1231
+ continue;
1232
+ case 61:
1233
+ if (tag !== 489) {
1234
+ break;
1235
+ }
1236
+ message.effective_annual_roi = reader.double();
1237
+ continue;
1238
+ case 62:
1239
+ if (tag !== 498) {
1240
+ break;
1241
+ }
1242
+ message.insurance_l = reader.string();
1243
+ continue;
1244
+ case 63:
1245
+ if (tag !== 506) {
1246
+ break;
1247
+ }
1248
+ message.emi_card_description = reader.string();
1249
+ continue;
1250
+ case 64:
1251
+ if (tag !== 514) {
1252
+ break;
1253
+ }
1254
+ message.bill_card_description = reader.string();
1255
+ continue;
1256
+ case 65:
1257
+ if (tag !== 522) {
1258
+ break;
1259
+ }
1260
+ message.loan_id = reader.string();
1261
+ continue;
1262
+ case 66:
1263
+ if (tag !== 530) {
1264
+ break;
1265
+ }
1266
+ message.apr_title = reader.string();
1267
+ continue;
1268
+ case 67:
1269
+ if (tag !== 538) {
1270
+ break;
1271
+ }
1272
+ message.apr_value = reader.string();
1273
+ continue;
1274
+ case 68:
1275
+ if (tag !== 546) {
1276
+ break;
1277
+ }
1278
+ message.apr_type = reader.string();
1279
+ continue;
1280
+ case 69:
1281
+ if (tag !== 552) {
1282
+ break;
1283
+ }
1284
+ message.colender_id = reader.int32();
1285
+ continue;
1286
+ case 70:
1287
+ if (tag !== 562) {
1288
+ break;
1289
+ }
1290
+ message.credit_line_details_sheet = reader.string();
1291
+ continue;
1292
+ case 71:
1293
+ if (tag !== 570) {
1294
+ break;
1295
+ }
1296
+ message.Acknowledgement = reader.string();
1297
+ continue;
1298
+ case 72:
1299
+ if (tag !== 578) {
1300
+ break;
1301
+ }
1302
+ message.payment_undertaking = reader.string();
1303
+ continue;
1304
+ case 73:
1305
+ if (tag !== 586) {
1306
+ break;
1307
+ }
1308
+ message.key_fact_statement = reader.string();
1309
+ continue;
1310
+ case 74:
1311
+ if (tag !== 594) {
1312
+ break;
1313
+ }
1314
+ message.sanction_letter = reader.string();
1315
+ continue;
1316
+ case 75:
1317
+ if (tag !== 602) {
1318
+ break;
1319
+ }
1320
+ message.financing_documents = reader.string();
1321
+ continue;
1322
+ case 76:
1323
+ if (tag !== 610) {
1324
+ break;
1325
+ }
1326
+ message.landers_credit_facility_form = reader.string();
1327
+ continue;
1328
+ case 77:
1329
+ if (tag !== 618) {
1330
+ break;
1331
+ }
1332
+ message.agreement_links = exports.AgreementLinks.decode(reader, reader.uint32());
1333
+ continue;
1334
+ case 78:
1335
+ if (tag !== 625) {
1336
+ break;
1337
+ }
1338
+ message.max_amount = reader.double();
1339
+ continue;
1340
+ case 79:
1341
+ if (tag !== 633) {
1342
+ break;
1343
+ }
1344
+ message.credit_report_fees = reader.double();
1345
+ continue;
1346
+ case 80:
1347
+ if (tag !== 641) {
1348
+ break;
1349
+ }
1350
+ message.credit_report_actual_fees = reader.double();
1351
+ continue;
1352
+ case 81:
1353
+ if (tag !== 650) {
1354
+ break;
1355
+ }
1356
+ message.plan_id = reader.string();
1357
+ continue;
1358
+ case 82:
1359
+ if (tag !== 658) {
1360
+ break;
1361
+ }
1362
+ message.lender_name = reader.string();
1363
+ continue;
1364
+ case 83:
1365
+ if (tag !== 666) {
1366
+ break;
1367
+ }
1368
+ message.free_loc_eligible_bank = reader.string();
1369
+ continue;
1370
+ case 84:
1371
+ if (tag !== 674) {
1372
+ break;
1373
+ }
1374
+ message.insurance_title = reader.string();
1375
+ continue;
1376
+ case 85:
1377
+ if (tag !== 682) {
1378
+ break;
1379
+ }
1380
+ message.insurance_desc.push(exports.InsuranceDesc.decode(reader, reader.uint32()));
1381
+ continue;
1382
+ case 86:
1383
+ if (tag !== 690) {
1384
+ break;
1385
+ }
1386
+ message.upfront_interest_description = reader.string();
1387
+ continue;
1388
+ case 87:
1389
+ if (tag !== 698) {
1390
+ break;
1391
+ }
1392
+ message.txn_id = reader.string();
1393
+ continue;
1394
+ }
1395
+ if ((tag & 7) === 4 || tag === 0) {
1396
+ break;
1397
+ }
1398
+ reader.skipType(tag & 7);
1399
+ }
1400
+ return message;
1401
+ },
1402
+ fromJSON(object) {
1403
+ return {
1404
+ gateway_fees: isSet(object.gateway_fees) ? globalThis.Number(object.gateway_fees) : 0,
1405
+ striked_gateway_fees: isSet(object.striked_gateway_fees) ? globalThis.Number(object.striked_gateway_fees) : 0,
1406
+ bill_date: isSet(object.bill_date) ? globalThis.String(object.bill_date) : "",
1407
+ matched: isSet(object.matched) ? globalThis.Boolean(object.matched) : false,
1408
+ remaining_loc: isSet(object.remaining_loc) ? globalThis.Number(object.remaining_loc) : 0,
1409
+ requested_amount: isSet(object.requested_amount) ? globalThis.Number(object.requested_amount) : 0,
1410
+ tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
1411
+ emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
1412
+ net_amount_payable: isSet(object.net_amount_payable) ? globalThis.Number(object.net_amount_payable) : 0,
1413
+ first_emi_date: isSet(object.first_emi_date) ? globalThis.String(object.first_emi_date) : "",
1414
+ emi_date: isSet(object.emi_date) ? globalThis.String(object.emi_date) : "",
1415
+ final_disbursal_amount: isSet(object.final_disbursal_amount)
1416
+ ? globalThis.Number(object.final_disbursal_amount)
1417
+ : 0,
1418
+ upfront_interest: isSet(object.upfront_interest) ? globalThis.Number(object.upfront_interest) : 0,
1419
+ approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
1420
+ processing_fees: isSet(object.processing_fees) ? globalThis.Number(object.processing_fees) : 0,
1421
+ gst: isSet(object.gst) ? globalThis.Number(object.gst) : 0,
1422
+ rate_of_interest: isSet(object.rate_of_interest) ? globalThis.Number(object.rate_of_interest) : 0,
1423
+ bill_amount: isSet(object.bill_amount) ? globalThis.Number(object.bill_amount) : 0,
1424
+ early_foreclosure_fees: isSet(object.early_foreclosure_fees)
1425
+ ? globalThis.Number(object.early_foreclosure_fees)
1426
+ : 0,
1427
+ convenience_fees: isSet(object.convenience_fees) ? globalThis.Number(object.convenience_fees) : 0,
1428
+ total_interest_pay: isSet(object.total_interest_pay) ? globalThis.Number(object.total_interest_pay) : 0,
1429
+ effective_annual_rate: isSet(object.effective_annual_rate) ? globalThis.Number(object.effective_annual_rate) : 0,
1430
+ transaction_rate: isSet(object.transaction_rate) ? globalThis.Number(object.transaction_rate) : 0,
1431
+ transaction_fee_amount: isSet(object.transaction_fee_amount)
1432
+ ? globalThis.Number(object.transaction_fee_amount)
1433
+ : 0,
1434
+ emi_date_l: isSet(object.emi_date_l) ? globalThis.String(object.emi_date_l) : "",
1435
+ emi_amount_l: isSet(object.emi_amount_l) ? globalThis.String(object.emi_amount_l) : "",
1436
+ first_emi_date_l: isSet(object.first_emi_date_l) ? globalThis.String(object.first_emi_date_l) : "",
1437
+ final_disbursal_amount_l: isSet(object.final_disbursal_amount_l)
1438
+ ? globalThis.String(object.final_disbursal_amount_l)
1439
+ : "",
1440
+ upfront_interest_l: isSet(object.upfront_interest_l) ? globalThis.String(object.upfront_interest_l) : "",
1441
+ processing_fees_l: isSet(object.processing_fees_l) ? globalThis.String(object.processing_fees_l) : "",
1442
+ gst_l: isSet(object.gst_l) ? globalThis.String(object.gst_l) : "",
1443
+ rate_of_interest_l: isSet(object.rate_of_interest_l) ? globalThis.String(object.rate_of_interest_l) : "",
1444
+ bill_amount_l: isSet(object.bill_amount_l) ? globalThis.String(object.bill_amount_l) : "",
1445
+ early_foreclosure_fees_l: isSet(object.early_foreclosure_fees_l)
1446
+ ? globalThis.String(object.early_foreclosure_fees_l)
1447
+ : "",
1448
+ convenience_fees_l: isSet(object.convenience_fees_l) ? globalThis.String(object.convenience_fees_l) : "",
1449
+ total_interest_pay_l: isSet(object.total_interest_pay_l) ? globalThis.String(object.total_interest_pay_l) : "",
1450
+ effective_annual_rate_l: isSet(object.effective_annual_rate_l)
1451
+ ? globalThis.String(object.effective_annual_rate_l)
1452
+ : "",
1453
+ transaction_fee_bill_amount: isSet(object.transaction_fee_bill_amount)
1454
+ ? globalThis.Number(object.transaction_fee_bill_amount)
1455
+ : 0,
1456
+ processing_fee_plus_gst: isSet(object.processing_fee_plus_gst)
1457
+ ? globalThis.Number(object.processing_fee_plus_gst)
1458
+ : 0,
1459
+ trans_fee_plus_gst: isSet(object.trans_fee_plus_gst) ? globalThis.Number(object.trans_fee_plus_gst) : 0,
1460
+ trans_fee_plus_gst_l: isSet(object.trans_fee_plus_gst_l) ? globalThis.String(object.trans_fee_plus_gst_l) : "",
1461
+ processing_fee_plus_gst_l: isSet(object.processing_fee_plus_gst_l)
1462
+ ? globalThis.String(object.processing_fee_plus_gst_l)
1463
+ : "",
1464
+ max_amount_l: isSet(object.max_amount_l) ? globalThis.String(object.max_amount_l) : "",
1465
+ credit_report_fees_l: isSet(object.credit_report_fees_l) ? globalThis.String(object.credit_report_fees_l) : "",
1466
+ fee_and_charges_l: isSet(object.fee_and_charges_l) ? globalThis.String(object.fee_and_charges_l) : "",
1467
+ fee_and_charges: isSet(object.fee_and_charges) ? globalThis.Number(object.fee_and_charges) : 0,
1468
+ fee_and_charges_bill: isSet(object.fee_and_charges_bill) ? globalThis.Number(object.fee_and_charges_bill) : 0,
1469
+ add_on_l: isSet(object.add_on_l) ? globalThis.String(object.add_on_l) : "",
1470
+ total_loan_amount_l: isSet(object.total_loan_amount_l) ? globalThis.String(object.total_loan_amount_l) : "",
1471
+ loan_amount_l: isSet(object.loan_amount_l) ? globalThis.String(object.loan_amount_l) : "",
1472
+ disbursed_amount_l: isSet(object.disbursed_amount_l) ? globalThis.String(object.disbursed_amount_l) : "",
1473
+ total_payable_amount_l: isSet(object.total_payable_amount_l)
1474
+ ? globalThis.String(object.total_payable_amount_l)
1475
+ : "",
1476
+ disbursal_amount_l: isSet(object.disbursal_amount_l) ? globalThis.String(object.disbursal_amount_l) : "",
1477
+ fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) : 0,
1478
+ number_of_emi_l: isSet(object.number_of_emi_l) ? globalThis.String(object.number_of_emi_l) : "",
1479
+ first_emi_amt_l: isSet(object.first_emi_amt_l) ? globalThis.String(object.first_emi_amt_l) : "",
1480
+ subsequent_emi_l: isSet(object.subsequent_emi_l) ? globalThis.String(object.subsequent_emi_l) : "",
1481
+ effective_roi_l: isSet(object.effective_roi_l) ? globalThis.String(object.effective_roi_l) : "",
1482
+ effective_roi: isSet(object.effective_roi) ? globalThis.Number(object.effective_roi) : 0,
1483
+ effective_annual_roi_l: isSet(object.effective_annual_roi_l)
1484
+ ? globalThis.String(object.effective_annual_roi_l)
1485
+ : "",
1486
+ effective_annual_roi: isSet(object.effective_annual_roi) ? globalThis.Number(object.effective_annual_roi) : 0,
1487
+ insurance_l: isSet(object.insurance_l) ? globalThis.String(object.insurance_l) : "",
1488
+ emi_card_description: isSet(object.emi_card_description) ? globalThis.String(object.emi_card_description) : "",
1489
+ bill_card_description: isSet(object.bill_card_description) ? globalThis.String(object.bill_card_description) : "",
1490
+ loan_id: isSet(object.loan_id) ? globalThis.String(object.loan_id) : "",
1491
+ apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) : "",
1492
+ apr_value: isSet(object.apr_value) ? globalThis.String(object.apr_value) : "",
1493
+ apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) : "",
1494
+ colender_id: isSet(object.colender_id) ? globalThis.Number(object.colender_id) : 0,
1495
+ credit_line_details_sheet: isSet(object.credit_line_details_sheet)
1496
+ ? globalThis.String(object.credit_line_details_sheet)
1497
+ : "",
1498
+ Acknowledgement: isSet(object.Acknowledgement) ? globalThis.String(object.Acknowledgement) : "",
1499
+ payment_undertaking: isSet(object.payment_undertaking) ? globalThis.String(object.payment_undertaking) : "",
1500
+ key_fact_statement: isSet(object.key_fact_statement) ? globalThis.String(object.key_fact_statement) : "",
1501
+ sanction_letter: isSet(object.sanction_letter) ? globalThis.String(object.sanction_letter) : "",
1502
+ financing_documents: isSet(object.financing_documents) ? globalThis.String(object.financing_documents) : "",
1503
+ landers_credit_facility_form: isSet(object.landers_credit_facility_form)
1504
+ ? globalThis.String(object.landers_credit_facility_form)
1505
+ : "",
1506
+ agreement_links: isSet(object.agreement_links) ? exports.AgreementLinks.fromJSON(object.agreement_links) : undefined,
1507
+ max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : 0,
1508
+ credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : 0,
1509
+ credit_report_actual_fees: isSet(object.credit_report_actual_fees)
1510
+ ? globalThis.Number(object.credit_report_actual_fees)
1511
+ : 0,
1512
+ plan_id: isSet(object.plan_id) ? globalThis.String(object.plan_id) : "",
1513
+ lender_name: isSet(object.lender_name) ? globalThis.String(object.lender_name) : "",
1514
+ free_loc_eligible_bank: isSet(object.free_loc_eligible_bank)
1515
+ ? globalThis.String(object.free_loc_eligible_bank)
1516
+ : "",
1517
+ insurance_title: isSet(object.insurance_title) ? globalThis.String(object.insurance_title) : "",
1518
+ insurance_desc: globalThis.Array.isArray(object?.insurance_desc)
1519
+ ? object.insurance_desc.map((e) => exports.InsuranceDesc.fromJSON(e))
1520
+ : [],
1521
+ upfront_interest_description: isSet(object.upfront_interest_description)
1522
+ ? globalThis.String(object.upfront_interest_description)
1523
+ : "",
1524
+ txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
1525
+ };
1526
+ },
1527
+ toJSON(message) {
1528
+ const obj = {};
1529
+ if (message.gateway_fees !== 0) {
1530
+ obj.gateway_fees = message.gateway_fees;
1531
+ }
1532
+ if (message.striked_gateway_fees !== 0) {
1533
+ obj.striked_gateway_fees = message.striked_gateway_fees;
1534
+ }
1535
+ if (message.bill_date !== "") {
1536
+ obj.bill_date = message.bill_date;
1537
+ }
1538
+ if (message.matched !== false) {
1539
+ obj.matched = message.matched;
1540
+ }
1541
+ if (message.remaining_loc !== 0) {
1542
+ obj.remaining_loc = message.remaining_loc;
1543
+ }
1544
+ if (message.requested_amount !== 0) {
1545
+ obj.requested_amount = message.requested_amount;
1546
+ }
1547
+ if (message.tenure !== 0) {
1548
+ obj.tenure = message.tenure;
1549
+ }
1550
+ if (message.emi_amount !== 0) {
1551
+ obj.emi_amount = message.emi_amount;
1552
+ }
1553
+ if (message.net_amount_payable !== 0) {
1554
+ obj.net_amount_payable = message.net_amount_payable;
1555
+ }
1556
+ if (message.first_emi_date !== "") {
1557
+ obj.first_emi_date = message.first_emi_date;
1558
+ }
1559
+ if (message.emi_date !== "") {
1560
+ obj.emi_date = message.emi_date;
1561
+ }
1562
+ if (message.final_disbursal_amount !== 0) {
1563
+ obj.final_disbursal_amount = message.final_disbursal_amount;
1564
+ }
1565
+ if (message.upfront_interest !== 0) {
1566
+ obj.upfront_interest = message.upfront_interest;
1567
+ }
1568
+ if (message.approved_amount !== 0) {
1569
+ obj.approved_amount = message.approved_amount;
1570
+ }
1571
+ if (message.processing_fees !== 0) {
1572
+ obj.processing_fees = message.processing_fees;
1573
+ }
1574
+ if (message.gst !== 0) {
1575
+ obj.gst = message.gst;
1576
+ }
1577
+ if (message.rate_of_interest !== 0) {
1578
+ obj.rate_of_interest = message.rate_of_interest;
1579
+ }
1580
+ if (message.bill_amount !== 0) {
1581
+ obj.bill_amount = message.bill_amount;
1582
+ }
1583
+ if (message.early_foreclosure_fees !== 0) {
1584
+ obj.early_foreclosure_fees = message.early_foreclosure_fees;
1585
+ }
1586
+ if (message.convenience_fees !== 0) {
1587
+ obj.convenience_fees = message.convenience_fees;
1588
+ }
1589
+ if (message.total_interest_pay !== 0) {
1590
+ obj.total_interest_pay = message.total_interest_pay;
1591
+ }
1592
+ if (message.effective_annual_rate !== 0) {
1593
+ obj.effective_annual_rate = message.effective_annual_rate;
1594
+ }
1595
+ if (message.transaction_rate !== 0) {
1596
+ obj.transaction_rate = message.transaction_rate;
1597
+ }
1598
+ if (message.transaction_fee_amount !== 0) {
1599
+ obj.transaction_fee_amount = message.transaction_fee_amount;
1600
+ }
1601
+ if (message.emi_date_l !== "") {
1602
+ obj.emi_date_l = message.emi_date_l;
1603
+ }
1604
+ if (message.emi_amount_l !== "") {
1605
+ obj.emi_amount_l = message.emi_amount_l;
1606
+ }
1607
+ if (message.first_emi_date_l !== "") {
1608
+ obj.first_emi_date_l = message.first_emi_date_l;
1609
+ }
1610
+ if (message.final_disbursal_amount_l !== "") {
1611
+ obj.final_disbursal_amount_l = message.final_disbursal_amount_l;
1612
+ }
1613
+ if (message.upfront_interest_l !== "") {
1614
+ obj.upfront_interest_l = message.upfront_interest_l;
1615
+ }
1616
+ if (message.processing_fees_l !== "") {
1617
+ obj.processing_fees_l = message.processing_fees_l;
1618
+ }
1619
+ if (message.gst_l !== "") {
1620
+ obj.gst_l = message.gst_l;
1621
+ }
1622
+ if (message.rate_of_interest_l !== "") {
1623
+ obj.rate_of_interest_l = message.rate_of_interest_l;
1624
+ }
1625
+ if (message.bill_amount_l !== "") {
1626
+ obj.bill_amount_l = message.bill_amount_l;
1627
+ }
1628
+ if (message.early_foreclosure_fees_l !== "") {
1629
+ obj.early_foreclosure_fees_l = message.early_foreclosure_fees_l;
1630
+ }
1631
+ if (message.convenience_fees_l !== "") {
1632
+ obj.convenience_fees_l = message.convenience_fees_l;
1633
+ }
1634
+ if (message.total_interest_pay_l !== "") {
1635
+ obj.total_interest_pay_l = message.total_interest_pay_l;
1636
+ }
1637
+ if (message.effective_annual_rate_l !== "") {
1638
+ obj.effective_annual_rate_l = message.effective_annual_rate_l;
1639
+ }
1640
+ if (message.transaction_fee_bill_amount !== 0) {
1641
+ obj.transaction_fee_bill_amount = message.transaction_fee_bill_amount;
1642
+ }
1643
+ if (message.processing_fee_plus_gst !== 0) {
1644
+ obj.processing_fee_plus_gst = message.processing_fee_plus_gst;
1645
+ }
1646
+ if (message.trans_fee_plus_gst !== 0) {
1647
+ obj.trans_fee_plus_gst = message.trans_fee_plus_gst;
1648
+ }
1649
+ if (message.trans_fee_plus_gst_l !== "") {
1650
+ obj.trans_fee_plus_gst_l = message.trans_fee_plus_gst_l;
1651
+ }
1652
+ if (message.processing_fee_plus_gst_l !== "") {
1653
+ obj.processing_fee_plus_gst_l = message.processing_fee_plus_gst_l;
1654
+ }
1655
+ if (message.max_amount_l !== "") {
1656
+ obj.max_amount_l = message.max_amount_l;
1657
+ }
1658
+ if (message.credit_report_fees_l !== "") {
1659
+ obj.credit_report_fees_l = message.credit_report_fees_l;
1660
+ }
1661
+ if (message.fee_and_charges_l !== "") {
1662
+ obj.fee_and_charges_l = message.fee_and_charges_l;
1663
+ }
1664
+ if (message.fee_and_charges !== 0) {
1665
+ obj.fee_and_charges = message.fee_and_charges;
1666
+ }
1667
+ if (message.fee_and_charges_bill !== 0) {
1668
+ obj.fee_and_charges_bill = message.fee_and_charges_bill;
1669
+ }
1670
+ if (message.add_on_l !== "") {
1671
+ obj.add_on_l = message.add_on_l;
1672
+ }
1673
+ if (message.total_loan_amount_l !== "") {
1674
+ obj.total_loan_amount_l = message.total_loan_amount_l;
1675
+ }
1676
+ if (message.loan_amount_l !== "") {
1677
+ obj.loan_amount_l = message.loan_amount_l;
1678
+ }
1679
+ if (message.disbursed_amount_l !== "") {
1680
+ obj.disbursed_amount_l = message.disbursed_amount_l;
1681
+ }
1682
+ if (message.total_payable_amount_l !== "") {
1683
+ obj.total_payable_amount_l = message.total_payable_amount_l;
1684
+ }
1685
+ if (message.disbursal_amount_l !== "") {
1686
+ obj.disbursal_amount_l = message.disbursal_amount_l;
1687
+ }
1688
+ if (message.fcp_interest !== 0) {
1689
+ obj.fcp_interest = message.fcp_interest;
1690
+ }
1691
+ if (message.number_of_emi_l !== "") {
1692
+ obj.number_of_emi_l = message.number_of_emi_l;
1693
+ }
1694
+ if (message.first_emi_amt_l !== "") {
1695
+ obj.first_emi_amt_l = message.first_emi_amt_l;
1696
+ }
1697
+ if (message.subsequent_emi_l !== "") {
1698
+ obj.subsequent_emi_l = message.subsequent_emi_l;
1699
+ }
1700
+ if (message.effective_roi_l !== "") {
1701
+ obj.effective_roi_l = message.effective_roi_l;
1702
+ }
1703
+ if (message.effective_roi !== 0) {
1704
+ obj.effective_roi = message.effective_roi;
1705
+ }
1706
+ if (message.effective_annual_roi_l !== "") {
1707
+ obj.effective_annual_roi_l = message.effective_annual_roi_l;
1708
+ }
1709
+ if (message.effective_annual_roi !== 0) {
1710
+ obj.effective_annual_roi = message.effective_annual_roi;
1711
+ }
1712
+ if (message.insurance_l !== "") {
1713
+ obj.insurance_l = message.insurance_l;
1714
+ }
1715
+ if (message.emi_card_description !== "") {
1716
+ obj.emi_card_description = message.emi_card_description;
1717
+ }
1718
+ if (message.bill_card_description !== "") {
1719
+ obj.bill_card_description = message.bill_card_description;
1720
+ }
1721
+ if (message.loan_id !== "") {
1722
+ obj.loan_id = message.loan_id;
1723
+ }
1724
+ if (message.apr_title !== "") {
1725
+ obj.apr_title = message.apr_title;
1726
+ }
1727
+ if (message.apr_value !== "") {
1728
+ obj.apr_value = message.apr_value;
1729
+ }
1730
+ if (message.apr_type !== "") {
1731
+ obj.apr_type = message.apr_type;
1732
+ }
1733
+ if (message.colender_id !== 0) {
1734
+ obj.colender_id = Math.round(message.colender_id);
1735
+ }
1736
+ if (message.credit_line_details_sheet !== "") {
1737
+ obj.credit_line_details_sheet = message.credit_line_details_sheet;
1738
+ }
1739
+ if (message.Acknowledgement !== "") {
1740
+ obj.Acknowledgement = message.Acknowledgement;
1741
+ }
1742
+ if (message.payment_undertaking !== "") {
1743
+ obj.payment_undertaking = message.payment_undertaking;
1744
+ }
1745
+ if (message.key_fact_statement !== "") {
1746
+ obj.key_fact_statement = message.key_fact_statement;
1747
+ }
1748
+ if (message.sanction_letter !== "") {
1749
+ obj.sanction_letter = message.sanction_letter;
1750
+ }
1751
+ if (message.financing_documents !== "") {
1752
+ obj.financing_documents = message.financing_documents;
1753
+ }
1754
+ if (message.landers_credit_facility_form !== "") {
1755
+ obj.landers_credit_facility_form = message.landers_credit_facility_form;
1756
+ }
1757
+ if (message.agreement_links !== undefined) {
1758
+ obj.agreement_links = exports.AgreementLinks.toJSON(message.agreement_links);
1759
+ }
1760
+ if (message.max_amount !== 0) {
1761
+ obj.max_amount = message.max_amount;
1762
+ }
1763
+ if (message.credit_report_fees !== 0) {
1764
+ obj.credit_report_fees = message.credit_report_fees;
1765
+ }
1766
+ if (message.credit_report_actual_fees !== 0) {
1767
+ obj.credit_report_actual_fees = message.credit_report_actual_fees;
1768
+ }
1769
+ if (message.plan_id !== "") {
1770
+ obj.plan_id = message.plan_id;
1771
+ }
1772
+ if (message.lender_name !== "") {
1773
+ obj.lender_name = message.lender_name;
1774
+ }
1775
+ if (message.free_loc_eligible_bank !== "") {
1776
+ obj.free_loc_eligible_bank = message.free_loc_eligible_bank;
1777
+ }
1778
+ if (message.insurance_title !== "") {
1779
+ obj.insurance_title = message.insurance_title;
1780
+ }
1781
+ if (message.insurance_desc?.length) {
1782
+ obj.insurance_desc = message.insurance_desc.map((e) => exports.InsuranceDesc.toJSON(e));
1783
+ }
1784
+ if (message.upfront_interest_description !== "") {
1785
+ obj.upfront_interest_description = message.upfront_interest_description;
1786
+ }
1787
+ if (message.txn_id !== "") {
1788
+ obj.txn_id = message.txn_id;
1789
+ }
1790
+ return obj;
1791
+ },
1792
+ create(base) {
1793
+ return exports.GetLocWithdrawlResponse.fromPartial(base ?? {});
1794
+ },
1795
+ fromPartial(object) {
1796
+ const message = createBaseGetLocWithdrawlResponse();
1797
+ message.gateway_fees = object.gateway_fees ?? 0;
1798
+ message.striked_gateway_fees = object.striked_gateway_fees ?? 0;
1799
+ message.bill_date = object.bill_date ?? "";
1800
+ message.matched = object.matched ?? false;
1801
+ message.remaining_loc = object.remaining_loc ?? 0;
1802
+ message.requested_amount = object.requested_amount ?? 0;
1803
+ message.tenure = object.tenure ?? 0;
1804
+ message.emi_amount = object.emi_amount ?? 0;
1805
+ message.net_amount_payable = object.net_amount_payable ?? 0;
1806
+ message.first_emi_date = object.first_emi_date ?? "";
1807
+ message.emi_date = object.emi_date ?? "";
1808
+ message.final_disbursal_amount = object.final_disbursal_amount ?? 0;
1809
+ message.upfront_interest = object.upfront_interest ?? 0;
1810
+ message.approved_amount = object.approved_amount ?? 0;
1811
+ message.processing_fees = object.processing_fees ?? 0;
1812
+ message.gst = object.gst ?? 0;
1813
+ message.rate_of_interest = object.rate_of_interest ?? 0;
1814
+ message.bill_amount = object.bill_amount ?? 0;
1815
+ message.early_foreclosure_fees = object.early_foreclosure_fees ?? 0;
1816
+ message.convenience_fees = object.convenience_fees ?? 0;
1817
+ message.total_interest_pay = object.total_interest_pay ?? 0;
1818
+ message.effective_annual_rate = object.effective_annual_rate ?? 0;
1819
+ message.transaction_rate = object.transaction_rate ?? 0;
1820
+ message.transaction_fee_amount = object.transaction_fee_amount ?? 0;
1821
+ message.emi_date_l = object.emi_date_l ?? "";
1822
+ message.emi_amount_l = object.emi_amount_l ?? "";
1823
+ message.first_emi_date_l = object.first_emi_date_l ?? "";
1824
+ message.final_disbursal_amount_l = object.final_disbursal_amount_l ?? "";
1825
+ message.upfront_interest_l = object.upfront_interest_l ?? "";
1826
+ message.processing_fees_l = object.processing_fees_l ?? "";
1827
+ message.gst_l = object.gst_l ?? "";
1828
+ message.rate_of_interest_l = object.rate_of_interest_l ?? "";
1829
+ message.bill_amount_l = object.bill_amount_l ?? "";
1830
+ message.early_foreclosure_fees_l = object.early_foreclosure_fees_l ?? "";
1831
+ message.convenience_fees_l = object.convenience_fees_l ?? "";
1832
+ message.total_interest_pay_l = object.total_interest_pay_l ?? "";
1833
+ message.effective_annual_rate_l = object.effective_annual_rate_l ?? "";
1834
+ message.transaction_fee_bill_amount = object.transaction_fee_bill_amount ?? 0;
1835
+ message.processing_fee_plus_gst = object.processing_fee_plus_gst ?? 0;
1836
+ message.trans_fee_plus_gst = object.trans_fee_plus_gst ?? 0;
1837
+ message.trans_fee_plus_gst_l = object.trans_fee_plus_gst_l ?? "";
1838
+ message.processing_fee_plus_gst_l = object.processing_fee_plus_gst_l ?? "";
1839
+ message.max_amount_l = object.max_amount_l ?? "";
1840
+ message.credit_report_fees_l = object.credit_report_fees_l ?? "";
1841
+ message.fee_and_charges_l = object.fee_and_charges_l ?? "";
1842
+ message.fee_and_charges = object.fee_and_charges ?? 0;
1843
+ message.fee_and_charges_bill = object.fee_and_charges_bill ?? 0;
1844
+ message.add_on_l = object.add_on_l ?? "";
1845
+ message.total_loan_amount_l = object.total_loan_amount_l ?? "";
1846
+ message.loan_amount_l = object.loan_amount_l ?? "";
1847
+ message.disbursed_amount_l = object.disbursed_amount_l ?? "";
1848
+ message.total_payable_amount_l = object.total_payable_amount_l ?? "";
1849
+ message.disbursal_amount_l = object.disbursal_amount_l ?? "";
1850
+ message.fcp_interest = object.fcp_interest ?? 0;
1851
+ message.number_of_emi_l = object.number_of_emi_l ?? "";
1852
+ message.first_emi_amt_l = object.first_emi_amt_l ?? "";
1853
+ message.subsequent_emi_l = object.subsequent_emi_l ?? "";
1854
+ message.effective_roi_l = object.effective_roi_l ?? "";
1855
+ message.effective_roi = object.effective_roi ?? 0;
1856
+ message.effective_annual_roi_l = object.effective_annual_roi_l ?? "";
1857
+ message.effective_annual_roi = object.effective_annual_roi ?? 0;
1858
+ message.insurance_l = object.insurance_l ?? "";
1859
+ message.emi_card_description = object.emi_card_description ?? "";
1860
+ message.bill_card_description = object.bill_card_description ?? "";
1861
+ message.loan_id = object.loan_id ?? "";
1862
+ message.apr_title = object.apr_title ?? "";
1863
+ message.apr_value = object.apr_value ?? "";
1864
+ message.apr_type = object.apr_type ?? "";
1865
+ message.colender_id = object.colender_id ?? 0;
1866
+ message.credit_line_details_sheet = object.credit_line_details_sheet ?? "";
1867
+ message.Acknowledgement = object.Acknowledgement ?? "";
1868
+ message.payment_undertaking = object.payment_undertaking ?? "";
1869
+ message.key_fact_statement = object.key_fact_statement ?? "";
1870
+ message.sanction_letter = object.sanction_letter ?? "";
1871
+ message.financing_documents = object.financing_documents ?? "";
1872
+ message.landers_credit_facility_form = object.landers_credit_facility_form ?? "";
1873
+ message.agreement_links = (object.agreement_links !== undefined && object.agreement_links !== null)
1874
+ ? exports.AgreementLinks.fromPartial(object.agreement_links)
1875
+ : undefined;
1876
+ message.max_amount = object.max_amount ?? 0;
1877
+ message.credit_report_fees = object.credit_report_fees ?? 0;
1878
+ message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
1879
+ message.plan_id = object.plan_id ?? "";
1880
+ message.lender_name = object.lender_name ?? "";
1881
+ message.free_loc_eligible_bank = object.free_loc_eligible_bank ?? "";
1882
+ message.insurance_title = object.insurance_title ?? "";
1883
+ message.insurance_desc = object.insurance_desc?.map((e) => exports.InsuranceDesc.fromPartial(e)) || [];
1884
+ message.upfront_interest_description = object.upfront_interest_description ?? "";
1885
+ message.txn_id = object.txn_id ?? "";
1886
+ return message;
1887
+ },
1888
+ };
1889
+ function isSet(value) {
1890
+ return value !== null && value !== undefined;
1891
+ }