@stashfin/grpc 1.2.127 → 1.2.129

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 (115) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +1 -1
  3. package/ts/bureau/getbureau.d.ts +157 -0
  4. package/ts/bureau/getbureau.js +1376 -0
  5. package/ts/bureau/getdemogs.js +1 -1
  6. package/ts/bureau/getreport.d.ts +1 -1
  7. package/ts/bureau/getreport.js +9 -9
  8. package/ts/bureau.js +1 -1
  9. package/ts/colender/disburseLoan.js +1 -1
  10. package/ts/colender/forecloseLoan.js +1 -1
  11. package/ts/colender/repayLoan.js +1 -1
  12. package/ts/colender.js +1 -1
  13. package/ts/customers/aa/getbanklist.js +1 -1
  14. package/ts/customers/aa/initiate.js +1 -1
  15. package/ts/customers/addaddress.js +1 -1
  16. package/ts/customers/addbankaccountdetails.js +1 -1
  17. package/ts/customers/addgstnumber.js +1 -1
  18. package/ts/customers/addsuspendedcustomer.js +1 -1
  19. package/ts/customers/adduserapps.js +1 -1
  20. package/ts/customers/changempin.js +1 -1
  21. package/ts/customers/createcustomerreference.js +1 -1
  22. package/ts/customers/deleteprofile.js +1 -1
  23. package/ts/customers/disablempin.js +1 -1
  24. package/ts/customers/fetchrcprofile.js +1 -1
  25. package/ts/customers/forgotmpin.js +1 -1
  26. package/ts/customers/forgotmpinotp.js +2 -2
  27. package/ts/customers/forgotmpinverify.js +1 -1
  28. package/ts/customers/getbankaccountdetails.js +1 -1
  29. package/ts/customers/getbanklist.d.ts +48 -0
  30. package/ts/customers/getbanklist.js +198 -0
  31. package/ts/customers/getbasicinfo.js +1 -1
  32. package/ts/customers/getcities.js +1 -1
  33. package/ts/customers/getcustomerbyid.js +1 -1
  34. package/ts/customers/getdashboard.js +1 -1
  35. package/ts/customers/getdashboardmaincard.js +1 -1
  36. package/ts/customers/getdocuments.js +1 -1
  37. package/ts/customers/getkycweburl.js +2 -2
  38. package/ts/customers/getprofessionalinfo.js +1 -1
  39. package/ts/customers/getprofile.js +1 -1
  40. package/ts/customers/getstates.js +1 -1
  41. package/ts/customers/getstep.js +1 -1
  42. package/ts/customers/profilebasic.js +1 -1
  43. package/ts/customers/profileupdatetnc.js +1 -1
  44. package/ts/customers/resetmpin.js +2 -2
  45. package/ts/customers/savebasicdetails.js +1 -1
  46. package/ts/customers/saveunlocklimit.js +1 -1
  47. package/ts/customers/sendemailtoken.js +2 -2
  48. package/ts/customers/sendotp.js +1 -1
  49. package/ts/customers/sendotptoemail.js +1 -1
  50. package/ts/customers/setmpin.js +1 -1
  51. package/ts/customers/step1.d.ts +71 -0
  52. package/ts/customers/step1.js +423 -0
  53. package/ts/customers/step10.js +1 -1
  54. package/ts/customers/step2.d.ts +67 -0
  55. package/ts/customers/step2.js +366 -0
  56. package/ts/customers/step7.js +1 -1
  57. package/ts/customers/step8.js +1 -1
  58. package/ts/customers/step9.js +1 -1
  59. package/ts/customers/stepstatic.js +1 -1
  60. package/ts/customers/updatedigilockertxn.js +2 -2
  61. package/ts/customers/updatedob.js +1 -1
  62. package/ts/customers/updatehypervergetxn.js +2 -2
  63. package/ts/customers/updatelocdisabled.d.ts +35 -0
  64. package/ts/customers/updatelocdisabled.js +117 -0
  65. package/ts/customers/updatelocstatus.js +1 -1
  66. package/ts/customers/updatemobile.d.ts +35 -0
  67. package/ts/customers/updatemobile.js +117 -0
  68. package/ts/customers/updatemobilesendotp.js +1 -1
  69. package/ts/customers/updatemobileverifyotp.js +1 -1
  70. package/ts/customers/updateokyctxn.js +1 -1
  71. package/ts/customers/validatepan.js +1 -1
  72. package/ts/customers/verifyemail.js +2 -2
  73. package/ts/customers/verifympin.js +1 -1
  74. package/ts/customers/verifyotp.js +1 -1
  75. package/ts/customers/verifyotptoemail.js +1 -1
  76. package/ts/customers.js +1 -1
  77. package/ts/example.js +1 -1
  78. package/ts/google/protobuf/timestamp.js +1 -1
  79. package/ts/loans/approveloan.js +1 -1
  80. package/ts/loans/banklist.js +1 -1
  81. package/ts/loans/calculateemi.d.ts +5 -0
  82. package/ts/loans/calculateemi.js +83 -2
  83. package/ts/loans/creditlimit.js +1 -1
  84. package/ts/loans/futurepaymentmoredetails.js +1 -1
  85. package/ts/loans/getcustomerloanstatus.js +1 -1
  86. package/ts/loans/getpendingemiamount.js +1 -1
  87. package/ts/loans/getstaticfields.d.ts +86 -0
  88. package/ts/loans/getstaticfields.js +801 -0
  89. package/ts/loans/getsummarystaticfields.js +1 -1
  90. package/ts/loans/loansummary.js +1 -1
  91. package/ts/loans/paymentallocation.js +1 -1
  92. package/ts/loans/paymenthistory.js +1 -1
  93. package/ts/loans/restructureloan.js +1 -1
  94. package/ts/loans/sendemail.js +1 -1
  95. package/ts/loans/sendnocemail.js +1 -1
  96. package/ts/loans/transactionlist.js +1 -1
  97. package/ts/loans/updateinstallments.js +1 -1
  98. package/ts/loans/updateloan.js +1 -1
  99. package/ts/loans.js +1 -1
  100. package/ts/payments.d.ts +211 -42
  101. package/ts/payments.js +1092 -29
  102. package/ts/stashcash/creditsc.js +1 -1
  103. package/ts/stashcash/debitsc.js +1 -1
  104. package/ts/stashcash/getscbalance.js +1 -1
  105. package/ts/stashcash/getschistory.js +1 -1
  106. package/ts/stashcash/reversesc.js +1 -1
  107. package/ts/stashcash.js +1 -1
  108. package/ts/payments/checkpaymentstatus.d.ts +0 -51
  109. package/ts/payments/checkpaymentstatus.js +0 -259
  110. package/ts/payments/getpaymentoptions.d.ts +0 -50
  111. package/ts/payments/getpaymentoptions.js +0 -233
  112. package/ts/payments/initiatepayment.d.ts +0 -67
  113. package/ts/payments/initiatepayment.js +0 -381
  114. package/ts/payments/nachregistration.d.ts +0 -51
  115. package/ts/payments/nachregistration.js +0 -257
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: bureau/getdemogs.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -15,7 +15,7 @@ export interface Report {
15
15
  report_id: number;
16
16
  score: number;
17
17
  type: string;
18
- tradelines: TradeLine[];
18
+ trdelines: TradeLine[];
19
19
  dpd: DPD | undefined;
20
20
  enquiries: Enquiries | undefined;
21
21
  dpd_char: dpdChar | undefined;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: bureau/getreport.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -192,7 +192,7 @@ function createBaseReport() {
192
192
  report_id: 0,
193
193
  score: 0,
194
194
  type: "",
195
- tradelines: [],
195
+ trdelines: [],
196
196
  dpd: undefined,
197
197
  enquiries: undefined,
198
198
  dpd_char: undefined,
@@ -212,7 +212,7 @@ exports.Report = {
212
212
  if (message.type !== "") {
213
213
  writer.uint32(26).string(message.type);
214
214
  }
215
- for (const v of message.tradelines) {
215
+ for (const v of message.trdelines) {
216
216
  exports.TradeLine.encode(v, writer.uint32(34).fork()).ldelim();
217
217
  }
218
218
  if (message.dpd !== undefined) {
@@ -264,7 +264,7 @@ exports.Report = {
264
264
  if (tag !== 34) {
265
265
  break;
266
266
  }
267
- message.tradelines.push(exports.TradeLine.decode(reader, reader.uint32()));
267
+ message.trdelines.push(exports.TradeLine.decode(reader, reader.uint32()));
268
268
  continue;
269
269
  case 5:
270
270
  if (tag !== 42) {
@@ -315,8 +315,8 @@ exports.Report = {
315
315
  report_id: isSet(object.report_id) ? globalThis.Number(object.report_id) : 0,
316
316
  score: isSet(object.score) ? globalThis.Number(object.score) : 0,
317
317
  type: isSet(object.type) ? globalThis.String(object.type) : "",
318
- tradelines: globalThis.Array.isArray(object?.tradelines)
319
- ? object.tradelines.map((e) => exports.TradeLine.fromJSON(e))
318
+ trdelines: globalThis.Array.isArray(object?.trdelines)
319
+ ? object.trdelines.map((e) => exports.TradeLine.fromJSON(e))
320
320
  : [],
321
321
  dpd: isSet(object.dpd) ? exports.DPD.fromJSON(object.dpd) : undefined,
322
322
  enquiries: isSet(object.enquiries) ? exports.Enquiries.fromJSON(object.enquiries) : undefined,
@@ -339,8 +339,8 @@ exports.Report = {
339
339
  if (message.type !== "") {
340
340
  obj.type = message.type;
341
341
  }
342
- if (message.tradelines?.length) {
343
- obj.tradelines = message.tradelines.map((e) => exports.TradeLine.toJSON(e));
342
+ if (message.trdelines?.length) {
343
+ obj.trdelines = message.trdelines.map((e) => exports.TradeLine.toJSON(e));
344
344
  }
345
345
  if (message.dpd !== undefined) {
346
346
  obj.dpd = exports.DPD.toJSON(message.dpd);
@@ -370,7 +370,7 @@ exports.Report = {
370
370
  message.report_id = object.report_id ?? 0;
371
371
  message.score = object.score ?? 0;
372
372
  message.type = object.type ?? "";
373
- message.tradelines = object.tradelines?.map((e) => exports.TradeLine.fromPartial(e)) || [];
373
+ message.trdelines = object.trdelines?.map((e) => exports.TradeLine.fromPartial(e)) || [];
374
374
  message.dpd = (object.dpd !== undefined && object.dpd !== null) ? exports.DPD.fromPartial(object.dpd) : undefined;
375
375
  message.enquiries = (object.enquiries !== undefined && object.enquiries !== null)
376
376
  ? exports.Enquiries.fromPartial(object.enquiries)
package/ts/bureau.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: bureau.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: colender/disburseLoan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: colender/forecloseLoan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: colender/repayLoan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
package/ts/colender.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: colender.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/aa/getbanklist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/aa/initiate.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/addaddress.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/addbankaccountdetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/addgstnumber.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/addsuspendedcustomer.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/adduserapps.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/changempin.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/createcustomerreference.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/deleteprofile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/disablempin.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/fetchrcprofile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/forgotmpin.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.27.3
6
6
  // source: customers/forgotmpinotp.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/forgotmpinverify.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getbankaccountdetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -0,0 +1,48 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.getbanklist";
3
+ export interface getBankListRequest {
4
+ }
5
+ export interface getBankListResponse {
6
+ fip: BankData[];
7
+ }
8
+ export interface BankData {
9
+ id: string;
10
+ name: string;
11
+ netBankingEnabled: boolean;
12
+ pdfJourneyEnabled: boolean;
13
+ }
14
+ export declare const getBankListRequest: {
15
+ encode(_: getBankListRequest, writer?: _m0.Writer): _m0.Writer;
16
+ decode(input: _m0.Reader | Uint8Array, length?: number): getBankListRequest;
17
+ fromJSON(_: any): getBankListRequest;
18
+ toJSON(_: getBankListRequest): unknown;
19
+ create<I extends Exact<DeepPartial<getBankListRequest>, I>>(base?: I): getBankListRequest;
20
+ fromPartial<I extends Exact<DeepPartial<getBankListRequest>, I>>(_: I): getBankListRequest;
21
+ };
22
+ export declare const getBankListResponse: {
23
+ encode(message: getBankListResponse, writer?: _m0.Writer): _m0.Writer;
24
+ decode(input: _m0.Reader | Uint8Array, length?: number): getBankListResponse;
25
+ fromJSON(object: any): getBankListResponse;
26
+ toJSON(message: getBankListResponse): unknown;
27
+ create<I extends Exact<DeepPartial<getBankListResponse>, I>>(base?: I): getBankListResponse;
28
+ fromPartial<I extends Exact<DeepPartial<getBankListResponse>, I>>(object: I): getBankListResponse;
29
+ };
30
+ export declare const BankData: {
31
+ encode(message: BankData, writer?: _m0.Writer): _m0.Writer;
32
+ decode(input: _m0.Reader | Uint8Array, length?: number): BankData;
33
+ fromJSON(object: any): BankData;
34
+ toJSON(message: BankData): unknown;
35
+ create<I extends Exact<DeepPartial<BankData>, I>>(base?: I): BankData;
36
+ fromPartial<I extends Exact<DeepPartial<BankData>, I>>(object: I): BankData;
37
+ };
38
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
39
+ 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 {} ? {
40
+ [K in keyof T]?: DeepPartial<T[K]>;
41
+ } : Partial<T>;
42
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
43
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
44
+ [K in keyof P]: Exact<P[K], I[K]>;
45
+ } & {
46
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
47
+ };
48
+ export {};
@@ -0,0 +1,198 @@
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 v3.20.3
6
+ // source: customers/getbanklist.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.BankData = exports.getBankListResponse = exports.getBankListRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.getbanklist";
15
+ function createBasegetBankListRequest() {
16
+ return {};
17
+ }
18
+ exports.getBankListRequest = {
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 = createBasegetBankListRequest();
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.getBankListRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetBankListRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasegetBankListResponse() {
53
+ return { fip: [] };
54
+ }
55
+ exports.getBankListResponse = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ for (const v of message.fip) {
58
+ exports.BankData.encode(v, writer.uint32(10).fork()).ldelim();
59
+ }
60
+ return writer;
61
+ },
62
+ decode(input, length) {
63
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
64
+ let end = length === undefined ? reader.len : reader.pos + length;
65
+ const message = createBasegetBankListResponse();
66
+ while (reader.pos < end) {
67
+ const tag = reader.uint32();
68
+ switch (tag >>> 3) {
69
+ case 1:
70
+ if (tag !== 10) {
71
+ break;
72
+ }
73
+ message.fip.push(exports.BankData.decode(reader, reader.uint32()));
74
+ continue;
75
+ }
76
+ if ((tag & 7) === 4 || tag === 0) {
77
+ break;
78
+ }
79
+ reader.skipType(tag & 7);
80
+ }
81
+ return message;
82
+ },
83
+ fromJSON(object) {
84
+ return { fip: globalThis.Array.isArray(object?.fip) ? object.fip.map((e) => exports.BankData.fromJSON(e)) : [] };
85
+ },
86
+ toJSON(message) {
87
+ const obj = {};
88
+ if (message.fip?.length) {
89
+ obj.fip = message.fip.map((e) => exports.BankData.toJSON(e));
90
+ }
91
+ return obj;
92
+ },
93
+ create(base) {
94
+ return exports.getBankListResponse.fromPartial(base ?? {});
95
+ },
96
+ fromPartial(object) {
97
+ const message = createBasegetBankListResponse();
98
+ message.fip = object.fip?.map((e) => exports.BankData.fromPartial(e)) || [];
99
+ return message;
100
+ },
101
+ };
102
+ function createBaseBankData() {
103
+ return { id: "", name: "", netBankingEnabled: false, pdfJourneyEnabled: false };
104
+ }
105
+ exports.BankData = {
106
+ encode(message, writer = minimal_1.default.Writer.create()) {
107
+ if (message.id !== "") {
108
+ writer.uint32(10).string(message.id);
109
+ }
110
+ if (message.name !== "") {
111
+ writer.uint32(18).string(message.name);
112
+ }
113
+ if (message.netBankingEnabled !== false) {
114
+ writer.uint32(24).bool(message.netBankingEnabled);
115
+ }
116
+ if (message.pdfJourneyEnabled !== false) {
117
+ writer.uint32(32).bool(message.pdfJourneyEnabled);
118
+ }
119
+ return writer;
120
+ },
121
+ decode(input, length) {
122
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
123
+ let end = length === undefined ? reader.len : reader.pos + length;
124
+ const message = createBaseBankData();
125
+ while (reader.pos < end) {
126
+ const tag = reader.uint32();
127
+ switch (tag >>> 3) {
128
+ case 1:
129
+ if (tag !== 10) {
130
+ break;
131
+ }
132
+ message.id = reader.string();
133
+ continue;
134
+ case 2:
135
+ if (tag !== 18) {
136
+ break;
137
+ }
138
+ message.name = reader.string();
139
+ continue;
140
+ case 3:
141
+ if (tag !== 24) {
142
+ break;
143
+ }
144
+ message.netBankingEnabled = reader.bool();
145
+ continue;
146
+ case 4:
147
+ if (tag !== 32) {
148
+ break;
149
+ }
150
+ message.pdfJourneyEnabled = reader.bool();
151
+ continue;
152
+ }
153
+ if ((tag & 7) === 4 || tag === 0) {
154
+ break;
155
+ }
156
+ reader.skipType(tag & 7);
157
+ }
158
+ return message;
159
+ },
160
+ fromJSON(object) {
161
+ return {
162
+ id: isSet(object.id) ? globalThis.String(object.id) : "",
163
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
164
+ netBankingEnabled: isSet(object.netBankingEnabled) ? globalThis.Boolean(object.netBankingEnabled) : false,
165
+ pdfJourneyEnabled: isSet(object.pdfJourneyEnabled) ? globalThis.Boolean(object.pdfJourneyEnabled) : false,
166
+ };
167
+ },
168
+ toJSON(message) {
169
+ const obj = {};
170
+ if (message.id !== "") {
171
+ obj.id = message.id;
172
+ }
173
+ if (message.name !== "") {
174
+ obj.name = message.name;
175
+ }
176
+ if (message.netBankingEnabled !== false) {
177
+ obj.netBankingEnabled = message.netBankingEnabled;
178
+ }
179
+ if (message.pdfJourneyEnabled !== false) {
180
+ obj.pdfJourneyEnabled = message.pdfJourneyEnabled;
181
+ }
182
+ return obj;
183
+ },
184
+ create(base) {
185
+ return exports.BankData.fromPartial(base ?? {});
186
+ },
187
+ fromPartial(object) {
188
+ const message = createBaseBankData();
189
+ message.id = object.id ?? "";
190
+ message.name = object.name ?? "";
191
+ message.netBankingEnabled = object.netBankingEnabled ?? false;
192
+ message.pdfJourneyEnabled = object.pdfJourneyEnabled ?? false;
193
+ return message;
194
+ },
195
+ };
196
+ function isSet(value) {
197
+ return value !== null && value !== undefined;
198
+ }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getbasicinfo.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getcities.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getcustomerbyid.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getdashboard.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getdashboardmaincard.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getdocuments.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.27.3
6
6
  // source: customers/getkycweburl.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getprofessionalinfo.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getprofile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.180.0
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.27.3
6
6
  // source: customers/getstates.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {