@stashfin/grpc 1.2.264 → 1.2.265

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: customers/updatedlnumber.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: customers/updatedob.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: customers/updatelocstatus.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: customers/updatemobilesendotp.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: customers/updatemobileverifyotp.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: customers/updateokyctxn.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: customers/updateselfieetxn.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: customers/updatevehiclenumber.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: customers/uploaddocuments.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: customers/validatepan.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: customers/verifympin.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: customers/verifyotp.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: customers/verifyotptoemail.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/customers.d.ts CHANGED
@@ -42,6 +42,7 @@ import { getDashboardMainCardRequest, getDashboardMainCardResponse } from "./cus
42
42
  import { getDocumentsRequest, getDocumentsResponse } from "./customers/getdocuments";
43
43
  import { getLimitRequest, getLimitResponse } from "./customers/getlimit";
44
44
  import { getOccupationListRequest, getOccupationListResponse } from "./customers/getoccupationlist";
45
+ import { paymentOptionRequest, paymentOptionResponse } from "./customers/getpaymentoptions";
45
46
  import { getProfessionalInfoRequest, getProfessionalInfoResponse } from "./customers/getprofessionalinfo";
46
47
  import { getCustomerProfileRequest, getCustomerProfileResponse } from "./customers/getprofile";
47
48
  import { getSelfieeTxnIdRequest, getSelfieeTxnIdResponse } from "./customers/getselfieetxnid";
@@ -62,6 +63,7 @@ import { sendOtpRequest, sendOtpRespone } from "./customers/sendotp";
62
63
  import { sendEmailOtpRequest, sendEmailOtpResponse } from "./customers/sendotptoemail";
63
64
  import { setMpinRequest, setMpinResponse } from "./customers/setmpin";
64
65
  import { skipScreenRequest, skipScreenResponse } from "./customers/skipscreen";
66
+ import { updateCategoryRequest, updateCategoryResponse } from "./customers/updatecategory";
65
67
  import { updateCustomerByIdRequest, updateCustomerByIdResponse } from "./customers/updatecustomerbyid";
66
68
  import { updateDlNumberRequest, updateDlNumberResponse } from "./customers/updatedlnumber";
67
69
  import { updateDOBRequest, updateDOBResponse } from "./customers/updatedob";
@@ -790,6 +792,24 @@ export declare const customersService: {
790
792
  readonly responseSerialize: (value: updateFreedomTxnStatusResponse) => Buffer;
791
793
  readonly responseDeserialize: (value: Buffer) => updateFreedomTxnStatusResponse;
792
794
  };
795
+ readonly updateCategory: {
796
+ readonly path: "/service.customers/updateCategory";
797
+ readonly requestStream: false;
798
+ readonly responseStream: false;
799
+ readonly requestSerialize: (value: updateCategoryRequest) => Buffer;
800
+ readonly requestDeserialize: (value: Buffer) => updateCategoryRequest;
801
+ readonly responseSerialize: (value: updateCategoryResponse) => Buffer;
802
+ readonly responseDeserialize: (value: Buffer) => updateCategoryResponse;
803
+ };
804
+ readonly getPaymentOptions: {
805
+ readonly path: "/service.customers/getPaymentOptions";
806
+ readonly requestStream: false;
807
+ readonly responseStream: false;
808
+ readonly requestSerialize: (value: paymentOptionRequest) => Buffer;
809
+ readonly requestDeserialize: (value: Buffer) => paymentOptionRequest;
810
+ readonly responseSerialize: (value: paymentOptionResponse) => Buffer;
811
+ readonly responseDeserialize: (value: Buffer) => paymentOptionResponse;
812
+ };
793
813
  };
