@stashfin/grpc 1.2.226 → 1.2.228

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 (150) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getbureaulist.js +1 -1
  4. package/ts/bureau/getdbrcolending.d.ts +36 -0
  5. package/ts/bureau/getdbrcolending.js +147 -0
  6. package/ts/bureau/getdemogs.js +1 -1
  7. package/ts/bureau/getobligation.js +1 -1
  8. package/ts/bureau/getreport.js +1 -1
  9. package/ts/bureau.d.ts +11 -11
  10. package/ts/bureau.js +8 -8
  11. package/ts/colender/disburseLoan.js +1 -1
  12. package/ts/colender/forecloseLoan.js +1 -1
  13. package/ts/colender/repayLoan.js +1 -1
  14. package/ts/colender.js +1 -1
  15. package/ts/customers/aa/getbanklist.js +1 -1
  16. package/ts/customers/aa/initiate.js +1 -1
  17. package/ts/customers/addaddress.js +1 -1
  18. package/ts/customers/addbankaccountdetails.js +1 -1
  19. package/ts/customers/addfathersname.js +1 -1
  20. package/ts/customers/addgstnumber.js +1 -1
  21. package/ts/customers/addmoredetails.js +1 -1
  22. package/ts/customers/addsuspendedcustomer.js +1 -1
  23. package/ts/customers/adduserapps.js +1 -1
  24. package/ts/customers/bulksms.js +1 -1
  25. package/ts/customers/cb/cbsignup.js +1 -1
  26. package/ts/customers/cb/getcbtxnstatus.d.ts +35 -0
  27. package/ts/customers/cb/getcbtxnstatus.js +117 -0
  28. package/ts/customers/cb/getcreditbuilder.d.ts +4 -5
  29. package/ts/customers/cb/getcreditbuilder.js +7 -20
  30. package/ts/customers/cb/paynow.js +1 -1
  31. package/ts/customers/cb/savecreditbuilder.js +1 -1
  32. package/ts/customers/cb/updatecbtxnstatus.d.ts +37 -0
  33. package/ts/customers/cb/updatecbtxnstatus.js +147 -0
  34. package/ts/customers/changempin.js +1 -1
  35. package/ts/customers/createcustomerreference.js +1 -1
  36. package/ts/customers/deleteprofile.js +1 -1
  37. package/ts/customers/disablempin.js +1 -1
  38. package/ts/customers/enach/gettxnstatus.js +1 -1
  39. package/ts/customers/enach/getweburl.js +1 -1
  40. package/ts/customers/enach/updatetxnstatus.js +1 -1
  41. package/ts/customers/fetchrcprofile.js +1 -1
  42. package/ts/customers/floatingvideos.js +1 -1
  43. package/ts/customers/forgotmpin.js +1 -1
  44. package/ts/customers/forgotmpinverify.js +1 -1
  45. package/ts/customers/getaddresslist.js +1 -1
  46. package/ts/customers/getappsubmittedscreen.js +1 -1
  47. package/ts/customers/getbankaccountdetails.js +1 -1
  48. package/ts/customers/getbasicinfo.js +1 -1
  49. package/ts/customers/getcities.js +1 -1
  50. package/ts/customers/getcompanyaccdetails.js +1 -1
  51. package/ts/customers/getcustomerbyid.d.ts +1 -1
  52. package/ts/customers/getcustomerbyid.js +6 -6
  53. package/ts/customers/getdashboard.js +1 -1
  54. package/ts/customers/getdashboardmaincard.js +1 -1
  55. package/ts/customers/getdocuments.js +1 -1
  56. package/ts/customers/getlimit.js +1 -1
  57. package/ts/customers/getoccupationlist.js +1 -1
  58. package/ts/customers/getprofessionalinfo.js +1 -1
  59. package/ts/customers/getprofile.js +1 -1
  60. package/ts/customers/getselfieetxnid.js +1 -1
  61. package/ts/customers/getstates.js +1 -1
  62. package/ts/customers/getstep.js +1 -1
  63. package/ts/customers/logout.js +1 -1
  64. package/ts/customers/pd/getbanklist.js +1 -1
  65. package/ts/customers/pd/validatebankaccount.js +1 -1
  66. package/ts/customers/profilebasic.js +1 -1
  67. package/ts/customers/profileupdatetnc.js +1 -1
  68. package/ts/customers/rpd/getrpdlink.js +1 -1
  69. package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
  70. package/ts/customers/rpd/mockpayment.js +1 -1
  71. package/ts/customers/savebasicdetails.js +1 -1
  72. package/ts/customers/savelimit.js +1 -1
  73. package/ts/customers/saveunlocklimit.js +1 -1
  74. package/ts/customers/sendotp.js +1 -1
  75. package/ts/customers/sendotptoemail.js +1 -1
  76. package/ts/customers/setmpin.js +1 -1
  77. package/ts/customers/skipscreen.js +1 -1
  78. package/ts/customers/updatecustomerbyid.js +1 -1
  79. package/ts/customers/updatedlnumber.js +1 -1
  80. package/ts/customers/updatedob.js +1 -1
  81. package/ts/customers/updatelocstatus.js +1 -1
  82. package/ts/customers/updatemobilesendotp.js +1 -1
  83. package/ts/customers/updatemobileverifyotp.js +1 -1
  84. package/ts/customers/updateokyctxn.js +1 -1
  85. package/ts/customers/updateselfieetxn.js +1 -1
  86. package/ts/customers/updatevehiclenumber.js +1 -1
  87. package/ts/customers/uploaddocuments.js +1 -1
  88. package/ts/customers/validatepan.js +1 -1
  89. package/ts/customers/verifympin.js +1 -1
  90. package/ts/customers/verifyotp.js +1 -1
  91. package/ts/customers/verifyotptoemail.js +1 -1
  92. package/ts/customers.d.ts +28 -0
  93. package/ts/customers.js +21 -1
  94. package/ts/example.js +1 -1
  95. package/ts/growth/checkplanstatus.js +1 -1
  96. package/ts/growth/getattachplandetails.js +1 -1
  97. package/ts/growth/getchrplans.d.ts +1 -1
  98. package/ts/growth/getchrplans.js +8 -8
  99. package/ts/growth/getcredithealthreport.js +1 -1
  100. package/ts/growth/initiatepayment.js +1 -1
  101. package/ts/growth/processchrpayment.js +1 -1
  102. package/ts/growth.js +1 -1
  103. package/ts/loans/amortization.js +1 -1
  104. package/ts/loans/approveloan.js +1 -1
  105. package/ts/loans/banklist.js +1 -1
  106. package/ts/loans/calculateemi.js +1 -1
  107. package/ts/loans/creditlimit.js +1 -1
  108. package/ts/loans/fcppayment.js +1 -1
  109. package/ts/loans/forecloseamount.js +1 -1
  110. package/ts/loans/foreclosepayment.js +1 -1
  111. package/ts/loans/futurepaymentmoredetails.js +1 -1
  112. package/ts/loans/getbilldetails.js +1 -1
  113. package/ts/loans/getcustomerloanstatus.js +1 -1
  114. package/ts/loans/getloanbyid.js +1 -1
  115. package/ts/loans/getnextdueamount.js +1 -1
  116. package/ts/loans/getpendingemiamount.js +1 -1
  117. package/ts/loans/getsummarystaticfields.js +1 -1
  118. package/ts/loans/gettransactionstatus.d.ts +35 -0
  119. package/ts/loans/gettransactionstatus.js +117 -0
  120. package/ts/loans/getvirtualbankinfo.d.ts +37 -0
  121. package/ts/loans/getvirtualbankinfo.js +148 -0
  122. package/ts/loans/loansummary.js +1 -1
  123. package/ts/loans/paymentallocation.js +1 -1
  124. package/ts/loans/paymenthistory.js +1 -1
  125. package/ts/loans/paynow.d.ts +1 -1
  126. package/ts/loans/paynow.js +16 -16
  127. package/ts/loans/refund.js +1 -1
  128. package/ts/loans/restructureloan.js +1 -1
  129. package/ts/loans/rollback.js +1 -1
  130. package/ts/loans/sendemail.js +1 -1
  131. package/ts/loans/sendnocemail.js +1 -1
  132. package/ts/loans/transactionlist.js +1 -1
  133. package/ts/loans/updateinstallments.js +1 -1
  134. package/ts/loans/updateloan.js +1 -1
  135. package/ts/loans/updatetransactionstatus.d.ts +36 -0
  136. package/ts/loans/updatetransactionstatus.js +133 -0
  137. package/ts/loans.d.ts +42 -0
  138. package/ts/loans.js +31 -1
  139. package/ts/payments/checkpaymentstatus.js +1 -1
  140. package/ts/payments/getpaymentoptions.js +1 -1
  141. package/ts/payments/initiatepayment.js +1 -1
  142. package/ts/payments/nachpresentation.js +1 -1
  143. package/ts/payments/nachregistration.js +1 -1
  144. package/ts/payments.js +1 -1
  145. package/ts/stashcash/creditsc.js +1 -1
  146. package/ts/stashcash/debitsc.js +1 -1
  147. package/ts/stashcash/getscbalance.js +1 -1
  148. package/ts/stashcash/getschistory.js +1 -1
  149. package/ts/stashcash/reversesc.js +1 -1
  150. 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 v5.28.0
