@stashfin/grpc 1.2.394 → 1.2.396

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 (206) 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.d.ts +1 -4
  52. package/ts/customers/enach/updatetxnstatus.js +10 -66
  53. package/ts/customers/fetchrcprofile.js +2 -2
  54. package/ts/customers/floatingvideos.js +2 -2
  55. package/ts/customers/forceupdate.js +2 -2
  56. package/ts/customers/forgotmpin.js +2 -2
  57. package/ts/customers/forgotmpinverify.js +2 -2
  58. package/ts/customers/freedom/addressconfirmation.js +2 -2
  59. package/ts/customers/freedom/freedompaynow.js +2 -2
  60. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  61. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  62. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  63. package/ts/customers/getaddresslist.js +2 -2
  64. package/ts/customers/getappsubmittedscreen.js +2 -2
  65. package/ts/customers/getbankaccountdetails.js +2 -2
  66. package/ts/customers/getbasicinfo.js +2 -2
  67. package/ts/customers/getcities.js +2 -2
  68. package/ts/customers/getclistatus.js +2 -2
  69. package/ts/customers/getcompanyaccdetails.js +2 -2
  70. package/ts/customers/getcustomerbyid.js +2 -2
  71. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  72. package/ts/customers/getdashboard.js +2 -2
  73. package/ts/customers/getdashboardmaincard.js +2 -2
  74. package/ts/customers/getdocuments.js +2 -2
  75. package/ts/customers/getglobalpopups.js +2 -2
  76. package/ts/customers/getlimit.js +2 -2
  77. package/ts/customers/getloclimit.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/getselfieetxnid.js +2 -2
  83. package/ts/customers/getstates.js +2 -2
  84. package/ts/customers/getstep.js +2 -2
  85. package/ts/customers/getsyncstatus.js +2 -2
  86. package/ts/customers/getvanumber.js +2 -2
  87. package/ts/customers/lamf/sendlamfotp.js +2 -2
  88. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  89. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  90. package/ts/customers/lamf/verifylamfotp.js +2 -2
  91. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  92. package/ts/customers/logout.js +2 -2
  93. package/ts/customers/pd/getbanklist.js +2 -2
  94. package/ts/customers/pd/validatebankaccount.js +2 -2
  95. package/ts/customers/profilebasic.js +2 -2
  96. package/ts/customers/profileupdatetnc.js +2 -2
  97. package/ts/customers/resetbanner.js +2 -2
  98. package/ts/customers/restoreaccount.js +2 -2
  99. package/ts/customers/rpd/getrpdlink.js +2 -2
  100. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  101. package/ts/customers/rpd/mockpayment.js +2 -2
  102. package/ts/customers/saveappslist.js +2 -2
  103. package/ts/customers/savebasicdetails.js +2 -2
  104. package/ts/customers/savelimit.js +2 -2
  105. package/ts/customers/saveunlocklimit.js +2 -2
  106. package/ts/customers/sendotp.js +2 -2
  107. package/ts/customers/sendotptoemail.js +2 -2
  108. package/ts/customers/setmpin.js +2 -2
  109. package/ts/customers/skipscreen.js +2 -2
  110. package/ts/customers/submituploadeddocuments.js +2 -2
  111. package/ts/customers/syncdecisionengine.js +2 -2
  112. package/ts/customers/updatecategory.js +2 -2
  113. package/ts/customers/updatecongratulationstep.js +2 -2
  114. package/ts/customers/updatecustomerbyid.js +2 -2
  115. package/ts/customers/updatedlnumber.js +2 -2
  116. package/ts/customers/updatedob.js +2 -2
  117. package/ts/customers/updatelocstatus.js +2 -2
  118. package/ts/customers/updatemobilesendotp.js +2 -2
  119. package/ts/customers/updatemobileverifyotp.js +2 -2
  120. package/ts/customers/updateokyctxn.js +2 -2
  121. package/ts/customers/updatesanctionamount.js +2 -2
  122. package/ts/customers/updateselfieetxn.js +2 -2
  123. package/ts/customers/updatesyncstatus.js +2 -2
  124. package/ts/customers/updatevehiclenumber.js +2 -2
  125. package/ts/customers/uploaddocuments.js +2 -2
  126. package/ts/customers/validatepan.js +2 -2
  127. package/ts/customers/verifympin.js +2 -2
  128. package/ts/customers/verifyotp.js +2 -2
  129. package/ts/customers/verifyotptoemail.js +2 -2
  130. package/ts/customers.js +2 -2
  131. package/ts/decisionengine/decisionengine.js +2 -2
  132. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  133. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  134. package/ts/decisionengine/saveconsent.js +2 -2
  135. package/ts/decisionengine.js +2 -2
  136. package/ts/documents/getagreement.js +2 -2
  137. package/ts/documents.js +2 -2
  138. package/ts/example.js +2 -2
  139. package/ts/growth/checkplanstatus.js +2 -2
  140. package/ts/growth/getattachplandetails.js +2 -2
  141. package/ts/growth/getchrpaymentstatus.js +2 -2
  142. package/ts/growth/getchrplans.js +2 -2
  143. package/ts/growth/getcredithealthreport.js +2 -2
  144. package/ts/growth/initiatepayment.js +2 -2
  145. package/ts/growth/notifychrpayment.js +2 -2
  146. package/ts/growth/processchrpayment.js +2 -2
  147. package/ts/growth.js +2 -2
  148. package/ts/loans/amortization.js +2 -2
  149. package/ts/loans/approveloan.js +2 -2
  150. package/ts/loans/banklist.js +2 -2
  151. package/ts/loans/calculateemi.js +2 -2
  152. package/ts/loans/cbloan.js +2 -2
  153. package/ts/loans/createlamfloan.js +2 -2
  154. package/ts/loans/createpenalty.js +2 -2
  155. package/ts/loans/creditlimit.js +2 -2
  156. package/ts/loans/fcppayment.js +2 -2
  157. package/ts/loans/forecloseamount.js +2 -2
  158. package/ts/loans/foreclosepayment.js +2 -2
  159. package/ts/loans/futurepaymentmoredetails.js +2 -2
  160. package/ts/loans/getaddonslist.js +2 -2
  161. package/ts/loans/getbilldetails.js +2 -2
  162. package/ts/loans/getcbloandetails.js +2 -2
  163. package/ts/loans/getchrdetails.js +2 -2
  164. package/ts/loans/getcustomerloanstatus.js +2 -2
  165. package/ts/loans/getforecloseamount.js +2 -2
  166. package/ts/loans/getloanbyid.js +2 -2
  167. package/ts/loans/getnextdueamount.d.ts +31 -0
  168. package/ts/loans/getnextdueamount.js +238 -4
  169. package/ts/loans/getpaymentoptions.d.ts +1 -1
  170. package/ts/loans/getpaymentoptions.js +11 -11
  171. package/ts/loans/getpendingemiamount.js +2 -2
  172. package/ts/loans/getsetubilldetails.js +2 -2
  173. package/ts/loans/getsummarystaticfields.d.ts +27 -0
  174. package/ts/loans/getsummarystaticfields.js +186 -3
  175. package/ts/loans/gettransactionstatus.js +2 -2
  176. package/ts/loans/getusedlimit.js +2 -2
  177. package/ts/loans/getvirtualaccountnumber.js +2 -2
  178. package/ts/loans/getvirtualbankinfo.js +2 -2
  179. package/ts/loans/loansummary.js +2 -2
  180. package/ts/loans/paymentallocation.js +2 -2
  181. package/ts/loans/paymenthistory.js +2 -2
  182. package/ts/loans/paynow.js +2 -2
  183. package/ts/loans/refund.js +2 -2
  184. package/ts/loans/restructureloan.js +2 -2
  185. package/ts/loans/rollback.js +2 -2
  186. package/ts/loans/sendemail.js +2 -2
  187. package/ts/loans/sendnocemail.js +2 -2
  188. package/ts/loans/transactionlist.js +2 -2
  189. package/ts/loans/updatecollectionview.js +2 -2
  190. package/ts/loans/updateinstallments.js +2 -2
  191. package/ts/loans/updateloan.js +2 -2
  192. package/ts/loans/updatetransactionstatus.js +2 -2
  193. package/ts/loans.js +2 -2
  194. package/ts/payments/checkpaymentstatus.js +2 -2
  195. package/ts/payments/fundtransfer.js +2 -2
  196. package/ts/payments/getpaymentoptions.js +2 -2
  197. package/ts/payments/initiatepayment.js +2 -2
  198. package/ts/payments/nachpresentation.js +2 -2
  199. package/ts/payments/nachregistration.js +2 -2
  200. package/ts/payments.js +2 -2
  201. package/ts/stashcash/creditsc.js +2 -2
  202. package/ts/stashcash/debitsc.js +2 -2
  203. package/ts/stashcash/getscbalance.js +2 -2
  204. package/ts/stashcash/getschistory.js +2 -2
  205. package/ts/stashcash/reversesc.js +2 -2
  206. 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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -13,12 +13,12 @@ exports.paymentOptions = exports.getPaymentOptionsResponse = exports.getPaymentO
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.getpaymentoptions";
15
15
  function createBasegetPaymentOptionsRequest() {
16
- return { order_id: "" };
16
+ return { amount: 0 };
17
17
  }
