@stashfin/grpc 1.2.84 → 1.2.85

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 (78) hide show
  1. package/package.json +2 -1
  2. package/ts/bureau/getbureau.d.ts +157 -0
  3. package/ts/bureau/getbureau.js +1386 -0
  4. package/ts/bureau.d.ts +28 -0
  5. package/ts/bureau.js +24 -0
  6. package/ts/customers/aa/getbanklist.js +1 -1
  7. package/ts/customers/aa/initiate.js +1 -1
  8. package/ts/customers/addaddress.js +1 -1
  9. package/ts/customers/addbankaccountdetails.js +1 -1
  10. package/ts/customers/addsuspendedcustomer.js +1 -1
  11. package/ts/customers/adduserapps.js +1 -1
  12. package/ts/customers/createcustomerreference.js +1 -1
  13. package/ts/customers/deleteprofile.js +1 -1
  14. package/ts/customers/fetchrcprofile.d.ts +43 -0
  15. package/ts/customers/fetchrcprofile.js +241 -0
  16. package/ts/customers/forgotmpin.js +1 -1
  17. package/ts/customers/forgotmpinotp.js +1 -1
  18. package/ts/customers/getbankaccountdetails.js +1 -1
  19. package/ts/customers/getbasicinfo.js +1 -1
  20. package/ts/customers/getcities.js +1 -1
  21. package/ts/customers/getcustomerbyid.js +1 -1
  22. package/ts/customers/getdashboard.js +1 -1
  23. package/ts/customers/getdashboardmaincard.js +1 -1
  24. package/ts/customers/getdocuments.js +1 -1
  25. package/ts/customers/getkycweburl.js +1 -1
  26. package/ts/customers/getprofessionalinfo.js +1 -1
  27. package/ts/customers/getprofile.js +1 -1
  28. package/ts/customers/getstates.js +1 -1
  29. package/ts/customers/getstep.js +1 -1
  30. package/ts/customers/profilebasic.js +1 -1
  31. package/ts/customers/profileupdatetnc.js +1 -1
  32. package/ts/customers/resetmpin.js +1 -1
  33. package/ts/customers/savebasicdetails.js +1 -1
  34. package/ts/customers/saveunlocklimit.js +1 -1
  35. package/ts/customers/sendemailtoken.js +1 -1
  36. package/ts/customers/sendotp.js +1 -1
  37. package/ts/customers/setmpin.js +1 -1
  38. package/ts/customers/step10.js +1 -1
  39. package/ts/customers/step7.js +1 -1
  40. package/ts/customers/step8.js +1 -1
  41. package/ts/customers/step9.js +1 -1
  42. package/ts/customers/stepstatic.js +1 -1
  43. package/ts/customers/updatedigilockertxn.js +1 -1
  44. package/ts/customers/updatedob.js +1 -1
  45. package/ts/customers/updatehypervergetxn.js +1 -1
  46. package/ts/customers/updatelocstatus.js +1 -1
  47. package/ts/customers/validatepan.js +1 -1
  48. package/ts/customers/verifyemail.js +1 -1
  49. package/ts/customers/verifympin.js +1 -1
  50. package/ts/customers/verifyotp.js +1 -1
  51. package/ts/customers.d.ts +14 -0
  52. package/ts/customers.js +11 -1
  53. package/ts/example.js +1 -1
  54. package/ts/google/protobuf/timestamp.d.ts +1 -1
  55. package/ts/google/protobuf/timestamp.js +1 -1
  56. package/ts/loans/approveloan.js +1 -1
  57. package/ts/loans/banklist.js +1 -1
  58. package/ts/loans/calculateemi.js +1 -1
  59. package/ts/loans/creditlimit.js +1 -1
  60. package/ts/loans/getcustomerloanstatus.js +1 -1
  61. package/ts/loans/loansummary.d.ts +4 -2
  62. package/ts/loans/loansummary.js +55 -17
  63. package/ts/loans/paymentallocation.d.ts +1 -1
  64. package/ts/loans/paymentallocation.js +10 -10
  65. package/ts/loans/restructureloan.js +1 -1
  66. package/ts/loans/sendemail.js +1 -1
  67. package/ts/loans/sendnocemail.js +1 -1
  68. package/ts/loans/transactionlist.js +1 -1
  69. package/ts/loans/updateinstallments.js +1 -1
  70. package/ts/loans/updateloan.js +1 -1
  71. package/ts/loans.js +1 -1
  72. package/ts/payments.js +1 -1
  73. package/ts/stashcash/creditsc.js +1 -1
  74. package/ts/stashcash/debitsc.js +1 -1
  75. package/ts/stashcash/getscbalance.js +1 -1
  76. package/ts/stashcash/getschistory.js +1 -1
  77. package/ts/stashcash/reversesc.js +1 -1
  78. package/ts/stashcash.js +1 -1
@@ -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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/step10.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/step7.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/step8.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/step9.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/stepstatic.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/updatedigilockertxn.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/updatedob.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/updatehypervergetxn.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/updatelocstatus.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/validatepan.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 v3.20.3
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 };
@@ -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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/verifympin.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers/verifyotp.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/customers.d.ts CHANGED
@@ -7,6 +7,7 @@ import { addSuspendedCustomerRequest, addSuspendedCustomerResponse } from "./cus
7
7
  import { AddUserAppsRequest, AddUserAppsResponse } from "./customers/adduserapps";
8
8
  import { createCustomerReferenceRequest, createCustomerReferenceResponse } from "./customers/createcustomerreference";
9
9
  import { deleteProfileRequest, deleteProfileResponse } from "./customers/deleteprofile";
10
+ import { fetchRCProfileRequest, fetchRCProfileResponse } from "./customers/fetchrcprofile";
10
11
  import { forgotMpinRequest, forgotMpinResponse } from "./customers/forgotmpin";
11
12
  import { forgotMpinOTPRequest, forgotMpinOTPResponse } from "./customers/forgotmpinotp";
12
13
  import { getBankAccountDetailsRequest, getBankAccountDetailsResponse } from "./customers/getbankaccountdetails";
@@ -486,6 +487,15 @@ export declare const customersService: {
486
487
  readonly responseSerialize: (value: AddUserAppsResponse) => Buffer;
487
488
  readonly responseDeserialize: (value: Buffer) => AddUserAppsResponse;
488
489
  };
490
+ readonly fetchRcProfile: {
491
+ readonly path: "/service.customers/fetchRCProfile";
492
+ readonly requestStream: false;
493
+ readonly responseStream: false;
494
+ readonly requestSerialize: (value: fetchRCProfileRequest) => Buffer;
495
+ readonly requestDeserialize: (value: Buffer) => fetchRCProfileRequest;
496
+ readonly responseSerialize: (value: fetchRCProfileResponse) => Buffer;
497
+ readonly responseDeserialize: (value: Buffer) => fetchRCProfileResponse;
498
+ };
489
499
  };
490
500
  export interface customersServer extends UntypedServiceImplementation {
491
501
  sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
@@ -537,6 +547,7 @@ export interface customersServer extends UntypedServiceImplementation {
537
547
  updatelocStatus: handleUnaryCall<locStatusRequest, locStatusResponse>;
538
548
  initiateRequest: handleUnaryCall<initiateRequest, initiateResponse>;
539
549
  addUserApps: handleUnaryCall<AddUserAppsRequest, AddUserAppsResponse>;
550
+ fetchRcProfile: handleUnaryCall<fetchRCProfileRequest, fetchRCProfileResponse>;
540
551
  }
541
552
  export interface customersClient extends Client {
542
553
  sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
@@ -686,6 +697,9 @@ export interface customersClient extends Client {
686
697
  addUserApps(request: AddUserAppsRequest, callback: (error: ServiceError | null, response: AddUserAppsResponse) => void): ClientUnaryCall;
687
698
  addUserApps(request: AddUserAppsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: AddUserAppsResponse) => void): ClientUnaryCall;
688
699
  addUserApps(request: AddUserAppsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: AddUserAppsResponse) => void): ClientUnaryCall;
700
+ fetchRcProfile(request: fetchRCProfileRequest, callback: (error: ServiceError | null, response: fetchRCProfileResponse) => void): ClientUnaryCall;
701
+ fetchRcProfile(request: fetchRCProfileRequest, metadata: Metadata, callback: (error: ServiceError | null, response: fetchRCProfileResponse) => void): ClientUnaryCall;
702
+ fetchRcProfile(request: fetchRCProfileRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: fetchRCProfileResponse) => void): ClientUnaryCall;
689
703
  }
690
704
  export declare const customersClient: {
691
705
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
package/ts/customers.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: customers.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.customersClient = exports.customersService = exports.protobufPackage = void 0;
@@ -16,6 +16,7 @@ const addsuspendedcustomer_1 = require("./customers/addsuspendedcustomer");
16
16
  const adduserapps_1 = require("./customers/adduserapps");
17
17
  const createcustomerreference_1 = require("./customers/createcustomerreference");
18
18
  const deleteprofile_1 = require("./customers/deleteprofile");
19
+ const fetchrcprofile_1 = require("./customers/fetchrcprofile");
19
20
  const forgotmpin_1 = require("./customers/forgotmpin");
20
21
  const forgotmpinotp_1 = require("./customers/forgotmpinotp");
21
22
  const getbankaccountdetails_1 = require("./customers/getbankaccountdetails");
@@ -494,5 +495,14 @@ exports.customersService = {
494
495
  responseSerialize: (value) => Buffer.from(adduserapps_1.AddUserAppsResponse.encode(value).finish()),
495
496
  responseDeserialize: (value) => adduserapps_1.AddUserAppsResponse.decode(value),
496
497
  },
498
+ fetchRcProfile: {
499
+ path: "/service.customers/fetchRCProfile",
500
+ requestStream: false,
501
+ responseStream: false,
502
+ requestSerialize: (value) => Buffer.from(fetchrcprofile_1.fetchRCProfileRequest.encode(value).finish()),
503
+ requestDeserialize: (value) => fetchrcprofile_1.fetchRCProfileRequest.decode(value),
504
+ responseSerialize: (value) => Buffer.from(fetchrcprofile_1.fetchRCProfileResponse.encode(value).finish()),
505
+ responseDeserialize: (value) => fetchrcprofile_1.fetchRCProfileResponse.decode(value),
506
+ },
497
507
  };
498
508
  exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
package/ts/example.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: example.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -88,7 +88,7 @@ export declare const protobufPackage = "google.protobuf";
88
88
  * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
89
89
  * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
90
90
  * the Joda Time's [`ISODateTimeFormat.dateTime()`](
91
- * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
91
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
92
92
  * ) to obtain a formatter capable of generating timestamps in this format.
93
93
  */
