@stashfin/grpc 1.2.260 → 1.2.262

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 (154) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getdbrcolending.js +1 -1
  4. package/ts/bureau/getdemogs.js +1 -1
  5. package/ts/bureau/getobligation.js +1 -1
  6. package/ts/bureau/getreport.d.ts +3 -3
  7. package/ts/bureau/getreport.js +1 -1
  8. package/ts/bureau.js +1 -1
  9. package/ts/colender/disburseLoan.js +1 -1
  10. package/ts/colender/forecloseLoan.js +1 -1
  11. package/ts/colender/repayLoan.js +1 -1
  12. package/ts/colender.js +1 -1
  13. package/ts/customers/aa/getbanklist.js +1 -1
  14. package/ts/customers/aa/initiate.js +1 -1
  15. package/ts/customers/addaddress.js +1 -1
  16. package/ts/customers/addbankaccountdetails.js +1 -1
  17. package/ts/customers/addfathersname.js +1 -1
  18. package/ts/customers/addgstnumber.js +1 -1
  19. package/ts/customers/addmoredetails.js +1 -1
  20. package/ts/customers/addsuspendedcustomer.js +1 -1
  21. package/ts/customers/adduserapps.js +1 -1
  22. package/ts/customers/bulksms.js +1 -1
  23. package/ts/customers/cb/cbsignup.js +1 -1
  24. package/ts/customers/cb/getcbtxnstatus.js +1 -1
  25. package/ts/customers/cb/getcreditbuilder.js +1 -1
  26. package/ts/customers/cb/paynow.js +1 -1
  27. package/ts/customers/cb/savecreditbuilder.js +1 -1
  28. package/ts/customers/cb/updatecbtxnstatus.js +1 -1
  29. package/ts/customers/changempin.js +1 -1
  30. package/ts/customers/createcustomerreference.js +1 -1
  31. package/ts/customers/deleteprofile.js +1 -1
  32. package/ts/customers/disablempin.js +1 -1
  33. package/ts/customers/enach/gettxnstatus.js +1 -1
  34. package/ts/customers/enach/getweburl.js +1 -1
  35. package/ts/customers/enach/updatetxnstatus.js +1 -1
  36. package/ts/customers/fetchrcprofile.js +1 -1
  37. package/ts/customers/floatingvideos.js +1 -1
  38. package/ts/customers/forgotmpin.js +1 -1
  39. package/ts/customers/forgotmpinverify.js +1 -1
  40. package/ts/customers/freedom/addressconfirmation.js +1 -1
  41. package/ts/customers/freedom/freedompaynow.js +1 -1
  42. package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
  43. package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
  44. package/ts/customers/getaddresslist.js +1 -1
  45. package/ts/customers/getappsubmittedscreen.js +1 -1
  46. package/ts/customers/getbankaccountdetails.js +1 -1
  47. package/ts/customers/getbasicinfo.js +1 -1
  48. package/ts/customers/getcities.js +1 -1
  49. package/ts/customers/getcompanyaccdetails.js +1 -1
  50. package/ts/customers/getcustomerbyid.js +1 -1
  51. package/ts/customers/getdashboard.js +1 -1
  52. package/ts/customers/getdashboardmaincard.js +1 -1
  53. package/ts/customers/getdocuments.js +1 -1
  54. package/ts/customers/getlimit.js +1 -1
  55. package/ts/customers/getoccupationlist.js +1 -1
  56. package/ts/customers/getpaymentoptions.d.ts +51 -0
  57. package/ts/customers/getpaymentoptions.js +243 -0
  58. package/ts/customers/getprofessionalinfo.js +1 -1
  59. package/ts/customers/getprofile.js +1 -1
  60. package/ts/customers/getselfieetxnid.js +1 -1
  61. package/ts/customers/getstates.js +1 -1
  62. package/ts/customers/getstep.js +1 -1
  63. package/ts/customers/logout.js +1 -1
  64. package/ts/customers/pd/getbanklist.js +1 -1
  65. package/ts/customers/pd/validatebankaccount.js +1 -1
  66. package/ts/customers/profilebasic.js +1 -1
  67. package/ts/customers/profileupdatetnc.js +1 -1
  68. package/ts/customers/rpd/getrpdlink.js +1 -1
  69. package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
  70. package/ts/customers/rpd/mockpayment.js +1 -1
  71. package/ts/customers/savebasicdetails.js +1 -1
  72. package/ts/customers/savelimit.js +1 -1
  73. package/ts/customers/saveunlocklimit.js +1 -1
  74. package/ts/customers/sendotp.js +1 -1
  75. package/ts/customers/sendotptoemail.js +1 -1
  76. package/ts/customers/setmpin.js +1 -1
  77. package/ts/customers/skipscreen.js +1 -1
  78. package/ts/customers/updatecategory.js +1 -1
  79. package/ts/customers/updatecustomerbyid.js +1 -1
  80. package/ts/customers/updatedlnumber.js +1 -1
  81. package/ts/customers/updatedob.js +1 -1
  82. package/ts/customers/updatelocstatus.js +1 -1
  83. package/ts/customers/updatemobilesendotp.js +1 -1
  84. package/ts/customers/updatemobileverifyotp.js +1 -1
  85. package/ts/customers/updateokyctxn.js +1 -1
  86. package/ts/customers/updateselfieetxn.js +1 -1
  87. package/ts/customers/updatevehiclenumber.js +1 -1
  88. package/ts/customers/uploaddocuments.js +1 -1
  89. package/ts/customers/validatepan.js +1 -1
  90. package/ts/customers/verifympin.js +1 -1
  91. package/ts/customers/verifyotp.js +1 -1
  92. package/ts/customers/verifyotptoemail.js +1 -1
  93. package/ts/customers.d.ts +14 -0
  94. package/ts/customers.js +11 -1
  95. package/ts/decisionengine/decisionengine.js +1 -1
  96. package/ts/decisionengine.js +1 -1
  97. package/ts/example.js +1 -1
  98. package/ts/growth/checkplanstatus.js +1 -1
  99. package/ts/growth/getattachplandetails.js +1 -1
  100. package/ts/growth/getchrplans.js +1 -1
  101. package/ts/growth/getcredithealthreport.js +1 -1
  102. package/ts/growth/initiatepayment.js +1 -1
  103. package/ts/growth/processchrpayment.js +1 -1
  104. package/ts/growth.js +1 -1
  105. package/ts/loans/amortization.js +1 -1
  106. package/ts/loans/approveloan.d.ts +1 -0
  107. package/ts/loans/approveloan.js +20 -5
  108. package/ts/loans/banklist.js +1 -1
  109. package/ts/loans/calculateemi.js +1 -1
  110. package/ts/loans/creditlimit.js +1 -1
  111. package/ts/loans/fcppayment.js +1 -1
  112. package/ts/loans/forecloseamount.js +1 -1
  113. package/ts/loans/foreclosepayment.js +1 -1
  114. package/ts/loans/futurepaymentmoredetails.js +1 -1
  115. package/ts/loans/getbilldetails.js +1 -1
  116. package/ts/loans/getcustomerloanstatus.js +1 -1
  117. package/ts/loans/getloanbyid.d.ts +1 -0
  118. package/ts/loans/getloanbyid.js +16 -1
  119. package/ts/loans/getnextdueamount.js +1 -1
  120. package/ts/loans/getpendingemiamount.js +1 -1
  121. package/ts/loans/getsummarystaticfields.js +1 -1
  122. package/ts/loans/gettransactionstatus.js +1 -1
  123. package/ts/loans/getusedlimit.d.ts +35 -0
  124. package/ts/loans/getusedlimit.js +117 -0
  125. package/ts/loans/getvirtualbankinfo.js +1 -1
  126. package/ts/loans/loansummary.d.ts +1 -0
  127. package/ts/loans/loansummary.js +20 -5
  128. package/ts/loans/paymentallocation.js +1 -1
  129. package/ts/loans/paymenthistory.js +1 -1
  130. package/ts/loans/paynow.js +1 -1
  131. package/ts/loans/refund.js +1 -1
  132. package/ts/loans/restructureloan.js +1 -1
  133. package/ts/loans/rollback.js +1 -1
  134. package/ts/loans/sendemail.js +1 -1
  135. package/ts/loans/sendnocemail.js +1 -1
  136. package/ts/loans/transactionlist.js +1 -1
  137. package/ts/loans/updateinstallments.d.ts +0 -2
  138. package/ts/loans/updateinstallments.js +7 -44
  139. package/ts/loans/updateloan.js +1 -1
  140. package/ts/loans/updatetransactionstatus.js +1 -1
  141. package/ts/loans.d.ts +14 -0
  142. package/ts/loans.js +11 -1
  143. package/ts/payments/checkpaymentstatus.js +1 -1
  144. package/ts/payments/getpaymentoptions.js +1 -1
  145. package/ts/payments/initiatepayment.js +1 -1
  146. package/ts/payments/nachpresentation.js +1 -1
  147. package/ts/payments/nachregistration.js +1 -1
  148. package/ts/payments.js +1 -1
  149. package/ts/stashcash/creditsc.js +1 -1
  150. package/ts/stashcash/debitsc.js +1 -1
  151. package/ts/stashcash/getscbalance.js +1 -1
  152. package/ts/stashcash/getschistory.js +1 -1
  153. package/ts/stashcash/reversesc.js +1 -1
  154. package/ts/stashcash.js +1 -1
