@stashfin/grpc 1.2.264 → 1.2.266

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +2 -2
  3. package/ts/bureau/getbureaulist.d.ts +52 -0
  4. package/ts/bureau/getbureaulist.js +276 -0
  5. package/ts/bureau/getdbrcolending.js +2 -2
  6. package/ts/bureau/getdemogs.js +2 -2
  7. package/ts/bureau/getobligation.js +2 -2
  8. package/ts/bureau/getreport.d.ts +3 -3
  9. package/ts/bureau/getreport.js +2 -2
  10. package/ts/bureau.js +2 -2
  11. package/ts/colender/disburseLoan.js +2 -2
  12. package/ts/colender/forecloseLoan.js +2 -2
  13. package/ts/colender/repayLoan.js +2 -2
  14. package/ts/colender.js +2 -2
  15. package/ts/customers/aa/getbanklist.js +2 -2
  16. package/ts/customers/aa/initiate.js +2 -2
  17. package/ts/customers/addaddress.js +2 -2
  18. package/ts/customers/addbankaccountdetails.js +2 -2
  19. package/ts/customers/addfathersname.js +2 -2
  20. package/ts/customers/addgstnumber.js +2 -2
  21. package/ts/customers/addmoredetails.js +2 -2
  22. package/ts/customers/addsuspendedcustomer.js +2 -2
  23. package/ts/customers/adduserapps.js +2 -2
  24. package/ts/customers/bulksms.js +2 -2
  25. package/ts/customers/cb/cbsignup.js +2 -2
  26. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  27. package/ts/customers/cb/getcreditbuilder.js +2 -2
  28. package/ts/customers/cb/paynow.js +2 -2
  29. package/ts/customers/cb/savecreditbuilder.js +2 -2
  30. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  31. package/ts/customers/changempin.js +2 -2
  32. package/ts/customers/createcustomerreference.js +2 -2
  33. package/ts/customers/deleteprofile.js +2 -2
  34. package/ts/customers/disablempin.js +2 -2
  35. package/ts/customers/enach/gettxnstatus.js +2 -2
  36. package/ts/customers/enach/getweburl.js +2 -2
  37. package/ts/customers/enach/updatetxnstatus.js +2 -2
  38. package/ts/customers/fetchrcprofile.js +2 -2
  39. package/ts/customers/floatingvideos.js +2 -2
  40. package/ts/customers/forgotmpin.js +2 -2
  41. package/ts/customers/forgotmpinverify.js +2 -2
  42. package/ts/customers/freedom/addressconfirmation.js +2 -2
  43. package/ts/customers/freedom/freedompaynow.js +2 -2
  44. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  45. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  46. package/ts/customers/getaddresslist.js +2 -2
  47. package/ts/customers/getappsubmittedscreen.js +2 -2
  48. package/ts/customers/getbankaccountdetails.js +2 -2
  49. package/ts/customers/getbasicinfo.js +2 -2
  50. package/ts/customers/getcities.js +2 -2
  51. package/ts/customers/getcompanyaccdetails.js +2 -2
  52. package/ts/customers/getcustomerbyid.js +2 -2
  53. package/ts/customers/getdashboard.js +2 -2
  54. package/ts/customers/getdashboardmaincard.js +2 -2
  55. package/ts/customers/getdocuments.js +2 -2
  56. package/ts/customers/getlimit.js +2 -2
  57. package/ts/customers/getoccupationlist.js +2 -2
  58. package/ts/customers/getpaymentoptions.d.ts +51 -0
  59. package/ts/customers/getpaymentoptions.js +243 -0
  60. package/ts/customers/getprofessionalinfo.js +2 -2
  61. package/ts/customers/getprofile.js +2 -2
  62. package/ts/customers/getrpdlink.d.ts +40 -0
  63. package/ts/customers/getrpdlink.js +190 -0
  64. package/ts/customers/getselfieetxnid.js +2 -2
  65. package/ts/customers/getstates.js +2 -2
  66. package/ts/customers/getstep.js +2 -2
  67. package/ts/customers/logout.js +2 -2
  68. package/ts/customers/pd/getbanklist.js +2 -2
  69. package/ts/customers/pd/validatebankaccount.js +2 -2
  70. package/ts/customers/profilebasic.js +2 -2
  71. package/ts/customers/profileupdatetnc.js +2 -2
  72. package/ts/customers/rpd/getrpdlink.js +2 -2
  73. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  74. package/ts/customers/rpd/mockpayment.js +2 -2
  75. package/ts/customers/savebasicdetails.js +2 -2
  76. package/ts/customers/savelimit.js +2 -2
  77. package/ts/customers/saveunlocklimit.js +2 -2
  78. package/ts/customers/sendotp.js +2 -2
  79. package/ts/customers/sendotptoemail.js +2 -2
  80. package/ts/customers/setmpin.js +2 -2
  81. package/ts/customers/skipscreen.js +2 -2
  82. package/ts/customers/updatecategory.d.ts +36 -0
  83. package/ts/customers/updatecategory.js +147 -0
  84. package/ts/customers/updatecustomerbyid.js +2 -2
  85. package/ts/customers/updatedlnumber.js +2 -2
  86. package/ts/customers/updatedob.js +2 -2
  87. package/ts/customers/updatelocstatus.js +2 -2
  88. package/ts/customers/updatemobilesendotp.js +2 -2
  89. package/ts/customers/updatemobileverifyotp.js +2 -2
  90. package/ts/customers/updateokyctxn.js +2 -2
  91. package/ts/customers/updateselfieetxn.js +2 -2
  92. package/ts/customers/updatevehiclenumber.js +2 -2
  93. package/ts/customers/uploaddocuments.js +2 -2
  94. package/ts/customers/validatepan.js +2 -2
  95. package/ts/customers/verifympin.js +2 -2
  96. package/ts/customers/verifyotp.js +2 -2
  97. package/ts/customers/verifyotptoemail.js +2 -2
  98. package/ts/customers.d.ts +28 -0
  99. package/ts/customers.js +22 -2
  100. package/ts/decisionengine/decisionengine.d.ts +1 -0
  101. package/ts/decisionengine/decisionengine.js +20 -6
  102. package/ts/decisionengine.js +2 -2
  103. package/ts/example.js +2 -2
  104. package/ts/growth/checkplanstatus.js +2 -2
  105. package/ts/growth/getattachplandetails.js +2 -2
  106. package/ts/growth/getchrplans.js +2 -2
  107. package/ts/growth/getcredithealthreport.js +2 -2
  108. package/ts/growth/initiatepayment.js +2 -2
  109. package/ts/growth/processchrpayment.js +2 -2
  110. package/ts/growth.js +2 -2
  111. package/ts/loans/amortization.js +2 -2
  112. package/ts/loans/approveloan.d.ts +1 -1
  113. package/ts/loans/approveloan.js +29 -38
  114. package/ts/loans/banklist.js +2 -2
  115. package/ts/loans/calculateemi.js +2 -2
  116. package/ts/loans/creditlimit.js +2 -2
  117. package/ts/loans/fcppayment.d.ts +0 -1
  118. package/ts/loans/fcppayment.js +5 -19
  119. package/ts/loans/forecloseamount.js +2 -2
  120. package/ts/loans/foreclosepayment.d.ts +0 -1
  121. package/ts/loans/foreclosepayment.js +5 -19
  122. package/ts/loans/futurepaymentmoredetails.js +2 -2
  123. package/ts/loans/getbilldetails.js +2 -2
  124. package/ts/loans/getcustomerloanstatus.js +2 -2
  125. package/ts/loans/getloanbyid.d.ts +1 -0
  126. package/ts/loans/getloanbyid.js +17 -2
  127. package/ts/loans/getnextdueamount.js +2 -2
  128. package/ts/loans/getpendingemiamount.js +2 -2
  129. package/ts/loans/getsummarystaticfields.js +2 -2
  130. package/ts/loans/gettransactionstatus.js +2 -2
  131. package/ts/loans/getusedlimit.d.ts +35 -0
  132. package/ts/loans/getusedlimit.js +117 -0
  133. package/ts/loans/getvirtualbankinfo.js +2 -2
  134. package/ts/loans/loansummary.d.ts +1 -0
  135. package/ts/loans/loansummary.js +21 -6
  136. package/ts/loans/paymentallocation.js +2 -2
  137. package/ts/loans/paymenthistory.js +2 -2
  138. package/ts/loans/paynow.js +2 -2
  139. package/ts/loans/refund.d.ts +0 -1
  140. package/ts/loans/refund.js +5 -19
  141. package/ts/loans/restructureloan.js +2 -2
  142. package/ts/loans/rollback.d.ts +0 -1
  143. package/ts/loans/rollback.js +5 -19
  144. package/ts/loans/sendemail.js +2 -2
  145. package/ts/loans/sendnocemail.js +2 -2
  146. package/ts/loans/transactionlist.js +2 -2
  147. package/ts/loans/updateinstallments.d.ts +0 -2
  148. package/ts/loans/updateinstallments.js +8 -45
  149. package/ts/loans/updateloan.js +2 -2
  150. package/ts/loans/updatetransactionstatus.js +2 -2
  151. package/ts/loans.d.ts +14 -0
  152. package/ts/loans.js +12 -2
  153. package/ts/payments/checkpaymentstatus.js +2 -2
  154. package/ts/payments/getpaymentoptions.js +2 -2
  155. package/ts/payments/initiatepayment.js +2 -2
  156. package/ts/payments/nachpresentation.js +2 -2
  157. package/ts/payments/nachregistration.js +2 -2
  158. package/ts/payments.js +2 -2
  159. package/ts/stashcash/creditsc.js +2 -2
  160. package/ts/stashcash/debitsc.js +2 -2
  161. package/ts/stashcash/getscbalance.js +2 -2
  162. package/ts/stashcash/getschistory.js +2 -2
  163. package/ts/stashcash/reversesc.js +2 -2
  164. package/ts/stashcash.js +2 -2
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/approveloan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,17 +13,7 @@ exports.approveLoanResponse = exports.approveLoanRequest_Field = exports.approve
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.approveloan";
15
15
  function createBaseapproveLoanRequest() {
16
- return {
17
- bank_id: 0,
18
- amount: 0,
19
- tenure: 0,
20
- customer_id: 0,
21
- ip: "",
22
- addons: 0,
23
- addonsData: [],
24
- latitude: 0,
25
- longitude: 0,
26
- };
16
+ return { bank_id: 0, amount: 0, tenure: 0, customer_id: 0, ip: "", addonsData: [], latitude: 0, longitude: 0 };
27
17
  }
28
18
  exports.approveLoanRequest = {
29
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -42,17 +32,14 @@ exports.approveLoanRequest = {
42
32
  if (message.ip !== "") {
43
33
  writer.uint32(42).string(message.ip);
44
34
  }
45
- if (message.addons !== 0) {
46
- writer.uint32(48).int32(message.addons);
47
- }
48
35
  for (const v of message.addonsData) {
49
- exports.approveLoanRequest_Field.encode(v, writer.uint32(58).fork()).ldelim();
36
+ exports.approveLoanRequest_Field.encode(v, writer.uint32(50).fork()).ldelim();
50
37
  }
51
38
  if (message.latitude !== 0) {
52
- writer.uint32(69).float(message.latitude);
39
+ writer.uint32(61).float(message.latitude);
53
40
  }
54
41
  if (message.longitude !== 0) {
55
- writer.uint32(77).float(message.longitude);
42
+ writer.uint32(69).float(message.longitude);
56
43
  }
57
44
  return writer;
58
45
  },
@@ -94,27 +81,21 @@ exports.approveLoanRequest = {
94
81
  message.ip = reader.string();
95
82
  continue;
96
83
  case 6:
97
- if (tag !== 48) {
84
+ if (tag !== 50) {
98
85
  break;
99
86
  }
100
- message.addons = reader.int32();
87
+ message.addonsData.push(exports.approveLoanRequest_Field.decode(reader, reader.uint32()));
101
88
  continue;
102
89
  case 7:
103
- if (tag !== 58) {
90
+ if (tag !== 61) {
104
91
  break;
105
92
  }
106
- message.addonsData.push(exports.approveLoanRequest_Field.decode(reader, reader.uint32()));
93
+ message.latitude = reader.float();
107
94
  continue;
108
95
  case 8:
109
96
  if (tag !== 69) {
110
97
  break;
111
98
  }
112
- message.latitude = reader.float();
113
- continue;
114
- case 9:
115
- if (tag !== 77) {
116
- break;
117
- }
118
99
  message.longitude = reader.float();
119
100
  continue;
120
101
  }
@@ -132,7 +113,6 @@ exports.approveLoanRequest = {
132
113
  tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
133
114
  customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
134
115
  ip: isSet(object.ip) ? globalThis.String(object.ip) : "",
135
- addons: isSet(object.addons) ? globalThis.Number(object.addons) : 0,
136
116
  addonsData: globalThis.Array.isArray(object?.addonsData)
137
117
  ? object.addonsData.map((e) => exports.approveLoanRequest_Field.fromJSON(e))
138
118
  : [],
@@ -157,9 +137,6 @@ exports.approveLoanRequest = {
157
137
  if (message.ip !== "") {
158
138
  obj.ip = message.ip;
159
139
  }
160
- if (message.addons !== 0) {
161
- obj.addons = Math.round(message.addons);
162
- }
163
140
  if (message.addonsData?.length) {
164
141
  obj.addonsData = message.addonsData.map((e) => exports.approveLoanRequest_Field.toJSON(e));
165
142
  }
@@ -181,7 +158,6 @@ exports.approveLoanRequest = {
181
158
  message.tenure = object.tenure ?? 0;
182
159
  message.customer_id = object.customer_id ?? 0;
183
160
  message.ip = object.ip ?? "";
184
- message.addons = object.addons ?? 0;
185
161
  message.addonsData = object.addonsData?.map((e) => exports.approveLoanRequest_Field.fromPartial(e)) || [];
186
162
  message.latitude = object.latitude ?? 0;
187
163
  message.longitude = object.longitude ?? 0;
@@ -286,6 +262,7 @@ function createBaseapproveLoanResponse() {
286
262
  credit_report_actual_fees: 0,
287
263
  plan_id: 0,
288
264
  approved_amount: 0,
265
+ discount: 0,
289
266
  };
290
267
  }
291
268
  exports.approveLoanResponse = {
@@ -360,7 +337,7 @@ exports.approveLoanResponse = {
360
337
  writer.uint32(186).string(message.bill_card_description);
361
338
  }
362
339
  if (message.apr_value !== 0) {
363
- writer.uint32(192).int32(message.apr_value);
340
+ writer.uint32(197).float(message.apr_value);
364
341
  }
365
342
  if (message.apr_type !== "") {
366
343
  writer.uint32(202).string(message.apr_type);
@@ -380,6 +357,9 @@ exports.approveLoanResponse = {
380
357
  if (message.approved_amount !== 0) {
381
358
  writer.uint32(240).int32(message.approved_amount);
382
359
  }
360
+ if (message.discount !== 0) {
361
+ writer.uint32(248).int32(message.discount);
362
+ }
383
363
  return writer;
384
364
  },
385
365
  decode(input, length) {
@@ -528,10 +508,10 @@ exports.approveLoanResponse = {
528
508
  message.bill_card_description = reader.string();
529
509
  continue;
530
510
  case 24:
531
- if (tag !== 192) {
511
+ if (tag !== 197) {
532
512
  break;
533
513
  }
534
- message.apr_value = reader.int32();
514
+ message.apr_value = reader.float();
535
515
  continue;
536
516
  case 25:
537
517
  if (tag !== 202) {
@@ -569,6 +549,12 @@ exports.approveLoanResponse = {
569
549
  }
570
550
  message.approved_amount = reader.int32();
571
551
  continue;
552
+ case 31:
553
+ if (tag !== 248) {
554
+ break;
555
+ }
556
+ message.discount = reader.int32();
557
+ continue;
572
558
  }
573
559
  if ((tag & 7) === 4 || tag === 0) {
574
560
  break;
@@ -617,6 +603,7 @@ exports.approveLoanResponse = {
617
603
  : 0,
618
604
  plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
619
605
  approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
606
+ discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
620
607
  };
621
608
  },
622
609
  toJSON(message) {
@@ -691,7 +678,7 @@ exports.approveLoanResponse = {
691
678
  obj.bill_card_description = message.bill_card_description;
692
679
  }
693
680
  if (message.apr_value !== 0) {
694
- obj.apr_value = Math.round(message.apr_value);
681
+ obj.apr_value = message.apr_value;
695
682
  }
696
683
  if (message.apr_type !== "") {
697
684
  obj.apr_type = message.apr_type;
@@ -711,6 +698,9 @@ exports.approveLoanResponse = {
711
698
  if (message.approved_amount !== 0) {
712
699
  obj.approved_amount = Math.round(message.approved_amount);
713
700
  }
701
+ if (message.discount !== 0) {
702
+ obj.discount = Math.round(message.discount);
703
+ }
714
704
  return obj;
715
705
  },
716
706
  create(base) {
@@ -748,6 +738,7 @@ exports.approveLoanResponse = {
748
738
  message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
749
739
  message.plan_id = object.plan_id ?? 0;
750
740
  message.approved_amount = object.approved_amount ?? 0;
741
+ message.discount = object.discount ?? 0;
751
742
  return message;
752
743
  },
753
744
  };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/banklist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/calculateemi.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/creditlimit.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -4,7 +4,6 @@ export interface fcpPaymentRequest {
4
4
  bill_amount: number;
5
5
  customerid: number;
6
6
  loan_id: number[];
7
- payment_id: number;
8
7
  mode: string;
9
8
  }
10
9
  export interface fcpPaymentResponse {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/fcppayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,7 @@ exports.fcpPaymentResponse = exports.fcpPaymentRequest = exports.protobufPackage
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.fcppayment";
15
15
  function createBasefcpPaymentRequest() {
16
- return { bill_amount: 0, customerid: 0, loan_id: [], payment_id: 0, mode: "" };
16
+ return { bill_amount: 0, customerid: 0, loan_id: [], mode: "" };
17
17
  }
18
18
  exports.fcpPaymentRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -28,11 +28,8 @@ exports.fcpPaymentRequest = {
28
28
  writer.int32(v);
29
29
  }
30
30
  writer.ldelim();
31
- if (message.payment_id !== 0) {
32
- writer.uint32(32).int32(message.payment_id);
33
- }
34
31
  if (message.mode !== "") {
35
- writer.uint32(42).string(message.mode);
32
+ writer.uint32(34).string(message.mode);
36
33
  }
37
34
  return writer;
38
35
  },
@@ -69,13 +66,7 @@ exports.fcpPaymentRequest = {
69
66
  }
70
67
  break;
71
68
  case 4:
72
- if (tag !== 32) {
73
- break;
74
- }
75
- message.payment_id = reader.int32();
76
- continue;
77
- case 5:
78
- if (tag !== 42) {
69
+ if (tag !== 34) {
79
70
  break;
80
71
  }
81
72
  message.mode = reader.string();
@@ -93,7 +84,6 @@ exports.fcpPaymentRequest = {
93
84
  bill_amount: isSet(object.bill_amount) ? globalThis.Number(object.bill_amount) : 0,
94
85
  customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
95
86
  loan_id: globalThis.Array.isArray(object?.loan_id) ? object.loan_id.map((e) => globalThis.Number(e)) : [],
96
- payment_id: isSet(object.payment_id) ? globalThis.Number(object.payment_id) : 0,
97
87
  mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
98
88
  };
99
89
  },
@@ -108,9 +98,6 @@ exports.fcpPaymentRequest = {
108
98
  if (message.loan_id?.length) {
109
99
  obj.loan_id = message.loan_id.map((e) => Math.round(e));
110
100
  }
111
- if (message.payment_id !== 0) {
112
- obj.payment_id = Math.round(message.payment_id);
113
- }
114
101
  if (message.mode !== "") {
115
102
  obj.mode = message.mode;
116
103
  }
@@ -124,7 +111,6 @@ exports.fcpPaymentRequest = {
124
111
  message.bill_amount = object.bill_amount ?? 0;
125
112
  message.customerid = object.customerid ?? 0;
126
113
  message.loan_id = object.loan_id?.map((e) => e) || [];
127
- message.payment_id = object.payment_id ?? 0;
128
114
  message.mode = object.mode ?? "";
129
115
  return message;
130
116
  },
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/forecloseamount.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -4,7 +4,6 @@ export interface foreclosePaymentRequest {
4
4
  amount: number;
5
5
  customerid: number;
6
6
  loan_id: number;
7
- payment_id: number;
8
7
  mode: string;
9
8
  }
10
9
  export interface foreclosePaymentResponse {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/foreclosepayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,7 @@ exports.foreclosePaymentResponse = exports.foreclosePaymentRequest = exports.pro
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.foreclosepayment";
15
15
  function createBaseforeclosePaymentRequest() {
16
- return { amount: 0, customerid: 0, loan_id: 0, payment_id: 0, mode: "" };
16
+ return { amount: 0, customerid: 0, loan_id: 0, mode: "" };
17
17
  }
18
18
  exports.foreclosePaymentRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -26,11 +26,8 @@ exports.foreclosePaymentRequest = {
26
26
  if (message.loan_id !== 0) {
27
27
  writer.uint32(24).int32(message.loan_id);
28
28
  }
29
- if (message.payment_id !== 0) {
30
- writer.uint32(32).int32(message.payment_id);
31
- }
32
29
  if (message.mode !== "") {
33
- writer.uint32(42).string(message.mode);
30
+ writer.uint32(34).string(message.mode);
34
31
  }
35
32
  return writer;
36
33
  },
@@ -60,13 +57,7 @@ exports.foreclosePaymentRequest = {
60
57
  message.loan_id = reader.int32();
61
58
  continue;
62
59
  case 4:
63
- if (tag !== 32) {
64
- break;
65
- }
66
- message.payment_id = reader.int32();
67
- continue;
68
- case 5:
69
- if (tag !== 42) {
60
+ if (tag !== 34) {
70
61
  break;
71
62
  }
72
63
  message.mode = reader.string();
@@ -84,7 +75,6 @@ exports.foreclosePaymentRequest = {
84
75
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
85
76
  customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
86
77
  loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
87
- payment_id: isSet(object.payment_id) ? globalThis.Number(object.payment_id) : 0,
88
78
  mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
89
79
  };
90
80
  },
@@ -99,9 +89,6 @@ exports.foreclosePaymentRequest = {
99
89
  if (message.loan_id !== 0) {
100
90
  obj.loan_id = Math.round(message.loan_id);
101
91
  }
102
- if (message.payment_id !== 0) {
103
- obj.payment_id = Math.round(message.payment_id);
104
- }
105
92
  if (message.mode !== "") {
106
93
  obj.mode = message.mode;
107
94
  }
@@ -115,7 +102,6 @@ exports.foreclosePaymentRequest = {
115
102
  message.amount = object.amount ?? 0;
116
103
  message.customerid = object.customerid ?? 0;
117
104
  message.loan_id = object.loan_id ?? 0;
118
- message.payment_id = object.payment_id ?? 0;
119
105
  message.mode = object.mode ?? "";
120
106
  return message;
121
107
  },
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/futurepaymentmoredetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/getbilldetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/getcustomerloanstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -22,6 +22,7 @@ export interface getLoanByIdResponse {
22
22
  fees: getLoanByIdResponse_Field | undefined;
23
23
  loan_create_date: string;
24
24
  net_payable_amount: number;
25
+ apr_value: number;
25
26
  }
26
27
  export interface getLoanByIdResponse_Field {
27
28
  processing_fee: number;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/getloanbyid.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -82,6 +82,7 @@ function createBasegetLoanByIdResponse() {
82
82
  fees: undefined,
83
83
  loan_create_date: "",
84
84
  net_payable_amount: 0,
85
+ apr_value: 0,
85
86
  };
86
87
  }
87
88
  exports.getLoanByIdResponse = {
@@ -140,6 +141,9 @@ exports.getLoanByIdResponse = {
140
141
  if (message.net_payable_amount !== 0) {
141
142
  writer.uint32(144).int32(message.net_payable_amount);
142
143
  }
144
+ if (message.apr_value !== 0) {
145
+ writer.uint32(157).float(message.apr_value);
146
+ }
143
147
  return writer;
144
148
  },
145
149
  decode(input, length) {
@@ -257,6 +261,12 @@ exports.getLoanByIdResponse = {
257
261
  }
258
262
  message.net_payable_amount = reader.int32();
259
263
  continue;
264
+ case 19:
265
+ if (tag !== 157) {
266
+ break;
267
+ }
268
+ message.apr_value = reader.float();
269
+ continue;
260
270
  }
261
271
  if ((tag & 7) === 4 || tag === 0) {
262
272
  break;
@@ -287,6 +297,7 @@ exports.getLoanByIdResponse = {
287
297
  fees: isSet(object.fees) ? exports.getLoanByIdResponse_Field.fromJSON(object.fees) : undefined,
288
298
  loan_create_date: isSet(object.loan_create_date) ? globalThis.String(object.loan_create_date) : "",
289
299
  net_payable_amount: isSet(object.net_payable_amount) ? globalThis.Number(object.net_payable_amount) : 0,
300
+ apr_value: isSet(object.apr_value) ? globalThis.Number(object.apr_value) : 0,
290
301
  };
291
302
  },
292
303
  toJSON(message) {
@@ -345,6 +356,9 @@ exports.getLoanByIdResponse = {
345
356
  if (message.net_payable_amount !== 0) {
346
357
  obj.net_payable_amount = Math.round(message.net_payable_amount);
347
358
  }
359
+ if (message.apr_value !== 0) {
360
+ obj.apr_value = message.apr_value;
361
+ }
348
362
  return obj;
349
363
  },
350
364
  create(base) {
@@ -372,6 +386,7 @@ exports.getLoanByIdResponse = {
372
386
  : undefined;
373
387
  message.loan_create_date = object.loan_create_date ?? "";
374
388
  message.net_payable_amount = object.net_payable_amount ?? 0;
389
+ message.apr_value = object.apr_value ?? 0;
375
390
  return message;
376
391
  },
377
392
  };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/getnextdueamount.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/getpendingemiamount.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/getsummarystaticfields.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/gettransactionstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,35 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.getusedlimit";
3
+ export interface getUsedLimitfoRequest {
4
+ customer_id: number;
5
+ }
6
+ export interface getUsedLimitfoResponse {
7
+ used_limit: number;
8
+ }
9
+ export declare const getUsedLimitfoRequest: {
10
+ encode(message: getUsedLimitfoRequest, writer?: _m0.Writer): _m0.Writer;
11
+ decode(input: _m0.Reader | Uint8Array, length?: number): getUsedLimitfoRequest;
12
+ fromJSON(object: any): getUsedLimitfoRequest;
13
+ toJSON(message: getUsedLimitfoRequest): unknown;
14
+ create<I extends Exact<DeepPartial<getUsedLimitfoRequest>, I>>(base?: I): getUsedLimitfoRequest;
15
+ fromPartial<I extends Exact<DeepPartial<getUsedLimitfoRequest>, I>>(object: I): getUsedLimitfoRequest;
16
+ };
17
+ export declare const getUsedLimitfoResponse: {
18
+ encode(message: getUsedLimitfoResponse, writer?: _m0.Writer): _m0.Writer;
19
+ decode(input: _m0.Reader | Uint8Array, length?: number): getUsedLimitfoResponse;
20
+ fromJSON(object: any): getUsedLimitfoResponse;
21
+ toJSON(message: getUsedLimitfoResponse): unknown;
22
+ create<I extends Exact<DeepPartial<getUsedLimitfoResponse>, I>>(base?: I): getUsedLimitfoResponse;
23
+ fromPartial<I extends Exact<DeepPartial<getUsedLimitfoResponse>, I>>(object: I): getUsedLimitfoResponse;
24
+ };
25
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
26
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
27
+ [K in keyof T]?: DeepPartial<T[K]>;
28
+ } : Partial<T>;
29
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
30
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
31
+ [K in keyof P]: Exact<P[K], I[K]>;
32
+ } & {
33
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
34
+ };
35
+ export {};