94
94
  export interface Timestamp {
@@ -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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: google/protobuf/timestamp.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: loans/approveloan.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: loans/banklist.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: loans/calculateemi.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: loans/creditlimit.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 v3.20.3
5
+ // protoc v5.27.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 };
@@ -11,8 +11,8 @@ export interface loanSummaryResponse {
11
11
  max_tenure: number;
12
12
  min_tenure: number;
13
13
  rate_of_interest: number;
14
- info_popup_heading: string;
15
- info_popup_body: string;
14
+ exposure_limit_info_popup_heading: string;
15
+ exposure_limit_info_popup_body: string;
16
16
  sanctioned_limit_heading: string;
17
17
  exposure_limit_heading: string;
18
18
  request_max_percentage: number;
@@ -20,6 +20,8 @@ export interface loanSummaryResponse {
20
20
  exposure_limit: number;
21
21
  sanctioned_limit: number;
22
22
  remaining_sanctioned_limit: number;
23
+ sanctioned_limit_info_popup_heading: string;
24
+ sanctioned_limit_info_popup_body: string;
23
25
  }
24
26
  export declare const loanSummaryRequest: {
25
27
  encode(_: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;
@@ -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 v3.20.3
5
+ // protoc v5.27.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 };
@@ -59,8 +59,8 @@ function createBaseloanSummaryResponse() {
59
59
  max_tenure: 0,
60
60
  min_tenure: 0,
61
61
  rate_of_interest: 0,
62
- info_popup_heading: "",
63
- info_popup_body: "",
62
+ exposure_limit_info_popup_heading: "",
63
+ exposure_limit_info_popup_body: "",
64
64
  sanctioned_limit_heading: "",
65
65
  exposure_limit_heading: "",
66
66
  request_max_percentage: 0,
@@ -68,6 +68,8 @@ function createBaseloanSummaryResponse() {
68
68
  exposure_limit: 0,
69
69
  sanctioned_limit: 0,
70
70
  remaining_sanctioned_limit: 0,
71
+ sanctioned_limit_info_popup_heading: "",
72
+ sanctioned_limit_info_popup_body: "",
71
73
  };
72
74
  }
73
75
  exports.loanSummaryResponse = {
@@ -96,11 +98,11 @@ exports.loanSummaryResponse = {
96
98
  if (message.rate_of_interest !== 0) {
97
99
  writer.uint32(64).int32(message.rate_of_interest);
98
100
  }
99
- if (message.info_popup_heading !== "") {
100
- writer.uint32(74).string(message.info_popup_heading);
101
+ if (message.exposure_limit_info_popup_heading !== "") {
102
+ writer.uint32(74).string(message.exposure_limit_info_popup_heading);
101
103
  }
102
- if (message.info_popup_body !== "") {
103
- writer.uint32(82).string(message.info_popup_body);
104
+ if (message.exposure_limit_info_popup_body !== "") {
105
+ writer.uint32(82).string(message.exposure_limit_info_popup_body);
104
106
  }
105
107
  if (message.sanctioned_limit_heading !== "") {
106
108
  writer.uint32(90).string(message.sanctioned_limit_heading);
@@ -123,6 +125,12 @@ exports.loanSummaryResponse = {
123
125
  if (message.remaining_sanctioned_limit !== 0) {
124
126
  writer.uint32(136).int32(message.remaining_sanctioned_limit);
125
127
  }
128
+ if (message.sanctioned_limit_info_popup_heading !== "") {
129
+ writer.uint32(146).string(message.sanctioned_limit_info_popup_heading);
130
+ }
131
+ if (message.sanctioned_limit_info_popup_body !== "") {
132
+ writer.uint32(154).string(message.sanctioned_limit_info_popup_body);
133
+ }
126
134
  return writer;
127
135
  },
128
136
  decode(input, length) {
@@ -184,13 +192,13 @@ exports.loanSummaryResponse = {
184
192
  if (tag !== 74) {
185
193
  break;
186
194
  }
187
- message.info_popup_heading = reader.string();
195
+ message.exposure_limit_info_popup_heading = reader.string();
188
196
  continue;
189
197
  case 10:
190
198
  if (tag !== 82) {
191
199
  break;
192
200
  }
193
- message.info_popup_body = reader.string();
201
+ message.exposure_limit_info_popup_body = reader.string();
194
202
  continue;
195
203
  case 11:
196
204
  if (tag !== 90) {
@@ -234,6 +242,18 @@ exports.loanSummaryResponse = {
234
242
  }
235
243
  message.remaining_sanctioned_limit = reader.int32();
236
244
  continue;
245
+ case 18:
246
+ if (tag !== 146) {
247
+ break;
248
+ }
249
+ message.sanctioned_limit_info_popup_heading = reader.string();
250
+ continue;
251
+ case 19:
252
+ if (tag !== 154) {
253
+ break;
254
+ }
255
+ message.sanctioned_limit_info_popup_body = reader.string();
256
+ continue;
237
257
  }
238
258
  if ((tag & 7) === 4 || tag === 0) {
239
259
  break;
@@ -256,8 +276,12 @@ exports.loanSummaryResponse = {
256
276
  max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
257
277
  min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
258
278
  rate_of_interest: isSet(object.rate_of_interest) ? globalThis.Number(object.rate_of_interest) : 0,
259
- info_popup_heading: isSet(object.info_popup_heading) ? globalThis.String(object.info_popup_heading) : "",
260
- info_popup_body: isSet(object.info_popup_body) ? globalThis.String(object.info_popup_body) : "",
279
+ exposure_limit_info_popup_heading: isSet(object.exposure_limit_info_popup_heading)
280
+ ? globalThis.String(object.exposure_limit_info_popup_heading)
281
+ : "",
282
+ exposure_limit_info_popup_body: isSet(object.exposure_limit_info_popup_body)
283
+ ? globalThis.String(object.exposure_limit_info_popup_body)
284
+ : "",
261
285
  sanctioned_limit_heading: isSet(object.sanctioned_limit_heading)
262
286
  ? globalThis.String(object.sanctioned_limit_heading)
263
287
  : "",
@@ -273,6 +297,12 @@ exports.loanSummaryResponse = {
273
297
  remaining_sanctioned_limit: isSet(object.remaining_sanctioned_limit)
274
298
  ? globalThis.Number(object.remaining_sanctioned_limit)
275
299
  : 0,
300
+ sanctioned_limit_info_popup_heading: isSet(object.sanctioned_limit_info_popup_heading)
301
+ ? globalThis.String(object.sanctioned_limit_info_popup_heading)
302
+ : "",
303
+ sanctioned_limit_info_popup_body: isSet(object.sanctioned_limit_info_popup_body)
304
+ ? globalThis.String(object.sanctioned_limit_info_popup_body)
305
+ : "",
276
306
  };
277
307
  },
278
308
  toJSON(message) {
@@ -301,11 +331,11 @@ exports.loanSummaryResponse = {
301
331
  if (message.rate_of_interest !== 0) {
302
332
  obj.rate_of_interest = Math.round(message.rate_of_interest);
303
333
  }
304
- if (message.info_popup_heading !== "") {
305
- obj.info_popup_heading = message.info_popup_heading;
334
+ if (message.exposure_limit_info_popup_heading !== "") {
335
+ obj.exposure_limit_info_popup_heading = message.exposure_limit_info_popup_heading;
306
336
  }
307
- if (message.info_popup_body !== "") {
308
- obj.info_popup_body = message.info_popup_body;
337
+ if (message.exposure_limit_info_popup_body !== "") {
338
+ obj.exposure_limit_info_popup_body = message.exposure_limit_info_popup_body;
309
339
  }
310
340
  if (message.sanctioned_limit_heading !== "") {
311
341
  obj.sanctioned_limit_heading = message.sanctioned_limit_heading;
@@ -328,6 +358,12 @@ exports.loanSummaryResponse = {
328
358
  if (message.remaining_sanctioned_limit !== 0) {
329
359
  obj.remaining_sanctioned_limit = Math.round(message.remaining_sanctioned_limit);
330
360
  }
361
+ if (message.sanctioned_limit_info_popup_heading !== "") {
362
+ obj.sanctioned_limit_info_popup_heading = message.sanctioned_limit_info_popup_heading;
363
+ }
364
+ if (message.sanctioned_limit_info_popup_body !== "") {
365
+ obj.sanctioned_limit_info_popup_body = message.sanctioned_limit_info_popup_body;
366
+ }
331
367
  return obj;
332
368
  },
333
369
  create(base) {
@@ -343,8 +379,8 @@ exports.loanSummaryResponse = {
343
379
  message.max_tenure = object.max_tenure ?? 0;
344
380
  message.min_tenure = object.min_tenure ?? 0;
345
381
  message.rate_of_interest = object.rate_of_interest ?? 0;
346
- message.info_popup_heading = object.info_popup_heading ?? "";
347
- message.info_popup_body = object.info_popup_body ?? "";
382
+ message.exposure_limit_info_popup_heading = object.exposure_limit_info_popup_heading ?? "";
383
+ message.exposure_limit_info_popup_body = object.exposure_limit_info_popup_body ?? "";
348
384
  message.sanctioned_limit_heading = object.sanctioned_limit_heading ?? "";
349
385
  message.exposure_limit_heading = object.exposure_limit_heading ?? "";
350
386
  message.request_max_percentage = object.request_max_percentage ?? 0;
@@ -352,6 +388,8 @@ exports.loanSummaryResponse = {
352
388
  message.exposure_limit = object.exposure_limit ?? 0;
353
389
  message.sanctioned_limit = object.sanctioned_limit ?? 0;
354
390
  message.remaining_sanctioned_limit = object.remaining_sanctioned_limit ?? 0;
391
+ message.sanctioned_limit_info_popup_heading = object.sanctioned_limit_info_popup_heading ?? "";
392
+ message.sanctioned_limit_info_popup_body = object.sanctioned_limit_info_popup_body ?? "";
355
393
  return message;
356
394
  },
357
395
  };
@@ -5,7 +5,7 @@ export interface paymentAllocationRequest {
5
5
  amount: number;
6
6
  }
7
7
  export interface paymentAllocationResponse {
8
- id: number;
8
+ message: string;
9
9
  }
10
10
  export declare const paymentAllocationRequest: {
11
11
  encode(message: paymentAllocationRequest, writer?: _m0.Writer): _m0.Writer;
@@ -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 v3.20.3
5
+ // protoc v5.27.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 };
@@ -79,12 +79,12 @@ exports.paymentAllocationRequest = {
79
79
  },
80
80
  };
81
81
  function createBasepaymentAllocationResponse() {
82
- return { id: 0 };
82
+ return { message: "" };
83
83
  }
84
84
  exports.paymentAllocationResponse = {
85
85
  encode(message, writer = minimal_1.default.Writer.create()) {
86
- if (message.id !== 0) {
87
- writer.uint32(8).int32(message.id);
86
+ if (message.message !== "") {
87
+ writer.uint32(10).string(message.message);
88
88
  }
89
89
  return writer;
90
90
  },
@@ -96,10 +96,10 @@ exports.paymentAllocationResponse = {
96
96
  const tag = reader.uint32();
97
97
  switch (tag >>> 3) {
98
98
  case 1:
99
- if (tag !== 8) {
99
+ if (tag !== 10) {
100
100
  break;
101
101
  }
102
- message.id = reader.int32();
102
+ message.message = reader.string();
103
103
  continue;
104
104
  }
105
105
  if ((tag & 7) === 4 || tag === 0) {
@@ -110,12 +110,12 @@ exports.paymentAllocationResponse = {
110
110
  return message;
111
111
  },
112
112
  fromJSON(object) {
113
- return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
113
+ return { message: isSet(object.message) ? globalThis.String(object.message) : "" };
114
114
  },
115
115
  toJSON(message) {
116
116
  const obj = {};
117
- if (message.id !== 0) {
118
- obj.id = Math.round(message.id);
117
+ if (message.message !== "") {
118
+ obj.message = message.message;
119
119
  }
120
120
  return obj;
121
121
  },
@@ -124,7 +124,7 @@ exports.paymentAllocationResponse = {
124
124
  },
125
125
  fromPartial(object) {
126
126
  const message = createBasepaymentAllocationResponse();
127
- message.id = object.id ?? 0;
127
+ message.message = object.message ?? "";
128
128
  return message;
129
129
  },
130
130
  };
@@ -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 v3.20.3
5
+ // protoc v5.27.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 v3.20.3
5
+ // protoc v5.27.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 v3.20.3
5
+ // protoc v5.27.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 v3.20.3
5
+ // protoc v5.27.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 v3.20.3
5
+ // protoc v5.27.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 v3.20.3
5
+ // protoc v5.27.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 };
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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: loans.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.loansClient = exports.loansService = exports.protobufPackage = void 0;
package/ts/payments.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 v3.20.3
5
+ // protoc v5.27.3
6
6
  // source: payments.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };