@stashfin/grpc 1.2.67 → 1.2.71

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 (89) hide show
  1. package/package.json +1 -1
  2. package/ts/customers/aa/getbanklist.d.ts +48 -0
  3. package/ts/customers/aa/getbanklist.js +198 -0
  4. package/ts/customers/addaddress.js +1 -1
  5. package/ts/customers/addbankaccountdetails.js +1 -1
  6. package/ts/customers/addsuspendedcustomer.d.ts +36 -0
  7. package/ts/customers/addsuspendedcustomer.js +133 -0
  8. package/ts/customers/createcustomerreference.js +1 -1
  9. package/ts/customers/deleteprofile.js +1 -1
  10. package/ts/customers/forgotmpin.js +1 -1
  11. package/ts/customers/forgotmpinotp.js +1 -1
  12. package/ts/customers/getbankaccountdetails.js +1 -1
  13. package/ts/customers/getbanklist.d.ts +48 -0
  14. package/ts/customers/getbanklist.js +198 -0
  15. package/ts/customers/getbasicinfo.js +1 -1
  16. package/ts/customers/getcities.js +1 -1
  17. package/ts/customers/getcustomerbyid.d.ts +1 -0
  18. package/ts/customers/getcustomerbyid.js +16 -1
  19. package/ts/customers/getdashboard.js +1 -1
  20. package/ts/customers/getdashboardmaincard.js +1 -1
  21. package/ts/customers/getkycweburl.js +1 -1
  22. package/ts/customers/getprofessionalinfo.js +1 -1
  23. package/ts/customers/getprofile.d.ts +1 -0
  24. package/ts/customers/getprofile.js +17 -2
  25. package/ts/customers/getstates.js +1 -1
  26. package/ts/customers/getstep.js +1 -1
  27. package/ts/customers/profilebasic.js +1 -1
  28. package/ts/customers/profileupdatetnc.js +1 -1
  29. package/ts/customers/resetmpin.js +1 -1
  30. package/ts/customers/savebasicdetails.js +1 -1
  31. package/ts/customers/saveunlocklimit.js +1 -1
  32. package/ts/customers/sendemailtoken.js +1 -1
  33. package/ts/customers/sendotp.js +1 -1
  34. package/ts/customers/setmpin.js +1 -1
  35. package/ts/customers/step1.d.ts +71 -0
  36. package/ts/customers/step1.js +423 -0
  37. package/ts/customers/step10.js +1 -1
  38. package/ts/customers/step2.d.ts +67 -0
  39. package/ts/customers/step2.js +366 -0
  40. package/ts/customers/step7.js +1 -1
  41. package/ts/customers/step8.js +1 -1
  42. package/ts/customers/step9.js +1 -1
  43. package/ts/customers/stepstatic.js +1 -1
  44. package/ts/customers/updatedigilockertxn.js +1 -1
  45. package/ts/customers/updatedob.js +1 -1
  46. package/ts/customers/updatehypervergetxn.js +1 -1
  47. package/ts/customers/updatelocdisabled.d.ts +35 -0
  48. package/ts/customers/updatelocdisabled.js +117 -0
  49. package/ts/customers/validatepan.js +1 -1
  50. package/ts/customers/verifyemail.js +1 -1
  51. package/ts/customers/verifympin.js +1 -1
  52. package/ts/customers/verifyotp.js +1 -1
  53. package/ts/customers.d.ts +42 -0
  54. package/ts/customers.js +31 -1
  55. package/ts/example.js +1 -1
  56. package/ts/google/protobuf/timestamp.js +1 -1
  57. package/ts/loans/approveloan.js +1 -1
  58. package/ts/loans/banklist.js +1 -1
  59. package/ts/loans/calculateemi.js +1 -1
  60. package/ts/loans/creditlimit.js +1 -1
  61. package/ts/loans/getcustomerloanstatus.d.ts +34 -0
  62. package/ts/loans/getcustomerloanstatus.js +104 -0
  63. package/ts/loans/loansummary.js +1 -1
  64. package/ts/loans/paymentallocation.js +1 -1
  65. package/ts/loans/restructureloan.js +1 -1
  66. package/ts/loans/sendemail.d.ts +35 -0
  67. package/ts/loans/sendemail.js +117 -0
  68. package/ts/loans/sendnocemail.d.ts +35 -0
  69. package/ts/loans/sendnocemail.js +117 -0
  70. package/ts/loans/transactionlist.d.ts +2 -0
  71. package/ts/loans/transactionlist.js +30 -2
  72. package/ts/loans/updateinstallments.js +1 -1
  73. package/ts/loans/updateloan.js +1 -1
  74. package/ts/loans.d.ts +42 -0
  75. package/ts/loans.js +31 -1
  76. package/ts/payments.d.ts +214 -31
  77. package/ts/payments.js +1095 -22
  78. package/ts/stashcash/creditsc.js +1 -1
  79. package/ts/stashcash/debitsc.js +1 -1
  80. package/ts/stashcash/getscbalance.js +1 -1
  81. package/ts/stashcash/getschistory.js +1 -1
  82. package/ts/stashcash/reversesc.js +1 -1
  83. package/ts/stashcash.js +1 -1
  84. package/ts/payments/checkpaymentstatus.d.ts +0 -51
  85. package/ts/payments/checkpaymentstatus.js +0 -259
  86. package/ts/payments/getpaymentoptions.d.ts +0 -50
  87. package/ts/payments/getpaymentoptions.js +0 -233
  88. package/ts/payments/initiatepayment.d.ts +0 -52
  89. package/ts/payments/initiatepayment.js +0 -271