5
+ // protoc v5.28.1
6
6
  // source: loans/futurepaymentmoredetails.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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
6
6
  // source: loans/getcustomerloanstatus.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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
6
6
  // source: loans/getsummarystaticfields.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,35 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.gettransactionstatus";
3
+ export interface getTransactionStatusRequest {
4
+ order_id: string;
5
+ }
6
+ export interface getTransactionStatusResponse {
7
+ status: string;
8
+ }
9
+ export declare const getTransactionStatusRequest: {
10
+ encode(message: getTransactionStatusRequest, writer?: _m0.Writer): _m0.Writer;
11
+ decode(input: _m0.Reader | Uint8Array, length?: number): getTransactionStatusRequest;
12
+ fromJSON(object: any): getTransactionStatusRequest;
13
+ toJSON(message: getTransactionStatusRequest): unknown;
14
+ create<I extends Exact<DeepPartial<getTransactionStatusRequest>, I>>(base?: I): getTransactionStatusRequest;
15
+ fromPartial<I extends Exact<DeepPartial<getTransactionStatusRequest>, I>>(object: I): getTransactionStatusRequest;
16
+ };
17
+ export declare const getTransactionStatusResponse: {
18
+ encode(message: getTransactionStatusResponse, writer?: _m0.Writer): _m0.Writer;
19
+ decode(input: _m0.Reader | Uint8Array, length?: number): getTransactionStatusResponse;
20
+ fromJSON(object: any): getTransactionStatusResponse;
21
+ toJSON(message: getTransactionStatusResponse): unknown;
22
+ create<I extends Exact<DeepPartial<getTransactionStatusResponse>, I>>(base?: I): getTransactionStatusResponse;
23
+ fromPartial<I extends Exact<DeepPartial<getTransactionStatusResponse>, I>>(object: I): getTransactionStatusResponse;
24
+ };
25
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
26
+ 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 {} ? {
27
+ [K in keyof T]?: DeepPartial<T[K]>;
28
+ } : Partial<T>;
29
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
30
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
31
+ [K in keyof P]: Exact<P[K], I[K]>;
32
+ } & {
33
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
34
+ };
35
+ export {};
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.1
6
+ // source: loans/gettransactionstatus.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.getTransactionStatusResponse = exports.getTransactionStatusRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.gettransactionstatus";
15
+ function createBasegetTransactionStatusRequest() {
16
+ return { order_id: "" };
17
+ }
18
+ exports.getTransactionStatusRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.order_id !== "") {
21
+ writer.uint32(10).string(message.order_id);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
+ let end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBasegetTransactionStatusRequest();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 1:
33
+ if (tag !== 10) {
34
+ break;
35
+ }
36
+ message.order_id = reader.string();
37
+ continue;
38
+ }
39
+ if ((tag & 7) === 4 || tag === 0) {
40
+ break;
41
+ }
42
+ reader.skipType(tag & 7);
43
+ }
44
+ return message;
45
+ },
46
+ fromJSON(object) {
47
+ return { order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "" };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.order_id !== "") {
52
+ obj.order_id = message.order_id;
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.getTransactionStatusRequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBasegetTransactionStatusRequest();
61
+ message.order_id = object.order_id ?? "";
62
+ return message;
63
+ },
64
+ };
65
+ function createBasegetTransactionStatusResponse() {
66
+ return { status: "" };
67
+ }
68
+ exports.getTransactionStatusResponse = {
69
+ encode(message, writer = minimal_1.default.Writer.create()) {
70
+ if (message.status !== "") {
71
+ writer.uint32(10).string(message.status);
72
+ }
73
+ return writer;
74
+ },
75
+ decode(input, length) {
76
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
77
+ let end = length === undefined ? reader.len : reader.pos + length;
78
+ const message = createBasegetTransactionStatusResponse();
79
+ while (reader.pos < end) {
80
+ const tag = reader.uint32();
81
+ switch (tag >>> 3) {
82
+ case 1:
83
+ if (tag !== 10) {
84
+ break;
85
+ }
86
+ message.status = reader.string();
87
+ continue;
88
+ }
89
+ if ((tag & 7) === 4 || tag === 0) {
90
+ break;
91
+ }
92
+ reader.skipType(tag & 7);
93
+ }
94
+ return message;
95
+ },
96
+ fromJSON(object) {
97
+ return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
98
+ },
99
+ toJSON(message) {
100
+ const obj = {};
101
+ if (message.status !== "") {
102
+ obj.status = message.status;
103
+ }
104
+ return obj;
105
+ },
106
+ create(base) {
107
+ return exports.getTransactionStatusResponse.fromPartial(base ?? {});
108
+ },
109
+ fromPartial(object) {
110
+ const message = createBasegetTransactionStatusResponse();
111
+ message.status = object.status ?? "";
112
+ return message;
113
+ },
114
+ };
115
+ function isSet(value) {
116
+ return value !== null && value !== undefined;
117
+ }
@@ -0,0 +1,37 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.getvirtualbankinfo";
3
+ export interface getVirtualBankInfoRequest {
4
+ }
5
+ export interface getVirtualBankInfoResponse {
6
+ account_number: string;
7
+ account_name: string;
8
+ ifsc_code: string;
9
+ bank_name: string;
10
+ }
11
+ export declare const getVirtualBankInfoRequest: {
12
+ encode(_: getVirtualBankInfoRequest, writer?: _m0.Writer): _m0.Writer;
13
+ decode(input: _m0.Reader | Uint8Array, length?: number): getVirtualBankInfoRequest;
14
+ fromJSON(_: any): getVirtualBankInfoRequest;
15
+ toJSON(_: getVirtualBankInfoRequest): unknown;
16
+ create<I extends Exact<DeepPartial<getVirtualBankInfoRequest>, I>>(base?: I): getVirtualBankInfoRequest;
17
+ fromPartial<I extends Exact<DeepPartial<getVirtualBankInfoRequest>, I>>(_: I): getVirtualBankInfoRequest;
18
+ };
19
+ export declare const getVirtualBankInfoResponse: {
20
+ encode(message: getVirtualBankInfoResponse, writer?: _m0.Writer): _m0.Writer;
21
+ decode(input: _m0.Reader | Uint8Array, length?: number): getVirtualBankInfoResponse;
22
+ fromJSON(object: any): getVirtualBankInfoResponse;
23
+ toJSON(message: getVirtualBankInfoResponse): unknown;
24
+ create<I extends Exact<DeepPartial<getVirtualBankInfoResponse>, I>>(base?: I): getVirtualBankInfoResponse;
25
+ fromPartial<I extends Exact<DeepPartial<getVirtualBankInfoResponse>, I>>(object: I): getVirtualBankInfoResponse;
26
+ };
27
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
28
+ 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 {} ? {
29
+ [K in keyof T]?: DeepPartial<T[K]>;
30
+ } : Partial<T>;
31
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
32
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
33
+ [K in keyof P]: Exact<P[K], I[K]>;
34
+ } & {
35
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
36
+ };
37
+ export {};
@@ -0,0 +1,148 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.1
6
+ // source: loans/getvirtualbankinfo.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.getVirtualBankInfoResponse = exports.getVirtualBankInfoRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getvirtualbankinfo";
15
+ function createBasegetVirtualBankInfoRequest() {
16
+ return {};
17
+ }
18
+ exports.getVirtualBankInfoRequest = {
19
+ encode(_, writer = minimal_1.default.Writer.create()) {
20
+ return writer;
21
+ },
22
+ decode(input, length) {
23
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
24
+ let end = length === undefined ? reader.len : reader.pos + length;
25
+ const message = createBasegetVirtualBankInfoRequest();
26
+ while (reader.pos < end) {
27
+ const tag = reader.uint32();
28
+ switch (tag >>> 3) {
29
+ }
30
+ if ((tag & 7) === 4 || tag === 0) {
31
+ break;
32
+ }
33
+ reader.skipType(tag & 7);
34
+ }
35
+ return message;
36
+ },
37
+ fromJSON(_) {
38
+ return {};
39
+ },
40
+ toJSON(_) {
41
+ const obj = {};
42
+ return obj;
43
+ },
44
+ create(base) {
45
+ return exports.getVirtualBankInfoRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetVirtualBankInfoRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasegetVirtualBankInfoResponse() {
53
+ return { account_number: "", account_name: "", ifsc_code: "", bank_name: "" };
54
+ }
55
+ exports.getVirtualBankInfoResponse = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ if (message.account_number !== "") {
58
+ writer.uint32(10).string(message.account_number);
59
+ }
60
+ if (message.account_name !== "") {
61
+ writer.uint32(18).string(message.account_name);
62
+ }
63
+ if (message.ifsc_code !== "") {
64
+ writer.uint32(26).string(message.ifsc_code);
65
+ }
66
+ if (message.bank_name !== "") {
67
+ writer.uint32(34).string(message.bank_name);
68
+ }
69
+ return writer;
70
+ },
71
+ decode(input, length) {
72
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
73
+ let end = length === undefined ? reader.len : reader.pos + length;
74
+ const message = createBasegetVirtualBankInfoResponse();
75
+ while (reader.pos < end) {
76
+ const tag = reader.uint32();
77
+ switch (tag >>> 3) {
78
+ case 1:
79
+ if (tag !== 10) {
80
+ break;
81
+ }
82
+ message.account_number = reader.string();
83
+ continue;
84
+ case 2:
85
+ if (tag !== 18) {
86
+ break;
87
+ }
88
+ message.account_name = reader.string();
89
+ continue;
90
+ case 3:
91
+ if (tag !== 26) {
92
+ break;
93
+ }
94
+ message.ifsc_code = reader.string();
95
+ continue;
96
+ case 4:
97
+ if (tag !== 34) {
98
+ break;
99
+ }
100
+ message.bank_name = reader.string();
101
+ continue;
102
+ }
103
+ if ((tag & 7) === 4 || tag === 0) {
104
+ break;
105
+ }
106
+ reader.skipType(tag & 7);
107
+ }
108
+ return message;
109
+ },
110
+ fromJSON(object) {
111
+ return {
112
+ account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : "",
113
+ account_name: isSet(object.account_name) ? globalThis.String(object.account_name) : "",
114
+ ifsc_code: isSet(object.ifsc_code) ? globalThis.String(object.ifsc_code) : "",
115
+ bank_name: isSet(object.bank_name) ? globalThis.String(object.bank_name) : "",
116
+ };
117
+ },
118
+ toJSON(message) {
119
+ const obj = {};
120
+ if (message.account_number !== "") {
121
+ obj.account_number = message.account_number;
122
+ }
123
+ if (message.account_name !== "") {
124
+ obj.account_name = message.account_name;
125
+ }
126
+ if (message.ifsc_code !== "") {
127
+ obj.ifsc_code = message.ifsc_code;
128
+ }
129
+ if (message.bank_name !== "") {
130
+ obj.bank_name = message.bank_name;
131
+ }
132
+ return obj;
133
+ },
134
+ create(base) {
135
+ return exports.getVirtualBankInfoResponse.fromPartial(base ?? {});
136
+ },
137
+ fromPartial(object) {
138
+ const message = createBasegetVirtualBankInfoResponse();
139
+ message.account_number = object.account_number ?? "";
140
+ message.account_name = object.account_name ?? "";
141
+ message.ifsc_code = object.ifsc_code ?? "";
142
+ message.bank_name = object.bank_name ?? "";
143
+ return message;
144
+ },
145
+ };
146
+ function isSet(value) {
147
+ return value !== null && value !== undefined;
148
+ }
@@ -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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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,9 +2,9 @@ import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "loans.paynow";
3
3
  export interface payNowRequest {
4
4
  customer_id: number;
5
- inst_id: string;
6
5
  mode: string;
7
6
  add_ons: payNowRequest_add_on[];
7
+ amount: number;
8
8
  }
