@stashfin/grpc 1.2.127 → 1.2.130

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 (118) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getbureau.d.ts +157 -0
  4. package/ts/bureau/getbureau.js +1376 -0
  5. package/ts/bureau/getdemogs.js +1 -1
  6. package/ts/bureau/getreport.d.ts +1 -1
  7. package/ts/bureau/getreport.js +9 -9
  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/addgstnumber.js +1 -1
  18. package/ts/customers/addsuspendedcustomer.js +1 -1
  19. package/ts/customers/adduserapps.js +1 -1
  20. package/ts/customers/changempin.js +1 -1
  21. package/ts/customers/createcustomerreference.js +1 -1
  22. package/ts/customers/deleteprofile.js +1 -1
  23. package/ts/customers/disablempin.js +1 -1
  24. package/ts/customers/fetchrcprofile.js +1 -1
  25. package/ts/customers/forgotmpin.js +1 -1
  26. package/ts/customers/forgotmpinotp.js +2 -2
  27. package/ts/customers/forgotmpinverify.js +1 -1
  28. package/ts/customers/getbankaccountdetails.js +1 -1
  29. package/ts/customers/getbanklist.d.ts +48 -0
  30. package/ts/customers/getbanklist.js +198 -0
  31. package/ts/customers/getbasicinfo.js +1 -1
  32. package/ts/customers/getcities.js +1 -1
  33. package/ts/customers/getcustomerbyid.js +1 -1
  34. package/ts/customers/getdashboard.js +1 -1
  35. package/ts/customers/getdashboardmaincard.js +1 -1
  36. package/ts/customers/getdocuments.js +1 -1
  37. package/ts/customers/getkycweburl.js +2 -2
  38. package/ts/customers/getprofessionalinfo.js +1 -1
  39. package/ts/customers/getprofile.js +1 -1
  40. package/ts/customers/getstates.js +1 -1
  41. package/ts/customers/getstep.js +1 -1
  42. package/ts/customers/profilebasic.js +1 -1
  43. package/ts/customers/profileupdatetnc.js +1 -1
  44. package/ts/customers/resetmpin.js +2 -2
  45. package/ts/customers/savebasicdetails.js +1 -1
  46. package/ts/customers/saveunlocklimit.js +1 -1
  47. package/ts/customers/sendemailtoken.js +2 -2
  48. package/ts/customers/sendotp.js +1 -1
  49. package/ts/customers/sendotptoemail.js +1 -1
  50. package/ts/customers/setmpin.js +1 -1
  51. package/ts/customers/step1.d.ts +71 -0
  52. package/ts/customers/step1.js +423 -0
  53. package/ts/customers/step10.js +1 -1
  54. package/ts/customers/step2.d.ts +67 -0
  55. package/ts/customers/step2.js +366 -0
  56. package/ts/customers/step7.js +1 -1
  57. package/ts/customers/step8.js +1 -1
  58. package/ts/customers/step9.js +1 -1
  59. package/ts/customers/stepstatic.js +1 -1
  60. package/ts/customers/updatedigilockertxn.js +2 -2
  61. package/ts/customers/updatedob.js +1 -1
  62. package/ts/customers/updatehypervergetxn.js +2 -2
  63. package/ts/customers/updatelocdisabled.d.ts +35 -0
  64. package/ts/customers/updatelocdisabled.js +117 -0
  65. package/ts/customers/updatelocstatus.js +1 -1
  66. package/ts/customers/updatemobile.d.ts +35 -0
  67. package/ts/customers/updatemobile.js +117 -0
  68. package/ts/customers/updatemobilesendotp.js +1 -1
  69. package/ts/customers/updatemobileverifyotp.js +1 -1
  70. package/ts/customers/updateokyctxn.js +1 -1
  71. package/ts/customers/validatepan.js +1 -1
  72. package/ts/customers/verifyemail.js +2 -2
  73. package/ts/customers/verifympin.js +1 -1
  74. package/ts/customers/verifyotp.js +1 -1
  75. package/ts/customers/verifyotptoemail.js +1 -1
  76. package/ts/customers.js +1 -1
  77. package/ts/example.js +1 -1
  78. package/ts/google/protobuf/timestamp.js +1 -1
  79. package/ts/loans/approveloan.js +1 -1
  80. package/ts/loans/banklist.js +1 -1
  81. package/ts/loans/calculateemi.d.ts +5 -0
  82. package/ts/loans/calculateemi.js +83 -2
  83. package/ts/loans/creditlimit.js +1 -1
  84. package/ts/loans/futurepaymentmoredetails.js +1 -1
  85. package/ts/loans/getcustomerloanstatus.js +1 -1
  86. package/ts/loans/getloanbyid.d.ts +53 -0
  87. package/ts/loans/getloanbyid.js +393 -0
  88. package/ts/loans/getpendingemiamount.js +1 -1
  89. package/ts/loans/getstaticfields.d.ts +86 -0
  90. package/ts/loans/getstaticfields.js +801 -0
  91. package/ts/loans/getsummarystaticfields.js +1 -1
  92. package/ts/loans/loansummary.js +1 -1
  93. package/ts/loans/paymentallocation.js +1 -1
  94. package/ts/loans/paymenthistory.js +1 -1
  95. package/ts/loans/restructureloan.js +1 -1
  96. package/ts/loans/sendemail.js +1 -1
  97. package/ts/loans/sendnocemail.js +1 -1
  98. package/ts/loans/transactionlist.js +1 -1
  99. package/ts/loans/updateinstallments.js +1 -1
  100. package/ts/loans/updateloan.js +1 -1
  101. package/ts/loans.d.ts +14 -0
  102. package/ts/loans.js +11 -1
  103. package/ts/payments.d.ts +211 -42
  104. package/ts/payments.js +1092 -29
  105. package/ts/stashcash/creditsc.js +1 -1
  106. package/ts/stashcash/debitsc.js +1 -1
  107. package/ts/stashcash/getscbalance.js +1 -1
  108. package/ts/stashcash/getschistory.js +1 -1
  109. package/ts/stashcash/reversesc.js +1 -1
  110. package/ts/stashcash.js +1 -1
  111. package/ts/payments/checkpaymentstatus.d.ts +0 -51
  112. package/ts/payments/checkpaymentstatus.js +0 -259
  113. package/ts/payments/getpaymentoptions.d.ts +0 -50
  114. package/ts/payments/getpaymentoptions.js +0 -233
  115. package/ts/payments/initiatepayment.d.ts +0 -67
  116. package/ts/payments/initiatepayment.js +0 -381
  117. package/ts/payments/nachregistration.d.ts +0 -51
  118. package/ts/payments/nachregistration.js +0 -257
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.27.3
6
+ // source: customers/updatemobile.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.updateMobileResponse = exports.updateMobileRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.updatemobile";
15
+ function createBaseupdateMobileRequest() {
16
+ return { mobile: "" };
17
+ }
18
+ exports.updateMobileRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.mobile !== "") {
21
+ writer.uint32(10).string(message.mobile);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
+ let end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBaseupdateMobileRequest();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 1:
33
+ if (tag !== 10) {
34
+ break;
35
+ }
36
+ message.mobile = reader.string();
37
+ continue;
38
+ }
39
+ if ((tag & 7) === 4 || tag === 0) {
40
+ break;
41
+ }
42
+ reader.skipType(tag & 7);
43
+ }
44
+ return message;
45
+ },
46
+ fromJSON(object) {
47
+ return { mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "" };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.mobile !== "") {
52
+ obj.mobile = message.mobile;
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.updateMobileRequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBaseupdateMobileRequest();
61
+ message.mobile = object.mobile ?? "";
62
+ return message;
63
+ },
64
+ };
65
+ function createBaseupdateMobileResponse() {
66
+ return { status: "" };
67
+ }
68
+ exports.updateMobileResponse = {
69
+ encode(message, writer = minimal_1.default.Writer.create()) {
70
+ if (message.status !== "") {
71
+ writer.uint32(10).string(message.status);
72
+ }
73
+ return writer;
74
+ },
75
+ decode(input, length) {
76
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
77
+ let end = length === undefined ? reader.len : reader.pos + length;
78
+ const message = createBaseupdateMobileResponse();
79
+ while (reader.pos < end) {
80
+ const tag = reader.uint32();
81
+ switch (tag >>> 3) {
82
+ case 1:
83
+ if (tag !== 10) {
84
+ break;
85
+ }
86
+ message.status = reader.string();
87
+ continue;
88
+ }
89
+ if ((tag & 7) === 4 || tag === 0) {
90
+ break;
91
+ }
92
+ reader.skipType(tag & 7);
93
+ }
94
+ return message;
95
+ },
96
+ fromJSON(object) {
97
+ return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
98
+ },
99
+ toJSON(message) {
100
+ const obj = {};
101
+ if (message.status !== "") {
102
+ obj.status = message.status;
103
+ }
104
+ return obj;
105
+ },
106
+ create(base) {
107
+ return exports.updateMobileResponse.fromPartial(base ?? {});
108
+ },
109
+ fromPartial(object) {
110
+ const message = createBaseupdateMobileResponse();
111
+ message.status = object.status ?? "";
112
+ return message;
113
+ },
114
+ };
115
+ function isSet(value) {
116
+ return value !== null && value !== undefined;
117
+ }
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/updatemobilesendotp.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/updatemobileverifyotp.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/updateokyctxn.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/validatepan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (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.180.0
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.27.3
6
6
  // source: customers/verifyemail.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/verifympin.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/verifyotp.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/verifyotptoemail.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
package/ts/customers.js CHANGED
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
package/ts/example.js CHANGED
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: example.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: google/protobuf/timestamp.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: loans/approveloan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: loans/banklist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -10,6 +10,11 @@ export interface calculateEmiResponse {
10
10
  expected_emi: calculateEmiResponse_Field[];
11
11
  min_tenure: number;
12
12
  max_tenure: number;
13
+ bill_date: string;
14
+ fcp_fee: number;
15
+ fcp_interest: number;
16
+ roi: number;
17
+ first_emi_date: string;
13
18
  }
14
19
  export interface calculateEmiResponse_Field {
15
20
  tenure: number;
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: loans/calculateemi.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -79,7 +79,18 @@ exports.calculateEmiRequest = {
79
79
  },
80
80
  };
81
81
  function createBasecalculateEmiResponse() {
82
- return { disbursal_amount: 0, tenure: 0, expected_emi: [], min_tenure: 0, max_tenure: 0 };
82
+ return {
83
+ disbursal_amount: 0,
84
+ tenure: 0,
85
+ expected_emi: [],
86
+ min_tenure: 0,
87
+ max_tenure: 0,
88
+ bill_date: "",
89
+ fcp_fee: 0,
90
+ fcp_interest: 0,
91
+ roi: 0,
92
+ first_emi_date: "",
93
+ };
83
94
  }
84
95
  exports.calculateEmiResponse = {
85
96
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -98,6 +109,21 @@ exports.calculateEmiResponse = {
98
109
  if (message.max_tenure !== 0) {
99
110
  writer.uint32(40).int32(message.max_tenure);
100
111
  }
112
+ if (message.bill_date !== "") {
113
+ writer.uint32(50).string(message.bill_date);
114
+ }
115
+ if (message.fcp_fee !== 0) {
116
+ writer.uint32(61).float(message.fcp_fee);
117
+ }
118
+ if (message.fcp_interest !== 0) {
119
+ writer.uint32(69).float(message.fcp_interest);
120
+ }
121
+ if (message.roi !== 0) {
122
+ writer.uint32(77).float(message.roi);
123
+ }
124
+ if (message.first_emi_date !== "") {
125
+ writer.uint32(82).string(message.first_emi_date);
126
+ }
101
127
  return writer;
102
128
  },
103
129
  decode(input, length) {
@@ -137,6 +163,36 @@ exports.calculateEmiResponse = {
137
163
  }
138
164
  message.max_tenure = reader.int32();
139
165
  continue;
166
+ case 6:
167
+ if (tag !== 50) {
168
+ break;
169
+ }
170
+ message.bill_date = reader.string();
171
+ continue;
172
+ case 7:
173
+ if (tag !== 61) {
174
+ break;
175
+ }
176
+ message.fcp_fee = reader.float();
177
+ continue;
178
+ case 8:
179
+ if (tag !== 69) {
180
+ break;
181
+ }
182
+ message.fcp_interest = reader.float();
183
+ continue;
184
+ case 9:
185
+ if (tag !== 77) {
186
+ break;
187
+ }
188
+ message.roi = reader.float();
189
+ continue;
190
+ case 10:
191
+ if (tag !== 82) {
192
+ break;
193
+ }
194
+ message.first_emi_date = reader.string();
195
+ continue;
140
196
  }
141
197
  if ((tag & 7) === 4 || tag === 0) {
142
198
  break;
@@ -154,6 +210,11 @@ exports.calculateEmiResponse = {
154
210
  : [],
155
211
  min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
156
212
  max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
213
+ bill_date: isSet(object.bill_date) ? globalThis.String(object.bill_date) : "",
214
+ fcp_fee: isSet(object.fcp_fee) ? globalThis.Number(object.fcp_fee) : 0,
215
+ fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) : 0,
216
+ roi: isSet(object.roi) ? globalThis.Number(object.roi) : 0,
217
+ first_emi_date: isSet(object.first_emi_date) ? globalThis.String(object.first_emi_date) : "",
157
218
  };
158
219
  },
159
220
  toJSON(message) {
@@ -173,6 +234,21 @@ exports.calculateEmiResponse = {
173
234
  if (message.max_tenure !== 0) {
174
235
  obj.max_tenure = Math.round(message.max_tenure);
175
236
  }
237
+ if (message.bill_date !== "") {
238
+ obj.bill_date = message.bill_date;
239
+ }
240
+ if (message.fcp_fee !== 0) {
241
+ obj.fcp_fee = message.fcp_fee;
242
+ }
243
+ if (message.fcp_interest !== 0) {
244
+ obj.fcp_interest = message.fcp_interest;
245
+ }
246
+ if (message.roi !== 0) {
247
+ obj.roi = message.roi;
248
+ }
249
+ if (message.first_emi_date !== "") {
250
+ obj.first_emi_date = message.first_emi_date;
251
+ }
176
252
  return obj;
177
253
  },
178
254
  create(base) {
@@ -185,6 +261,11 @@ exports.calculateEmiResponse = {
185
261
  message.expected_emi = object.expected_emi?.map((e) => exports.calculateEmiResponse_Field.fromPartial(e)) || [];
186
262
  message.min_tenure = object.min_tenure ?? 0;
187
263
  message.max_tenure = object.max_tenure ?? 0;
264
+ message.bill_date = object.bill_date ?? "";
265
+ message.fcp_fee = object.fcp_fee ?? 0;
266
+ message.fcp_interest = object.fcp_interest ?? 0;
267
+ message.roi = object.roi ?? 0;
268
+ message.first_emi_date = object.first_emi_date ?? "";
188
269
  return message;
189
270
  },
190
271
  };
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: loans/creditlimit.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: loans/futurepaymentmoredetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
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.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: loans/getcustomerloanstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -0,0 +1,53 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.getloanbyid";
3
+ export interface getLoanByIdRequest {
4
+ loan_id: number;
5
+ }
6
+ export interface getLoanByIdResponse {
7
+ category: string;
8
+ disbursal_amount: number;
9
+ roi: number;
10
+ Loan_disbursal_date: string;
11
+ approved_disbursal_date: string;
12
+ approved_amount: number;
13
+ loan_status: string;
14
+ upfront_interest: number;
15
+ inst_amount: number;
16
+ inst_date: string;
17
+ tenure: number;
18
+ daily_roi: number;
19
+ approval_date: string;
20
+ loan_type: string;
21
+ sub_scheme: string;
22
+ loan_scheme: string;
23
+ program_type: string;
24
+ debt_burden_ratio: number;
25
+ processing_fee: number;
26
+ }
27
+ export declare const getLoanByIdRequest: {
28
+ encode(message: getLoanByIdRequest, writer?: _m0.Writer): _m0.Writer;
29
+ decode(input: _m0.Reader | Uint8Array, length?: number): getLoanByIdRequest;
30
+ fromJSON(object: any): getLoanByIdRequest;
31
+ toJSON(message: getLoanByIdRequest): unknown;
32
+ create<I extends Exact<DeepPartial<getLoanByIdRequest>, I>>(base?: I): getLoanByIdRequest;
33
+ fromPartial<I extends Exact<DeepPartial<getLoanByIdRequest>, I>>(object: I): getLoanByIdRequest;
34
+ };
35
+ export declare const getLoanByIdResponse: {
36
+ encode(message: getLoanByIdResponse, writer?: _m0.Writer): _m0.Writer;
37
+ decode(input: _m0.Reader | Uint8Array, length?: number): getLoanByIdResponse;
38
+ fromJSON(object: any): getLoanByIdResponse;
39
+ toJSON(message: getLoanByIdResponse): unknown;
40
+ create<I extends Exact<DeepPartial<getLoanByIdResponse>, I>>(base?: I): getLoanByIdResponse;
41
+ fromPartial<I extends Exact<DeepPartial<getLoanByIdResponse>, I>>(object: I): getLoanByIdResponse;
42
+ };
43
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
44
+ 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 {} ? {
45
+ [K in keyof T]?: DeepPartial<T[K]>;
46
+ } : Partial<T>;
47
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
48
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
49
+ [K in keyof P]: Exact<P[K], I[K]>;
50
+ } & {
51
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
52
+ };
53
+ export {};