@stashfin/grpc 1.2.169 → 1.2.170
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.d.ts +57 -0
- package/ts/bureau/getbasicdetails.js +341 -0
- package/ts/bureau/getdemogs.d.ts +113 -0
- package/ts/bureau/getdemogs.js +611 -0
- package/ts/bureau/getreport.d.ts +188 -0
- package/ts/bureau/getreport.js +1640 -0
- package/ts/bureau.d.ts +56 -0
- package/ts/bureau.js +44 -0
- package/ts/colender/disburseLoan.d.ts +44 -0
- package/ts/colender/disburseLoan.js +256 -0
- package/ts/colender/forecloseLoan.d.ts +41 -0
- package/ts/colender/forecloseLoan.js +205 -0
- package/ts/colender/repayLoan.d.ts +48 -0
- package/ts/colender/repayLoan.js +313 -0
- package/ts/colender.d.ts +56 -0
- package/ts/colender.js +44 -0
- package/ts/customers/aa/getbanklist.d.ts +48 -0
- package/ts/customers/aa/getbanklist.js +198 -0
- package/ts/customers/aa/initiate.d.ts +40 -0
- package/ts/customers/aa/initiate.js +209 -0
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/addfathersname.d.ts +35 -0
- package/ts/customers/addfathersname.js +117 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addmoredetails.d.ts +60 -0
- package/ts/customers/addmoredetails.js +314 -0
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/adduserapps.d.ts +74 -0
- package/ts/customers/adduserapps.js +210 -0
- package/ts/customers/bulksms.d.ts +48 -0
- package/ts/customers/bulksms.js +201 -0
- package/ts/customers/changempin.d.ts +36 -0
- package/ts/customers/changempin.js +133 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/deleteprofile.d.ts +35 -0
- package/ts/customers/deleteprofile.js +120 -0
- package/ts/customers/disablempin.d.ts +34 -0
- package/ts/customers/disablempin.js +104 -0
- package/ts/customers/fetchrcprofile.d.ts +45 -0
- package/ts/customers/fetchrcprofile.js +271 -0
- package/ts/customers/forgotmpin.d.ts +35 -0
- package/ts/customers/forgotmpin.js +117 -0
- package/ts/customers/forgotmpinverify.d.ts +36 -0
- package/ts/customers/forgotmpinverify.js +133 -0
- package/ts/customers/getbankaccountdetails.d.ts +37 -0
- package/ts/customers/getbankaccountdetails.js +148 -0
- package/ts/customers/getbasicinfo.d.ts +56 -0
- package/ts/customers/getbasicinfo.js +323 -0
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcompanyaccdetails.d.ts +37 -0
- package/ts/customers/getcompanyaccdetails.js +148 -0
- package/ts/customers/getcustomerbyid.d.ts +142 -0
- package/ts/customers/getcustomerbyid.js +1521 -0
- package/ts/customers/getdashboard.d.ts +88 -0
- package/ts/customers/getdashboard.js +574 -0
- package/ts/customers/getdashboardmaincard.d.ts +70 -0
- package/ts/customers/getdashboardmaincard.js +534 -0
- package/ts/customers/getdocuments.d.ts +46 -0
- package/ts/customers/getdocuments.js +174 -0
- package/ts/customers/getlimit.d.ts +37 -0
- package/ts/customers/getlimit.js +148 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +54 -0
- package/ts/customers/getprofile.js +296 -0
- package/ts/customers/getselfieetxnid.d.ts +34 -0
- package/ts/customers/getselfieetxnid.js +104 -0
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +69 -0
- package/ts/customers/getstep.js +406 -0
- package/ts/customers/logout.d.ts +34 -0
- package/ts/customers/logout.js +104 -0
- package/ts/customers/profilebasic.d.ts +40 -0
- package/ts/customers/profilebasic.js +189 -0
- package/ts/customers/profileupdatetnc.d.ts +35 -0
- package/ts/customers/profileupdatetnc.js +117 -0
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendotp.d.ts +38 -0
- package/ts/customers/sendotp.js +165 -0
- package/ts/customers/sendotptoemail.d.ts +35 -0
- package/ts/customers/sendotptoemail.js +117 -0
- package/ts/customers/setmpin.d.ts +36 -0
- package/ts/customers/setmpin.js +133 -0
- package/ts/customers/skipscreen.d.ts +44 -0
- package/ts/customers/skipscreen.js +162 -0
- package/ts/customers/updatecustomerbyid.d.ts +48 -0
- package/ts/customers/updatecustomerbyid.js +201 -0
- package/ts/customers/updatedlnumber.d.ts +35 -0
- package/ts/customers/updatedlnumber.js +119 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/customers/updatedob.js +117 -0
- package/ts/customers/updatelocstatus.d.ts +36 -0
- package/ts/customers/updatelocstatus.js +133 -0
- package/ts/customers/updatemobilesendotp.d.ts +35 -0
- package/ts/customers/updatemobilesendotp.js +117 -0
- package/ts/customers/updatemobileverifyotp.d.ts +36 -0
- package/ts/customers/updatemobileverifyotp.js +133 -0
- package/ts/customers/updateokyctxn.d.ts +37 -0
- package/ts/customers/updateokyctxn.js +147 -0
- package/ts/customers/updateselfieetxn.d.ts +36 -0
- package/ts/customers/updateselfieetxn.js +133 -0
- package/ts/customers/updatevehiclenumber.d.ts +35 -0
- package/ts/customers/updatevehiclenumber.js +117 -0
- package/ts/customers/uploaddocuments.d.ts +37 -0
- package/ts/customers/uploaddocuments.js +172 -0
- package/ts/customers/validatepan.d.ts +45 -0
- package/ts/customers/validatepan.js +274 -0
- package/ts/customers/verifympin.d.ts +37 -0
- package/ts/customers/verifympin.js +149 -0
- package/ts/customers/verifyotp.d.ts +41 -0
- package/ts/customers/verifyotp.js +205 -0
- package/ts/customers/verifyotptoemail.d.ts +35 -0
- package/ts/customers/verifyotptoemail.js +117 -0
- package/ts/customers.d.ts +796 -0
- package/ts/customers.js +572 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/ts/growth/processchrpayment.d.ts +40 -0
- package/ts/growth/processchrpayment.js +205 -0
- package/ts/growth.d.ts +28 -0
- package/ts/growth.js +24 -0
- package/ts/loans/approveloan.d.ts +81 -0
- package/ts/loans/approveloan.js +703 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +57 -0
- package/ts/loans/calculateemi.js +340 -0
- package/ts/loans/creditlimit.d.ts +51 -0
- package/ts/loans/creditlimit.js +381 -0
- package/ts/loans/futurepaymentmoredetails.d.ts +50 -0
- package/ts/loans/futurepaymentmoredetails.js +230 -0
- package/ts/loans/getbilldetails.d.ts +38 -0
- package/ts/loans/getbilldetails.js +161 -0
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/getloanbyid.d.ts +48 -0
- package/ts/loans/getloanbyid.js +318 -0
- package/ts/loans/getnextdueamount.d.ts +34 -0
- package/ts/loans/getnextdueamount.js +104 -0
- package/ts/loans/getpendingemiamount.d.ts +34 -0
- package/ts/loans/getpendingemiamount.js +104 -0
- package/ts/loans/getsummarystaticfields.d.ts +80 -0
- package/ts/loans/getsummarystaticfields.js +700 -0
- package/ts/loans/loansummary.d.ts +66 -0
- package/ts/loans/loansummary.js +593 -0
- package/ts/loans/paymentallocation.d.ts +38 -0
- package/ts/loans/paymentallocation.js +161 -0
- package/ts/loans/paymenthistory.d.ts +47 -0
- package/ts/loans/paymenthistory.js +188 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans/transactionlist.d.ts +52 -0
- package/ts/loans/transactionlist.js +257 -0
- package/ts/loans/updateinstallments.d.ts +42 -0
- package/ts/loans/updateinstallments.js +226 -0
- package/ts/loans/updateloan.d.ts +37 -0
- package/ts/loans/updateloan.js +147 -0
- package/ts/loans.d.ts +294 -0
- package/ts/loans.js +214 -0
- package/ts/payments.d.ts +239 -0
- package/ts/payments.js +1117 -0
- package/ts/stashcash/creditsc.d.ts +54 -0
- package/ts/stashcash/creditsc.js +301 -0
- package/ts/stashcash/debitsc.d.ts +59 -0
- package/ts/stashcash/debitsc.js +380 -0
- package/ts/stashcash/getscbalance.d.ts +53 -0
- package/ts/stashcash/getscbalance.js +293 -0
- package/ts/stashcash/getschistory.d.ts +73 -0
- package/ts/stashcash/getschistory.js +479 -0
- package/ts/stashcash/reversesc.d.ts +52 -0
- package/ts/stashcash/reversesc.js +273 -0
- package/ts/stashcash.d.ts +84 -0
- package/ts/stashcash.js +64 -0
|
@@ -0,0 +1,104 @@
|
|
|
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.27.4
|
|
6
|
+
// source: customers/disablempin.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.disableMpinResponse = exports.disableMpinRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.disablempin";
|
|
15
|
+
function createBasedisableMpinRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.disableMpinRequest = {
|
|
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 = createBasedisableMpinRequest();
|
|
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.disableMpinRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasedisableMpinRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasedisableMpinResponse() {
|
|
53
|
+
return { status: false };
|
|
54
|
+
}
|
|
55
|
+
exports.disableMpinResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.status !== false) {
|
|
58
|
+
writer.uint32(8).bool(message.status);
|
|
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 = createBasedisableMpinResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 8) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.status = reader.bool();
|
|
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 { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.status !== false) {
|
|
89
|
+
obj.status = message.status;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.disableMpinResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBasedisableMpinResponse();
|
|
98
|
+
message.status = object.status ?? false;
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.fetchrcprofile";
|
|
3
|
+
export interface fetchRCProfileRequest {
|
|
4
|
+
rcNumber: string;
|
|
5
|
+
drivingLicenseNumber: string;
|
|
6
|
+
dateOfBirth: string;
|
|
7
|
+
}
|
|
8
|
+
export interface fetchRCProfileResponse {
|
|
9
|
+
customerId: number;
|
|
10
|
+
requestId: string;
|
|
11
|
+
rcNumber: string;
|
|
12
|
+
name: string;
|
|
13
|
+
presentAddress: string;
|
|
14
|
+
permanentAddress: string;
|
|
15
|
+
fatherName: string;
|
|
16
|
+
financed: boolean;
|
|
17
|
+
financier: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const fetchRCProfileRequest: {
|
|
20
|
+
encode(message: fetchRCProfileRequest, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): fetchRCProfileRequest;
|
|
22
|
+
fromJSON(object: any): fetchRCProfileRequest;
|
|
23
|
+
toJSON(message: fetchRCProfileRequest): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<fetchRCProfileRequest>, I>>(base?: I): fetchRCProfileRequest;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<fetchRCProfileRequest>, I>>(object: I): fetchRCProfileRequest;
|
|
26
|
+
};
|
|
27
|
+
export declare const fetchRCProfileResponse: {
|
|
28
|
+
encode(message: fetchRCProfileResponse, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): fetchRCProfileResponse;
|
|
30
|
+
fromJSON(object: any): fetchRCProfileResponse;
|
|
31
|
+
toJSON(message: fetchRCProfileResponse): unknown;
|
|
32
|
+
create<I extends Exact<DeepPartial<fetchRCProfileResponse>, I>>(base?: I): fetchRCProfileResponse;
|
|
33
|
+
fromPartial<I extends Exact<DeepPartial<fetchRCProfileResponse>, I>>(object: I): fetchRCProfileResponse;
|
|
34
|
+
};
|
|
35
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
36
|
+
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 {} ? {
|
|
37
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
38
|
+
} : Partial<T>;
|
|
39
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
40
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
41
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
42
|
+
} & {
|
|
43
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
44
|
+
};
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,271 @@
|
|
|
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.27.4
|
|
6
|
+
// source: customers/fetchrcprofile.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.fetchRCProfileResponse = exports.fetchRCProfileRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.fetchrcprofile";
|
|
15
|
+
function createBasefetchRCProfileRequest() {
|
|
16
|
+
return { rcNumber: "", drivingLicenseNumber: "", dateOfBirth: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.fetchRCProfileRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.rcNumber !== "") {
|
|
21
|
+
writer.uint32(10).string(message.rcNumber);
|
|
22
|
+
}
|
|
23
|
+
if (message.drivingLicenseNumber !== "") {
|
|
24
|
+
writer.uint32(18).string(message.drivingLicenseNumber);
|
|
25
|
+
}
|
|
26
|
+
if (message.dateOfBirth !== "") {
|
|
27
|
+
writer.uint32(26).string(message.dateOfBirth);
|
|
28
|
+
}
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input, length) {
|
|
32
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBasefetchRCProfileRequest();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
if (tag !== 10) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
message.rcNumber = reader.string();
|
|
43
|
+
continue;
|
|
44
|
+
case 2:
|
|
45
|
+
if (tag !== 18) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.drivingLicenseNumber = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 26) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.dateOfBirth = reader.string();
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
57
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
reader.skipType(tag & 7);
|
|
61
|
+
}
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
fromJSON(object) {
|
|
65
|
+
return {
|
|
66
|
+
rcNumber: isSet(object.rcNumber) ? globalThis.String(object.rcNumber) : "",
|
|
67
|
+
drivingLicenseNumber: isSet(object.drivingLicenseNumber) ? globalThis.String(object.drivingLicenseNumber) : "",
|
|
68
|
+
dateOfBirth: isSet(object.dateOfBirth) ? globalThis.String(object.dateOfBirth) : "",
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
toJSON(message) {
|
|
72
|
+
const obj = {};
|
|
73
|
+
if (message.rcNumber !== "") {
|
|
74
|
+
obj.rcNumber = message.rcNumber;
|
|
75
|
+
}
|
|
76
|
+
if (message.drivingLicenseNumber !== "") {
|
|
77
|
+
obj.drivingLicenseNumber = message.drivingLicenseNumber;
|
|
78
|
+
}
|
|
79
|
+
if (message.dateOfBirth !== "") {
|
|
80
|
+
obj.dateOfBirth = message.dateOfBirth;
|
|
81
|
+
}
|
|
82
|
+
return obj;
|
|
83
|
+
},
|
|
84
|
+
create(base) {
|
|
85
|
+
return exports.fetchRCProfileRequest.fromPartial(base ?? {});
|
|
86
|
+
},
|
|
87
|
+
fromPartial(object) {
|
|
88
|
+
const message = createBasefetchRCProfileRequest();
|
|
89
|
+
message.rcNumber = object.rcNumber ?? "";
|
|
90
|
+
message.drivingLicenseNumber = object.drivingLicenseNumber ?? "";
|
|
91
|
+
message.dateOfBirth = object.dateOfBirth ?? "";
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
function createBasefetchRCProfileResponse() {
|
|
96
|
+
return {
|
|
97
|
+
customerId: 0,
|
|
98
|
+
requestId: "",
|
|
99
|
+
rcNumber: "",
|
|
100
|
+
name: "",
|
|
101
|
+
presentAddress: "",
|
|
102
|
+
permanentAddress: "",
|
|
103
|
+
fatherName: "",
|
|
104
|
+
financed: false,
|
|
105
|
+
financier: "",
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
exports.fetchRCProfileResponse = {
|
|
109
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
110
|
+
if (message.customerId !== 0) {
|
|
111
|
+
writer.uint32(8).int32(message.customerId);
|
|
112
|
+
}
|
|
113
|
+
if (message.requestId !== "") {
|
|
114
|
+
writer.uint32(18).string(message.requestId);
|
|
115
|
+
}
|
|
116
|
+
if (message.rcNumber !== "") {
|
|
117
|
+
writer.uint32(26).string(message.rcNumber);
|
|
118
|
+
}
|
|
119
|
+
if (message.name !== "") {
|
|
120
|
+
writer.uint32(34).string(message.name);
|
|
121
|
+
}
|
|
122
|
+
if (message.presentAddress !== "") {
|
|
123
|
+
writer.uint32(42).string(message.presentAddress);
|
|
124
|
+
}
|
|
125
|
+
if (message.permanentAddress !== "") {
|
|
126
|
+
writer.uint32(50).string(message.permanentAddress);
|
|
127
|
+
}
|
|
128
|
+
if (message.fatherName !== "") {
|
|
129
|
+
writer.uint32(58).string(message.fatherName);
|
|
130
|
+
}
|
|
131
|
+
if (message.financed !== false) {
|
|
132
|
+
writer.uint32(64).bool(message.financed);
|
|
133
|
+
}
|
|
134
|
+
if (message.financier !== "") {
|
|
135
|
+
writer.uint32(74).string(message.financier);
|
|
136
|
+
}
|
|
137
|
+
return writer;
|
|
138
|
+
},
|
|
139
|
+
decode(input, length) {
|
|
140
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
141
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
142
|
+
const message = createBasefetchRCProfileResponse();
|
|
143
|
+
while (reader.pos < end) {
|
|
144
|
+
const tag = reader.uint32();
|
|
145
|
+
switch (tag >>> 3) {
|
|
146
|
+
case 1:
|
|
147
|
+
if (tag !== 8) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
message.customerId = reader.int32();
|
|
151
|
+
continue;
|
|
152
|
+
case 2:
|
|
153
|
+
if (tag !== 18) {
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
message.requestId = reader.string();
|
|
157
|
+
continue;
|
|
158
|
+
case 3:
|
|
159
|
+
if (tag !== 26) {
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
message.rcNumber = reader.string();
|
|
163
|
+
continue;
|
|
164
|
+
case 4:
|
|
165
|
+
if (tag !== 34) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
message.name = reader.string();
|
|
169
|
+
continue;
|
|
170
|
+
case 5:
|
|
171
|
+
if (tag !== 42) {
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
message.presentAddress = reader.string();
|
|
175
|
+
continue;
|
|
176
|
+
case 6:
|
|
177
|
+
if (tag !== 50) {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
message.permanentAddress = reader.string();
|
|
181
|
+
continue;
|
|
182
|
+
case 7:
|
|
183
|
+
if (tag !== 58) {
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
message.fatherName = reader.string();
|
|
187
|
+
continue;
|
|
188
|
+
case 8:
|
|
189
|
+
if (tag !== 64) {
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
message.financed = reader.bool();
|
|
193
|
+
continue;
|
|
194
|
+
case 9:
|
|
195
|
+
if (tag !== 74) {
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
198
|
+
message.financier = reader.string();
|
|
199
|
+
continue;
|
|
200
|
+
}
|
|
201
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
reader.skipType(tag & 7);
|
|
205
|
+
}
|
|
206
|
+
return message;
|
|
207
|
+
},
|
|
208
|
+
fromJSON(object) {
|
|
209
|
+
return {
|
|
210
|
+
customerId: isSet(object.customerId) ? globalThis.Number(object.customerId) : 0,
|
|
211
|
+
requestId: isSet(object.requestId) ? globalThis.String(object.requestId) : "",
|
|
212
|
+
rcNumber: isSet(object.rcNumber) ? globalThis.String(object.rcNumber) : "",
|
|
213
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
214
|
+
presentAddress: isSet(object.presentAddress) ? globalThis.String(object.presentAddress) : "",
|
|
215
|
+
permanentAddress: isSet(object.permanentAddress) ? globalThis.String(object.permanentAddress) : "",
|
|
216
|
+
fatherName: isSet(object.fatherName) ? globalThis.String(object.fatherName) : "",
|
|
217
|
+
financed: isSet(object.financed) ? globalThis.Boolean(object.financed) : false,
|
|
218
|
+
financier: isSet(object.financier) ? globalThis.String(object.financier) : "",
|
|
219
|
+
};
|
|
220
|
+
},
|
|
221
|
+
toJSON(message) {
|
|
222
|
+
const obj = {};
|
|
223
|
+
if (message.customerId !== 0) {
|
|
224
|
+
obj.customerId = Math.round(message.customerId);
|
|
225
|
+
}
|
|
226
|
+
if (message.requestId !== "") {
|
|
227
|
+
obj.requestId = message.requestId;
|
|
228
|
+
}
|
|
229
|
+
if (message.rcNumber !== "") {
|
|
230
|
+
obj.rcNumber = message.rcNumber;
|
|
231
|
+
}
|
|
232
|
+
if (message.name !== "") {
|
|
233
|
+
obj.name = message.name;
|
|
234
|
+
}
|
|
235
|
+
if (message.presentAddress !== "") {
|
|
236
|
+
obj.presentAddress = message.presentAddress;
|
|
237
|
+
}
|
|
238
|
+
if (message.permanentAddress !== "") {
|
|
239
|
+
obj.permanentAddress = message.permanentAddress;
|
|
240
|
+
}
|
|
241
|
+
if (message.fatherName !== "") {
|
|
242
|
+
obj.fatherName = message.fatherName;
|
|
243
|
+
}
|
|
244
|
+
if (message.financed !== false) {
|
|
245
|
+
obj.financed = message.financed;
|
|
246
|
+
}
|
|
247
|
+
if (message.financier !== "") {
|
|
248
|
+
obj.financier = message.financier;
|
|
249
|
+
}
|
|
250
|
+
return obj;
|
|
251
|
+
},
|
|
252
|
+
create(base) {
|
|
253
|
+
return exports.fetchRCProfileResponse.fromPartial(base ?? {});
|
|
254
|
+
},
|
|
255
|
+
fromPartial(object) {
|
|
256
|
+
const message = createBasefetchRCProfileResponse();
|
|
257
|
+
message.customerId = object.customerId ?? 0;
|
|
258
|
+
message.requestId = object.requestId ?? "";
|
|
259
|
+
message.rcNumber = object.rcNumber ?? "";
|
|
260
|
+
message.name = object.name ?? "";
|
|
261
|
+
message.presentAddress = object.presentAddress ?? "";
|
|
262
|
+
message.permanentAddress = object.permanentAddress ?? "";
|
|
263
|
+
message.fatherName = object.fatherName ?? "";
|
|
264
|
+
message.financed = object.financed ?? false;
|
|
265
|
+
message.financier = object.financier ?? "";
|
|
266
|
+
return message;
|
|
267
|
+
},
|
|
268
|
+
};
|
|
269
|
+
function isSet(value) {
|
|
270
|
+
return value !== null && value !== undefined;
|
|
271
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.forgotmpin";
|
|
3
|
+
export interface forgotMpinRequest {
|
|
4
|
+
mobile: string;
|
|
5
|
+
}
|
|
6
|
+
export interface forgotMpinResponse {
|
|
7
|
+
status: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const forgotMpinRequest: {
|
|
10
|
+
encode(message: forgotMpinRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forgotMpinRequest;
|
|
12
|
+
fromJSON(object: any): forgotMpinRequest;
|
|
13
|
+
toJSON(message: forgotMpinRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<forgotMpinRequest>, I>>(base?: I): forgotMpinRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<forgotMpinRequest>, I>>(object: I): forgotMpinRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const forgotMpinResponse: {
|
|
18
|
+
encode(message: forgotMpinResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forgotMpinResponse;
|
|
20
|
+
fromJSON(object: any): forgotMpinResponse;
|
|
21
|
+
toJSON(message: forgotMpinResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<forgotMpinResponse>, I>>(base?: I): forgotMpinResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<forgotMpinResponse>, I>>(object: I): forgotMpinResponse;
|
|
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.27.4
|
|
6
|
+
// source: customers/forgotmpin.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.forgotMpinResponse = exports.forgotMpinRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.forgotmpin";
|
|
15
|
+
function createBaseforgotMpinRequest() {
|
|
16
|
+
return { mobile: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.forgotMpinRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.mobile !== "") {
|
|
21
|
+
writer.uint32(10).string(message.mobile);
|
|
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 = createBaseforgotMpinRequest();
|
|
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.mobile = 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 { mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.mobile !== "") {
|
|
52
|
+
obj.mobile = message.mobile;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.forgotMpinRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseforgotMpinRequest();
|
|
61
|
+
message.mobile = object.mobile ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseforgotMpinResponse() {
|
|
66
|
+
return { status: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.forgotMpinResponse = {
|
|
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 = createBaseforgotMpinResponse();
|
|
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.forgotMpinResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBaseforgotMpinResponse();
|
|
111
|
+
message.status = object.status ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.forgotmpinverify";
|
|
3
|
+
export interface forgotMpinVerifyRequest {
|
|
4
|
+
mobile: string;
|
|
5
|
+
otp: string;
|
|
6
|
+
}
|
|
7
|
+
export interface forgotMpinVerifyResponse {
|
|
8
|
+
status: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const forgotMpinVerifyRequest: {
|
|
11
|
+
encode(message: forgotMpinVerifyRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forgotMpinVerifyRequest;
|
|
13
|
+
fromJSON(object: any): forgotMpinVerifyRequest;
|
|
14
|
+
toJSON(message: forgotMpinVerifyRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<forgotMpinVerifyRequest>, I>>(base?: I): forgotMpinVerifyRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<forgotMpinVerifyRequest>, I>>(object: I): forgotMpinVerifyRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const forgotMpinVerifyResponse: {
|
|
19
|
+
encode(message: forgotMpinVerifyResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forgotMpinVerifyResponse;
|
|
21
|
+
fromJSON(object: any): forgotMpinVerifyResponse;
|
|
22
|
+
toJSON(message: forgotMpinVerifyResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<forgotMpinVerifyResponse>, I>>(base?: I): forgotMpinVerifyResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<forgotMpinVerifyResponse>, I>>(object: I): forgotMpinVerifyResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|