9
9
  export interface payNowRequest_add_on {
10
10
  type: 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.0
5
+ // protoc v5.28.1
6
6
  // source: loans/paynow.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -14,21 +14,21 @@ const long_1 = __importDefault(require("long"));
14
14
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
15
  exports.protobufPackage = "loans.paynow";
16
16
  function createBasepayNowRequest() {
17
- return { customer_id: 0, inst_id: "", mode: "", add_ons: [] };
17
+ return { customer_id: 0, mode: "", add_ons: [], amount: 0 };
18
18
  }
19
19
  exports.payNowRequest = {
20
20
  encode(message, writer = minimal_1.default.Writer.create()) {
21
21
  if (message.customer_id !== 0) {
22
22
  writer.uint32(8).int64(message.customer_id);
23
23
  }
24
- if (message.inst_id !== "") {
25
- writer.uint32(18).string(message.inst_id);
26
- }
27
24
  if (message.mode !== "") {
28
- writer.uint32(26).string(message.mode);
25
+ writer.uint32(18).string(message.mode);
29
26
  }
30
27
  for (const v of message.add_ons) {
31
- exports.payNowRequest_add_on.encode(v, writer.uint32(34).fork()).ldelim();
28
+ exports.payNowRequest_add_on.encode(v, writer.uint32(26).fork()).ldelim();
29
+ }
30
+ if (message.amount !== 0) {
31
+ writer.uint32(32).int32(message.amount);
32
32
  }
33
33
  return writer;
34
34
  },
@@ -49,19 +49,19 @@ exports.payNowRequest = {
49
49
  if (tag !== 18) {
50
50
  break;
51
51
  }
52
- message.inst_id = reader.string();
52
+ message.mode = reader.string();
53
53
  continue;
54
54
  case 3:
55
55
  if (tag !== 26) {
56
56
  break;
57
57
  }
58
- message.mode = reader.string();
58
+ message.add_ons.push(exports.payNowRequest_add_on.decode(reader, reader.uint32()));
59
59
  continue;
60
60
  case 4:
61
- if (tag !== 34) {
61
+ if (tag !== 32) {
62
62
  break;
63
63
  }
64
- message.add_ons.push(exports.payNowRequest_add_on.decode(reader, reader.uint32()));
64
+ message.amount = reader.int32();
65
65
  continue;
66
66
  }
67
67
  if ((tag & 7) === 4 || tag === 0) {
@@ -74,11 +74,11 @@ exports.payNowRequest = {
74
74
  fromJSON(object) {
75
75
  return {
76
76
  customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
77
- inst_id: isSet(object.inst_id) ? globalThis.String(object.inst_id) : "",
78
77
  mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
79
78
  add_ons: globalThis.Array.isArray(object?.add_ons)
80
79
  ? object.add_ons.map((e) => exports.payNowRequest_add_on.fromJSON(e))
81
80
  : [],
81
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
82
82
  };
83
83
  },
84
84
  toJSON(message) {
@@ -86,15 +86,15 @@ exports.payNowRequest = {
86
86
  if (message.customer_id !== 0) {
87
87
  obj.customer_id = Math.round(message.customer_id);
88
88
  }
89
- if (message.inst_id !== "") {
90
- obj.inst_id = message.inst_id;
91
- }
92
89
  if (message.mode !== "") {
93
90
  obj.mode = message.mode;
94
91
  }
95
92
  if (message.add_ons?.length) {
96
93
  obj.add_ons = message.add_ons.map((e) => exports.payNowRequest_add_on.toJSON(e));
97
94
  }
95
+ if (message.amount !== 0) {
96
+ obj.amount = Math.round(message.amount);
97
+ }
98
98
  return obj;
99
99
  },
100
100
  create(base) {
@@ -103,9 +103,9 @@ exports.payNowRequest = {
103
103
  fromPartial(object) {
104
104
  const message = createBasepayNowRequest();
105
105
  message.customer_id = object.customer_id ?? 0;
106
- message.inst_id = object.inst_id ?? "";
107
106
  message.mode = object.mode ?? "";
108
107
  message.add_ons = object.add_ons?.map((e) => exports.payNowRequest_add_on.fromPartial(e)) || [];
108
+ message.amount = object.amount ?? 0;
109
109
  return message;
110
110
  },
111
111
  };
@@ -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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
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.0
5
+ // protoc v5.28.1
6
6
  // source: loans/updateloan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };