@stashfin/grpc 1.2.365 → 1.2.367

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 (209) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getcibilwebtoken.js +1 -1
  4. package/ts/bureau/getdbrcolending.js +1 -1
  5. package/ts/bureau/getdemogs.js +1 -1
  6. package/ts/bureau/getobligation.js +1 -1
  7. package/ts/bureau/getreport.js +1 -1
  8. package/ts/bureau.js +1 -1
  9. package/ts/colender/disburseLoan.js +1 -1
  10. package/ts/colender/forecloseLoan.js +1 -1
  11. package/ts/colender/repayLoan.js +1 -1
  12. package/ts/colender.js +1 -1
  13. package/ts/customers/aa/getaatxnstatus.js +1 -1
  14. package/ts/customers/aa/getbanklist.js +1 -1
  15. package/ts/customers/aa/initiate.js +1 -1
  16. package/ts/customers/addaddress.js +1 -1
  17. package/ts/customers/addbankaccountdetails.js +1 -1
  18. package/ts/customers/addfathersname.js +1 -1
  19. package/ts/customers/addgstnumber.js +1 -1
  20. package/ts/customers/addmoredetails.js +1 -1
  21. package/ts/customers/addsuspendedcustomer.js +1 -1
  22. package/ts/customers/adduserapps.js +1 -1
  23. package/ts/customers/applyclijourney.js +1 -1
  24. package/ts/customers/bulksms.js +1 -1
  25. package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
  26. package/ts/customers/cb/cbpaynow.js +1 -1
  27. package/ts/customers/cb/cbsignup.js +1 -1
  28. package/ts/customers/cb/getcbtxnstatus.js +1 -1
  29. package/ts/customers/cb/getcreditbuilder.js +1 -1
  30. package/ts/customers/cb/getpaymentsummary.js +1 -1
  31. package/ts/customers/cb/insurancedetails.js +1 -1
  32. package/ts/customers/cb/lesscsimprove.js +1 -1
  33. package/ts/customers/cb/morecsimprove.js +1 -1
  34. package/ts/customers/cb/savecreditbuilder.js +1 -1
  35. package/ts/customers/cb/updatecbstandalonejourney.js +1 -1
  36. package/ts/customers/cb/updatecbtxnstatus.js +1 -1
  37. package/ts/customers/changempin.js +1 -1
  38. package/ts/customers/createcustomerreference.js +1 -1
  39. package/ts/customers/createvanumber.js +1 -1
  40. package/ts/customers/customerinfo.js +1 -1
  41. package/ts/customers/deletedocument.js +1 -1
  42. package/ts/customers/deleteprofile.js +1 -1
  43. package/ts/customers/disablempin.js +1 -1
  44. package/ts/customers/enach/gettxnstatus.js +1 -1
  45. package/ts/customers/enach/getweburl.js +1 -1
  46. package/ts/customers/enach/updateenachtxnstatus.js +1 -1
  47. package/ts/customers/enach/updatetxnstatus.d.ts +1 -4
  48. package/ts/customers/enach/updatetxnstatus.js +8 -64
  49. package/ts/customers/fetchrcprofile.js +1 -1
  50. package/ts/customers/floatingvideos.js +1 -1
  51. package/ts/customers/forceupdate.js +1 -1
  52. package/ts/customers/forgotmpin.js +1 -1
  53. package/ts/customers/forgotmpinverify.js +1 -1
  54. package/ts/customers/freedom/addressconfirmation.js +1 -1
  55. package/ts/customers/freedom/freedompaynow.js +1 -1
  56. package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
  57. package/ts/customers/freedom/updateadditionalverification.js +1 -1
  58. package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
  59. package/ts/customers/getaddresslist.js +1 -1
  60. package/ts/customers/getappsubmittedscreen.js +1 -1
  61. package/ts/customers/getbankaccountdetails.js +1 -1
  62. package/ts/customers/getbasicinfo.js +1 -1
  63. package/ts/customers/getcities.js +1 -1
  64. package/ts/customers/getclistatus.js +1 -1
  65. package/ts/customers/getcompanyaccdetails.js +1 -1
  66. package/ts/customers/getcustomerbyid.js +1 -1
  67. package/ts/customers/getcustomerdetailsbymobile.js +1 -1
  68. package/ts/customers/getdashboard.js +1 -1
  69. package/ts/customers/getdashboardmaincard.js +1 -1
  70. package/ts/customers/getdocuments.js +1 -1
  71. package/ts/customers/getlimit.js +1 -1
  72. package/ts/customers/getloclimit.js +1 -1
  73. package/ts/customers/getoccupationlist.js +1 -1
  74. package/ts/customers/getpaymentoptions.js +1 -1
  75. package/ts/customers/getprofessionalinfo.js +1 -1
  76. package/ts/customers/getprofile.js +1 -1
  77. package/ts/customers/getrpdlink.d.ts +40 -0
  78. package/ts/customers/getrpdlink.js +190 -0
  79. package/ts/customers/getselfieetxnid.js +1 -1
  80. package/ts/customers/getstates.js +1 -1
  81. package/ts/customers/getstep.js +1 -1
  82. package/ts/customers/getsyncstatus.js +1 -1
  83. package/ts/customers/getvanumber.js +1 -1
  84. package/ts/customers/logout.js +1 -1
  85. package/ts/customers/pd/getbanklist.js +1 -1
  86. package/ts/customers/pd/validatebankaccount.js +1 -1
  87. package/ts/customers/profilebasic.js +1 -1
  88. package/ts/customers/profileupdatetnc.js +1 -1
  89. package/ts/customers/rpd/getrpdlink.js +1 -1
  90. package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
  91. package/ts/customers/rpd/mockpayment.js +1 -1
  92. package/ts/customers/saveappslist.js +1 -1
  93. package/ts/customers/savebasicdetails.js +1 -1
  94. package/ts/customers/savelimit.js +1 -1
  95. package/ts/customers/saveunlocklimit.js +1 -1
  96. package/ts/customers/sendemailtoken.d.ts +35 -0
  97. package/ts/customers/sendemailtoken.js +117 -0
  98. package/ts/customers/sendotp.js +1 -1
  99. package/ts/customers/sendotptoemail.js +1 -1
  100. package/ts/customers/setmpin.js +1 -1
  101. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  102. package/ts/customers/skipdlrcscreen.js +117 -0
  103. package/ts/customers/skipscreen.js +1 -1
  104. package/ts/customers/step1.d.ts +69 -0
  105. package/ts/customers/step1.js +395 -0
  106. package/ts/customers/step10.d.ts +73 -0
  107. package/ts/customers/step10.js +459 -0
  108. package/ts/customers/step2.d.ts +68 -0
  109. package/ts/customers/step2.js +381 -0
  110. package/ts/customers/step7.d.ts +68 -0
  111. package/ts/customers/step7.js +381 -0
  112. package/ts/customers/step8.d.ts +69 -0
  113. package/ts/customers/step8.js +395 -0
  114. package/ts/customers/step9.d.ts +75 -0
  115. package/ts/customers/step9.js +489 -0
  116. package/ts/customers/stepstatic.d.ts +66 -0
  117. package/ts/customers/stepstatic.js +354 -0
  118. package/ts/customers/submituploadeddocuments.js +1 -1
  119. package/ts/customers/syncdecisionengine.js +1 -1
  120. package/ts/customers/updatecategory.js +1 -1
  121. package/ts/customers/updatecongratulationstep.js +1 -1
  122. package/ts/customers/updatecustomerbyid.js +1 -1
  123. package/ts/customers/updatedlnumber.js +1 -1
  124. package/ts/customers/updatedob.js +1 -1
  125. package/ts/customers/updatelocstatus.js +1 -1
  126. package/ts/customers/updatemobilesendotp.js +1 -1
  127. package/ts/customers/updatemobileverifyotp.js +1 -1
  128. package/ts/customers/updateokyctxn.js +1 -1
  129. package/ts/customers/updateselfieetxn.js +1 -1
  130. package/ts/customers/updatesyncstatus.js +1 -1
  131. package/ts/customers/updatevehiclenumber.js +1 -1
  132. package/ts/customers/uploaddocuments.js +1 -1
  133. package/ts/customers/validatepan.js +1 -1
  134. package/ts/customers/verifyemail.d.ts +35 -0
  135. package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
  136. package/ts/customers/verifympin.js +1 -1
  137. package/ts/customers/verifyotp.js +1 -1
  138. package/ts/customers/verifyotptoemail.js +1 -1
  139. package/ts/customers.js +1 -1
  140. package/ts/decisionengine/decisionenginetrigger.js +1 -1
  141. package/ts/decisionengine/locdisbursalapproval.js +1 -1
  142. package/ts/decisionengine/saveconsent.js +1 -1
  143. package/ts/decisionengine.js +1 -1
  144. package/ts/documents/getagreement.js +1 -1
  145. package/ts/documents.js +1 -1
  146. package/ts/example.js +1 -1
  147. package/ts/google/protobuf/timestamp.d.ts +127 -0
  148. package/ts/google/protobuf/timestamp.js +97 -0
  149. package/ts/growth/checkplanstatus.js +1 -1
  150. package/ts/growth/getattachplandetails.js +1 -1
  151. package/ts/growth/getchrpaymentstatus.js +1 -1
  152. package/ts/growth/getchrplans.js +1 -1
  153. package/ts/growth/getcredithealthreport.js +1 -1
  154. package/ts/growth/initiatepayment.js +1 -1
  155. package/ts/growth/notifychrpayment.js +1 -1
  156. package/ts/growth.js +1 -1
  157. package/ts/loans/amortization.js +1 -1
  158. package/ts/loans/approveloan.js +1 -1
  159. package/ts/loans/banklist.js +1 -1
  160. package/ts/loans/calculateemi.js +1 -1
  161. package/ts/loans/cbloan.js +1 -1
  162. package/ts/loans/creditlimit.js +1 -1
  163. package/ts/loans/fcppayment.js +1 -1
  164. package/ts/loans/foreclosepayment.js +1 -1
  165. package/ts/loans/futurepaymentmoredetails.js +1 -1
  166. package/ts/loans/getaddonslist.js +1 -1
  167. package/ts/loans/getbilldetails.js +1 -1
  168. package/ts/loans/getchrdetails.js +1 -1
  169. package/ts/loans/getcustomerloanstatus.js +1 -1
  170. package/ts/loans/getforecloseamount.d.ts +14 -0
  171. package/ts/loans/getforecloseamount.js +102 -4
  172. package/ts/loans/getloanbyid.js +1 -1
  173. package/ts/loans/getnextdueamount.js +1 -1
  174. package/ts/loans/getpaymentoptions.js +1 -1
  175. package/ts/loans/getpendingemiamount.js +1 -1
  176. package/ts/loans/getsetubilldetails.js +1 -1
  177. package/ts/loans/getsummarystaticfields.js +1 -1
  178. package/ts/loans/gettransactionstatus.js +1 -1
  179. package/ts/loans/getusedlimit.js +1 -1
  180. package/ts/loans/getvirtualbankinfo.js +1 -1
  181. package/ts/loans/loansummary.js +1 -1
  182. package/ts/loans/paymentallocation.js +1 -1
  183. package/ts/loans/paymenthistory.js +1 -1
  184. package/ts/loans/paynow.js +5 -19
  185. package/ts/loans/refund.js +1 -1
  186. package/ts/loans/restructureloan.js +1 -1
  187. package/ts/loans/rollback.js +1 -1
  188. package/ts/loans/sendemail.js +1 -1
  189. package/ts/loans/sendnocemail.js +1 -1
  190. package/ts/loans/transactionlist.js +1 -1
  191. package/ts/loans/updateinstallments.js +1 -1
  192. package/ts/loans/updateloan.js +1 -1
  193. package/ts/loans/updatetransactionstatus.d.ts +3 -1
  194. package/ts/loans/updatetransactionstatus.js +35 -7
  195. package/ts/loans.js +1 -1
  196. package/ts/payments/checkpaymentstatus.js +1 -1
  197. package/ts/payments/fundtransfer.js +1 -1
  198. package/ts/payments/getpaymentoptions.js +1 -1
  199. package/ts/payments/initiatepayment.js +1 -1
  200. package/ts/payments/nachpresentation.js +1 -1
  201. package/ts/payments/nachregistration.js +1 -1
  202. package/ts/payments.js +1 -1
  203. package/ts/stashcash/creditsc.js +1 -1
  204. package/ts/stashcash/debitsc.js +1 -1
  205. package/ts/stashcash/getscbalance.js +1 -1
  206. package/ts/stashcash/getschistory.js +1 -1
  207. package/ts/stashcash/reversesc.js +1 -1
  208. package/ts/stashcash.js +1 -1
  209. package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getaddonslist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getbilldetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getchrdetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getcustomerloanstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -6,6 +6,12 @@ export interface getForecloseAmountRequest {
6
6
  }
