@stashfin/grpc 1.2.632 → 1.2.634

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,1163 @@
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/getlocdetails.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.GetLocDetailsResponse = exports.GetLocDetailsRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getlocdetails";
15
+ function createBaseGetLocDetailsRequest() {
16
+ return { customer_id: 0 };
17
+ }
18
+ exports.GetLocDetailsRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.customer_id !== 0) {
21
+ writer.uint32(8).int32(message.customer_id);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
+ let end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBaseGetLocDetailsRequest();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 1:
33
+ if (tag !== 8) {
34
+ break;
35
+ }
36
+ message.customer_id = reader.int32();
37
+ continue;
38
+ }
39
+ if ((tag & 7) === 4 || tag === 0) {
40
+ break;
41
+ }
42
+ reader.skipType(tag & 7);
43
+ }
44
+ return message;
45
+ },
46
+ fromJSON(object) {
47
+ return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.customer_id !== 0) {
52
+ obj.customer_id = Math.round(message.customer_id);
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.GetLocDetailsRequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBaseGetLocDetailsRequest();
61
+ message.customer_id = object.customer_id ?? 0;
62
+ return message;
63
+ },
64
+ };
65
+ function createBaseGetLocDetailsResponse() {
66
+ return {
67
+ matched: false,
68
+ requested_amount: 0,
69
+ tenure: 0,
70
+ emi_amount: 0,
71
+ net_amount_payable: 0,
72
+ first_emi_date: "",
73
+ emi_date: "",
74
+ final_disbursal_amount: 0,
75
+ upfront_interest: 0,
76
+ approved_amount: 0,
77
+ processing_fees: 0,
78
+ gst: 0,
79
+ loan_id: "",
80
+ rate_of_interest: 0,
81
+ bill_amount: undefined,
82
+ early_foreclosure_fees: 0,
83
+ convenience_fees: 0,
84
+ total_interest_pay: 0,
85
+ effective_annual_rate: 0,
86
+ transaction_rate: 0,
87
+ transaction_fee_amount: 0,
88
+ emi_date_l: "",
89
+ emi_amount_l: "",
90
+ first_emi_date_l: "",
91
+ final_disbursal_amount_l: "",
92
+ upfront_interest_l: "",
93
+ processing_fees_l: "",
94
+ gst_l: "",
95
+ rate_of_interest_l: "",
96
+ trans_fee_plus_gst: 0,
97
+ processing_fee_plus_gst: 0,
98
+ bill_amount_l: "",
99
+ early_foreclosure_fees_l: "",
100
+ convenience_fees_l: "",
101
+ total_interest_pay_l: 0,
102
+ effective_annual_rate_l: "",
103
+ trans_fee_plus_gst_l: 0,
104
+ processing_fee_plus_gst_l: 0,
105
+ max_amount_l: "",
106
+ credit_report_fees_l: "",
107
+ fee_and_charges_l: "",
108
+ fee_and_charges: 0,
109
+ add_on_l: "",
110
+ total_loan_amount_l: "",
111
+ loan_amount_l: "",
112
+ disbursed_amount_l: "",
113
+ total_payable_amount_l: "",
114
+ disbursal_amount_l: "",
115
+ fcp_interest: 0,
116
+ number_of_emi_l: "",
117
+ first_emi_amt_l: "",
118
+ subsequent_emi_l: "",
119
+ effective_roi: 0,
120
+ effective_roi_l: "",
121
+ effective_annual_roi: 0,
122
+ effective_annual_roi_l: "",
123
+ insurance_l: "",
124
+ emi_card_description: "",
125
+ bill_card_description: "",
126
+ installment_amounts: "",
127
+ apr_title: "",
128
+ apr_value: "",
129
+ apr_type: "",
130
+ credit_line_details_sheet: "",
131
+ Acknowledgement: "",
132
+ payment_undertaking: "",
133
+ key_fact_statement: "",
134
+ sanction_letter: "",
135
+ financing_documents: "",
136
+ };
137
+ }
138
+ exports.GetLocDetailsResponse = {
139
+ encode(message, writer = minimal_1.default.Writer.create()) {
140
+ if (message.matched !== false) {
141
+ writer.uint32(8).bool(message.matched);
142
+ }
143
+ if (message.requested_amount !== 0) {
144
+ writer.uint32(16).int32(message.requested_amount);
145
+ }
146
+ if (message.tenure !== 0) {
147
+ writer.uint32(24).int32(message.tenure);
148
+ }
149
+ if (message.emi_amount !== 0) {
150
+ writer.uint32(32).int32(message.emi_amount);
151
+ }
152
+ if (message.net_amount_payable !== 0) {
153
+ writer.uint32(40).int32(message.net_amount_payable);
154
+ }
155
+ if (message.first_emi_date !== "") {
156
+ writer.uint32(50).string(message.first_emi_date);
157
+ }
158
+ if (message.emi_date !== "") {
159
+ writer.uint32(58).string(message.emi_date);
160
+ }
161
+ if (message.final_disbursal_amount !== 0) {
162
+ writer.uint32(64).int32(message.final_disbursal_amount);
163
+ }
164
+ if (message.upfront_interest !== 0) {
165
+ writer.uint32(72).int32(message.upfront_interest);
166
+ }
167
+ if (message.approved_amount !== 0) {
168
+ writer.uint32(80).int32(message.approved_amount);
169
+ }
170
+ if (message.processing_fees !== 0) {
171
+ writer.uint32(88).int32(message.processing_fees);
172
+ }
173
+ if (message.gst !== 0) {
174
+ writer.uint32(96).int32(message.gst);
175
+ }
176
+ if (message.loan_id !== "") {
177
+ writer.uint32(106).string(message.loan_id);
178
+ }
179
+ if (message.rate_of_interest !== 0) {
180
+ writer.uint32(117).float(message.rate_of_interest);
181
+ }
182
+ if (message.bill_amount !== undefined) {
183
+ writer.uint32(122).string(message.bill_amount);
184
+ }
185
+ if (message.early_foreclosure_fees !== 0) {
186
+ writer.uint32(128).int32(message.early_foreclosure_fees);
187
+ }
188
+ if (message.convenience_fees !== 0) {
189
+ writer.uint32(136).int32(message.convenience_fees);
190
+ }
191
+ if (message.total_interest_pay !== 0) {
192
+ writer.uint32(144).int32(message.total_interest_pay);
193
+ }
194
+ if (message.effective_annual_rate !== 0) {
195
+ writer.uint32(157).float(message.effective_annual_rate);
196
+ }
197
+ if (message.transaction_rate !== 0) {
198
+ writer.uint32(165).float(message.transaction_rate);
199
+ }
200
+ if (message.transaction_fee_amount !== 0) {
201
+ writer.uint32(168).int32(message.transaction_fee_amount);
202
+ }
203
+ if (message.emi_date_l !== "") {
204
+ writer.uint32(178).string(message.emi_date_l);
205
+ }
206
+ if (message.emi_amount_l !== "") {
207
+ writer.uint32(186).string(message.emi_amount_l);
208
+ }
209
+ if (message.first_emi_date_l !== "") {
210
+ writer.uint32(194).string(message.first_emi_date_l);
211
+ }
212
+ if (message.final_disbursal_amount_l !== "") {
213
+ writer.uint32(202).string(message.final_disbursal_amount_l);
214
+ }
215
+ if (message.upfront_interest_l !== "") {
216
+ writer.uint32(210).string(message.upfront_interest_l);
217
+ }
218
+ if (message.processing_fees_l !== "") {
219
+ writer.uint32(218).string(message.processing_fees_l);
220
+ }
221
+ if (message.gst_l !== "") {
222
+ writer.uint32(226).string(message.gst_l);
223
+ }
224
+ if (message.rate_of_interest_l !== "") {
225
+ writer.uint32(234).string(message.rate_of_interest_l);
226
+ }
227
+ if (message.trans_fee_plus_gst !== 0) {
228
+ writer.uint32(240).int32(message.trans_fee_plus_gst);
229
+ }
230
+ if (message.processing_fee_plus_gst !== 0) {
231
+ writer.uint32(248).int32(message.processing_fee_plus_gst);
232
+ }
233
+ if (message.bill_amount_l !== "") {
234
+ writer.uint32(258).string(message.bill_amount_l);
235
+ }
236
+ if (message.early_foreclosure_fees_l !== "") {
237
+ writer.uint32(266).string(message.early_foreclosure_fees_l);
238
+ }
239
+ if (message.convenience_fees_l !== "") {
240
+ writer.uint32(274).string(message.convenience_fees_l);
241
+ }
242
+ if (message.total_interest_pay_l !== 0) {
243
+ writer.uint32(280).int32(message.total_interest_pay_l);
244
+ }
245
+ if (message.effective_annual_rate_l !== "") {
246
+ writer.uint32(290).string(message.effective_annual_rate_l);
247
+ }
248
+ if (message.trans_fee_plus_gst_l !== 0) {
249
+ writer.uint32(296).int32(message.trans_fee_plus_gst_l);
250
+ }
251
+ if (message.processing_fee_plus_gst_l !== 0) {
252
+ writer.uint32(304).int32(message.processing_fee_plus_gst_l);
253
+ }
254
+ if (message.max_amount_l !== "") {
255
+ writer.uint32(314).string(message.max_amount_l);
256
+ }
257
+ if (message.credit_report_fees_l !== "") {
258
+ writer.uint32(322).string(message.credit_report_fees_l);
259
+ }
260
+ if (message.fee_and_charges_l !== "") {
261
+ writer.uint32(330).string(message.fee_and_charges_l);
262
+ }
263
+ if (message.fee_and_charges !== 0) {
264
+ writer.uint32(336).int32(message.fee_and_charges);
265
+ }
266
+ if (message.add_on_l !== "") {
267
+ writer.uint32(346).string(message.add_on_l);
268
+ }
269
+ if (message.total_loan_amount_l !== "") {
270
+ writer.uint32(354).string(message.total_loan_amount_l);
271
+ }
272
+ if (message.loan_amount_l !== "") {
273
+ writer.uint32(362).string(message.loan_amount_l);
274
+ }
275
+ if (message.disbursed_amount_l !== "") {
276
+ writer.uint32(370).string(message.disbursed_amount_l);
277
+ }
278
+ if (message.total_payable_amount_l !== "") {
279
+ writer.uint32(378).string(message.total_payable_amount_l);
280
+ }
281
+ if (message.disbursal_amount_l !== "") {
282
+ writer.uint32(386).string(message.disbursal_amount_l);
283
+ }
284
+ if (message.fcp_interest !== 0) {
285
+ writer.uint32(392).int32(message.fcp_interest);
286
+ }
287
+ if (message.number_of_emi_l !== "") {
288
+ writer.uint32(402).string(message.number_of_emi_l);
289
+ }
290
+ if (message.first_emi_amt_l !== "") {
291
+ writer.uint32(410).string(message.first_emi_amt_l);
292
+ }
293
+ if (message.subsequent_emi_l !== "") {
294
+ writer.uint32(418).string(message.subsequent_emi_l);
295
+ }
296
+ if (message.effective_roi !== 0) {
297
+ writer.uint32(429).float(message.effective_roi);
298
+ }
299
+ if (message.effective_roi_l !== "") {
300
+ writer.uint32(434).string(message.effective_roi_l);
301
+ }
302
+ if (message.effective_annual_roi !== 0) {
303
+ writer.uint32(445).float(message.effective_annual_roi);
304
+ }
305
+ if (message.effective_annual_roi_l !== "") {
306
+ writer.uint32(450).string(message.effective_annual_roi_l);
307
+ }
308
+ if (message.insurance_l !== "") {
309
+ writer.uint32(458).string(message.insurance_l);
310
+ }
311
+ if (message.emi_card_description !== "") {
312
+ writer.uint32(466).string(message.emi_card_description);
313
+ }
314
+ if (message.bill_card_description !== "") {
315
+ writer.uint32(474).string(message.bill_card_description);
316
+ }
317
+ if (message.installment_amounts !== "") {
318
+ writer.uint32(482).string(message.installment_amounts);
319
+ }
320
+ if (message.apr_title !== "") {
321
+ writer.uint32(490).string(message.apr_title);
322
+ }
323
+ if (message.apr_value !== "") {
324
+ writer.uint32(498).string(message.apr_value);
325
+ }
326
+ if (message.apr_type !== "") {
327
+ writer.uint32(506).string(message.apr_type);
328
+ }
329
+ if (message.credit_line_details_sheet !== "") {
330
+ writer.uint32(514).string(message.credit_line_details_sheet);
331
+ }
332
+ if (message.Acknowledgement !== "") {
333
+ writer.uint32(522).string(message.Acknowledgement);
334
+ }
335
+ if (message.payment_undertaking !== "") {
336
+ writer.uint32(530).string(message.payment_undertaking);
337
+ }
338
+ if (message.key_fact_statement !== "") {
339
+ writer.uint32(538).string(message.key_fact_statement);
340
+ }
341
+ if (message.sanction_letter !== "") {
342
+ writer.uint32(546).string(message.sanction_letter);
343
+ }
344
+ if (message.financing_documents !== "") {
345
+ writer.uint32(554).string(message.financing_documents);
346
+ }
347
+ return writer;
348
+ },
349
+ decode(input, length) {
350
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
351
+ let end = length === undefined ? reader.len : reader.pos + length;
352
+ const message = createBaseGetLocDetailsResponse();
353
+ while (reader.pos < end) {
354
+ const tag = reader.uint32();
355
+ switch (tag >>> 3) {
356
+ case 1:
357
+ if (tag !== 8) {
358
+ break;
359
+ }
360
+ message.matched = reader.bool();
361
+ continue;
362
+ case 2:
363
+ if (tag !== 16) {
364
+ break;
365
+ }
366
+ message.requested_amount = reader.int32();
367
+ continue;
368
+ case 3:
369
+ if (tag !== 24) {
370
+ break;
371
+ }
372
+ message.tenure = reader.int32();
373
+ continue;
374
+ case 4:
375
+ if (tag !== 32) {
376
+ break;
377
+ }
378
+ message.emi_amount = reader.int32();
379
+ continue;
380
+ case 5:
381
+ if (tag !== 40) {
382
+ break;
383
+ }
384
+ message.net_amount_payable = reader.int32();
385
+ continue;
386
+ case 6:
387
+ if (tag !== 50) {
388
+ break;
389
+ }
390
+ message.first_emi_date = reader.string();
391
+ continue;
392
+ case 7:
393
+ if (tag !== 58) {
394
+ break;
395
+ }
396
+ message.emi_date = reader.string();
397
+ continue;
398
+ case 8:
399
+ if (tag !== 64) {
400
+ break;
401
+ }
402
+ message.final_disbursal_amount = reader.int32();
403
+ continue;
404
+ case 9:
405
+ if (tag !== 72) {
406
+ break;
407
+ }
408
+ message.upfront_interest = reader.int32();
409
+ continue;
410
+ case 10:
411
+ if (tag !== 80) {
412
+ break;
413
+ }
414
+ message.approved_amount = reader.int32();
415
+ continue;
416
+ case 11:
417
+ if (tag !== 88) {
418
+ break;
419
+ }
420
+ message.processing_fees = reader.int32();
421
+ continue;
422
+ case 12:
423
+ if (tag !== 96) {
424
+ break;
425
+ }
426
+ message.gst = reader.int32();
427
+ continue;
428
+ case 13:
429
+ if (tag !== 106) {
430
+ break;
431
+ }
432
+ message.loan_id = reader.string();
433
+ continue;
434
+ case 14:
435
+ if (tag !== 117) {
436
+ break;
437
+ }
438
+ message.rate_of_interest = reader.float();
439
+ continue;
440
+ case 15:
441
+ if (tag !== 122) {
442
+ break;
443
+ }
444
+ message.bill_amount = reader.string();
445
+ continue;
446
+ case 16:
447
+ if (tag !== 128) {
448
+ break;
449
+ }
450
+ message.early_foreclosure_fees = reader.int32();
451
+ continue;
452
+ case 17:
453
+ if (tag !== 136) {
454
+ break;
455
+ }
456
+ message.convenience_fees = reader.int32();
457
+ continue;
458
+ case 18:
459
+ if (tag !== 144) {
460
+ break;
461
+ }
462
+ message.total_interest_pay = reader.int32();
463
+ continue;
464
+ case 19:
465
+ if (tag !== 157) {
466
+ break;
467
+ }
468
+ message.effective_annual_rate = reader.float();
469
+ continue;
470
+ case 20:
471
+ if (tag !== 165) {
472
+ break;
473
+ }
474
+ message.transaction_rate = reader.float();
475
+ continue;
476
+ case 21:
477
+ if (tag !== 168) {
478
+ break;
479
+ }
480
+ message.transaction_fee_amount = reader.int32();
481
+ continue;
482
+ case 22:
483
+ if (tag !== 178) {
484
+ break;
485
+ }
486
+ message.emi_date_l = reader.string();
487
+ continue;
488
+ case 23:
489
+ if (tag !== 186) {
490
+ break;
491
+ }
492
+ message.emi_amount_l = reader.string();
493
+ continue;
494
+ case 24:
495
+ if (tag !== 194) {
496
+ break;
497
+ }
498
+ message.first_emi_date_l = reader.string();
499
+ continue;
500
+ case 25:
501
+ if (tag !== 202) {
502
+ break;
503
+ }
504
+ message.final_disbursal_amount_l = reader.string();
505
+ continue;
506
+ case 26:
507
+ if (tag !== 210) {
508
+ break;
509
+ }
510
+ message.upfront_interest_l = reader.string();
511
+ continue;
512
+ case 27:
513
+ if (tag !== 218) {
514
+ break;
515
+ }
516
+ message.processing_fees_l = reader.string();
517
+ continue;
518
+ case 28:
519
+ if (tag !== 226) {
520
+ break;
521
+ }
522
+ message.gst_l = reader.string();
523
+ continue;
524
+ case 29:
525
+ if (tag !== 234) {
526
+ break;
527
+ }
528
+ message.rate_of_interest_l = reader.string();
529
+ continue;
530
+ case 30:
531
+ if (tag !== 240) {
532
+ break;
533
+ }
534
+ message.trans_fee_plus_gst = reader.int32();
535
+ continue;
536
+ case 31:
537
+ if (tag !== 248) {
538
+ break;
539
+ }
540
+ message.processing_fee_plus_gst = reader.int32();
541
+ continue;
542
+ case 32:
543
+ if (tag !== 258) {
544
+ break;
545
+ }
546
+ message.bill_amount_l = reader.string();
547
+ continue;
548
+ case 33:
549
+ if (tag !== 266) {
550
+ break;
551
+ }
552
+ message.early_foreclosure_fees_l = reader.string();
553
+ continue;
554
+ case 34:
555
+ if (tag !== 274) {
556
+ break;
557
+ }
558
+ message.convenience_fees_l = reader.string();
559
+ continue;
560
+ case 35:
561
+ if (tag !== 280) {
562
+ break;
563
+ }
564
+ message.total_interest_pay_l = reader.int32();
565
+ continue;
566
+ case 36:
567
+ if (tag !== 290) {
568
+ break;
569
+ }
570
+ message.effective_annual_rate_l = reader.string();
571
+ continue;
572
+ case 37:
573
+ if (tag !== 296) {
574
+ break;
575
+ }
576
+ message.trans_fee_plus_gst_l = reader.int32();
577
+ continue;
578
+ case 38:
579
+ if (tag !== 304) {
580
+ break;
581
+ }
582
+ message.processing_fee_plus_gst_l = reader.int32();
583
+ continue;
584
+ case 39:
585
+ if (tag !== 314) {
586
+ break;
587
+ }
588
+ message.max_amount_l = reader.string();
589
+ continue;
590
+ case 40:
591
+ if (tag !== 322) {
592
+ break;
593
+ }
594
+ message.credit_report_fees_l = reader.string();
595
+ continue;
596
+ case 41:
597
+ if (tag !== 330) {
598
+ break;
599
+ }
600
+ message.fee_and_charges_l = reader.string();
601
+ continue;
602
+ case 42:
603
+ if (tag !== 336) {
604
+ break;
605
+ }
606
+ message.fee_and_charges = reader.int32();
607
+ continue;
608
+ case 43:
609
+ if (tag !== 346) {
610
+ break;
611
+ }
612
+ message.add_on_l = reader.string();
613
+ continue;
614
+ case 44:
615
+ if (tag !== 354) {
616
+ break;
617
+ }
618
+ message.total_loan_amount_l = reader.string();
619
+ continue;
620
+ case 45:
621
+ if (tag !== 362) {
622
+ break;
623
+ }
624
+ message.loan_amount_l = reader.string();
625
+ continue;
626
+ case 46:
627
+ if (tag !== 370) {
628
+ break;
629
+ }
630
+ message.disbursed_amount_l = reader.string();
631
+ continue;
632
+ case 47:
633
+ if (tag !== 378) {
634
+ break;
635
+ }
636
+ message.total_payable_amount_l = reader.string();
637
+ continue;
638
+ case 48:
639
+ if (tag !== 386) {
640
+ break;
641
+ }
642
+ message.disbursal_amount_l = reader.string();
643
+ continue;
644
+ case 49:
645
+ if (tag !== 392) {
646
+ break;
647
+ }
648
+ message.fcp_interest = reader.int32();
649
+ continue;
650
+ case 50:
651
+ if (tag !== 402) {
652
+ break;
653
+ }
654
+ message.number_of_emi_l = reader.string();
655
+ continue;
656
+ case 51:
657
+ if (tag !== 410) {
658
+ break;
659
+ }
660
+ message.first_emi_amt_l = reader.string();
661
+ continue;
662
+ case 52:
663
+ if (tag !== 418) {
664
+ break;
665
+ }
666
+ message.subsequent_emi_l = reader.string();
667
+ continue;
668
+ case 53:
669
+ if (tag !== 429) {
670
+ break;
671
+ }
672
+ message.effective_roi = reader.float();
673
+ continue;
674
+ case 54:
675
+ if (tag !== 434) {
676
+ break;
677
+ }
678
+ message.effective_roi_l = reader.string();
679
+ continue;
680
+ case 55:
681
+ if (tag !== 445) {
682
+ break;
683
+ }
684
+ message.effective_annual_roi = reader.float();
685
+ continue;
686
+ case 56:
687
+ if (tag !== 450) {
688
+ break;
689
+ }
690
+ message.effective_annual_roi_l = reader.string();
691
+ continue;
692
+ case 57:
693
+ if (tag !== 458) {
694
+ break;
695
+ }
696
+ message.insurance_l = reader.string();
697
+ continue;
698
+ case 58:
699
+ if (tag !== 466) {
700
+ break;
701
+ }
702
+ message.emi_card_description = reader.string();
703
+ continue;
704
+ case 59:
705
+ if (tag !== 474) {
706
+ break;
707
+ }
708
+ message.bill_card_description = reader.string();
709
+ continue;
710
+ case 60:
711
+ if (tag !== 482) {
712
+ break;
713
+ }
714
+ message.installment_amounts = reader.string();
715
+ continue;
716
+ case 61:
717
+ if (tag !== 490) {
718
+ break;
719
+ }
720
+ message.apr_title = reader.string();
721
+ continue;
722
+ case 62:
723
+ if (tag !== 498) {
724
+ break;
725
+ }
726
+ message.apr_value = reader.string();
727
+ continue;
728
+ case 63:
729
+ if (tag !== 506) {
730
+ break;
731
+ }
732
+ message.apr_type = reader.string();
733
+ continue;
734
+ case 64:
735
+ if (tag !== 514) {
736
+ break;
737
+ }
738
+ message.credit_line_details_sheet = reader.string();
739
+ continue;
740
+ case 65:
741
+ if (tag !== 522) {
742
+ break;
743
+ }
744
+ message.Acknowledgement = reader.string();
745
+ continue;
746
+ case 66:
747
+ if (tag !== 530) {
748
+ break;
749
+ }
750
+ message.payment_undertaking = reader.string();
751
+ continue;
752
+ case 67:
753
+ if (tag !== 538) {
754
+ break;
755
+ }
756
+ message.key_fact_statement = reader.string();
757
+ continue;
758
+ case 68:
759
+ if (tag !== 546) {
760
+ break;
761
+ }
762
+ message.sanction_letter = reader.string();
763
+ continue;
764
+ case 69:
765
+ if (tag !== 554) {
766
+ break;
767
+ }
768
+ message.financing_documents = reader.string();
769
+ continue;
770
+ }
771
+ if ((tag & 7) === 4 || tag === 0) {
772
+ break;
773
+ }
774
+ reader.skipType(tag & 7);
775
+ }
776
+ return message;
777
+ },
778
+ fromJSON(object) {
779
+ return {
780
+ matched: isSet(object.matched) ? globalThis.Boolean(object.matched) : false,
781
+ requested_amount: isSet(object.requested_amount) ? globalThis.Number(object.requested_amount) : 0,
782
+ tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
783
+ emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
784
+ net_amount_payable: isSet(object.net_amount_payable) ? globalThis.Number(object.net_amount_payable) : 0,
785
+ first_emi_date: isSet(object.first_emi_date) ? globalThis.String(object.first_emi_date) : "",
786
+ emi_date: isSet(object.emi_date) ? globalThis.String(object.emi_date) : "",
787
+ final_disbursal_amount: isSet(object.final_disbursal_amount)
788
+ ? globalThis.Number(object.final_disbursal_amount)
789
+ : 0,
790
+ upfront_interest: isSet(object.upfront_interest) ? globalThis.Number(object.upfront_interest) : 0,
791
+ approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
792
+ processing_fees: isSet(object.processing_fees) ? globalThis.Number(object.processing_fees) : 0,
793
+ gst: isSet(object.gst) ? globalThis.Number(object.gst) : 0,
794
+ loan_id: isSet(object.loan_id) ? globalThis.String(object.loan_id) : "",
795
+ rate_of_interest: isSet(object.rate_of_interest) ? globalThis.Number(object.rate_of_interest) : 0,
796
+ bill_amount: isSet(object.bill_amount) ? globalThis.String(object.bill_amount) : undefined,
797
+ early_foreclosure_fees: isSet(object.early_foreclosure_fees)
798
+ ? globalThis.Number(object.early_foreclosure_fees)
799
+ : 0,
800
+ convenience_fees: isSet(object.convenience_fees) ? globalThis.Number(object.convenience_fees) : 0,
801
+ total_interest_pay: isSet(object.total_interest_pay) ? globalThis.Number(object.total_interest_pay) : 0,
802
+ effective_annual_rate: isSet(object.effective_annual_rate) ? globalThis.Number(object.effective_annual_rate) : 0,
803
+ transaction_rate: isSet(object.transaction_rate) ? globalThis.Number(object.transaction_rate) : 0,
804
+ transaction_fee_amount: isSet(object.transaction_fee_amount)
805
+ ? globalThis.Number(object.transaction_fee_amount)
806
+ : 0,
807
+ emi_date_l: isSet(object.emi_date_l) ? globalThis.String(object.emi_date_l) : "",
808
+ emi_amount_l: isSet(object.emi_amount_l) ? globalThis.String(object.emi_amount_l) : "",
809
+ first_emi_date_l: isSet(object.first_emi_date_l) ? globalThis.String(object.first_emi_date_l) : "",
810
+ final_disbursal_amount_l: isSet(object.final_disbursal_amount_l)
811
+ ? globalThis.String(object.final_disbursal_amount_l)
812
+ : "",
813
+ upfront_interest_l: isSet(object.upfront_interest_l) ? globalThis.String(object.upfront_interest_l) : "",
814
+ processing_fees_l: isSet(object.processing_fees_l) ? globalThis.String(object.processing_fees_l) : "",
815
+ gst_l: isSet(object.gst_l) ? globalThis.String(object.gst_l) : "",
816
+ rate_of_interest_l: isSet(object.rate_of_interest_l) ? globalThis.String(object.rate_of_interest_l) : "",
817
+ trans_fee_plus_gst: isSet(object.trans_fee_plus_gst) ? globalThis.Number(object.trans_fee_plus_gst) : 0,
818
+ processing_fee_plus_gst: isSet(object.processing_fee_plus_gst)
819
+ ? globalThis.Number(object.processing_fee_plus_gst)
820
+ : 0,
821
+ bill_amount_l: isSet(object.bill_amount_l) ? globalThis.String(object.bill_amount_l) : "",
822
+ early_foreclosure_fees_l: isSet(object.early_foreclosure_fees_l)
823
+ ? globalThis.String(object.early_foreclosure_fees_l)
824
+ : "",
825
+ convenience_fees_l: isSet(object.convenience_fees_l) ? globalThis.String(object.convenience_fees_l) : "",
826
+ total_interest_pay_l: isSet(object.total_interest_pay_l) ? globalThis.Number(object.total_interest_pay_l) : 0,
827
+ effective_annual_rate_l: isSet(object.effective_annual_rate_l)
828
+ ? globalThis.String(object.effective_annual_rate_l)
829
+ : "",
830
+ trans_fee_plus_gst_l: isSet(object.trans_fee_plus_gst_l) ? globalThis.Number(object.trans_fee_plus_gst_l) : 0,
831
+ processing_fee_plus_gst_l: isSet(object.processing_fee_plus_gst_l)
832
+ ? globalThis.Number(object.processing_fee_plus_gst_l)
833
+ : 0,
834
+ max_amount_l: isSet(object.max_amount_l) ? globalThis.String(object.max_amount_l) : "",
835
+ credit_report_fees_l: isSet(object.credit_report_fees_l) ? globalThis.String(object.credit_report_fees_l) : "",
836
+ fee_and_charges_l: isSet(object.fee_and_charges_l) ? globalThis.String(object.fee_and_charges_l) : "",
837
+ fee_and_charges: isSet(object.fee_and_charges) ? globalThis.Number(object.fee_and_charges) : 0,
838
+ add_on_l: isSet(object.add_on_l) ? globalThis.String(object.add_on_l) : "",
839
+ total_loan_amount_l: isSet(object.total_loan_amount_l) ? globalThis.String(object.total_loan_amount_l) : "",
840
+ loan_amount_l: isSet(object.loan_amount_l) ? globalThis.String(object.loan_amount_l) : "",
841
+ disbursed_amount_l: isSet(object.disbursed_amount_l) ? globalThis.String(object.disbursed_amount_l) : "",
842
+ total_payable_amount_l: isSet(object.total_payable_amount_l)
843
+ ? globalThis.String(object.total_payable_amount_l)
844
+ : "",
845
+ disbursal_amount_l: isSet(object.disbursal_amount_l) ? globalThis.String(object.disbursal_amount_l) : "",
846
+ fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) : 0,
847
+ number_of_emi_l: isSet(object.number_of_emi_l) ? globalThis.String(object.number_of_emi_l) : "",
848
+ first_emi_amt_l: isSet(object.first_emi_amt_l) ? globalThis.String(object.first_emi_amt_l) : "",
849
+ subsequent_emi_l: isSet(object.subsequent_emi_l) ? globalThis.String(object.subsequent_emi_l) : "",
850
+ effective_roi: isSet(object.effective_roi) ? globalThis.Number(object.effective_roi) : 0,
851
+ effective_roi_l: isSet(object.effective_roi_l) ? globalThis.String(object.effective_roi_l) : "",
852
+ effective_annual_roi: isSet(object.effective_annual_roi) ? globalThis.Number(object.effective_annual_roi) : 0,
853
+ effective_annual_roi_l: isSet(object.effective_annual_roi_l)
854
+ ? globalThis.String(object.effective_annual_roi_l)
855
+ : "",
856
+ insurance_l: isSet(object.insurance_l) ? globalThis.String(object.insurance_l) : "",
857
+ emi_card_description: isSet(object.emi_card_description) ? globalThis.String(object.emi_card_description) : "",
858
+ bill_card_description: isSet(object.bill_card_description) ? globalThis.String(object.bill_card_description) : "",
859
+ installment_amounts: isSet(object.installment_amounts) ? globalThis.String(object.installment_amounts) : "",
860
+ apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) : "",
861
+ apr_value: isSet(object.apr_value) ? globalThis.String(object.apr_value) : "",
862
+ apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) : "",
863
+ credit_line_details_sheet: isSet(object.credit_line_details_sheet)
864
+ ? globalThis.String(object.credit_line_details_sheet)
865
+ : "",
866
+ Acknowledgement: isSet(object.Acknowledgement) ? globalThis.String(object.Acknowledgement) : "",
867
+ payment_undertaking: isSet(object.payment_undertaking) ? globalThis.String(object.payment_undertaking) : "",
868
+ key_fact_statement: isSet(object.key_fact_statement) ? globalThis.String(object.key_fact_statement) : "",
869
+ sanction_letter: isSet(object.sanction_letter) ? globalThis.String(object.sanction_letter) : "",
870
+ financing_documents: isSet(object.financing_documents) ? globalThis.String(object.financing_documents) : "",
871
+ };
872
+ },
873
+ toJSON(message) {
874
+ const obj = {};
875
+ if (message.matched !== false) {
876
+ obj.matched = message.matched;
877
+ }
878
+ if (message.requested_amount !== 0) {
879
+ obj.requested_amount = Math.round(message.requested_amount);
880
+ }
881
+ if (message.tenure !== 0) {
882
+ obj.tenure = Math.round(message.tenure);
883
+ }
884
+ if (message.emi_amount !== 0) {
885
+ obj.emi_amount = Math.round(message.emi_amount);
886
+ }
887
+ if (message.net_amount_payable !== 0) {
888
+ obj.net_amount_payable = Math.round(message.net_amount_payable);
889
+ }
890
+ if (message.first_emi_date !== "") {
891
+ obj.first_emi_date = message.first_emi_date;
892
+ }
893
+ if (message.emi_date !== "") {
894
+ obj.emi_date = message.emi_date;
895
+ }
896
+ if (message.final_disbursal_amount !== 0) {
897
+ obj.final_disbursal_amount = Math.round(message.final_disbursal_amount);
898
+ }
899
+ if (message.upfront_interest !== 0) {
900
+ obj.upfront_interest = Math.round(message.upfront_interest);
901
+ }
902
+ if (message.approved_amount !== 0) {
903
+ obj.approved_amount = Math.round(message.approved_amount);
904
+ }
905
+ if (message.processing_fees !== 0) {
906
+ obj.processing_fees = Math.round(message.processing_fees);
907
+ }
908
+ if (message.gst !== 0) {
909
+ obj.gst = Math.round(message.gst);
910
+ }
911
+ if (message.loan_id !== "") {
912
+ obj.loan_id = message.loan_id;
913
+ }
914
+ if (message.rate_of_interest !== 0) {
915
+ obj.rate_of_interest = message.rate_of_interest;
916
+ }
917
+ if (message.bill_amount !== undefined) {
918
+ obj.bill_amount = message.bill_amount;
919
+ }
920
+ if (message.early_foreclosure_fees !== 0) {
921
+ obj.early_foreclosure_fees = Math.round(message.early_foreclosure_fees);
922
+ }
923
+ if (message.convenience_fees !== 0) {
924
+ obj.convenience_fees = Math.round(message.convenience_fees);
925
+ }
926
+ if (message.total_interest_pay !== 0) {
927
+ obj.total_interest_pay = Math.round(message.total_interest_pay);
928
+ }
929
+ if (message.effective_annual_rate !== 0) {
930
+ obj.effective_annual_rate = message.effective_annual_rate;
931
+ }
932
+ if (message.transaction_rate !== 0) {
933
+ obj.transaction_rate = message.transaction_rate;
934
+ }
935
+ if (message.transaction_fee_amount !== 0) {
936
+ obj.transaction_fee_amount = Math.round(message.transaction_fee_amount);
937
+ }
938
+ if (message.emi_date_l !== "") {
939
+ obj.emi_date_l = message.emi_date_l;
940
+ }
941
+ if (message.emi_amount_l !== "") {
942
+ obj.emi_amount_l = message.emi_amount_l;
943
+ }
944
+ if (message.first_emi_date_l !== "") {
945
+ obj.first_emi_date_l = message.first_emi_date_l;
946
+ }
947
+ if (message.final_disbursal_amount_l !== "") {
948
+ obj.final_disbursal_amount_l = message.final_disbursal_amount_l;
949
+ }
950
+ if (message.upfront_interest_l !== "") {
951
+ obj.upfront_interest_l = message.upfront_interest_l;
952
+ }
953
+ if (message.processing_fees_l !== "") {
954
+ obj.processing_fees_l = message.processing_fees_l;
955
+ }
956
+ if (message.gst_l !== "") {
957
+ obj.gst_l = message.gst_l;
958
+ }
959
+ if (message.rate_of_interest_l !== "") {
960
+ obj.rate_of_interest_l = message.rate_of_interest_l;
961
+ }
962
+ if (message.trans_fee_plus_gst !== 0) {
963
+ obj.trans_fee_plus_gst = Math.round(message.trans_fee_plus_gst);
964
+ }
965
+ if (message.processing_fee_plus_gst !== 0) {
966
+ obj.processing_fee_plus_gst = Math.round(message.processing_fee_plus_gst);
967
+ }
968
+ if (message.bill_amount_l !== "") {
969
+ obj.bill_amount_l = message.bill_amount_l;
970
+ }
971
+ if (message.early_foreclosure_fees_l !== "") {
972
+ obj.early_foreclosure_fees_l = message.early_foreclosure_fees_l;
973
+ }
974
+ if (message.convenience_fees_l !== "") {
975
+ obj.convenience_fees_l = message.convenience_fees_l;
976
+ }
977
+ if (message.total_interest_pay_l !== 0) {
978
+ obj.total_interest_pay_l = Math.round(message.total_interest_pay_l);
979
+ }
980
+ if (message.effective_annual_rate_l !== "") {
981
+ obj.effective_annual_rate_l = message.effective_annual_rate_l;
982
+ }
983
+ if (message.trans_fee_plus_gst_l !== 0) {
984
+ obj.trans_fee_plus_gst_l = Math.round(message.trans_fee_plus_gst_l);
985
+ }
986
+ if (message.processing_fee_plus_gst_l !== 0) {
987
+ obj.processing_fee_plus_gst_l = Math.round(message.processing_fee_plus_gst_l);
988
+ }
989
+ if (message.max_amount_l !== "") {
990
+ obj.max_amount_l = message.max_amount_l;
991
+ }
992
+ if (message.credit_report_fees_l !== "") {
993
+ obj.credit_report_fees_l = message.credit_report_fees_l;
994
+ }
995
+ if (message.fee_and_charges_l !== "") {
996
+ obj.fee_and_charges_l = message.fee_and_charges_l;
997
+ }
998
+ if (message.fee_and_charges !== 0) {
999
+ obj.fee_and_charges = Math.round(message.fee_and_charges);
1000
+ }
1001
+ if (message.add_on_l !== "") {
1002
+ obj.add_on_l = message.add_on_l;
1003
+ }
1004
+ if (message.total_loan_amount_l !== "") {
1005
+ obj.total_loan_amount_l = message.total_loan_amount_l;
1006
+ }
1007
+ if (message.loan_amount_l !== "") {
1008
+ obj.loan_amount_l = message.loan_amount_l;
1009
+ }
1010
+ if (message.disbursed_amount_l !== "") {
1011
+ obj.disbursed_amount_l = message.disbursed_amount_l;
1012
+ }
1013
+ if (message.total_payable_amount_l !== "") {
1014
+ obj.total_payable_amount_l = message.total_payable_amount_l;
1015
+ }
1016
+ if (message.disbursal_amount_l !== "") {
1017
+ obj.disbursal_amount_l = message.disbursal_amount_l;
1018
+ }
1019
+ if (message.fcp_interest !== 0) {
1020
+ obj.fcp_interest = Math.round(message.fcp_interest);
1021
+ }
1022
+ if (message.number_of_emi_l !== "") {
1023
+ obj.number_of_emi_l = message.number_of_emi_l;
1024
+ }
1025
+ if (message.first_emi_amt_l !== "") {
1026
+ obj.first_emi_amt_l = message.first_emi_amt_l;
1027
+ }
1028
+ if (message.subsequent_emi_l !== "") {
1029
+ obj.subsequent_emi_l = message.subsequent_emi_l;
1030
+ }
1031
+ if (message.effective_roi !== 0) {
1032
+ obj.effective_roi = message.effective_roi;
1033
+ }
1034
+ if (message.effective_roi_l !== "") {
1035
+ obj.effective_roi_l = message.effective_roi_l;
1036
+ }
1037
+ if (message.effective_annual_roi !== 0) {
1038
+ obj.effective_annual_roi = message.effective_annual_roi;
1039
+ }
1040
+ if (message.effective_annual_roi_l !== "") {
1041
+ obj.effective_annual_roi_l = message.effective_annual_roi_l;
1042
+ }
1043
+ if (message.insurance_l !== "") {
1044
+ obj.insurance_l = message.insurance_l;
1045
+ }
1046
+ if (message.emi_card_description !== "") {
1047
+ obj.emi_card_description = message.emi_card_description;
1048
+ }
1049
+ if (message.bill_card_description !== "") {
1050
+ obj.bill_card_description = message.bill_card_description;
1051
+ }
1052
+ if (message.installment_amounts !== "") {
1053
+ obj.installment_amounts = message.installment_amounts;
1054
+ }
1055
+ if (message.apr_title !== "") {
1056
+ obj.apr_title = message.apr_title;
1057
+ }
1058
+ if (message.apr_value !== "") {
1059
+ obj.apr_value = message.apr_value;
1060
+ }
1061
+ if (message.apr_type !== "") {
1062
+ obj.apr_type = message.apr_type;
1063
+ }
1064
+ if (message.credit_line_details_sheet !== "") {
1065
+ obj.credit_line_details_sheet = message.credit_line_details_sheet;
1066
+ }
1067
+ if (message.Acknowledgement !== "") {
1068
+ obj.Acknowledgement = message.Acknowledgement;
1069
+ }
1070
+ if (message.payment_undertaking !== "") {
1071
+ obj.payment_undertaking = message.payment_undertaking;
1072
+ }
1073
+ if (message.key_fact_statement !== "") {
1074
+ obj.key_fact_statement = message.key_fact_statement;
1075
+ }
1076
+ if (message.sanction_letter !== "") {
1077
+ obj.sanction_letter = message.sanction_letter;
1078
+ }
1079
+ if (message.financing_documents !== "") {
1080
+ obj.financing_documents = message.financing_documents;
1081
+ }
1082
+ return obj;
1083
+ },
1084
+ create(base) {
1085
+ return exports.GetLocDetailsResponse.fromPartial(base ?? {});
1086
+ },
1087
+ fromPartial(object) {
1088
+ const message = createBaseGetLocDetailsResponse();
1089
+ message.matched = object.matched ?? false;
1090
+ message.requested_amount = object.requested_amount ?? 0;
1091
+ message.tenure = object.tenure ?? 0;
1092
+ message.emi_amount = object.emi_amount ?? 0;
1093
+ message.net_amount_payable = object.net_amount_payable ?? 0;
1094
+ message.first_emi_date = object.first_emi_date ?? "";
1095
+ message.emi_date = object.emi_date ?? "";
1096
+ message.final_disbursal_amount = object.final_disbursal_amount ?? 0;
1097
+ message.upfront_interest = object.upfront_interest ?? 0;
1098
+ message.approved_amount = object.approved_amount ?? 0;
1099
+ message.processing_fees = object.processing_fees ?? 0;
1100
+ message.gst = object.gst ?? 0;
1101
+ message.loan_id = object.loan_id ?? "";
1102
+ message.rate_of_interest = object.rate_of_interest ?? 0;
1103
+ message.bill_amount = object.bill_amount ?? undefined;
1104
+ message.early_foreclosure_fees = object.early_foreclosure_fees ?? 0;
1105
+ message.convenience_fees = object.convenience_fees ?? 0;
1106
+ message.total_interest_pay = object.total_interest_pay ?? 0;
1107
+ message.effective_annual_rate = object.effective_annual_rate ?? 0;
1108
+ message.transaction_rate = object.transaction_rate ?? 0;
1109
+ message.transaction_fee_amount = object.transaction_fee_amount ?? 0;
1110
+ message.emi_date_l = object.emi_date_l ?? "";
1111
+ message.emi_amount_l = object.emi_amount_l ?? "";
1112
+ message.first_emi_date_l = object.first_emi_date_l ?? "";
1113
+ message.final_disbursal_amount_l = object.final_disbursal_amount_l ?? "";
1114
+ message.upfront_interest_l = object.upfront_interest_l ?? "";
1115
+ message.processing_fees_l = object.processing_fees_l ?? "";
1116
+ message.gst_l = object.gst_l ?? "";
1117
+ message.rate_of_interest_l = object.rate_of_interest_l ?? "";
1118
+ message.trans_fee_plus_gst = object.trans_fee_plus_gst ?? 0;
1119
+ message.processing_fee_plus_gst = object.processing_fee_plus_gst ?? 0;
1120
+ message.bill_amount_l = object.bill_amount_l ?? "";
1121
+ message.early_foreclosure_fees_l = object.early_foreclosure_fees_l ?? "";
1122
+ message.convenience_fees_l = object.convenience_fees_l ?? "";
1123
+ message.total_interest_pay_l = object.total_interest_pay_l ?? 0;
1124
+ message.effective_annual_rate_l = object.effective_annual_rate_l ?? "";
1125
+ message.trans_fee_plus_gst_l = object.trans_fee_plus_gst_l ?? 0;
1126
+ message.processing_fee_plus_gst_l = object.processing_fee_plus_gst_l ?? 0;
1127
+ message.max_amount_l = object.max_amount_l ?? "";
1128
+ message.credit_report_fees_l = object.credit_report_fees_l ?? "";
1129
+ message.fee_and_charges_l = object.fee_and_charges_l ?? "";
1130
+ message.fee_and_charges = object.fee_and_charges ?? 0;
1131
+ message.add_on_l = object.add_on_l ?? "";
1132
+ message.total_loan_amount_l = object.total_loan_amount_l ?? "";
1133
+ message.loan_amount_l = object.loan_amount_l ?? "";
1134
+ message.disbursed_amount_l = object.disbursed_amount_l ?? "";
1135
+ message.total_payable_amount_l = object.total_payable_amount_l ?? "";
1136
+ message.disbursal_amount_l = object.disbursal_amount_l ?? "";
1137
+ message.fcp_interest = object.fcp_interest ?? 0;
1138
+ message.number_of_emi_l = object.number_of_emi_l ?? "";
1139
+ message.first_emi_amt_l = object.first_emi_amt_l ?? "";
1140
+ message.subsequent_emi_l = object.subsequent_emi_l ?? "";
1141
+ message.effective_roi = object.effective_roi ?? 0;
1142
+ message.effective_roi_l = object.effective_roi_l ?? "";
1143
+ message.effective_annual_roi = object.effective_annual_roi ?? 0;
1144
+ message.effective_annual_roi_l = object.effective_annual_roi_l ?? "";
1145
+ message.insurance_l = object.insurance_l ?? "";
1146
+ message.emi_card_description = object.emi_card_description ?? "";
1147
+ message.bill_card_description = object.bill_card_description ?? "";
1148
+ message.installment_amounts = object.installment_amounts ?? "";
1149
+ message.apr_title = object.apr_title ?? "";
1150
+ message.apr_value = object.apr_value ?? "";
1151
+ message.apr_type = object.apr_type ?? "";
1152
+ message.credit_line_details_sheet = object.credit_line_details_sheet ?? "";
1153
+ message.Acknowledgement = object.Acknowledgement ?? "";
1154
+ message.payment_undertaking = object.payment_undertaking ?? "";
1155
+ message.key_fact_statement = object.key_fact_statement ?? "";
1156
+ message.sanction_letter = object.sanction_letter ?? "";
1157
+ message.financing_documents = object.financing_documents ?? "";
1158
+ return message;
1159
+ },
1160
+ };
1161
+ function isSet(value) {
1162
+ return value !== null && value !== undefined;
1163
+ }