package/ts/customers.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: customers.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.customersClient = exports.customersService = exports.protobufPackage = void 0;
@@ -51,6 +51,7 @@ const getdashboardmaincard_1 = require("./customers/getdashboardmaincard");
51
51
  const getdocuments_1 = require("./customers/getdocuments");
52
52
  const getlimit_1 = require("./customers/getlimit");
53
53
  const getoccupationlist_1 = require("./customers/getoccupationlist");
54
+ const getpaymentoptions_1 = require("./customers/getpaymentoptions");
54
55
  const getprofessionalinfo_1 = require("./customers/getprofessionalinfo");
55
56
  const getprofile_1 = require("./customers/getprofile");
56
57
  const getselfieetxnid_1 = require("./customers/getselfieetxnid");
@@ -808,5 +809,14 @@ exports.customersService = {
808
809
  responseSerialize: (value) => Buffer.from(updatecategory_1.updateCategoryResponse.encode(value).finish()),
809
810
  responseDeserialize: (value) => updatecategory_1.updateCategoryResponse.decode(value),
810
811
  },
812
+ getPaymentOptions: {
813
+ path: "/service.customers/getPaymentOptions",
814
+ requestStream: false,
815
+ responseStream: false,
816
+ requestSerialize: (value) => Buffer.from(getpaymentoptions_1.paymentOptionRequest.encode(value).finish()),
817
+ requestDeserialize: (value) => getpaymentoptions_1.paymentOptionRequest.decode(value),
818
+ responseSerialize: (value) => Buffer.from(getpaymentoptions_1.paymentOptionResponse.encode(value).finish()),
819
+ responseDeserialize: (value) => getpaymentoptions_1.paymentOptionResponse.decode(value),
820
+ },
811
821
  };
