@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
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
@@ -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.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");
@@ -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: payments/checkpaymentstatus.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: payments/getpaymentoptions.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: payments/initiatepayment.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: payments/nachpresentation.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: 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
@@ -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: payments.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.paymentsClient = exports.paymentsService = exports.protobufPackage = void 0;
@@ -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: stashcash/creditsc.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: stashcash/debitsc.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: stashcash/getscbalance.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: stashcash/getschistory.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: 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
@@ -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: stashcash.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.stashcashClient = exports.stashcashService = exports.protobufPackage = void 0;