@@ -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 v3.20.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 v3.20.3
6
6
  // source: customers/getcities.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -25,6 +25,7 @@ export interface getCustomerByIdResponse {
25
25
  roi: number;
26
26
  processing_rate: number;
27
27
  emi_date: string;
28
+ loc_disabled: boolean;
28
29
  }
29
30
  export declare const getCustomerByIdRequest: {
30
31
  encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
@@ -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 v3.20.3
6
6
  // source: customers/getcustomerbyid.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -85,6 +85,7 @@ function createBasegetCustomerByIdResponse() {
85
85
  roi: 0,
86
86
  processing_rate: 0,
87
87
  emi_date: "",
88
+ loc_disabled: false,
88
89
  };
89
90
  }
90
91
  exports.getCustomerByIdResponse = {
@@ -152,6 +153,9 @@ exports.getCustomerByIdResponse = {
152
153
  if (message.emi_date !== "") {
153
154
  writer.uint32(170).string(message.emi_date);
154
155
  }
156
+ if (message.loc_disabled !== false) {
157
+ writer.uint32(176).bool(message.loc_disabled);
158
+ }
155
159
  return writer;
156
160
  },
157
161
  decode(input, length) {
@@ -287,6 +291,12 @@ exports.getCustomerByIdResponse = {
287
291
  }
288
292
  message.emi_date = reader.string();
289
293
  continue;
294
+ case 22:
295
+ if (tag !== 176) {
296
+ break;
297
+ }
298
+ message.loc_disabled = reader.bool();
299
+ continue;
290
300
  }
291
301
  if ((tag & 7) === 4 || tag === 0) {
292
302
  break;
@@ -318,6 +328,7 @@ exports.getCustomerByIdResponse = {
318
328
  roi: isSet(object.roi) ? globalThis.Number(object.roi) : 0,
319
329
  processing_rate: isSet(object.processing_rate) ? globalThis.Number(object.processing_rate) : 0,
320
330
  emi_date: isSet(object.emi_date) ? globalThis.String(object.emi_date) : "",
331
+ loc_disabled: isSet(object.loc_disabled) ? globalThis.Boolean(object.loc_disabled) : false,
321
332
  };
322
333
  },
323
334
  toJSON(message) {
@@ -385,6 +396,9 @@ exports.getCustomerByIdResponse = {
385
396
  if (message.emi_date !== "") {
386
397
  obj.emi_date = message.emi_date;
387
398
  }
399
+ if (message.loc_disabled !== false) {
400
+ obj.loc_disabled = message.loc_disabled;
401
+ }
388
402
  return obj;
389
403
  },
390
404
  create(base) {
@@ -413,6 +427,7 @@ exports.getCustomerByIdResponse = {
413
427
  message.roi = object.roi ?? 0;
414
428
  message.processing_rate = object.processing_rate ?? 0;
415
429
  message.emi_date = object.emi_date ?? "";
430
+ message.loc_disabled = object.loc_disabled ?? false;
416
431
  return message;
417
432
  },
418
433
  };
@@ -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 v3.20.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 v3.20.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 v3.20.3
6
6
  // source: customers/getkycweburl.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 v3.20.3
6
6
  // source: customers/getprofessionalinfo.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -9,6 +9,7 @@ export interface getCustomerProfileResponse {
9
9
  profile_image: string;
10
10
  email: string;
11
11
  profile_completion_status: number;
12
+ action_type: string;
12
13
  details: ProfileDetail[];
13
14
  }
14
15
  export interface ProfileDetail {
@@ -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 v3.20.3
6
6
  // source: customers/getprofile.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -57,6 +57,7 @@ function createBasegetCustomerProfileResponse() {
57
57
  profile_image: "",
58
58
  email: "",
59
59
  profile_completion_status: 0,
60
+ action_type: "",
60
61
  details: [],
61
62
  };
62
63
  }
@@ -80,8 +81,11 @@ exports.getCustomerProfileResponse = {
80
81
  if (message.profile_completion_status !== 0) {
81
82
  writer.uint32(48).int32(message.profile_completion_status);
82
83
  }
84
+ if (message.action_type !== "") {
85
+ writer.uint32(58).string(message.action_type);
86
+ }
83
87
  for (const v of message.details) {
84
- exports.ProfileDetail.encode(v, writer.uint32(58).fork()).ldelim();
88
+ exports.ProfileDetail.encode(v, writer.uint32(66).fork()).ldelim();
85
89
  }
86
90
  return writer;
87
91
  },
@@ -132,6 +136,12 @@ exports.getCustomerProfileResponse = {
132
136
  if (tag !== 58) {
133
137
  break;
134
138
  }
139
+ message.action_type = reader.string();
140
+ continue;
141
+ case 8:
142
+ if (tag !== 66) {
143
+ break;
144
+ }
135
145
  message.details.push(exports.ProfileDetail.decode(reader, reader.uint32()));
136
146
  continue;
137
147
  }
@@ -152,6 +162,7 @@ exports.getCustomerProfileResponse = {
152
162
  profile_completion_status: isSet(object.profile_completion_status)
153
163
  ? globalThis.Number(object.profile_completion_status)
154
164
  : 0,
165
+ action_type: isSet(object.action_type) ? globalThis.String(object.action_type) : "",
155
166
  details: globalThis.Array.isArray(object?.details)
156
167
  ? object.details.map((e) => exports.ProfileDetail.fromJSON(e))
157
168
  : [],
@@ -177,6 +188,9 @@ exports.getCustomerProfileResponse = {
177
188
  if (message.profile_completion_status !== 0) {
178
189
  obj.profile_completion_status = Math.round(message.profile_completion_status);
179
190
  }
191
+ if (message.action_type !== "") {
192
+ obj.action_type = message.action_type;
193
+ }
180
194
  if (message.details?.length) {
181
195
  obj.details = message.details.map((e) => exports.ProfileDetail.toJSON(e));
182
196
  }
@@ -193,6 +207,7 @@ exports.getCustomerProfileResponse = {
193
207
  message.profile_image = object.profile_image ?? "";
194
208
  message.email = object.email ?? "";
195
209
  message.profile_completion_status = object.profile_completion_status ?? 0;
210
+ message.action_type = object.action_type ?? "";
196
211
  message.details = object.details?.map((e) => exports.ProfileDetail.fromPartial(e)) || [];
197
212
  return message;
198
213
  },
@@ -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 v3.20.3
6
6
  // source: customers/getstates.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 v3.20.3
6
6
  // source: customers/getstep.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 v3.20.3
6
6
  // source: customers/profilebasic.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 v3.20.3
6
6
  // source: customers/profileupdatetnc.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 v3.20.3
6
6
  // source: customers/resetmpin.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 v3.20.3
6
6
  // source: customers/savebasicdetails.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 v3.20.3
6
6
  // source: customers/saveunlocklimit.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 v3.20.3
6
6
  // source: customers/sendemailtoken.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 v3.20.3
6
6
  // source: customers/sendotp.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 v3.20.3
6
6
  // source: customers/setmpin.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -0,0 +1,71 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.step1";
3
+ export interface step1Request {
4
+ full_name: string;
5
+ pan_number: string;
6
+ dob: string;
7
+ pincode: string;
8
+ tnc: boolean;
9
+ }
10
+ export interface Validation {
11
+ key: string;
12
+ value: string;
13
+ message: string;
14
+ }
15
+ export interface step1Response {
16
+ page: string;
17
+ type: string;
18
+ button_text: string;
19
+ data: step1Response_Field[];
20
+ }
21
+ export interface step1Response_Field {
22
+ label: string;
23
+ key: string;
24
+ input_type: string;
25
+ data_type: string;
26
+ icon: string;
27
+ validations: Validation[];
28
+ }
29
+ export declare const step1Request: {
30
+ encode(message: step1Request, writer?: _m0.Writer): _m0.Writer;
31
+ decode(input: _m0.Reader | Uint8Array, length?: number): step1Request;
32
+ fromJSON(object: any): step1Request;
33
+ toJSON(message: step1Request): unknown;
34
+ create<I extends Exact<DeepPartial<step1Request>, I>>(base?: I): step1Request;
35
+ fromPartial<I extends Exact<DeepPartial<step1Request>, I>>(object: I): step1Request;
36
+ };
37
+ export declare const Validation: {
38
+ encode(message: Validation, writer?: _m0.Writer): _m0.Writer;
39
+ decode(input: _m0.Reader | Uint8Array, length?: number): Validation;
40
+ fromJSON(object: any): Validation;
41
+ toJSON(message: Validation): unknown;
42
+ create<I extends Exact<DeepPartial<Validation>, I>>(base?: I): Validation;
43
+ fromPartial<I extends Exact<DeepPartial<Validation>, I>>(object: I): Validation;
44
+ };
45
+ export declare const step1Response: {
46
+ encode(message: step1Response, writer?: _m0.Writer): _m0.Writer;
47
+ decode(input: _m0.Reader | Uint8Array, length?: number): step1Response;
48
+ fromJSON(object: any): step1Response;
49
+ toJSON(message: step1Response): unknown;
50
+ create<I extends Exact<DeepPartial<step1Response>, I>>(base?: I): step1Response;
51
+ fromPartial<I extends Exact<DeepPartial<step1Response>, I>>(object: I): step1Response;
52
+ };
53
+ export declare const step1Response_Field: {
54
+ encode(message: step1Response_Field, writer?: _m0.Writer): _m0.Writer;
55
+ decode(input: _m0.Reader | Uint8Array, length?: number): step1Response_Field;
56
+ fromJSON(object: any): step1Response_Field;
57
+ toJSON(message: step1Response_Field): unknown;
58
+ create<I extends Exact<DeepPartial<step1Response_Field>, I>>(base?: I): step1Response_Field;
59
+ fromPartial<I extends Exact<DeepPartial<step1Response_Field>, I>>(object: I): step1Response_Field;
60
+ };
61
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
62
+ 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 {} ? {
63
+ [K in keyof T]?: DeepPartial<T[K]>;
64
+ } : Partial<T>;
65
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
66
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
67
+ [K in keyof P]: Exact<P[K], I[K]>;
68
+ } & {
69
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
70
+ };
71
+ export {};