@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
@@ -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/loansummary.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -124,6 +124,7 @@ function createBaseloanSummaryResponse() {
124
124
  credit_report_actual_fees: 0,
125
125
  plan_id: 0,
126
126
  approved_amount: 0,
127
+ discount: 0,
127
128
  };
128
129
  }
129
130
  exports.loanSummaryResponse = {
@@ -198,7 +199,7 @@ exports.loanSummaryResponse = {
198
199
  writer.uint32(186).string(message.bill_card_description);
199
200
  }
200
201
  if (message.apr_value !== 0) {
201
- writer.uint32(192).int32(message.apr_value);
202
+ writer.uint32(197).float(message.apr_value);
202
203
  }
203
204
  if (message.apr_type !== "") {
204
205
  writer.uint32(202).string(message.apr_type);
@@ -218,6 +219,9 @@ exports.loanSummaryResponse = {
218
219
  if (message.approved_amount !== 0) {
219
220
  writer.uint32(240).int32(message.approved_amount);
220
221
  }
222
+ if (message.discount !== 0) {
223
+ writer.uint32(248).int32(message.discount);
224
+ }
221
225
  return writer;
222
226
  },
223
227
  decode(input, length) {
@@ -366,10 +370,10 @@ exports.loanSummaryResponse = {
366
370
  message.bill_card_description = reader.string();
367
371
  continue;
368
372
  case 24:
369
- if (tag !== 192) {
373
+ if (tag !== 197) {
370
374
  break;
371
375
  }
372
- message.apr_value = reader.int32();
376
+ message.apr_value = reader.float();
373
377
  continue;
374
378
  case 25:
375
379
  if (tag !== 202) {
@@ -407,6 +411,12 @@ exports.loanSummaryResponse = {
407
411
  }
408
412
  message.approved_amount = reader.int32();
409
413
  continue;
414
+ case 31:
415
+ if (tag !== 248) {
416
+ break;
417
+ }
418
+ message.discount = reader.int32();
419
+ continue;
410
420
  }
411
421
  if ((tag & 7) === 4 || tag === 0) {
412
422
  break;
@@ -455,6 +465,7 @@ exports.loanSummaryResponse = {
455
465
  : 0,
456
466
  plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
457
467
  approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
468
+ discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
458
469
  };
459
470
  },
460
471
  toJSON(message) {
@@ -529,7 +540,7 @@ exports.loanSummaryResponse = {
529
540
  obj.bill_card_description = message.bill_card_description;
530
541
  }
531
542
  if (message.apr_value !== 0) {
532
- obj.apr_value = Math.round(message.apr_value);
543
+ obj.apr_value = message.apr_value;
533
544
  }
534
545
  if (message.apr_type !== "") {
535
546
  obj.apr_type = message.apr_type;
@@ -549,6 +560,9 @@ exports.loanSummaryResponse = {
549
560
  if (message.approved_amount !== 0) {
550
561
  obj.approved_amount = Math.round(message.approved_amount);
551
562
  }
563
+ if (message.discount !== 0) {
564
+ obj.discount = Math.round(message.discount);
565
+ }
552
566
  return obj;
553
567
  },
554
568
  create(base) {
@@ -586,6 +600,7 @@ exports.loanSummaryResponse = {
586
600
  message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
587
601
  message.plan_id = object.plan_id ?? 0;
588
602
  message.approved_amount = object.approved_amount ?? 0;
603
+ message.discount = object.discount ?? 0;
589
604
  return message;
590
605
  },
591
606
  };
@@ -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/paymentallocation.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/paymenthistory.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/paynow.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/refund.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/restructureloan.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/rollback.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/sendemail.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/sendnocemail.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/transactionlist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -4,10 +4,8 @@ export interface updateInstallmentsRequest {
4
4
  installment_id: number;
5
5
  r_principal: number;
6
6
  r_interest: number;
7
- r_penalty: number;
8
7
  r_pif_principal: number;
9
8
  r_pif_interest: number;
10
- r_pif_penalty: number;
11
9
  amount: number;
12
10
  }
13
11
  export interface updateInstallmentsResponse {
@@ -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/updateinstallments.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,16 +13,7 @@ exports.updateInstallmentsResponse = exports.updateInstallmentsRequest = exports
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.updateinstallments";
15
15
  function createBaseupdateInstallmentsRequest() {
16
- return {
17
- installment_id: 0,
18
- r_principal: 0,
19
- r_interest: 0,
20
- r_penalty: 0,
21
- r_pif_principal: 0,
22
- r_pif_interest: 0,
23
- r_pif_penalty: 0,
24
- amount: 0,
25
- };
16
+ return { installment_id: 0, r_principal: 0, r_interest: 0, r_pif_principal: 0, r_pif_interest: 0, amount: 0 };
26
17
  }
27
18
  exports.updateInstallmentsRequest = {
28
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -35,20 +26,14 @@ exports.updateInstallmentsRequest = {
35
26
  if (message.r_interest !== 0) {
36
27
  writer.uint32(24).int32(message.r_interest);
37
28
  }
38
- if (message.r_penalty !== 0) {
39
- writer.uint32(32).int32(message.r_penalty);
40
- }
41
29
  if (message.r_pif_principal !== 0) {
42
- writer.uint32(40).int32(message.r_pif_principal);
30
+ writer.uint32(32).int32(message.r_pif_principal);
43
31
  }
44
32
  if (message.r_pif_interest !== 0) {
45
- writer.uint32(48).int32(message.r_pif_interest);
46
- }
47
- if (message.r_pif_penalty !== 0) {
48
- writer.uint32(56).int32(message.r_pif_penalty);
33
+ writer.uint32(40).int32(message.r_pif_interest);
49
34
  }
50
35
  if (message.amount !== 0) {
51
- writer.uint32(64).int32(message.amount);
36
+ writer.uint32(48).int32(message.amount);
52
37
  }
53
38
  return writer;
54
39
  },
@@ -81,30 +66,18 @@ exports.updateInstallmentsRequest = {
81
66
  if (tag !== 32) {
82
67
  break;
83
68
  }
84
- message.r_penalty = reader.int32();
69
+ message.r_pif_principal = reader.int32();
85
70
  continue;
86
71
  case 5:
87
72
  if (tag !== 40) {
88
73
  break;
89
74
  }
90
- message.r_pif_principal = reader.int32();
75
+ message.r_pif_interest = reader.int32();
91
76
  continue;
92
77
  case 6:
93
78
  if (tag !== 48) {
94
79
  break;
95
80
  }
96
- message.r_pif_interest = reader.int32();
97
- continue;
98
- case 7:
99
- if (tag !== 56) {
100
- break;
101
- }
102
- message.r_pif_penalty = reader.int32();
103
- continue;
104
- case 8:
105
- if (tag !== 64) {
106
- break;
107
- }
108
81
  message.amount = reader.int32();
109
82
  continue;
110
83
  }
@@ -120,10 +93,8 @@ exports.updateInstallmentsRequest = {
120
93
  installment_id: isSet(object.installment_id) ? globalThis.Number(object.installment_id) : 0,
121
94
  r_principal: isSet(object.r_principal) ? globalThis.Number(object.r_principal) : 0,
122
95
  r_interest: isSet(object.r_interest) ? globalThis.Number(object.r_interest) : 0,
123
- r_penalty: isSet(object.r_penalty) ? globalThis.Number(object.r_penalty) : 0,
124
96
  r_pif_principal: isSet(object.r_pif_principal) ? globalThis.Number(object.r_pif_principal) : 0,
125
97
  r_pif_interest: isSet(object.r_pif_interest) ? globalThis.Number(object.r_pif_interest) : 0,
126
- r_pif_penalty: isSet(object.r_pif_penalty) ? globalThis.Number(object.r_pif_penalty) : 0,
127
98
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
128
99
  };
129
100
  },
@@ -138,18 +109,12 @@ exports.updateInstallmentsRequest = {
138
109
  if (message.r_interest !== 0) {
139
110
  obj.r_interest = Math.round(message.r_interest);
140
111
  }
141
- if (message.r_penalty !== 0) {
142
- obj.r_penalty = Math.round(message.r_penalty);
143
- }
144
112
  if (message.r_pif_principal !== 0) {
145
113
  obj.r_pif_principal = Math.round(message.r_pif_principal);
146
114
  }
147
115
  if (message.r_pif_interest !== 0) {
148
116
  obj.r_pif_interest = Math.round(message.r_pif_interest);
149
117
  }
150
- if (message.r_pif_penalty !== 0) {
151
- obj.r_pif_penalty = Math.round(message.r_pif_penalty);
152
- }
153
118
  if (message.amount !== 0) {
154
119
  obj.amount = Math.round(message.amount);
155
120
  }
@@ -163,10 +128,8 @@ exports.updateInstallmentsRequest = {
163
128
  message.installment_id = object.installment_id ?? 0;
164
129
  message.r_principal = object.r_principal ?? 0;
165
130
  message.r_interest = object.r_interest ?? 0;
166
- message.r_penalty = object.r_penalty ?? 0;
167
131
  message.r_pif_principal = object.r_pif_principal ?? 0;
168
132
  message.r_pif_interest = object.r_pif_interest ?? 0;
169
- message.r_pif_penalty = object.r_pif_penalty ?? 0;
170
133
  message.amount = object.amount ?? 0;
171
134
  return message;
172
135
  },
@@ -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/updateloan.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/updatetransactionstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/loans.d.ts CHANGED
@@ -15,6 +15,7 @@ import { getNextdueAmountRequest, getNextdueAmountResponse } from "./loans/getne
15
15
  import { getPendingEmiAmountRequest, getPendingEmiAmountResponse } from "./loans/getpendingemiamount";
16
16
  import { getSummaryStaticFieldsRequest, getSummaryStaticFieldsResponse } from "./loans/getsummarystaticfields";
17
17
  import { getTransactionStatusRequest, getTransactionStatusResponse } from "./loans/gettransactionstatus";
18
+ import { getUsedLimitfoRequest, getUsedLimitfoResponse } from "./loans/getusedlimit";
18
19
  import { getVirtualBankInfoRequest, getVirtualBankInfoResponse } from "./loans/getvirtualbankinfo";
19
20
  import { loanSummaryRequest, loanSummaryResponse } from "./loans/loansummary";
20
21
  import { paymentAllocationRequest, paymentAllocationResponse } from "./loans/paymentallocation";
@@ -302,6 +303,15 @@ export declare const loansService: {
302
303
  readonly responseSerialize: (value: updateTransactionStatusResponse) => Buffer;
303
304
  readonly responseDeserialize: (value: Buffer) => updateTransactionStatusResponse;
304
305
  };
306
+ readonly getUsedLimit: {
307
+ readonly path: "/service.loans/getUsedLimit";
308
+ readonly requestStream: false;
309
+ readonly responseStream: false;
310
+ readonly requestSerialize: (value: getUsedLimitfoRequest) => Buffer;
311
+ readonly requestDeserialize: (value: Buffer) => getUsedLimitfoRequest;
312
+ readonly responseSerialize: (value: getUsedLimitfoResponse) => Buffer;
313
+ readonly responseDeserialize: (value: Buffer) => getUsedLimitfoResponse;
314
+ };
305
315
  };
306
316
  export interface loansServer extends UntypedServiceImplementation {
307
317
  creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
@@ -334,6 +344,7 @@ export interface loansServer extends UntypedServiceImplementation {
334
344
  getVirtualBankInfo: handleUnaryCall<getVirtualBankInfoRequest, getVirtualBankInfoResponse>;
335
345
  gettransactionstatus: handleUnaryCall<getTransactionStatusRequest, getTransactionStatusResponse>;
336
346
  updatetransactionstatus: handleUnaryCall<updateTransactionStatusRequest, updateTransactionStatusResponse>;
347
+ getUsedLimit: handleUnaryCall<getUsedLimitfoRequest, getUsedLimitfoResponse>;
337
348
  }
338
349
  export interface loansClient extends Client {
339
350
  creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
@@ -426,6 +437,9 @@ export interface loansClient extends Client {
426
437
  updatetransactionstatus(request: updateTransactionStatusRequest, callback: (error: ServiceError | null, response: updateTransactionStatusResponse) => void): ClientUnaryCall;
427
438
  updatetransactionstatus(request: updateTransactionStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateTransactionStatusResponse) => void): ClientUnaryCall;
428
439
  updatetransactionstatus(request: updateTransactionStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateTransactionStatusResponse) => void): ClientUnaryCall;
440
+ getUsedLimit(request: getUsedLimitfoRequest, callback: (error: ServiceError | null, response: getUsedLimitfoResponse) => void): ClientUnaryCall;
441
+ getUsedLimit(request: getUsedLimitfoRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getUsedLimitfoResponse) => void): ClientUnaryCall;
442
+ getUsedLimit(request: getUsedLimitfoRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getUsedLimitfoResponse) => void): ClientUnaryCall;
429
443
  }
430
444
  export declare const loansClient: {
431
445
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
package/ts/loans.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: loans.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.loansClient = exports.loansService = exports.protobufPackage = void 0;
@@ -24,6 +24,7 @@ const getnextdueamount_1 = require("./loans/getnextdueamount");
24
24
  const getpendingemiamount_1 = require("./loans/getpendingemiamount");
25
25
  const getsummarystaticfields_1 = require("./loans/getsummarystaticfields");
26
26
  const gettransactionstatus_1 = require("./loans/gettransactionstatus");
27
+ const getusedlimit_1 = require("./loans/getusedlimit");
27
28
  const getvirtualbankinfo_1 = require("./loans/getvirtualbankinfo");
28
29
  const loansummary_1 = require("./loans/loansummary");
29
30
  const paymentallocation_1 = require("./loans/paymentallocation");
@@ -310,5 +311,14 @@ exports.loansService = {
310
311
  responseSerialize: (value) => Buffer.from(updatetransactionstatus_1.updateTransactionStatusResponse.encode(value).finish()),
311
312
  responseDeserialize: (value) => updatetransactionstatus_1.updateTransactionStatusResponse.decode(value),
312
313
  },
314
+ getUsedLimit: {
315
+ path: "/service.loans/getUsedLimit",
316
+ requestStream: false,
317
+ responseStream: false,
318
+ requestSerialize: (value) => Buffer.from(getusedlimit_1.getUsedLimitfoRequest.encode(value).finish()),
319
+ requestDeserialize: (value) => getusedlimit_1.getUsedLimitfoRequest.decode(value),
320
+ responseSerialize: (value) => Buffer.from(getusedlimit_1.getUsedLimitfoResponse.encode(value).finish()),
321
+ responseDeserialize: (value) => getusedlimit_1.getUsedLimitfoResponse.decode(value),
322
+ },
313
323
  };
314
324
  exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");
@@ -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: payments/checkpaymentstatus.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: payments/getpaymentoptions.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: payments/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: payments/nachpresentation.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: payments/nachregistration.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/payments.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: payments.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.paymentsClient = exports.paymentsService = 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: stashcash/creditsc.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: stashcash/debitsc.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: stashcash/getscbalance.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: stashcash/getschistory.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: stashcash/reversesc.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/stashcash.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: stashcash.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.stashcashClient = exports.stashcashService = exports.protobufPackage = void 0;