812
822
  exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: decisionengine/decisionengine.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: decisionengine.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.decision_engineClient = exports.decision_engineService = exports.protobufPackage = void 0;
package/ts/example.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: example.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: growth/checkplanstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: growth/getattachplandetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: growth/getchrplans.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: growth/getcredithealthreport.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: growth/initiatepayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: growth/processchrpayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/growth.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: growth.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.growthClient = exports.growthService = exports.protobufPackage = void 0;
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: loans/amortization.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -46,6 +46,7 @@ export interface approveLoanResponse {
46
46
  credit_report_actual_fees: number;
47
47
  plan_id: number;
48
48
  approved_amount: number;
49
+ discount: number;
49
50
  }
50
51
  export declare const approveLoanRequest: {
51
52
  encode(message: approveLoanRequest, writer?: _m0.Writer): _m0.Writer;
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -286,6 +286,7 @@ function createBaseapproveLoanResponse() {
286
286
  credit_report_actual_fees: 0,
287
287
  plan_id: 0,
288
288
  approved_amount: 0,
289
+ discount: 0,
289
290
  };
290
291
  }
291
292
  exports.approveLoanResponse = {
@@ -360,7 +361,7 @@ exports.approveLoanResponse = {
360
361
  writer.uint32(186).string(message.bill_card_description);
361
362
  }
362
363
  if (message.apr_value !== 0) {
363
- writer.uint32(192).int32(message.apr_value);
364
+ writer.uint32(197).float(message.apr_value);
364
365
  }
365
366
  if (message.apr_type !== "") {
366
367
  writer.uint32(202).string(message.apr_type);
@@ -380,6 +381,9 @@ exports.approveLoanResponse = {
380
381
  if (message.approved_amount !== 0) {
381
382
  writer.uint32(240).int32(message.approved_amount);
382
383
  }
384
+ if (message.discount !== 0) {
385
+ writer.uint32(248).int32(message.discount);
386
+ }
383
387
  return writer;
384
388
  },
385
389
  decode(input, length) {
@@ -528,10 +532,10 @@ exports.approveLoanResponse = {
528
532
  message.bill_card_description = reader.string();
529
533
  continue;
530
534
  case 24:
531
- if (tag !== 192) {
535
+ if (tag !== 197) {
532
536
  break;
533
537
  }
534
- message.apr_value = reader.int32();
538
+ message.apr_value = reader.float();
535
539
  continue;
536
540
  case 25:
537
541
  if (tag !== 202) {
@@ -569,6 +573,12 @@ exports.approveLoanResponse = {
569
573
  }
570
574
  message.approved_amount = reader.int32();
571
575
  continue;
576
+ case 31:
577
+ if (tag !== 248) {
578
+ break;
579
+ }
580
+ message.discount = reader.int32();
581
+ continue;
572
582
  }
573
583
  if ((tag & 7) === 4 || tag === 0) {
574
584
  break;
@@ -617,6 +627,7 @@ exports.approveLoanResponse = {
617
627
  : 0,
618
628
  plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
619
629
  approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
630
+ discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
620
631
  };
621
632
  },
622
633
  toJSON(message) {
@@ -691,7 +702,7 @@ exports.approveLoanResponse = {
691
702
  obj.bill_card_description = message.bill_card_description;
692
703
  }
693
704
  if (message.apr_value !== 0) {
694
- obj.apr_value = Math.round(message.apr_value);
705
+ obj.apr_value = message.apr_value;
695
706
  }
696
707
  if (message.apr_type !== "") {
697
708
  obj.apr_type = message.apr_type;
@@ -711,6 +722,9 @@ exports.approveLoanResponse = {
711
722
  if (message.approved_amount !== 0) {
712
723
  obj.approved_amount = Math.round(message.approved_amount);
713
724
  }
725
+ if (message.discount !== 0) {
726
+ obj.discount = Math.round(message.discount);
727
+ }
714
728
  return obj;
715
729
  },
716
730
  create(base) {
@@ -748,6 +762,7 @@ exports.approveLoanResponse = {
748
762
  message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
749
763
  message.plan_id = object.plan_id ?? 0;
750
764
  message.approved_amount = object.approved_amount ?? 0;
765
+ message.discount = object.discount ?? 0;
751
766
  return message;
752
767
  },
753
768
  };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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;
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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
  };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
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 {};
@@ -0,0 +1,117 @@
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.28.2
6
+ // source: loans/getusedlimit.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.getUsedLimitfoResponse = exports.getUsedLimitfoRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getusedlimit";
15
+ function createBasegetUsedLimitfoRequest() {
16
+ return { customer_id: 0 };
17
+ }
18
+ exports.getUsedLimitfoRequest = {
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 = createBasegetUsedLimitfoRequest();
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.getUsedLimitfoRequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBasegetUsedLimitfoRequest();
61
+ message.customer_id = object.customer_id ?? 0;
62
+ return message;
63
+ },
64
+ };
65
+ function createBasegetUsedLimitfoResponse() {
66
+ return { used_limit: 0 };
67
+ }
68
+ exports.getUsedLimitfoResponse = {
69
+ encode(message, writer = minimal_1.default.Writer.create()) {
70
+ if (message.used_limit !== 0) {
71
+ writer.uint32(8).int32(message.used_limit);
72
+ }
73
+ return writer;
74
+ },
75
+ decode(input, length) {
76
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
77
+ let end = length === undefined ? reader.len : reader.pos + length;
78
+ const message = createBasegetUsedLimitfoResponse();
79
+ while (reader.pos < end) {
80
+ const tag = reader.uint32();
81
+ switch (tag >>> 3) {
82
+ case 1:
83
+ if (tag !== 8) {
84
+ break;
85
+ }
86
+ message.used_limit = reader.int32();
87
+ continue;
88
+ }
89
+ if ((tag & 7) === 4 || tag === 0) {
90
+ break;
91
+ }
92
+ reader.skipType(tag & 7);
93
+ }
94
+ return message;
95
+ },
96
+ fromJSON(object) {
97
+ return { used_limit: isSet(object.used_limit) ? globalThis.Number(object.used_limit) : 0 };
98
+ },
99
+ toJSON(message) {
100
+ const obj = {};
101
+ if (message.used_limit !== 0) {
102
+ obj.used_limit = Math.round(message.used_limit);
103
+ }
104
+ return obj;
105
+ },
106
+ create(base) {
107
+ return exports.getUsedLimitfoResponse.fromPartial(base ?? {});
108
+ },
109
+ fromPartial(object) {
110
+ const message = createBasegetUsedLimitfoResponse();
111
+ message.used_limit = object.used_limit ?? 0;
112
+ return message;
113
+ },
114
+ };
115
+ function isSet(value) {
116
+ return value !== null && value !== undefined;
117
+ }
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.1
5
+ // protoc v5.28.2
6
6
  // source: loans/getvirtualbankinfo.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -36,6 +36,7 @@ export interface loanSummaryResponse {
36
36
  credit_report_actual_fees: number;
37
37
  plan_id: number;
38
38
  approved_amount: number;
39
+ discount: number;
39
40
  }
40
41
  export declare const loanSummaryRequest: {
41
42
  encode(message: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;