794
814
  export interface customersServer extends UntypedServiceImplementation {
795
815
  sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
@@ -871,6 +891,8 @@ export interface customersServer extends UntypedServiceImplementation {
871
891
  freedomPayNow: handleUnaryCall<freedomPayNowRequest, freedomPayNowResponse>;
872
892
  getFreedomTxnStatus: handleUnaryCall<getFreedomTxnStatusRequest, getFreedomTxnStatusResponse>;
873
893
  updateFreedomTxnStatus: handleUnaryCall<updateFreedomTxnStatusRequest, updateFreedomTxnStatusResponse>;
894
+ updateCategory: handleUnaryCall<updateCategoryRequest, updateCategoryResponse>;
895
+ getPaymentOptions: handleUnaryCall<paymentOptionRequest, paymentOptionResponse>;
874
896
  }
875
897
  export interface customersClient extends Client {
876
898
  sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
@@ -1110,6 +1132,12 @@ export interface customersClient extends Client {
1110
1132
  updateFreedomTxnStatus(request: updateFreedomTxnStatusRequest, callback: (error: ServiceError | null, response: updateFreedomTxnStatusResponse) => void): ClientUnaryCall;
1111
1133
  updateFreedomTxnStatus(request: updateFreedomTxnStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateFreedomTxnStatusResponse) => void): ClientUnaryCall;
1112
1134
  updateFreedomTxnStatus(request: updateFreedomTxnStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateFreedomTxnStatusResponse) => void): ClientUnaryCall;
1135
+ updateCategory(request: updateCategoryRequest, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
1136
+ updateCategory(request: updateCategoryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
1137
+ updateCategory(request: updateCategoryRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
1138
+ getPaymentOptions(request: paymentOptionRequest, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
1139
+ getPaymentOptions(request: paymentOptionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
1140
+ getPaymentOptions(request: paymentOptionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
1113
1141
  }
1114
1142
  export declare const customersClient: {
1115
1143
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
package/ts/customers.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: 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");
@@ -71,6 +72,7 @@ const sendotp_1 = require("./customers/sendotp");
71
72
  const sendotptoemail_1 = require("./customers/sendotptoemail");
72
73
  const setmpin_1 = require("./customers/setmpin");
73
74
  const skipscreen_1 = require("./customers/skipscreen");
75
+ const updatecategory_1 = require("./customers/updatecategory");
74
76
  const updatecustomerbyid_1 = require("./customers/updatecustomerbyid");
75
77
  const updatedlnumber_1 = require("./customers/updatedlnumber");
76
78
  const updatedob_1 = require("./customers/updatedob");
@@ -798,5 +800,23 @@ exports.customersService = {
798
800
  responseSerialize: (value) => Buffer.from(updatefreedomtxnstatus_1.updateFreedomTxnStatusResponse.encode(value).finish()),
799
801
  responseDeserialize: (value) => updatefreedomtxnstatus_1.updateFreedomTxnStatusResponse.decode(value),
800
802
  },
803
+ updateCategory: {
804
+ path: "/service.customers/updateCategory",
805
+ requestStream: false,
806
+ responseStream: false,
807
+ requestSerialize: (value) => Buffer.from(updatecategory_1.updateCategoryRequest.encode(value).finish()),
808
+ requestDeserialize: (value) => updatecategory_1.updateCategoryRequest.decode(value),
809
+ responseSerialize: (value) => Buffer.from(updatecategory_1.updateCategoryResponse.encode(value).finish()),
810
+ responseDeserialize: (value) => updatecategory_1.updateCategoryResponse.decode(value),
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
+ },
801
821
  };
802
822
  exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
@@ -2,6 +2,7 @@ import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "decisionengine.validateLocDisbursal";
3
3
  export interface validateDisbursalRequest {
4
4
  customer_id: number;
5
+ loan_id: number;
5
6
  stashfin_ever_dpd: number;
6
7
  stashfin_current_dpd: number;
7
8
  }
@@ -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: decisionengine/decisionengine.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,18 +13,21 @@ exports.validateDisbursalResponse = exports.validateDisbursalRequest = exports.p
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "decisionengine.validateLocDisbursal";
15
15
  function createBasevalidateDisbursalRequest() {
16
- return { customer_id: 0, stashfin_ever_dpd: 0, stashfin_current_dpd: 0 };
16
+ return { customer_id: 0, loan_id: 0, stashfin_ever_dpd: 0, stashfin_current_dpd: 0 };
17
17
  }
18
18
  exports.validateDisbursalRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
20
  if (message.customer_id !== 0) {
21
21
  writer.uint32(8).int32(message.customer_id);
22
22
  }
23
+ if (message.loan_id !== 0) {
24
+ writer.uint32(16).int32(message.loan_id);
25
+ }
23
26
  if (message.stashfin_ever_dpd !== 0) {
24
- writer.uint32(16).int32(message.stashfin_ever_dpd);
27
+ writer.uint32(24).int32(message.stashfin_ever_dpd);
25
28
  }
26
29
  if (message.stashfin_current_dpd !== 0) {
27
- writer.uint32(24).int32(message.stashfin_current_dpd);
30
+ writer.uint32(32).int32(message.stashfin_current_dpd);
28
31
  }
29
32
  return writer;
30
33
  },
@@ -45,12 +48,18 @@ exports.validateDisbursalRequest = {
45
48
  if (tag !== 16) {
46
49
  break;
47
50
  }
48
- message.stashfin_ever_dpd = reader.int32();
51
+ message.loan_id = reader.int32();
49
52
  continue;
50
53
  case 3:
51
54
  if (tag !== 24) {
52
55
  break;
53
56
  }
57
+ message.stashfin_ever_dpd = reader.int32();
58
+ continue;
59
+ case 4:
60
+ if (tag !== 32) {
61
+ break;
62
+ }
54
63
  message.stashfin_current_dpd = reader.int32();
55
64
  continue;
56
65
  }
@@ -64,6 +73,7 @@ exports.validateDisbursalRequest = {
64
73
  fromJSON(object) {
65
74
  return {
66
75
  customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
76
+ loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
67
77
  stashfin_ever_dpd: isSet(object.stashfin_ever_dpd) ? globalThis.Number(object.stashfin_ever_dpd) : 0,
68
78
  stashfin_current_dpd: isSet(object.stashfin_current_dpd) ? globalThis.Number(object.stashfin_current_dpd) : 0,
69
79
  };
@@ -73,6 +83,9 @@ exports.validateDisbursalRequest = {
73
83
  if (message.customer_id !== 0) {
74
84
  obj.customer_id = Math.round(message.customer_id);
75
85
  }
86
+ if (message.loan_id !== 0) {
87
+ obj.loan_id = Math.round(message.loan_id);
88
+ }
76
89
  if (message.stashfin_ever_dpd !== 0) {
77
90
  obj.stashfin_ever_dpd = Math.round(message.stashfin_ever_dpd);
78
91
  }
@@ -87,6 +100,7 @@ exports.validateDisbursalRequest = {
87
100
  fromPartial(object) {
88
101
  const message = createBasevalidateDisbursalRequest();
89
102
  message.customer_id = object.customer_id ?? 0;
103
+ message.loan_id = object.loan_id ?? 0;
90
104
  message.stashfin_ever_dpd = object.stashfin_ever_dpd ?? 0;
91
105
  message.stashfin_current_dpd = object.stashfin_current_dpd ?? 0;
92
106
  return message;
@@ -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: 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
@@ -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: example.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: growth/checkplanstatus.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: growth/getattachplandetails.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: growth/getchrplans.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: growth/getcredithealthreport.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: growth/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: 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
@@ -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: growth.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.growthClient = exports.growthService = 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: loans/amortization.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -6,7 +6,6 @@ export interface approveLoanRequest {
6
6
  tenure: number;
7
7
  customer_id: number;
8
8
  ip: string;
9
- addons: number;
10
9
  addonsData: approveLoanRequest_Field[];
11
10
  latitude: number;
12
11
  longitude: number;
@@ -46,6 +45,7 @@ export interface approveLoanResponse {
46
45
  credit_report_actual_fees: number;
47
46
  plan_id: number;
48
47
  approved_amount: number;
48
+ discount: number;
49
49
  }
50
50
  export declare const approveLoanRequest: {
51
51
  encode(message: approveLoanRequest, writer?: _m0.Writer): _m0.Writer;