7
7
  export interface getForecloseAmountResponse {
8
8
  foreclosed_amount: number;
9
+ loan_amount: number;
10
+ loan_details: getForecloseAmountResponse_Field[];
11
+ }
12
+ export interface getForecloseAmountResponse_Field {
13
+ loan_id: number;
14
+ amount: number;
9
15
  }
10
16
  export declare const getForecloseAmountRequest: {
11
17
  encode(message: getForecloseAmountRequest, writer?: _m0.Writer): _m0.Writer;
@@ -23,6 +29,14 @@ export declare const getForecloseAmountResponse: {
23
29
  create<I extends Exact<DeepPartial<getForecloseAmountResponse>, I>>(base?: I): getForecloseAmountResponse;
24
30
  fromPartial<I extends Exact<DeepPartial<getForecloseAmountResponse>, I>>(object: I): getForecloseAmountResponse;
25
31
  };
32
+ export declare const getForecloseAmountResponse_Field: {
33
+ encode(message: getForecloseAmountResponse_Field, writer?: _m0.Writer): _m0.Writer;
34
+ decode(input: _m0.Reader | Uint8Array, length?: number): getForecloseAmountResponse_Field;
35
+ fromJSON(object: any): getForecloseAmountResponse_Field;
36
+ toJSON(message: getForecloseAmountResponse_Field): unknown;
37
+ create<I extends Exact<DeepPartial<getForecloseAmountResponse_Field>, I>>(base?: I): getForecloseAmountResponse_Field;
38
+ fromPartial<I extends Exact<DeepPartial<getForecloseAmountResponse_Field>, I>>(object: I): getForecloseAmountResponse_Field;
39
+ };
26
40
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
27
41
  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 {} ? {
28
42
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -2,13 +2,13 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getforecloseamount.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.getForecloseAmountResponse = exports.getForecloseAmountRequest = exports.protobufPackage = void 0;
11
+ exports.getForecloseAmountResponse_Field = exports.getForecloseAmountResponse = exports.getForecloseAmountRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.getforecloseamount";
@@ -88,13 +88,19 @@ exports.getForecloseAmountRequest = {
88
88
  },
89
89
  };
90
90
  function createBasegetForecloseAmountResponse() {
91
- return { foreclosed_amount: 0 };
91
+ return { foreclosed_amount: 0, loan_amount: 0, loan_details: [] };
92
92
  }
93
93
  exports.getForecloseAmountResponse = {
94
94
  encode(message, writer = minimal_1.default.Writer.create()) {
95
95
  if (message.foreclosed_amount !== 0) {
96
96
  writer.uint32(8).int32(message.foreclosed_amount);
97
97
  }
98
+ if (message.loan_amount !== 0) {
99
+ writer.uint32(16).int32(message.loan_amount);
100
+ }
101
+ for (const v of message.loan_details) {
102
+ exports.getForecloseAmountResponse_Field.encode(v, writer.uint32(130).fork()).ldelim();
103
+ }
98
104
  return writer;
99
105
  },
100
106
  decode(input, length) {
@@ -110,6 +116,18 @@ exports.getForecloseAmountResponse = {
110
116
  }
111
117
  message.foreclosed_amount = reader.int32();
112
118
  continue;
119
+ case 2:
120
+ if (tag !== 16) {
121
+ break;
122
+ }
123
+ message.loan_amount = reader.int32();
124
+ continue;
125
+ case 16:
126
+ if (tag !== 130) {
127
+ break;
128
+ }
129
+ message.loan_details.push(exports.getForecloseAmountResponse_Field.decode(reader, reader.uint32()));
130
+ continue;
113
131
  }
114
132
  if ((tag & 7) === 4 || tag === 0) {
115
133
  break;
@@ -119,13 +137,25 @@ exports.getForecloseAmountResponse = {
119
137
  return message;
120
138
  },
121
139
  fromJSON(object) {
122
- return { foreclosed_amount: isSet(object.foreclosed_amount) ? globalThis.Number(object.foreclosed_amount) : 0 };
140
+ return {
141
+ foreclosed_amount: isSet(object.foreclosed_amount) ? globalThis.Number(object.foreclosed_amount) : 0,
142
+ loan_amount: isSet(object.loan_amount) ? globalThis.Number(object.loan_amount) : 0,
143
+ loan_details: globalThis.Array.isArray(object?.loan_details)
144
+ ? object.loan_details.map((e) => exports.getForecloseAmountResponse_Field.fromJSON(e))
145
+ : [],
146
+ };
123
147
  },
124
148
  toJSON(message) {
125
149
  const obj = {};
126
150
  if (message.foreclosed_amount !== 0) {
127
151
  obj.foreclosed_amount = Math.round(message.foreclosed_amount);
128
152
  }
153
+ if (message.loan_amount !== 0) {
154
+ obj.loan_amount = Math.round(message.loan_amount);
155
+ }
156
+ if (message.loan_details?.length) {
157
+ obj.loan_details = message.loan_details.map((e) => exports.getForecloseAmountResponse_Field.toJSON(e));
158
+ }
129
159
  return obj;
130
160
  },
131
161
  create(base) {
@@ -134,6 +164,74 @@ exports.getForecloseAmountResponse = {
134
164
  fromPartial(object) {
135
165
  const message = createBasegetForecloseAmountResponse();
136
166
  message.foreclosed_amount = object.foreclosed_amount ?? 0;
167
+ message.loan_amount = object.loan_amount ?? 0;
168
+ message.loan_details = object.loan_details?.map((e) => exports.getForecloseAmountResponse_Field.fromPartial(e)) || [];
169
+ return message;
170
+ },
171
+ };
172
+ function createBasegetForecloseAmountResponse_Field() {
173
+ return { loan_id: 0, amount: 0 };
174
+ }
175
+ exports.getForecloseAmountResponse_Field = {
176
+ encode(message, writer = minimal_1.default.Writer.create()) {
177
+ if (message.loan_id !== 0) {
178
+ writer.uint32(8).int32(message.loan_id);
179
+ }
180
+ if (message.amount !== 0) {
181
+ writer.uint32(16).int32(message.amount);
182
+ }
183
+ return writer;
184
+ },
185
+ decode(input, length) {
186
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
187
+ let end = length === undefined ? reader.len : reader.pos + length;
188
+ const message = createBasegetForecloseAmountResponse_Field();
189
+ while (reader.pos < end) {
190
+ const tag = reader.uint32();
191
+ switch (tag >>> 3) {
192
+ case 1:
193
+ if (tag !== 8) {
194
+ break;
195
+ }
196
+ message.loan_id = reader.int32();
197
+ continue;
198
+ case 2:
199
+ if (tag !== 16) {
200
+ break;
201
+ }
202
+ message.amount = reader.int32();
203
+ continue;
204
+ }
205
+ if ((tag & 7) === 4 || tag === 0) {
206
+ break;
207
+ }
208
+ reader.skipType(tag & 7);
209
+ }
210
+ return message;
211
+ },
212
+ fromJSON(object) {
213
+ return {
214
+ loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
215
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
216
+ };
217
+ },
218
+ toJSON(message) {
219
+ const obj = {};
220
+ if (message.loan_id !== 0) {
221
+ obj.loan_id = Math.round(message.loan_id);
222
+ }
223
+ if (message.amount !== 0) {
224
+ obj.amount = Math.round(message.amount);
225
+ }
226
+ return obj;
227
+ },
228
+ create(base) {
229
+ return exports.getForecloseAmountResponse_Field.fromPartial(base ?? {});
230
+ },
231
+ fromPartial(object) {
232
+ const message = createBasegetForecloseAmountResponse_Field();
233
+ message.loan_id = object.loan_id ?? 0;
234
+ message.amount = object.amount ?? 0;
137
235
  return message;
138
236
  },
139
237
  };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getloanbyid.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getnextdueamount.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getpaymentoptions.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getpendingemiamount.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getsetubilldetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getsummarystaticfields.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/gettransactionstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getusedlimit.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/getvirtualbankinfo.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/loansummary.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/paymentallocation.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/paymenthistory.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/paynow.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -10,7 +10,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
11
  exports.payNowResponse = exports.payNowRequest_add_on = exports.payNowRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
- const long_1 = __importDefault(require("long"));
14
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
14
  exports.protobufPackage = "loans.paynow";
16
15
  function createBasepayNowRequest() {
@@ -19,7 +18,7 @@ function createBasepayNowRequest() {
19
18
  exports.payNowRequest = {
20
19
  encode(message, writer = minimal_1.default.Writer.create()) {
21
20
  if (message.customer_id !== 0) {
22
- writer.uint32(8).int64(message.customer_id);
21
+ writer.uint32(8).int32(message.customer_id);
23
22
  }
24
23
  if (message.mode !== "") {
25
24
  writer.uint32(18).string(message.mode);
@@ -53,7 +52,7 @@ exports.payNowRequest = {
53
52
  if (tag !== 8) {
54
53
  break;
55
54
  }
56
- message.customer_id = longToNumber(reader.int64());
55
+ message.customer_id = reader.int32();
57
56
  continue;
58
57
  case 2:
59
58
  if (tag !== 18) {
@@ -169,7 +168,7 @@ exports.payNowRequest_add_on = {
169
168
  writer.uint32(18).string(message.plan_id);
170
169
  }
171
170
  if (message.amount !== 0) {
172
- writer.uint32(24).int64(message.amount);
171
+ writer.uint32(24).int32(message.amount);
173
172
  }
174
173
  if (message.meta_data !== "") {
175
174
  writer.uint32(34).string(message.meta_data);
@@ -199,7 +198,7 @@ exports.payNowRequest_add_on = {
199
198
  if (tag !== 24) {
200
199
  break;
201
200
  }
202
- message.amount = longToNumber(reader.int64());
201
+ message.amount = reader.int32();
203
202
  continue;
204
203
  case 4:
205
204
  if (tag !== 34) {
@@ -317,19 +316,6 @@ exports.payNowResponse = {
317
316
  return message;
318
317
  },
319
318
  };
320
- function longToNumber(long) {
321
- if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
322
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
323
- }
324
- if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
325
- throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
326
- }
327
- return long.toNumber();
328
- }
329
- if (minimal_1.default.util.Long !== long_1.default) {
330
- minimal_1.default.util.Long = long_1.default;
331
- minimal_1.default.configure();
332
- }
333
319
  function isSet(value) {
334
320
  return value !== null && value !== undefined;
335
321
  }
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/refund.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/restructureloan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/rollback.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/sendemail.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/sendnocemail.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/transactionlist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/updateinstallments.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/updateloan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -4,7 +4,9 @@ export interface updateTransactionStatusRequest {
4
4
  order_id: string;
5
5
  status: string;
6
6
  customer_id: number;
7
- mode: string;
7
+ client_id: string;
8
+ mode?: string | undefined;
9
+ meta_data?: string | undefined;
8
10
  }
9
11
  export interface updateTransactionStatusResponse {
10
12
  order_id: string;
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans/updatetransactionstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,7 @@ exports.updateTransactionStatusResponse = exports.updateTransactionStatusRequest
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.updatetransactionstatus";
15
15
  function createBaseupdateTransactionStatusRequest() {
16
- return { order_id: "", status: "", customer_id: 0, mode: "" };
16
+ return { order_id: "", status: "", customer_id: 0, client_id: "", mode: undefined, meta_data: undefined };
17
17
  }
18
18
  exports.updateTransactionStatusRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -26,8 +26,14 @@ exports.updateTransactionStatusRequest = {
26
26
  if (message.customer_id !== 0) {
27
27
  writer.uint32(24).int32(message.customer_id);
28
28
  }
29
- if (message.mode !== "") {
30
- writer.uint32(34).string(message.mode);
29
+ if (message.client_id !== "") {
30
+ writer.uint32(34).string(message.client_id);
31
+ }
32
+ if (message.mode !== undefined) {
33
+ writer.uint32(42).string(message.mode);
34
+ }
35
+ if (message.meta_data !== undefined) {
36
+ writer.uint32(50).string(message.meta_data);
31
37
  }
32
38
  return writer;
33
39
  },
@@ -60,8 +66,20 @@ exports.updateTransactionStatusRequest = {
60
66
  if (tag !== 34) {
61
67
  break;
62
68
  }
69
+ message.client_id = reader.string();
70
+ continue;
71
+ case 5:
72
+ if (tag !== 42) {
73
+ break;
74
+ }
63
75
  message.mode = reader.string();
64
76
  continue;
77
+ case 6:
78
+ if (tag !== 50) {
79
+ break;
80
+ }
81
+ message.meta_data = reader.string();
82
+ continue;
65
83
  }
66
84
  if ((tag & 7) === 4 || tag === 0) {
67
85
  break;
@@ -75,7 +93,9 @@ exports.updateTransactionStatusRequest = {
75
93
  order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
76
94
  status: isSet(object.status) ? globalThis.String(object.status) : "",
77
95
  customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
78
- mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
96
+ client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
97
+ mode: isSet(object.mode) ? globalThis.String(object.mode) : undefined,
98
+ meta_data: isSet(object.meta_data) ? globalThis.String(object.meta_data) : undefined,
79
99
  };
80
100
  },
81
101
  toJSON(message) {
@@ -89,9 +109,15 @@ exports.updateTransactionStatusRequest = {
89
109
  if (message.customer_id !== 0) {
90
110
  obj.customer_id = Math.round(message.customer_id);
91
111
  }
92
- if (message.mode !== "") {
112
+ if (message.client_id !== "") {
113
+ obj.client_id = message.client_id;
114
+ }
115
+ if (message.mode !== undefined) {
93
116
  obj.mode = message.mode;
94
117
  }
118
+ if (message.meta_data !== undefined) {
119
+ obj.meta_data = message.meta_data;
120
+ }
95
121
  return obj;
96
122
  },
97
123
  create(base) {
@@ -102,7 +128,9 @@ exports.updateTransactionStatusRequest = {
102
128
  message.order_id = object.order_id ?? "";
103
129
  message.status = object.status ?? "";
104
130
  message.customer_id = object.customer_id ?? 0;
105
- message.mode = object.mode ?? "";
131
+ message.client_id = object.client_id ?? "";
132
+ message.mode = object.mode ?? undefined;
133
+ message.meta_data = object.meta_data ?? undefined;
106
134
  return message;
107
135
  },
108
136
  };
package/ts/loans.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: loans.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.loansClient = exports.loansService = exports.protobufPackage = void 0;
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: payments/checkpaymentstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: payments/fundtransfer.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -2,7 +2,7 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
5
+ // protoc v5.28.3
6
6
  // source: payments/getpaymentoptions.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };