@stashfin/grpc 1.2.412 → 1.2.414

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 (239) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +2 -2
  3. package/ts/bureau/getcibilwebtoken.js +2 -2
  4. package/ts/bureau/getdbrcolending.js +2 -2
  5. package/ts/bureau/getdemogs.js +2 -2
  6. package/ts/bureau/getobligation.js +2 -2
  7. package/ts/bureau/getreport.js +2 -2
  8. package/ts/bureau.js +2 -2
  9. package/ts/colender/disburseLoan.js +2 -2
  10. package/ts/colender/forecloseLoan.js +2 -2
  11. package/ts/colender/repayLoan.js +2 -2
  12. package/ts/colender.js +2 -2
  13. package/ts/customers/aa/getaatxnstatus.js +2 -2
  14. package/ts/customers/aa/getbanklist.js +2 -2
  15. package/ts/customers/aa/initiate.js +2 -2
  16. package/ts/customers/accidentprotectionplan.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/applyclijourney.js +2 -2
  25. package/ts/customers/bulksms.js +2 -2
  26. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  27. package/ts/customers/cb/cbpaynow.js +2 -2
  28. package/ts/customers/cb/cbsignup.js +2 -2
  29. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  30. package/ts/customers/cb/getcreditbuilder.js +2 -2
  31. package/ts/customers/cb/getpaymentsummary.js +2 -2
  32. package/ts/customers/cb/insurancedetails.js +2 -2
  33. package/ts/customers/cb/lesscsimprove.js +2 -2
  34. package/ts/customers/cb/morecsimprove.js +2 -2
  35. package/ts/customers/cb/paynow.js +2 -2
  36. package/ts/customers/cb/savecreditbuilder.js +2 -2
  37. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  38. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  39. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  40. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  41. package/ts/customers/changempin.js +2 -2
  42. package/ts/customers/createcustomerreference.js +2 -2
  43. package/ts/customers/createvanumber.js +2 -2
  44. package/ts/customers/customerinfo.js +2 -2
  45. package/ts/customers/deletedocument.js +2 -2
  46. package/ts/customers/deleteprofile.js +2 -2
  47. package/ts/customers/disablempin.js +2 -2
  48. package/ts/customers/enach/gettxnstatus.js +2 -2
  49. package/ts/customers/enach/getweburl.js +2 -2
  50. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  51. package/ts/customers/enach/updatetxnstatus.js +2 -2
  52. package/ts/customers/fetchrcprofile.js +2 -2
  53. package/ts/customers/floatingvideos.js +2 -2
  54. package/ts/customers/forceupdate.js +2 -2
  55. package/ts/customers/forgotmpin.js +2 -2
  56. package/ts/customers/forgotmpinverify.js +2 -2
  57. package/ts/customers/freedom/addressconfirmation.js +2 -2
  58. package/ts/customers/freedom/freedompaynow.js +2 -2
  59. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  60. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  61. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  62. package/ts/customers/getaddresslist.js +2 -2
  63. package/ts/customers/getappsubmittedscreen.js +2 -2
  64. package/ts/customers/getbankaccountdetails.js +2 -2
  65. package/ts/customers/getbasicinfo.js +2 -2
  66. package/ts/customers/getcities.js +2 -2
  67. package/ts/customers/getclistatus.js +2 -2
  68. package/ts/customers/getcompanyaccdetails.js +2 -2
  69. package/ts/customers/getcustomerbyid.js +2 -2
  70. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  71. package/ts/customers/getdashboard.js +2 -2
  72. package/ts/customers/getdashboardmaincard.js +2 -2
  73. package/ts/customers/getdocuments.js +2 -2
  74. package/ts/customers/getglobalpopups.js +2 -2
  75. package/ts/customers/getlimit.js +2 -2
  76. package/ts/customers/getloclimit.js +2 -2
  77. package/ts/customers/getmessengermode.js +2 -2
  78. package/ts/customers/getoccupationlist.js +2 -2
  79. package/ts/customers/getpaymentoptions.js +2 -2
  80. package/ts/customers/getprofessionalinfo.js +2 -2
  81. package/ts/customers/getprofile.js +2 -2
  82. package/ts/customers/getrecommendedtag.d.ts +35 -0
  83. package/ts/customers/getrecommendedtag.js +134 -0
  84. package/ts/customers/getrpdlink.d.ts +40 -0
  85. package/ts/customers/getrpdlink.js +190 -0
  86. package/ts/customers/getselfieetxnid.js +2 -2
  87. package/ts/customers/getstates.js +2 -2
  88. package/ts/customers/getstep.js +2 -2
  89. package/ts/customers/getsyncstatus.js +2 -2
  90. package/ts/customers/getvanumber.js +2 -2
  91. package/ts/customers/lamf/sendlamfotp.js +2 -2
  92. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  93. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  94. package/ts/customers/lamf/verifylamfotp.js +2 -2
  95. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  96. package/ts/customers/logout.js +2 -2
  97. package/ts/customers/pd/getbanklist.js +2 -2
  98. package/ts/customers/pd/validatebankaccount.js +2 -2
  99. package/ts/customers/profilebasic.js +2 -2
  100. package/ts/customers/profileupdatetnc.js +2 -2
  101. package/ts/customers/resetbanner.js +2 -2
  102. package/ts/customers/restoreaccount.js +2 -2
  103. package/ts/customers/rpd/getrpdlink.js +2 -2
  104. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  105. package/ts/customers/rpd/mockpayment.js +2 -2
  106. package/ts/customers/saveappslist.js +2 -2
  107. package/ts/customers/savebasicdetails.js +2 -2
  108. package/ts/customers/savelimit.js +2 -2
  109. package/ts/customers/saveunlocklimit.js +2 -2
  110. package/ts/customers/sendemailtoken.d.ts +35 -0
  111. package/ts/customers/sendemailtoken.js +117 -0
  112. package/ts/customers/sendotp.js +2 -2
  113. package/ts/customers/sendotptoemail.js +2 -2
  114. package/ts/customers/setmpin.js +2 -2
  115. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  116. package/ts/customers/skipdlrcscreen.js +117 -0
  117. package/ts/customers/skipscreen.js +2 -2
  118. package/ts/customers/step1.d.ts +69 -0
  119. package/ts/customers/step1.js +395 -0
  120. package/ts/customers/step10.d.ts +73 -0
  121. package/ts/customers/step10.js +459 -0
  122. package/ts/customers/step2.d.ts +68 -0
  123. package/ts/customers/step2.js +381 -0
  124. package/ts/customers/step7.d.ts +68 -0
  125. package/ts/customers/step7.js +381 -0
  126. package/ts/customers/step8.d.ts +69 -0
  127. package/ts/customers/step8.js +395 -0
  128. package/ts/customers/step9.d.ts +75 -0
  129. package/ts/customers/step9.js +489 -0
  130. package/ts/customers/stepstatic.d.ts +66 -0
  131. package/ts/customers/stepstatic.js +354 -0
  132. package/ts/customers/submituploadeddocuments.js +2 -2
  133. package/ts/customers/syncdecisionengine.js +2 -2
  134. package/ts/customers/updatecategory.js +2 -2
  135. package/ts/customers/updatecongratulationstep.js +2 -2
  136. package/ts/customers/updatecustomerbyid.js +2 -2
  137. package/ts/customers/updatedlnumber.js +2 -2
  138. package/ts/customers/updatedob.js +2 -2
  139. package/ts/customers/updatelocstatus.js +2 -2
  140. package/ts/customers/updatemobilesendotp.js +2 -2
  141. package/ts/customers/updatemobileverifyotp.js +2 -2
  142. package/ts/customers/updateokyctxn.js +2 -2
  143. package/ts/customers/updatesanctionamount.js +2 -2
  144. package/ts/customers/updateselfieetxn.js +2 -2
  145. package/ts/customers/updatesyncstatus.js +2 -2
  146. package/ts/customers/updatevehiclenumber.js +2 -2
  147. package/ts/customers/uploaddocuments.js +2 -2
  148. package/ts/customers/validatepan.js +2 -2
  149. package/ts/customers/verifyemail.d.ts +35 -0
  150. package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
  151. package/ts/customers/verifympin.js +2 -2
  152. package/ts/customers/verifyotp.js +2 -2
  153. package/ts/customers/verifyotptoemail.js +2 -2
  154. package/ts/customers.js +2 -2
  155. package/ts/decisionengine/decisionengine.js +2 -2
  156. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  157. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  158. package/ts/decisionengine/saveconsent.js +2 -2
  159. package/ts/decisionengine.js +2 -2
  160. package/ts/documents/getagreement.d.ts +0 -1
  161. package/ts/documents/getagreement.js +4 -20
  162. package/ts/documents/getfinancialdoc.d.ts +87 -0
  163. package/ts/documents/getfinancialdoc.js +678 -0
  164. package/ts/documents.d.ts +14 -0
  165. package/ts/documents.js +12 -2
  166. package/ts/example.js +2 -2
  167. package/ts/google/protobuf/timestamp.d.ts +127 -0
  168. package/ts/google/protobuf/timestamp.js +97 -0
  169. package/ts/growth/checkplanstatus.js +2 -2
  170. package/ts/growth/getattachplandetails.js +2 -2
  171. package/ts/growth/getchrpaymentstatus.js +2 -2
  172. package/ts/growth/getchrplans.js +2 -2
  173. package/ts/growth/getcredithealthreport.js +2 -2
  174. package/ts/growth/initiatepayment.js +2 -2
  175. package/ts/growth/notifychrpayment.js +2 -2
  176. package/ts/growth/processchrpayment.js +2 -2
  177. package/ts/growth.js +2 -2
  178. package/ts/lamf/getloandetails.js +2 -2
  179. package/ts/lamf/submitotp.js +2 -2
  180. package/ts/lamf/validateuser.js +2 -2
  181. package/ts/lamf.js +2 -2
  182. package/ts/loans/amortization.js +2 -2
  183. package/ts/loans/approveloan.js +2 -2
  184. package/ts/loans/banklist.js +2 -2
  185. package/ts/loans/calculateemi.js +2 -2
  186. package/ts/loans/cbloan.js +2 -2
  187. package/ts/loans/createlamfloan.js +2 -2
  188. package/ts/loans/createpenalty.js +2 -2
  189. package/ts/loans/creditlimit.js +2 -2
  190. package/ts/loans/fcppayment.js +2 -2
  191. package/ts/loans/forecloseamount.js +2 -2
  192. package/ts/loans/foreclosepayment.js +2 -2
  193. package/ts/loans/futurepaymentmoredetails.js +2 -2
  194. package/ts/loans/getaddonslist.js +2 -2
  195. package/ts/loans/getbilldetails.js +2 -2
  196. package/ts/loans/getcbloandetails.js +2 -2
  197. package/ts/loans/getchrdetails.js +2 -2
  198. package/ts/loans/getcustomerloanstatus.js +2 -2
  199. package/ts/loans/getforecloseamount.js +2 -2
  200. package/ts/loans/getloanbyid.js +2 -2
  201. package/ts/loans/getnextdueamount.js +2 -2
  202. package/ts/loans/getpaymentoptions.js +2 -2
  203. package/ts/loans/getpendingemiamount.js +2 -2
  204. package/ts/loans/getsetubilldetails.js +2 -2
  205. package/ts/loans/getsummarystaticfields.d.ts +0 -2
  206. package/ts/loans/getsummarystaticfields.js +3 -33
  207. package/ts/loans/gettransactionstatus.js +2 -2
  208. package/ts/loans/getusedlimit.js +2 -2
  209. package/ts/loans/getvirtualbankinfo.js +2 -2
  210. package/ts/loans/loansummary.d.ts +2 -0
  211. package/ts/loans/loansummary.js +32 -2
  212. package/ts/loans/paymentallocation.js +2 -2
  213. package/ts/loans/paymenthistory.js +2 -2
  214. package/ts/loans/paynow.js +2 -2
  215. package/ts/loans/refund.js +2 -2
  216. package/ts/loans/restructureloan.js +2 -2
  217. package/ts/loans/rollback.js +2 -2
  218. package/ts/loans/sendemail.js +2 -2
  219. package/ts/loans/sendnocemail.js +2 -2
  220. package/ts/loans/transactionlist.js +2 -2
  221. package/ts/loans/updatecollectionview.js +2 -2
  222. package/ts/loans/updateinstallments.js +2 -2
  223. package/ts/loans/updateloan.js +2 -2
  224. package/ts/loans/updatetransactionstatus.js +2 -2
  225. package/ts/loans.js +2 -2
  226. package/ts/payments/checkpaymentstatus.js +2 -2
  227. package/ts/payments/fundtransfer.js +2 -2
  228. package/ts/payments/getpaymentoptions.js +2 -2
  229. package/ts/payments/initiatepayment.js +2 -2
  230. package/ts/payments/nachpresentation.js +2 -2
  231. package/ts/payments/nachregistration.js +2 -2
  232. package/ts/payments.js +2 -2
  233. package/ts/stashcash/creditsc.js +2 -2
  234. package/ts/stashcash/debitsc.js +2 -2
  235. package/ts/stashcash/getscbalance.js +2 -2
  236. package/ts/stashcash/getschistory.js +2 -2
  237. package/ts/stashcash/reversesc.js +2 -2
  238. package/ts/stashcash.js +2 -2
  239. package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
