@stashfin/grpc 1.2.171 → 1.2.173
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.
- package/package.json +1 -1
- package/ts/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getreport.js +1 -1
- package/ts/bureau.js +1 -1
- package/ts/colender/disburseLoan.d.ts +8 -3
- package/ts/colender/disburseLoan.js +105 -24
- package/ts/colender/forecloseLoan.d.ts +16 -0
- package/ts/colender/forecloseLoan.js +137 -9
- package/ts/colender/repayLoan.d.ts +16 -7
- package/ts/colender/repayLoan.js +117 -95
- package/ts/colender.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.js +1 -1
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addfathersname.js +1 -1
- package/ts/customers/addgstnumber.js +1 -1
- package/ts/customers/addmoredetails.d.ts +17 -12
- package/ts/customers/addmoredetails.js +189 -70
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/changempin.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/disablempin.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getdocuments.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getoccupationlist.d.ts +34 -0
- package/ts/customers/getoccupationlist.js +105 -0
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getselfieetxnid.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/logout.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/updatecustomerbyid.js +1 -1
- package/ts/customers/updatedlnumber.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatevehiclenumber.js +1 -1
- package/ts/customers/uploaddocuments.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.d.ts +14 -0
- package/ts/customers.js +11 -1
- package/ts/example.js +1 -1
- package/ts/growth/processchrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/futurepaymentmoredetails.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/sendemail.js +1 -1
- package/ts/loans/sendnocemail.js +1 -1
- package/ts/loans/transactionlist.js +1 -1
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans.js +1 -1
- package/ts/payments.js +1 -1
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
package/ts/colender/repayLoan.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
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.
|
|
5
|
+
// protoc v5.28.0
|
|
6
6
|
// source: colender/repayLoan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.repayResponse = exports.repayRequest = exports.protobufPackage = void 0;
|
|
11
|
+
exports.status = exports.repayResponse = exports.repayRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "colender.repayLoan";
|
|
@@ -136,45 +136,29 @@ exports.repayRequest = {
|
|
|
136
136
|
};
|
|
137
137
|
function createBaserepayResponse() {
|
|
138
138
|
return {
|
|
139
|
-
query:
|
|
139
|
+
query: undefined,
|
|
140
|
+
actionStatus: undefined,
|
|
141
|
+
installmentQuery: "",
|
|
142
|
+
paymentsQuery: "",
|
|
140
143
|
closeLoanQuery: undefined,
|
|
141
|
-
r_principal: 0,
|
|
142
|
-
r_interest: 0,
|
|
143
|
-
r_pif_principal: 0,
|
|
144
|
-
r_pif_interest: 0,
|
|
145
|
-
r_penalty: 0,
|
|
146
|
-
r_pif_penalty: 0,
|
|
147
|
-
status: "",
|
|
148
144
|
};
|
|
149
145
|
}
|
|
150
146
|
exports.repayResponse = {
|
|
151
147
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
152
|
-
if (message.query !==
|
|
148
|
+
if (message.query !== undefined) {
|
|
153
149
|
writer.uint32(10).string(message.query);
|
|
154
150
|
}
|
|
155
|
-
if (message.
|
|
156
|
-
writer.uint32(18).
|
|
157
|
-
}
|
|
158
|
-
if (message.r_principal !== 0) {
|
|
159
|
-
writer.uint32(24).int32(message.r_principal);
|
|
160
|
-
}
|
|
161
|
-
if (message.r_interest !== 0) {
|
|
162
|
-
writer.uint32(32).int32(message.r_interest);
|
|
151
|
+
if (message.actionStatus !== undefined) {
|
|
152
|
+
exports.status.encode(message.actionStatus, writer.uint32(18).fork()).ldelim();
|
|
163
153
|
}
|
|
164
|
-
if (message.
|
|
165
|
-
writer.uint32(
|
|
154
|
+
if (message.installmentQuery !== "") {
|
|
155
|
+
writer.uint32(26).string(message.installmentQuery);
|
|
166
156
|
}
|
|
167
|
-
if (message.
|
|
168
|
-
writer.uint32(
|
|
157
|
+
if (message.paymentsQuery !== "") {
|
|
158
|
+
writer.uint32(34).string(message.paymentsQuery);
|
|
169
159
|
}
|
|
170
|
-
if (message.
|
|
171
|
-
writer.uint32(
|
|
172
|
-
}
|
|
173
|
-
if (message.r_pif_penalty !== 0) {
|
|
174
|
-
writer.uint32(64).int32(message.r_pif_penalty);
|
|
175
|
-
}
|
|
176
|
-
if (message.status !== "") {
|
|
177
|
-
writer.uint32(74).string(message.status);
|
|
160
|
+
if (message.closeLoanQuery !== undefined) {
|
|
161
|
+
writer.uint32(42).string(message.closeLoanQuery);
|
|
178
162
|
}
|
|
179
163
|
return writer;
|
|
180
164
|
},
|
|
@@ -195,49 +179,25 @@ exports.repayResponse = {
|
|
|
195
179
|
if (tag !== 18) {
|
|
196
180
|
break;
|
|
197
181
|
}
|
|
198
|
-
message.
|
|
182
|
+
message.actionStatus = exports.status.decode(reader, reader.uint32());
|
|
199
183
|
continue;
|
|
200
184
|
case 3:
|
|
201
|
-
if (tag !==
|
|
185
|
+
if (tag !== 26) {
|
|
202
186
|
break;
|
|
203
187
|
}
|
|
204
|
-
message.
|
|
188
|
+
message.installmentQuery = reader.string();
|
|
205
189
|
continue;
|
|
206
190
|
case 4:
|
|
207
|
-
if (tag !==
|
|
191
|
+
if (tag !== 34) {
|
|
208
192
|
break;
|
|
209
193
|
}
|
|
210
|
-
message.
|
|
194
|
+
message.paymentsQuery = reader.string();
|
|
211
195
|
continue;
|
|
212
196
|
case 5:
|
|
213
|
-
if (tag !==
|
|
214
|
-
break;
|
|
215
|
-
}
|
|
216
|
-
message.r_pif_principal = reader.int32();
|
|
217
|
-
continue;
|
|
218
|
-
case 6:
|
|
219
|
-
if (tag !== 48) {
|
|
220
|
-
break;
|
|
221
|
-
}
|
|
222
|
-
message.r_pif_interest = reader.int32();
|
|
223
|
-
continue;
|
|
224
|
-
case 7:
|
|
225
|
-
if (tag !== 56) {
|
|
226
|
-
break;
|
|
227
|
-
}
|
|
228
|
-
message.r_penalty = reader.int32();
|
|
229
|
-
continue;
|
|
230
|
-
case 8:
|
|
231
|
-
if (tag !== 64) {
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
message.r_pif_penalty = reader.int32();
|
|
235
|
-
continue;
|
|
236
|
-
case 9:
|
|
237
|
-
if (tag !== 74) {
|
|
197
|
+
if (tag !== 42) {
|
|
238
198
|
break;
|
|
239
199
|
}
|
|
240
|
-
message.
|
|
200
|
+
message.closeLoanQuery = reader.string();
|
|
241
201
|
continue;
|
|
242
202
|
}
|
|
243
203
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -249,62 +209,124 @@ exports.repayResponse = {
|
|
|
249
209
|
},
|
|
250
210
|
fromJSON(object) {
|
|
251
211
|
return {
|
|
252
|
-
query: isSet(object.query) ? globalThis.String(object.query) :
|
|
212
|
+
query: isSet(object.query) ? globalThis.String(object.query) : undefined,
|
|
213
|
+
actionStatus: isSet(object.actionStatus) ? exports.status.fromJSON(object.actionStatus) : undefined,
|
|
214
|
+
installmentQuery: isSet(object.installmentQuery) ? globalThis.String(object.installmentQuery) : "",
|
|
215
|
+
paymentsQuery: isSet(object.paymentsQuery) ? globalThis.String(object.paymentsQuery) : "",
|
|
253
216
|
closeLoanQuery: isSet(object.closeLoanQuery) ? globalThis.String(object.closeLoanQuery) : undefined,
|
|
254
|
-
r_principal: isSet(object.r_principal) ? globalThis.Number(object.r_principal) : 0,
|
|
255
|
-
r_interest: isSet(object.r_interest) ? globalThis.Number(object.r_interest) : 0,
|
|
256
|
-
r_pif_principal: isSet(object.r_pif_principal) ? globalThis.Number(object.r_pif_principal) : 0,
|
|
257
|
-
r_pif_interest: isSet(object.r_pif_interest) ? globalThis.Number(object.r_pif_interest) : 0,
|
|
258
|
-
r_penalty: isSet(object.r_penalty) ? globalThis.Number(object.r_penalty) : 0,
|
|
259
|
-
r_pif_penalty: isSet(object.r_pif_penalty) ? globalThis.Number(object.r_pif_penalty) : 0,
|
|
260
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
261
217
|
};
|
|
262
218
|
},
|
|
263
219
|
toJSON(message) {
|
|
264
220
|
const obj = {};
|
|
265
|
-
if (message.query !==
|
|
221
|
+
if (message.query !== undefined) {
|
|
266
222
|
obj.query = message.query;
|
|
267
223
|
}
|
|
268
|
-
if (message.
|
|
269
|
-
obj.
|
|
224
|
+
if (message.actionStatus !== undefined) {
|
|
225
|
+
obj.actionStatus = exports.status.toJSON(message.actionStatus);
|
|
270
226
|
}
|
|
271
|
-
if (message.
|
|
272
|
-
obj.
|
|
227
|
+
if (message.installmentQuery !== "") {
|
|
228
|
+
obj.installmentQuery = message.installmentQuery;
|
|
273
229
|
}
|
|
274
|
-
if (message.
|
|
275
|
-
obj.
|
|
230
|
+
if (message.paymentsQuery !== "") {
|
|
231
|
+
obj.paymentsQuery = message.paymentsQuery;
|
|
276
232
|
}
|
|
277
|
-
if (message.
|
|
278
|
-
obj.
|
|
233
|
+
if (message.closeLoanQuery !== undefined) {
|
|
234
|
+
obj.closeLoanQuery = message.closeLoanQuery;
|
|
235
|
+
}
|
|
236
|
+
return obj;
|
|
237
|
+
},
|
|
238
|
+
create(base) {
|
|
239
|
+
return exports.repayResponse.fromPartial(base ?? {});
|
|
240
|
+
},
|
|
241
|
+
fromPartial(object) {
|
|
242
|
+
const message = createBaserepayResponse();
|
|
243
|
+
message.query = object.query ?? undefined;
|
|
244
|
+
message.actionStatus = (object.actionStatus !== undefined && object.actionStatus !== null)
|
|
245
|
+
? exports.status.fromPartial(object.actionStatus)
|
|
246
|
+
: undefined;
|
|
247
|
+
message.installmentQuery = object.installmentQuery ?? "";
|
|
248
|
+
message.paymentsQuery = object.paymentsQuery ?? "";
|
|
249
|
+
message.closeLoanQuery = object.closeLoanQuery ?? undefined;
|
|
250
|
+
return message;
|
|
251
|
+
},
|
|
252
|
+
};
|
|
253
|
+
function createBasestatus() {
|
|
254
|
+
return { status: "", error: undefined, message: "" };
|
|
255
|
+
}
|
|
256
|
+
exports.status = {
|
|
257
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
258
|
+
if (message.status !== "") {
|
|
259
|
+
writer.uint32(10).string(message.status);
|
|
279
260
|
}
|
|
280
|
-
if (message.
|
|
281
|
-
|
|
261
|
+
if (message.error !== undefined) {
|
|
262
|
+
writer.uint32(18).string(message.error);
|
|
282
263
|
}
|
|
283
|
-
if (message.
|
|
284
|
-
|
|
264
|
+
if (message.message !== "") {
|
|
265
|
+
writer.uint32(26).string(message.message);
|
|
285
266
|
}
|
|
286
|
-
|
|
287
|
-
|
|
267
|
+
return writer;
|
|
268
|
+
},
|
|
269
|
+
decode(input, length) {
|
|
270
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
271
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
272
|
+
const message = createBasestatus();
|
|
273
|
+
while (reader.pos < end) {
|
|
274
|
+
const tag = reader.uint32();
|
|
275
|
+
switch (tag >>> 3) {
|
|
276
|
+
case 1:
|
|
277
|
+
if (tag !== 10) {
|
|
278
|
+
break;
|
|
279
|
+
}
|
|
280
|
+
message.status = reader.string();
|
|
281
|
+
continue;
|
|
282
|
+
case 2:
|
|
283
|
+
if (tag !== 18) {
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
message.error = reader.string();
|
|
287
|
+
continue;
|
|
288
|
+
case 3:
|
|
289
|
+
if (tag !== 26) {
|
|
290
|
+
break;
|
|
291
|
+
}
|
|
292
|
+
message.message = reader.string();
|
|
293
|
+
continue;
|
|
294
|
+
}
|
|
295
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
296
|
+
break;
|
|
297
|
+
}
|
|
298
|
+
reader.skipType(tag & 7);
|
|
288
299
|
}
|
|
300
|
+
return message;
|
|
301
|
+
},
|
|
302
|
+
fromJSON(object) {
|
|
303
|
+
return {
|
|
304
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
305
|
+
error: isSet(object.error) ? globalThis.String(object.error) : undefined,
|
|
306
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
307
|
+
};
|
|
308
|
+
},
|
|
309
|
+
toJSON(message) {
|
|
310
|
+
const obj = {};
|
|
289
311
|
if (message.status !== "") {
|
|
290
312
|
obj.status = message.status;
|
|
291
313
|
}
|
|
314
|
+
if (message.error !== undefined) {
|
|
315
|
+
obj.error = message.error;
|
|
316
|
+
}
|
|
317
|
+
if (message.message !== "") {
|
|
318
|
+
obj.message = message.message;
|
|
319
|
+
}
|
|
292
320
|
return obj;
|
|
293
321
|
},
|
|
294
322
|
create(base) {
|
|
295
|
-
return exports.
|
|
323
|
+
return exports.status.fromPartial(base ?? {});
|
|
296
324
|
},
|
|
297
325
|
fromPartial(object) {
|
|
298
|
-
const message =
|
|
299
|
-
message.query = object.query ?? "";
|
|
300
|
-
message.closeLoanQuery = object.closeLoanQuery ?? undefined;
|
|
301
|
-
message.r_principal = object.r_principal ?? 0;
|
|
302
|
-
message.r_interest = object.r_interest ?? 0;
|
|
303
|
-
message.r_pif_principal = object.r_pif_principal ?? 0;
|
|
304
|
-
message.r_pif_interest = object.r_pif_interest ?? 0;
|
|
305
|
-
message.r_penalty = object.r_penalty ?? 0;
|
|
306
|
-
message.r_pif_penalty = object.r_pif_penalty ?? 0;
|
|
326
|
+
const message = createBasestatus();
|
|
307
327
|
message.status = object.status ?? "";
|
|
328
|
+
message.error = object.error ?? undefined;
|
|
329
|
+
message.message = object.message ?? "";
|
|
308
330
|
return message;
|
|
309
331
|
},
|
|
310
332
|
};
|
package/ts/colender.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 v5.
|
|
5
|
+
// protoc v5.28.0
|
|
6
6
|
// source: colender.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.colenderClient = exports.colenderService = exports.protobufPackage = void 0;
|
|
@@ -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.
|
|
5
|
+
// protoc v5.28.0
|
|
6
6
|
// source: customers/aa/getbanklist.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.
|
|
5
|
+
// protoc v5.28.0
|
|
6
6
|
// source: customers/aa/initiate.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.
|
|
5
|
+
// protoc v5.28.0
|
|
6
6
|
// source: customers/addaddress.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.
|
|
5
|
+
// protoc v5.28.0
|
|
6
6
|
// source: customers/addbankaccountdetails.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.
|
|
5
|
+
// protoc v5.28.0
|
|
6
6
|
// source: customers/addfathersname.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.
|
|
5
|
+
// protoc v5.28.0
|
|
6
6
|
// source: customers/addgstnumber.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "customers.addmoredetails";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export declare enum OccupationType {
|
|
4
|
+
SELF_EMPLOYED = 0,
|
|
5
|
+
SALARIED = 1,
|
|
6
|
+
UNRECOGNIZED = -1
|
|
6
7
|
}
|
|
8
|
+
export declare function occupationTypeFromJSON(object: any): OccupationType;
|
|
9
|
+
export declare function occupationTypeToJSON(object: OccupationType): string;
|
|
7
10
|
export interface addMoreDetailsRequest {
|
|
8
|
-
|
|
11
|
+
father_name: string;
|
|
12
|
+
occupation: OccupationType;
|
|
13
|
+
cur_house?: string | undefined;
|
|
14
|
+
cur_address_line1: string;
|
|
15
|
+
cur_address_line2: string;
|
|
16
|
+
cur_pincode: string;
|
|
17
|
+
is_same_per_address: boolean;
|
|
18
|
+
per_house?: string | undefined;
|
|
19
|
+
per_address_line1?: string | undefined;
|
|
20
|
+
per_address_line2?: string | undefined;
|
|
21
|
+
per_pincode?: string | undefined;
|
|
9
22
|
}
|
|
10
23
|
export interface addMoreDetailsResponse {
|
|
11
24
|
message: string;
|
|
12
25
|
}
|
|
13
|
-
export declare const RequestBody: {
|
|
14
|
-
encode(message: RequestBody, writer?: _m0.Writer): _m0.Writer;
|
|
15
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RequestBody;
|
|
16
|
-
fromJSON(object: any): RequestBody;
|
|
17
|
-
toJSON(message: RequestBody): unknown;
|
|
18
|
-
create<I extends Exact<DeepPartial<RequestBody>, I>>(base?: I): RequestBody;
|
|
19
|
-
fromPartial<I extends Exact<DeepPartial<RequestBody>, I>>(object: I): RequestBody;
|
|
20
|
-
};
|
|
21
26
|
export declare const addMoreDetailsRequest: {
|
|
22
27
|
encode(message: addMoreDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
23
28
|
decode(input: _m0.Reader | Uint8Array, length?: number): addMoreDetailsRequest;
|