18
18
  exports.getPaymentOptionsRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.order_id !== "") {
21
- writer.uint32(10).string(message.order_id);
20
+ if (message.amount !== 0) {
21
+ writer.uint32(8).int32(message.amount);
22
22
  }
23
23
  return writer;
24
24
  },
@@ -30,10 +30,10 @@ exports.getPaymentOptionsRequest = {
30
30
  const tag = reader.uint32();
31
31
  switch (tag >>> 3) {
32
32
  case 1:
33
- if (tag !== 10) {
33
+ if (tag !== 8) {
34
34
  break;
35
35
  }
36
- message.order_id = reader.string();
36
+ message.amount = reader.int32();
37
37
  continue;
38
38
  }
39
39
  if ((tag & 7) === 4 || tag === 0) {
@@ -44,12 +44,12 @@ exports.getPaymentOptionsRequest = {
44
44
  return message;
45
45
  },
46
46
  fromJSON(object) {
47
- return { order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "" };
47
+ return { amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0 };
48
48
  },
49
49
  toJSON(message) {
50
50
  const obj = {};
51
- if (message.order_id !== "") {
52
- obj.order_id = message.order_id;
51
+ if (message.amount !== 0) {
52
+ obj.amount = Math.round(message.amount);
53
53
  }
54
54
  return obj;
55
55
  },
@@ -58,7 +58,7 @@ exports.getPaymentOptionsRequest = {
58
58
  },
59
59
  fromPartial(object) {
60
60
  const message = createBasegetPaymentOptionsRequest();
61
- message.order_id = object.order_id ?? "";
61
+ message.amount = object.amount ?? 0;
62
62
  return message;
63
63
  },
64
64
  };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -37,12 +37,23 @@ export interface getSummaryStaticFieldsResponse {
37
37
  insurance_title: string;
38
38
  upfront_interest_description: string;
39
39
  bill_amount_l: string;
40
+ credit_section: getSummaryStaticFieldsResponse_CreditSection[];
41
+ broken_period: getSummaryStaticFieldsResponse_BrokenPeriod | undefined;
40
42
  }
41
43
  export interface getSummaryStaticFieldsResponse_Field {
42
44
  title: string;
43
45
  desc: string;
44
46
  icon: string;
45
47
  }
48
+ export interface getSummaryStaticFieldsResponse_CreditSection {
49
+ title: string;
50
+ description: string;
51
+ }
52
+ export interface getSummaryStaticFieldsResponse_BrokenPeriod {
53
+ title: string;
54
+ description: string;
55
+ amount: number;
56
+ }
46
57
  export declare const getSummaryStaticFieldsRequest: {
47
58
  encode(_: getSummaryStaticFieldsRequest, writer?: _m0.Writer): _m0.Writer;
48
59
  decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsRequest;
@@ -67,6 +78,22 @@ export declare const getSummaryStaticFieldsResponse_Field: {
67
78
  create<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_Field>, I>>(base?: I): getSummaryStaticFieldsResponse_Field;
68
79
  fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_Field>, I>>(object: I): getSummaryStaticFieldsResponse_Field;
69
80
  };
81
+ export declare const getSummaryStaticFieldsResponse_CreditSection: {
82
+ encode(message: getSummaryStaticFieldsResponse_CreditSection, writer?: _m0.Writer): _m0.Writer;
83
+ decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsResponse_CreditSection;
84
+ fromJSON(object: any): getSummaryStaticFieldsResponse_CreditSection;
85
+ toJSON(message: getSummaryStaticFieldsResponse_CreditSection): unknown;
86
+ create<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_CreditSection>, I>>(base?: I): getSummaryStaticFieldsResponse_CreditSection;
87
+ fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_CreditSection>, I>>(object: I): getSummaryStaticFieldsResponse_CreditSection;
88
+ };
89
+ export declare const getSummaryStaticFieldsResponse_BrokenPeriod: {
90
+ encode(message: getSummaryStaticFieldsResponse_BrokenPeriod, writer?: _m0.Writer): _m0.Writer;
91
+ decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsResponse_BrokenPeriod;
92
+ fromJSON(object: any): getSummaryStaticFieldsResponse_BrokenPeriod;
93
+ toJSON(message: getSummaryStaticFieldsResponse_BrokenPeriod): unknown;
94
+ create<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_BrokenPeriod>, I>>(base?: I): getSummaryStaticFieldsResponse_BrokenPeriod;
95
+ fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_BrokenPeriod>, I>>(object: I): getSummaryStaticFieldsResponse_BrokenPeriod;
96
+ };
70
97
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
71
98
  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 {} ? {
72
99
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -1,14 +1,14 @@
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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.getSummaryStaticFieldsResponse_Field = exports.getSummaryStaticFieldsResponse = exports.getSummaryStaticFieldsRequest = exports.protobufPackage = void 0;
11
+ exports.getSummaryStaticFieldsResponse_BrokenPeriod = exports.getSummaryStaticFieldsResponse_CreditSection = exports.getSummaryStaticFieldsResponse_Field = exports.getSummaryStaticFieldsResponse = exports.getSummaryStaticFieldsRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.getsummarystaticfields";
@@ -85,6 +85,8 @@ function createBasegetSummaryStaticFieldsResponse() {
85
85
  insurance_title: "",
86
86
  upfront_interest_description: "",
87
87
  bill_amount_l: "",
88
+ credit_section: [],
89
+ broken_period: undefined,
88
90
  };
89
91
  }
90
92
  exports.getSummaryStaticFieldsResponse = {
@@ -191,6 +193,12 @@ exports.getSummaryStaticFieldsResponse = {
191
193
  if (message.bill_amount_l !== "") {
192
194
  writer.uint32(274).string(message.bill_amount_l);
193
195
  }
196
+ for (const v of message.credit_section) {
197
+ exports.getSummaryStaticFieldsResponse_CreditSection.encode(v, writer.uint32(282).fork()).ldelim();
198
+ }
199
+ if (message.broken_period !== undefined) {
200
+ exports.getSummaryStaticFieldsResponse_BrokenPeriod.encode(message.broken_period, writer.uint32(290).fork()).ldelim();
201
+ }
194
202
  return writer;
195
203
  },
196
204
  decode(input, length) {
@@ -404,6 +412,18 @@ exports.getSummaryStaticFieldsResponse = {
404
412
  }
405
413
  message.bill_amount_l = reader.string();
406
414
  continue;
415
+ case 35:
416
+ if (tag !== 282) {
417
+ break;
418
+ }
419
+ message.credit_section.push(exports.getSummaryStaticFieldsResponse_CreditSection.decode(reader, reader.uint32()));
420
+ continue;
421
+ case 36:
422
+ if (tag !== 290) {
423
+ break;
424
+ }
425
+ message.broken_period = exports.getSummaryStaticFieldsResponse_BrokenPeriod.decode(reader, reader.uint32());
426
+ continue;
407
427
  }
408
428
  if ((tag & 7) === 4 || tag === 0) {
409
429
  break;
@@ -464,6 +484,12 @@ exports.getSummaryStaticFieldsResponse = {
464
484
  ? globalThis.String(object.upfront_interest_description)
465
485
  : "",
466
486
  bill_amount_l: isSet(object.bill_amount_l) ? globalThis.String(object.bill_amount_l) : "",
487
+ credit_section: globalThis.Array.isArray(object?.credit_section)
488
+ ? object.credit_section.map((e) => exports.getSummaryStaticFieldsResponse_CreditSection.fromJSON(e))
489
+ : [],
490
+ broken_period: isSet(object.broken_period)
491
+ ? exports.getSummaryStaticFieldsResponse_BrokenPeriod.fromJSON(object.broken_period)
492
+ : undefined,
467
493
  };
468
494
  },
469
495
  toJSON(message) {
@@ -570,6 +596,12 @@ exports.getSummaryStaticFieldsResponse = {
570
596
  if (message.bill_amount_l !== "") {
571
597
  obj.bill_amount_l = message.bill_amount_l;
572
598
  }
599
+ if (message.credit_section?.length) {
600
+ obj.credit_section = message.credit_section.map((e) => exports.getSummaryStaticFieldsResponse_CreditSection.toJSON(e));
601
+ }
602
+ if (message.broken_period !== undefined) {
603
+ obj.broken_period = exports.getSummaryStaticFieldsResponse_BrokenPeriod.toJSON(message.broken_period);
604
+ }
573
605
  return obj;
574
606
  },
575
607
  create(base) {
@@ -612,6 +644,11 @@ exports.getSummaryStaticFieldsResponse = {
612
644
  message.insurance_title = object.insurance_title ?? "";
613
645
  message.upfront_interest_description = object.upfront_interest_description ?? "";
614
646
  message.bill_amount_l = object.bill_amount_l ?? "";
647
+ message.credit_section =
648
+ object.credit_section?.map((e) => exports.getSummaryStaticFieldsResponse_CreditSection.fromPartial(e)) || [];
649
+ message.broken_period = (object.broken_period !== undefined && object.broken_period !== null)
650
+ ? exports.getSummaryStaticFieldsResponse_BrokenPeriod.fromPartial(object.broken_period)
651
+ : undefined;
615
652
  return message;
616
653
  },
617
654
  };
@@ -695,6 +732,152 @@ exports.getSummaryStaticFieldsResponse_Field = {
695
732
  return message;
696
733
  },
697
734
  };
735
+ function createBasegetSummaryStaticFieldsResponse_CreditSection() {
736
+ return { title: "", description: "" };
737
+ }
738
+ exports.getSummaryStaticFieldsResponse_CreditSection = {
739
+ encode(message, writer = minimal_1.default.Writer.create()) {
740
+ if (message.title !== "") {
741
+ writer.uint32(10).string(message.title);
742
+ }
743
+ if (message.description !== "") {
744
+ writer.uint32(18).string(message.description);
745
+ }
746
+ return writer;
747
+ },
748
+ decode(input, length) {
749
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
750
+ let end = length === undefined ? reader.len : reader.pos + length;
751
+ const message = createBasegetSummaryStaticFieldsResponse_CreditSection();
752
+ while (reader.pos < end) {
753
+ const tag = reader.uint32();
754
+ switch (tag >>> 3) {
755
+ case 1:
756
+ if (tag !== 10) {
757
+ break;
758
+ }
759
+ message.title = reader.string();
760
+ continue;
761
+ case 2:
762
+ if (tag !== 18) {
763
+ break;
764
+ }
765
+ message.description = reader.string();
766
+ continue;
767
+ }
768
+ if ((tag & 7) === 4 || tag === 0) {
769
+ break;
770
+ }
771
+ reader.skipType(tag & 7);
772
+ }
773
+ return message;
774
+ },
775
+ fromJSON(object) {
776
+ return {
777
+ title: isSet(object.title) ? globalThis.String(object.title) : "",
778
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
779
+ };
780
+ },
781
+ toJSON(message) {
782
+ const obj = {};
783
+ if (message.title !== "") {
784
+ obj.title = message.title;
785
+ }
786
+ if (message.description !== "") {
787
+ obj.description = message.description;
788
+ }
789
+ return obj;
790
+ },
791
+ create(base) {
792
+ return exports.getSummaryStaticFieldsResponse_CreditSection.fromPartial(base ?? {});
793
+ },
794
+ fromPartial(object) {
795
+ const message = createBasegetSummaryStaticFieldsResponse_CreditSection();
796
+ message.title = object.title ?? "";
797
+ message.description = object.description ?? "";
798
+ return message;
799
+ },
800
+ };
801
+ function createBasegetSummaryStaticFieldsResponse_BrokenPeriod() {
802
+ return { title: "", description: "", amount: 0 };
803
+ }
804
+ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
805
+ encode(message, writer = minimal_1.default.Writer.create()) {
806
+ if (message.title !== "") {
807
+ writer.uint32(10).string(message.title);
808
+ }
809
+ if (message.description !== "") {
810
+ writer.uint32(18).string(message.description);
811
+ }
812
+ if (message.amount !== 0) {
813
+ writer.uint32(24).int32(message.amount);
814
+ }
815
+ return writer;
816
+ },
817
+ decode(input, length) {
818
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
819
+ let end = length === undefined ? reader.len : reader.pos + length;
820
+ const message = createBasegetSummaryStaticFieldsResponse_BrokenPeriod();
821
+ while (reader.pos < end) {
822
+ const tag = reader.uint32();
823
+ switch (tag >>> 3) {
824
+ case 1:
825
+ if (tag !== 10) {
826
+ break;
827
+ }
828
+ message.title = reader.string();
829
+ continue;
830
+ case 2:
831
+ if (tag !== 18) {
832
+ break;
833
+ }
834
+ message.description = reader.string();
835
+ continue;
836
+ case 3:
837
+ if (tag !== 24) {
838
+ break;
839
+ }
840
+ message.amount = reader.int32();
841
+ continue;
842
+ }
843
+ if ((tag & 7) === 4 || tag === 0) {
844
+ break;
845
+ }
846
+ reader.skipType(tag & 7);
847
+ }
848
+ return message;
849
+ },
850
+ fromJSON(object) {
851
+ return {
852
+ title: isSet(object.title) ? globalThis.String(object.title) : "",
853
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
854
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
855
+ };
856
+ },
857
+ toJSON(message) {
858
+ const obj = {};
859
+ if (message.title !== "") {
860
+ obj.title = message.title;
861
+ }
862
+ if (message.description !== "") {
863
+ obj.description = message.description;
864
+ }
865
+ if (message.amount !== 0) {
866
+ obj.amount = Math.round(message.amount);
867
+ }
868
+ return obj;
869
+ },
870
+ create(base) {
871
+ return exports.getSummaryStaticFieldsResponse_BrokenPeriod.fromPartial(base ?? {});
872
+ },
873
+ fromPartial(object) {
874
+ const message = createBasegetSummaryStaticFieldsResponse_BrokenPeriod();
875
+ message.title = object.title ?? "";
876
+ message.description = object.description ?? "";
877
+ message.amount = object.amount ?? 0;
878
+ return message;
879
+ },
880
+ };
698
881
  function isSet(value) {
699
882
  return value !== null && value !== undefined;
700
883
  }
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/getvirtualaccountnumber.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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/updatecollectionview.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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
package/ts/loans.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.loansClient = exports.loansService = 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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };
@@ -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.0
5
- // protoc v5.28.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.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 };