@@ -1,39 +1,39 @@
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
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v3.20.3
6
- // source: loans/getvirtualaccountnumber.proto
6
+ // source: customers/verifyemail.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.getVirtualAccountNumberResponse = exports.getVirtualAccountNumberRequest = exports.protobufPackage = void 0;
11
+ exports.verifyEmailResponse = exports.verifyEmailRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "loans.getvirtualaccountnumber";
15
- function createBasegetVirtualAccountNumberRequest() {
16
- return { customer_id: 0 };
14
+ exports.protobufPackage = "customers.verifyemail";
15
+ function createBaseverifyEmailRequest() {
16
+ return { token: "" };
17
17
  }
18
- exports.getVirtualAccountNumberRequest = {
18
+ exports.verifyEmailRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.customer_id !== 0) {
21
- writer.uint32(8).int32(message.customer_id);
20
+ if (message.token !== "") {
21
+ writer.uint32(10).string(message.token);
22
22
  }
23
23
  return writer;
24
24
  },
25
25
  decode(input, length) {
26
26
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
27
  let end = length === undefined ? reader.len : reader.pos + length;
28
- const message = createBasegetVirtualAccountNumberRequest();
28
+ const message = createBaseverifyEmailRequest();
29
29
  while (reader.pos < end) {
30
30
  const tag = reader.uint32();
31
31
  switch (tag >>> 3) {
32
32
  case 1:
33
- if (tag !== 8) {
33
+ if (tag !== 10) {
34
34
  break;
35
35
  }
36
- message.customer_id = reader.int32();
36
+ message.token = reader.string();
37
37
  continue;
38
38
  }
39
39
  if ((tag & 7) === 4 || tag === 0) {
@@ -44,46 +44,46 @@ exports.getVirtualAccountNumberRequest = {
44
44
  return message;
45
45
  },
46
46
  fromJSON(object) {
47
- return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
47
+ return { token: isSet(object.token) ? globalThis.String(object.token) : "" };
48
48
  },
49
49
  toJSON(message) {
50
50
  const obj = {};
51
- if (message.customer_id !== 0) {
52
- obj.customer_id = Math.round(message.customer_id);
51
+ if (message.token !== "") {
52
+ obj.token = message.token;
53
53
  }
54
54
  return obj;
55
55
  },
56
56
  create(base) {
57
- return exports.getVirtualAccountNumberRequest.fromPartial(base ?? {});
57
+ return exports.verifyEmailRequest.fromPartial(base ?? {});
58
58
  },
59
59
  fromPartial(object) {
60
- const message = createBasegetVirtualAccountNumberRequest();
61
- message.customer_id = object.customer_id ?? 0;
60
+ const message = createBaseverifyEmailRequest();
61
+ message.token = object.token ?? "";
62
62
  return message;
63
63
  },
64
64
  };
65
- function createBasegetVirtualAccountNumberResponse() {
66
- return { account_number: "" };
65
+ function createBaseverifyEmailResponse() {
66
+ return { status: false };
67
67
  }
68
- exports.getVirtualAccountNumberResponse = {
68
+ exports.verifyEmailResponse = {
69
69
  encode(message, writer = minimal_1.default.Writer.create()) {
70
- if (message.account_number !== "") {
71
- writer.uint32(10).string(message.account_number);
70
+ if (message.status !== false) {
71
+ writer.uint32(8).bool(message.status);
72
72
  }
73
73
  return writer;
74
74
  },
75
75
  decode(input, length) {
76
76
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
77
77
  let end = length === undefined ? reader.len : reader.pos + length;
78
- const message = createBasegetVirtualAccountNumberResponse();
78
+ const message = createBaseverifyEmailResponse();
79
79
  while (reader.pos < end) {
80
80
  const tag = reader.uint32();
81
81
  switch (tag >>> 3) {
82
82
  case 1:
83
- if (tag !== 10) {
83
+ if (tag !== 8) {
84
84
  break;
85
85
  }
86
- message.account_number = reader.string();
86
+ message.status = reader.bool();
87
87
  continue;
88
88
  }
89
89
  if ((tag & 7) === 4 || tag === 0) {
@@ -94,21 +94,21 @@ exports.getVirtualAccountNumberResponse = {
94
94
  return message;
95
95
  },
96
96
  fromJSON(object) {
97
- return { account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : "" };
97
+ return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
98
98
  },
99
99
  toJSON(message) {
100
100
  const obj = {};
101
- if (message.account_number !== "") {
102
- obj.account_number = message.account_number;
101
+ if (message.status !== false) {
102
+ obj.status = message.status;
103
103
  }
104
104
  return obj;
105
105
  },
106
106
  create(base) {
107
- return exports.getVirtualAccountNumberResponse.fromPartial(base ?? {});
107
+ return exports.verifyEmailResponse.fromPartial(base ?? {});
108
108
  },
109
109
  fromPartial(object) {
110
- const message = createBasegetVirtualAccountNumberResponse();
111
- message.account_number = object.account_number ?? "";
110
+ const message = createBaseverifyEmailResponse();
111
+ message.status = object.status ?? false;
112
112
  return message;
113
113
  },
114
114
  };
@@ -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.3
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.3
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.3
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.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.3
6
6
  // source: customers.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.customersClient = exports.customersService = 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: decisionengine/decisionengine.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.3
6
6
  // source: decisionengine/decisionenginetrigger.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.3
6
6
  // source: decisionengine/locdisbursalapproval.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.3
6
6
  // source: decisionengine/saveconsent.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.3
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;
@@ -2,7 +2,6 @@ import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "documents.getagreement";
3
3
  export interface documentrequest {
4
4
  loan_id: number;
5
- customer_id: number;
6
5
  }
7
6
  export interface agreementdata {
8
7
  agreement_url: string;
@@ -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.3
6
6
  // source: documents/getagreement.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,16 +13,13 @@ exports.documentresponse = exports.agreementdata = exports.documentrequest = exp
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "documents.getagreement";
15
15
  function createBasedocumentrequest() {
16
- return { loan_id: 0, customer_id: 0 };
16
+ return { loan_id: 0 };
17
17
  }
18
18
  exports.documentrequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
20
  if (message.loan_id !== 0) {
21
21
  writer.uint32(8).int32(message.loan_id);
22
22
  }
23
- if (message.customer_id !== 0) {
24
- writer.uint32(16).int32(message.customer_id);
25
- }
26
23
  return writer;
27
24
  },
28
25
  decode(input, length) {
@@ -38,12 +35,6 @@ exports.documentrequest = {
38
35
  }
39
36
  message.loan_id = reader.int32();
40
37
  continue;
41
- case 2:
42
- if (tag !== 16) {
43
- break;
44
- }
45
- message.customer_id = reader.int32();
46
- continue;
47
38
  }
48
39
  if ((tag & 7) === 4 || tag === 0) {
49
40
  break;
@@ -53,19 +44,13 @@ exports.documentrequest = {
53
44
  return message;
54
45
  },
55
46
  fromJSON(object) {
56
- return {
57
- loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
58
- customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
59
- };
47
+ return { loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0 };
60
48
  },
61
49
  toJSON(message) {
62
50
  const obj = {};
63
51
  if (message.loan_id !== 0) {
64
52
  obj.loan_id = Math.round(message.loan_id);
65
53
  }
66
- if (message.customer_id !== 0) {
67
- obj.customer_id = Math.round(message.customer_id);
68
- }
69
54
  return obj;
70
55
  },
71
56
  create(base) {
@@ -74,7 +59,6 @@ exports.documentrequest = {
74
59
  fromPartial(object) {
75
60
  const message = createBasedocumentrequest();
76
61
  message.loan_id = object.loan_id ?? 0;
77
- message.customer_id = object.customer_id ?? 0;
78
62
  return message;
79
63
  },
80
64
  };
@@ -0,0 +1,87 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "documents.getfinancialdoc";
3
+ export interface financialdocrequest {
4
+ loan_id: number;
5
+ customer_id: number;
6
+ approved_date: string;
7
+ tenure: number;
8
+ processing_fees: number;
9
+ credit_report_fees: number;
10
+ insurance_fees: number;
11
+ disbured_amount: number;
12
+ sanctioned_amount: number;
13
+ apr_value: number;
14
+ roi: number;
15
+ txn_fees: number;
16
+ txn_fees_gst: number;
17
+ txn_rate: number;
18
+ processing_fees_rate: number;
19
+ processing_fees_gst: number;
20
+ emi_start_date: string;
21
+ installments: financialdocrequest_Field[];
22
+ }
23
+ export interface financialdocrequest_Field {
24
+ customer_id: number;
25
+ seq_no: number;
26
+ amount: number;
27
+ starting_balance: number;
28
+ ending_balance: number;
29
+ principal: number;
30
+ interest: number;
31
+ due_date: string;
32
+ status: string;
33
+ discount: number;
34
+ penalty: number;
35
+ }
36
+ export interface agreementdata {
37
+ agreement_url: string;
38
+ }
39
+ export interface financialdocresponse {
40
+ status: string;
41
+ statusCode: number;
42
+ data: agreementdata | undefined;
43
+ message: string;
44
+ }
45
+ export declare const financialdocrequest: {
46
+ encode(message: financialdocrequest, writer?: _m0.Writer): _m0.Writer;
47
+ decode(input: _m0.Reader | Uint8Array, length?: number): financialdocrequest;
48
+ fromJSON(object: any): financialdocrequest;
49
+ toJSON(message: financialdocrequest): unknown;
50
+ create<I extends Exact<DeepPartial<financialdocrequest>, I>>(base?: I): financialdocrequest;
51
+ fromPartial<I extends Exact<DeepPartial<financialdocrequest>, I>>(object: I): financialdocrequest;
52
+ };
53
+ export declare const financialdocrequest_Field: {
54
+ encode(message: financialdocrequest_Field, writer?: _m0.Writer): _m0.Writer;
55
+ decode(input: _m0.Reader | Uint8Array, length?: number): financialdocrequest_Field;
56
+ fromJSON(object: any): financialdocrequest_Field;
57
+ toJSON(message: financialdocrequest_Field): unknown;
58
+ create<I extends Exact<DeepPartial<financialdocrequest_Field>, I>>(base?: I): financialdocrequest_Field;
59
+ fromPartial<I extends Exact<DeepPartial<financialdocrequest_Field>, I>>(object: I): financialdocrequest_Field;
60
+ };
61
+ export declare const agreementdata: {
62
+ encode(message: agreementdata, writer?: _m0.Writer): _m0.Writer;
63
+ decode(input: _m0.Reader | Uint8Array, length?: number): agreementdata;
64
+ fromJSON(object: any): agreementdata;
65
+ toJSON(message: agreementdata): unknown;
66
+ create<I extends Exact<DeepPartial<agreementdata>, I>>(base?: I): agreementdata;
67
+ fromPartial<I extends Exact<DeepPartial<agreementdata>, I>>(object: I): agreementdata;
68
+ };
69
+ export declare const financialdocresponse: {
70
+ encode(message: financialdocresponse, writer?: _m0.Writer): _m0.Writer;
71
+ decode(input: _m0.Reader | Uint8Array, length?: number): financialdocresponse;
72
+ fromJSON(object: any): financialdocresponse;
73
+ toJSON(message: financialdocresponse): unknown;
74
+ create<I extends Exact<DeepPartial<financialdocresponse>, I>>(base?: I): financialdocresponse;
75
+ fromPartial<I extends Exact<DeepPartial<financialdocresponse>, I>>(object: I): financialdocresponse;
76
+ };
77
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
78
+ 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 {} ? {
79
+ [K in keyof T]?: DeepPartial<T[K]>;
80
+ } : Partial<T>;
81
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
82
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
83
+ [K in keyof P]: Exact<P[K], I[K]>;
84
+ } & {
85
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
86
+ };
87
+ export {};