@stashfin/grpc 1.2.54 → 1.2.59
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 +3 -3
- 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/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/forgotmpin.d.ts +36 -0
- package/ts/customers/forgotmpin.js +133 -0
- package/ts/customers/forgotmpinotp.d.ts +34 -0
- package/ts/customers/forgotmpinotp.js +104 -0
- package/ts/customers/getbankaccountdetails.d.ts +36 -0
- package/ts/customers/getbankaccountdetails.js +134 -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/getcustomerbyid.d.ts +55 -0
- package/ts/customers/getcustomerbyid.js +421 -0
- package/ts/customers/getdashboard.d.ts +91 -0
- package/ts/customers/getdashboard.js +618 -0
- package/ts/customers/getdashboardmaincard.d.ts +69 -0
- package/ts/customers/getdashboardmaincard.js +520 -0
- package/ts/customers/getkycweburl.d.ts +34 -0
- package/ts/customers/getkycweburl.js +104 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +53 -0
- package/ts/customers/getprofile.js +282 -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/profilebasic.d.ts +38 -0
- package/ts/customers/profilebasic.js +161 -0
- package/ts/customers/profileupdatetnc.d.ts +35 -0
- package/ts/customers/profileupdatetnc.js +117 -0
- package/ts/customers/resetmpin.d.ts +36 -0
- package/ts/customers/resetmpin.js +133 -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/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/sendotp.d.ts +38 -0
- package/ts/customers/sendotp.js +165 -0
- package/ts/customers/setmpin.d.ts +36 -0
- package/ts/customers/setmpin.js +133 -0
- package/ts/customers/step1.d.ts +71 -0
- package/ts/customers/step1.js +423 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +67 -0
- package/ts/customers/step2.js +366 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/updatedigilockertxn.d.ts +37 -0
- package/ts/customers/updatedigilockertxn.js +147 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/customers/updatedob.js +117 -0
- package/ts/customers/updatehypervergetxn.d.ts +36 -0
- package/ts/customers/updatehypervergetxn.js +133 -0
- package/ts/customers/validatepan.d.ts +45 -0
- package/ts/customers/validatepan.js +274 -0
- package/ts/customers/verifyemail.d.ts +35 -0
- package/ts/customers/verifyemail.js +117 -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.d.ts +596 -0
- package/ts/customers.js +428 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/{src/ts/google/protobuf/timestamp.ts → ts/google/protobuf/timestamp.d.ts} +30 -126
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/loans/approveloan.d.ts +39 -0
- package/ts/loans/approveloan.js +175 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +51 -0
- package/ts/loans/calculateemi.js +243 -0
- package/ts/loans/creditlimit.d.ts +43 -0
- package/ts/loans/creditlimit.js +247 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/transactionlist.d.ts +50 -0
- package/ts/loans/transactionlist.js +229 -0
- package/ts/loans/updateinstallments.d.ts +42 -0
- package/ts/loans/updateinstallments.js +226 -0
- package/ts/loans/updateloan.d.ts +39 -0
- package/ts/loans/updateloan.js +175 -0
- package/ts/loans.d.ts +126 -0
- package/ts/loans.js +94 -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
- package/README.md +0 -74
- package/src/proto/customers/addaddress.proto +0 -25
- package/src/proto/customers/addbankaccountdetails.proto +0 -13
- package/src/proto/customers/createcustomerreference.proto +0 -21
- package/src/proto/customers/forgotmpin.proto +0 -12
- package/src/proto/customers/forgotmpinotp.proto +0 -10
- package/src/proto/customers/getbankaccountdetails.proto +0 -11
- package/src/proto/customers/getbasicinfo.proto +0 -24
- package/src/proto/customers/getcities.proto +0 -16
- package/src/proto/customers/getcustomerbyid.proto +0 -31
- package/src/proto/customers/getdashboard.proto +0 -47
- package/src/proto/customers/getdashboardmaincard.proto +0 -37
- package/src/proto/customers/getkycweburl.proto +0 -10
- package/src/proto/customers/getprofessionalinfo.proto +0 -22
- package/src/proto/customers/getprofile.proto +0 -22
- package/src/proto/customers/getstates.proto +0 -15
- package/src/proto/customers/getstep.proto +0 -30
- package/src/proto/customers/profilebasic.proto +0 -14
- package/src/proto/customers/profileupdatetnc.proto +0 -11
- package/src/proto/customers/resetmpin.proto +0 -13
- package/src/proto/customers/savebasicdetails.proto +0 -16
- package/src/proto/customers/saveunlocklimit.proto +0 -10
- package/src/proto/customers/sendemailtoken.proto +0 -11
- package/src/proto/customers/sendotp.proto +0 -14
- package/src/proto/customers/setmpin.proto +0 -12
- package/src/proto/customers/step10.proto +0 -34
- package/src/proto/customers/step7.proto +0 -29
- package/src/proto/customers/step8.proto +0 -30
- package/src/proto/customers/step9.proto +0 -36
- package/src/proto/customers/stepstatic.proto +0 -27
- package/src/proto/customers/updatedigilockertxn.proto +0 -13
- package/src/proto/customers/updatedob.proto +0 -13
- package/src/proto/customers/updatehypervergetxn.proto +0 -12
- package/src/proto/customers/verifyemail.proto +0 -11
- package/src/proto/customers/verifympin.proto +0 -13
- package/src/proto/customers/verifyotp.proto +0 -17
- package/src/proto/customers.proto +0 -83
- package/src/proto/example.proto +0 -20
- package/src/proto/loans/approveloan.proto +0 -15
- package/src/proto/loans/banklist.proto +0 -12
- package/src/proto/loans/calculateemi.proto +0 -20
- package/src/proto/loans/creditlimit.proto +0 -18
- package/src/proto/loans/restructureloan.proto +0 -12
- package/src/proto/loans/transactionlist.proto +0 -18
- package/src/proto/loans/updateinstallments.proto +0 -19
- package/src/proto/loans/updateloan.proto +0 -15
- package/src/proto/loans.proto +0 -23
- package/src/proto/stashcash/creditsc.proto +0 -22
- package/src/proto/stashcash/debitsc.proto +0 -27
- package/src/proto/stashcash/getscbalance.proto +0 -21
- package/src/proto/stashcash/getschistory.proto +0 -35
- package/src/proto/stashcash/reversesc.proto +0 -20
- package/src/proto/stashcash.proto +0 -17
- package/src/ts/customers/addaddress.ts +0 -310
- package/src/ts/customers/addbankaccountdetails.ts +0 -184
- package/src/ts/customers/createcustomerreference.ts +0 -276
- package/src/ts/customers/getbankaccountdetails.ts +0 -169
- package/src/ts/customers/getbasicinfo.ts +0 -385
- package/src/ts/customers/getcities.ts +0 -227
- package/src/ts/customers/getcustomerbyid.ts +0 -492
- package/src/ts/customers/getdashboard.ts +0 -728
- package/src/ts/customers/getdashboardmaincard.ts +0 -608
- package/src/ts/customers/getkycweburl.ts +0 -133
- package/src/ts/customers/getprofessionalinfo.ts +0 -344
- package/src/ts/customers/getprofile.ts +0 -338
- package/src/ts/customers/getstates.ts +0 -212
- package/src/ts/customers/getstep.ts +0 -483
- package/src/ts/customers/profilebasic.ts +0 -198
- package/src/ts/customers/profileupdatetnc.ts +0 -148
- package/src/ts/customers/resetmpin.ts +0 -166
- package/src/ts/customers/savebasicdetails.ts +0 -229
- package/src/ts/customers/saveunlocklimit.ts +0 -133
- package/src/ts/customers/sendemailtoken.ts +0 -148
- package/src/ts/customers/sendotp.ts +0 -202
- package/src/ts/customers/setmpin.ts +0 -166
- package/src/ts/customers/step10.ts +0 -544
- package/src/ts/customers/step7.ts +0 -456
- package/src/ts/customers/step8.ts +0 -472
- package/src/ts/customers/step9.ts +0 -578
- package/src/ts/customers/stepstatic.ts +0 -425
- package/src/ts/customers/updatedigilockertxn.ts +0 -182
- package/src/ts/customers/updatehypervergetxn.ts +0 -166
- package/src/ts/customers/verifyemail.ts +0 -148
- package/src/ts/customers/verifympin.ts +0 -184
- package/src/ts/customers/verifyotp.ts +0 -232
- package/src/ts/customers.ts +0 -1038
- package/src/ts/example.ts +0 -294
- package/src/ts/loans/approveloan.ts +0 -214
- package/src/ts/loans/banklist.ts +0 -183
- package/src/ts/loans/calculateemi.ts +0 -295
- package/src/ts/loans/creditlimit.ts +0 -294
- package/src/ts/loans/restructureloan.ts +0 -166
- package/src/ts/loans/transactionlist.ts +0 -281
- package/src/ts/loans/updateinstallments.ts +0 -271
- package/src/ts/loans/updateloan.ts +0 -214
- package/src/ts/loans.ts +0 -221
- package/src/ts/stashcash/creditsc.ts +0 -361
- package/src/ts/stashcash/debitsc.ts +0 -450
- package/src/ts/stashcash/getscbalance.ts +0 -351
- package/src/ts/stashcash/getschistory.ts +0 -566
- package/src/ts/stashcash/reversesc.ts +0 -329
- package/src/ts/stashcash.ts +0 -152
- package/tsconfig.json +0 -18
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updatehypervergetxn";
|
|
3
|
+
export interface updateHypervergeTxnRequest {
|
|
4
|
+
transactionId: string;
|
|
5
|
+
status: string;
|
|
6
|
+
}
|
|
7
|
+
export interface updateHypervergeTxnResponse {
|
|
8
|
+
status: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const updateHypervergeTxnRequest: {
|
|
11
|
+
encode(message: updateHypervergeTxnRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateHypervergeTxnRequest;
|
|
13
|
+
fromJSON(object: any): updateHypervergeTxnRequest;
|
|
14
|
+
toJSON(message: updateHypervergeTxnRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<updateHypervergeTxnRequest>, I>>(base?: I): updateHypervergeTxnRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<updateHypervergeTxnRequest>, I>>(object: I): updateHypervergeTxnRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const updateHypervergeTxnResponse: {
|
|
19
|
+
encode(message: updateHypervergeTxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateHypervergeTxnResponse;
|
|
21
|
+
fromJSON(object: any): updateHypervergeTxnResponse;
|
|
22
|
+
toJSON(message: updateHypervergeTxnResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<updateHypervergeTxnResponse>, I>>(base?: I): updateHypervergeTxnResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<updateHypervergeTxnResponse>, I>>(object: I): updateHypervergeTxnResponse;
|
|
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 {};
|
|
@@ -0,0 +1,133 @@
|
|
|
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/updatehypervergetxn.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.updateHypervergeTxnResponse = exports.updateHypervergeTxnRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.updatehypervergetxn";
|
|
15
|
+
function createBaseupdateHypervergeTxnRequest() {
|
|
16
|
+
return { transactionId: "", status: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateHypervergeTxnRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.transactionId !== "") {
|
|
21
|
+
writer.uint32(10).string(message.transactionId);
|
|
22
|
+
}
|
|
23
|
+
if (message.status !== "") {
|
|
24
|
+
writer.uint32(18).string(message.status);
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseupdateHypervergeTxnRequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.transactionId = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.status = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
reader.skipType(tag & 7);
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromJSON(object) {
|
|
56
|
+
return {
|
|
57
|
+
transactionId: isSet(object.transactionId) ? globalThis.String(object.transactionId) : "",
|
|
58
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.transactionId !== "") {
|
|
64
|
+
obj.transactionId = message.transactionId;
|
|
65
|
+
}
|
|
66
|
+
if (message.status !== "") {
|
|
67
|
+
obj.status = message.status;
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.updateHypervergeTxnRequest.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBaseupdateHypervergeTxnRequest();
|
|
76
|
+
message.transactionId = object.transactionId ?? "";
|
|
77
|
+
message.status = object.status ?? "";
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBaseupdateHypervergeTxnResponse() {
|
|
82
|
+
return { status: false };
|
|
83
|
+
}
|
|
84
|
+
exports.updateHypervergeTxnResponse = {
|
|
85
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
+
if (message.status !== false) {
|
|
87
|
+
writer.uint32(8).bool(message.status);
|
|
88
|
+
}
|
|
89
|
+
return writer;
|
|
90
|
+
},
|
|
91
|
+
decode(input, length) {
|
|
92
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
93
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
94
|
+
const message = createBaseupdateHypervergeTxnResponse();
|
|
95
|
+
while (reader.pos < end) {
|
|
96
|
+
const tag = reader.uint32();
|
|
97
|
+
switch (tag >>> 3) {
|
|
98
|
+
case 1:
|
|
99
|
+
if (tag !== 8) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.status = reader.bool();
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
105
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
reader.skipType(tag & 7);
|
|
109
|
+
}
|
|
110
|
+
return message;
|
|
111
|
+
},
|
|
112
|
+
fromJSON(object) {
|
|
113
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
114
|
+
},
|
|
115
|
+
toJSON(message) {
|
|
116
|
+
const obj = {};
|
|
117
|
+
if (message.status !== false) {
|
|
118
|
+
obj.status = message.status;
|
|
119
|
+
}
|
|
120
|
+
return obj;
|
|
121
|
+
},
|
|
122
|
+
create(base) {
|
|
123
|
+
return exports.updateHypervergeTxnResponse.fromPartial(base ?? {});
|
|
124
|
+
},
|
|
125
|
+
fromPartial(object) {
|
|
126
|
+
const message = createBaseupdateHypervergeTxnResponse();
|
|
127
|
+
message.status = object.status ?? false;
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function isSet(value) {
|
|
132
|
+
return value !== null && value !== undefined;
|
|
133
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.validatepan";
|
|
3
|
+
export interface validatePanRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
pan: string;
|
|
6
|
+
}
|
|
7
|
+
export interface validatePanResponse {
|
|
8
|
+
firstName: string;
|
|
9
|
+
middleName: string;
|
|
10
|
+
lastName: string;
|
|
11
|
+
pan: string;
|
|
12
|
+
dob: string;
|
|
13
|
+
isDuplicate: boolean;
|
|
14
|
+
isNameMismatch: boolean;
|
|
15
|
+
isDobMismatch: boolean;
|
|
16
|
+
isFatherNameMismatch: boolean;
|
|
17
|
+
aadhaarSeedingStatus: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const validatePanRequest: {
|
|
20
|
+
encode(message: validatePanRequest, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): validatePanRequest;
|
|
22
|
+
fromJSON(object: any): validatePanRequest;
|
|
23
|
+
toJSON(message: validatePanRequest): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<validatePanRequest>, I>>(base?: I): validatePanRequest;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<validatePanRequest>, I>>(object: I): validatePanRequest;
|
|
26
|
+
};
|
|
27
|
+
export declare const validatePanResponse: {
|
|
28
|
+
encode(message: validatePanResponse, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): validatePanResponse;
|
|
30
|
+
fromJSON(object: any): validatePanResponse;
|
|
31
|
+
toJSON(message: validatePanResponse): unknown;
|
|
32
|
+
create<I extends Exact<DeepPartial<validatePanResponse>, I>>(base?: I): validatePanResponse;
|
|
33
|
+
fromPartial<I extends Exact<DeepPartial<validatePanResponse>, I>>(object: I): validatePanResponse;
|
|
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,274 @@
|
|
|
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/validatepan.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.validatePanResponse = exports.validatePanRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.validatepan";
|
|
15
|
+
function createBasevalidatePanRequest() {
|
|
16
|
+
return { customer_id: 0, pan: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.validatePanRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.customer_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customer_id);
|
|
22
|
+
}
|
|
23
|
+
if (message.pan !== "") {
|
|
24
|
+
writer.uint32(18).string(message.pan);
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBasevalidatePanRequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 8) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.customer_id = reader.int32();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.pan = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
reader.skipType(tag & 7);
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromJSON(object) {
|
|
56
|
+
return {
|
|
57
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
58
|
+
pan: isSet(object.pan) ? globalThis.String(object.pan) : "",
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.customer_id !== 0) {
|
|
64
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
65
|
+
}
|
|
66
|
+
if (message.pan !== "") {
|
|
67
|
+
obj.pan = message.pan;
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.validatePanRequest.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBasevalidatePanRequest();
|
|
76
|
+
message.customer_id = object.customer_id ?? 0;
|
|
77
|
+
message.pan = object.pan ?? "";
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBasevalidatePanResponse() {
|
|
82
|
+
return {
|
|
83
|
+
firstName: "",
|
|
84
|
+
middleName: "",
|
|
85
|
+
lastName: "",
|
|
86
|
+
pan: "",
|
|
87
|
+
dob: "",
|
|
88
|
+
isDuplicate: false,
|
|
89
|
+
isNameMismatch: false,
|
|
90
|
+
isDobMismatch: false,
|
|
91
|
+
isFatherNameMismatch: false,
|
|
92
|
+
aadhaarSeedingStatus: "",
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
exports.validatePanResponse = {
|
|
96
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
97
|
+
if (message.firstName !== "") {
|
|
98
|
+
writer.uint32(10).string(message.firstName);
|
|
99
|
+
}
|
|
100
|
+
if (message.middleName !== "") {
|
|
101
|
+
writer.uint32(18).string(message.middleName);
|
|
102
|
+
}
|
|
103
|
+
if (message.lastName !== "") {
|
|
104
|
+
writer.uint32(26).string(message.lastName);
|
|
105
|
+
}
|
|
106
|
+
if (message.pan !== "") {
|
|
107
|
+
writer.uint32(34).string(message.pan);
|
|
108
|
+
}
|
|
109
|
+
if (message.dob !== "") {
|
|
110
|
+
writer.uint32(42).string(message.dob);
|
|
111
|
+
}
|
|
112
|
+
if (message.isDuplicate !== false) {
|
|
113
|
+
writer.uint32(48).bool(message.isDuplicate);
|
|
114
|
+
}
|
|
115
|
+
if (message.isNameMismatch !== false) {
|
|
116
|
+
writer.uint32(56).bool(message.isNameMismatch);
|
|
117
|
+
}
|
|
118
|
+
if (message.isDobMismatch !== false) {
|
|
119
|
+
writer.uint32(64).bool(message.isDobMismatch);
|
|
120
|
+
}
|
|
121
|
+
if (message.isFatherNameMismatch !== false) {
|
|
122
|
+
writer.uint32(72).bool(message.isFatherNameMismatch);
|
|
123
|
+
}
|
|
124
|
+
if (message.aadhaarSeedingStatus !== "") {
|
|
125
|
+
writer.uint32(82).string(message.aadhaarSeedingStatus);
|
|
126
|
+
}
|
|
127
|
+
return writer;
|
|
128
|
+
},
|
|
129
|
+
decode(input, length) {
|
|
130
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
131
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
132
|
+
const message = createBasevalidatePanResponse();
|
|
133
|
+
while (reader.pos < end) {
|
|
134
|
+
const tag = reader.uint32();
|
|
135
|
+
switch (tag >>> 3) {
|
|
136
|
+
case 1:
|
|
137
|
+
if (tag !== 10) {
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
message.firstName = reader.string();
|
|
141
|
+
continue;
|
|
142
|
+
case 2:
|
|
143
|
+
if (tag !== 18) {
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
message.middleName = reader.string();
|
|
147
|
+
continue;
|
|
148
|
+
case 3:
|
|
149
|
+
if (tag !== 26) {
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
message.lastName = reader.string();
|
|
153
|
+
continue;
|
|
154
|
+
case 4:
|
|
155
|
+
if (tag !== 34) {
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
message.pan = reader.string();
|
|
159
|
+
continue;
|
|
160
|
+
case 5:
|
|
161
|
+
if (tag !== 42) {
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
message.dob = reader.string();
|
|
165
|
+
continue;
|
|
166
|
+
case 6:
|
|
167
|
+
if (tag !== 48) {
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
message.isDuplicate = reader.bool();
|
|
171
|
+
continue;
|
|
172
|
+
case 7:
|
|
173
|
+
if (tag !== 56) {
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
message.isNameMismatch = reader.bool();
|
|
177
|
+
continue;
|
|
178
|
+
case 8:
|
|
179
|
+
if (tag !== 64) {
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
message.isDobMismatch = reader.bool();
|
|
183
|
+
continue;
|
|
184
|
+
case 9:
|
|
185
|
+
if (tag !== 72) {
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
message.isFatherNameMismatch = reader.bool();
|
|
189
|
+
continue;
|
|
190
|
+
case 10:
|
|
191
|
+
if (tag !== 82) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
message.aadhaarSeedingStatus = reader.string();
|
|
195
|
+
continue;
|
|
196
|
+
}
|
|
197
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
reader.skipType(tag & 7);
|
|
201
|
+
}
|
|
202
|
+
return message;
|
|
203
|
+
},
|
|
204
|
+
fromJSON(object) {
|
|
205
|
+
return {
|
|
206
|
+
firstName: isSet(object.firstName) ? globalThis.String(object.firstName) : "",
|
|
207
|
+
middleName: isSet(object.middleName) ? globalThis.String(object.middleName) : "",
|
|
208
|
+
lastName: isSet(object.lastName) ? globalThis.String(object.lastName) : "",
|
|
209
|
+
pan: isSet(object.pan) ? globalThis.String(object.pan) : "",
|
|
210
|
+
dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
|
|
211
|
+
isDuplicate: isSet(object.isDuplicate) ? globalThis.Boolean(object.isDuplicate) : false,
|
|
212
|
+
isNameMismatch: isSet(object.isNameMismatch) ? globalThis.Boolean(object.isNameMismatch) : false,
|
|
213
|
+
isDobMismatch: isSet(object.isDobMismatch) ? globalThis.Boolean(object.isDobMismatch) : false,
|
|
214
|
+
isFatherNameMismatch: isSet(object.isFatherNameMismatch)
|
|
215
|
+
? globalThis.Boolean(object.isFatherNameMismatch)
|
|
216
|
+
: false,
|
|
217
|
+
aadhaarSeedingStatus: isSet(object.aadhaarSeedingStatus) ? globalThis.String(object.aadhaarSeedingStatus) : "",
|
|
218
|
+
};
|
|
219
|
+
},
|
|
220
|
+
toJSON(message) {
|
|
221
|
+
const obj = {};
|
|
222
|
+
if (message.firstName !== "") {
|
|
223
|
+
obj.firstName = message.firstName;
|
|
224
|
+
}
|
|
225
|
+
if (message.middleName !== "") {
|
|
226
|
+
obj.middleName = message.middleName;
|
|
227
|
+
}
|
|
228
|
+
if (message.lastName !== "") {
|
|
229
|
+
obj.lastName = message.lastName;
|
|
230
|
+
}
|
|
231
|
+
if (message.pan !== "") {
|
|
232
|
+
obj.pan = message.pan;
|
|
233
|
+
}
|
|
234
|
+
if (message.dob !== "") {
|
|
235
|
+
obj.dob = message.dob;
|
|
236
|
+
}
|
|
237
|
+
if (message.isDuplicate !== false) {
|
|
238
|
+
obj.isDuplicate = message.isDuplicate;
|
|
239
|
+
}
|
|
240
|
+
if (message.isNameMismatch !== false) {
|
|
241
|
+
obj.isNameMismatch = message.isNameMismatch;
|
|
242
|
+
}
|
|
243
|
+
if (message.isDobMismatch !== false) {
|
|
244
|
+
obj.isDobMismatch = message.isDobMismatch;
|
|
245
|
+
}
|
|
246
|
+
if (message.isFatherNameMismatch !== false) {
|
|
247
|
+
obj.isFatherNameMismatch = message.isFatherNameMismatch;
|
|
248
|
+
}
|
|
249
|
+
if (message.aadhaarSeedingStatus !== "") {
|
|
250
|
+
obj.aadhaarSeedingStatus = message.aadhaarSeedingStatus;
|
|
251
|
+
}
|
|
252
|
+
return obj;
|
|
253
|
+
},
|
|
254
|
+
create(base) {
|
|
255
|
+
return exports.validatePanResponse.fromPartial(base ?? {});
|
|
256
|
+
},
|
|
257
|
+
fromPartial(object) {
|
|
258
|
+
const message = createBasevalidatePanResponse();
|
|
259
|
+
message.firstName = object.firstName ?? "";
|
|
260
|
+
message.middleName = object.middleName ?? "";
|
|
261
|
+
message.lastName = object.lastName ?? "";
|
|
262
|
+
message.pan = object.pan ?? "";
|
|
263
|
+
message.dob = object.dob ?? "";
|
|
264
|
+
message.isDuplicate = object.isDuplicate ?? false;
|
|
265
|
+
message.isNameMismatch = object.isNameMismatch ?? false;
|
|
266
|
+
message.isDobMismatch = object.isDobMismatch ?? false;
|
|
267
|
+
message.isFatherNameMismatch = object.isFatherNameMismatch ?? false;
|
|
268
|
+
message.aadhaarSeedingStatus = object.aadhaarSeedingStatus ?? "";
|
|
269
|
+
return message;
|
|
270
|
+
},
|
|
271
|
+
};
|
|
272
|
+
function isSet(value) {
|
|
273
|
+
return value !== null && value !== undefined;
|
|
274
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.verifyemail";
|
|
3
|
+
export interface verifyEmailRequest {
|
|
4
|
+
token: string;
|
|
5
|
+
}
|
|
6
|
+
export interface verifyEmailResponse {
|
|
7
|
+
status: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const verifyEmailRequest: {
|
|
10
|
+
encode(message: verifyEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): verifyEmailRequest;
|
|
12
|
+
fromJSON(object: any): verifyEmailRequest;
|
|
13
|
+
toJSON(message: verifyEmailRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<verifyEmailRequest>, I>>(base?: I): verifyEmailRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<verifyEmailRequest>, I>>(object: I): verifyEmailRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const verifyEmailResponse: {
|
|
18
|
+
encode(message: verifyEmailResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): verifyEmailResponse;
|
|
20
|
+
fromJSON(object: any): verifyEmailResponse;
|
|
21
|
+
toJSON(message: verifyEmailResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<verifyEmailResponse>, I>>(base?: I): verifyEmailResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<verifyEmailResponse>, I>>(object: I): verifyEmailResponse;
|
|
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 v3.20.3
|
|
6
|
+
// source: customers/verifyemail.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.verifyEmailResponse = exports.verifyEmailRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.verifyemail";
|
|
15
|
+
function createBaseverifyEmailRequest() {
|
|
16
|
+
return { token: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.verifyEmailRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.token !== "") {
|
|
21
|
+
writer.uint32(10).string(message.token);
|
|
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 = createBaseverifyEmailRequest();
|
|
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.token = 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 { token: isSet(object.token) ? globalThis.String(object.token) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.token !== "") {
|
|
52
|
+
obj.token = message.token;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.verifyEmailRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseverifyEmailRequest();
|
|
61
|
+
message.token = object.token ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseverifyEmailResponse() {
|
|
66
|
+
return { status: false };
|
|
67
|
+
}
|
|
68
|
+
exports.verifyEmailResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.status !== false) {
|
|
71
|
+
writer.uint32(8).bool(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 = createBaseverifyEmailResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 8) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.status = reader.bool();
|
|
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.Boolean(object.status) : false };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.status !== false) {
|
|
102
|
+
obj.status = message.status;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.verifyEmailResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBaseverifyEmailResponse();
|
|
111
|
+
message.status = object.status ?? false;
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.verifympin";
|
|
3
|
+
export interface verifyMpinRequest {
|
|
4
|
+
mobile: string;
|
|
5
|
+
mpin: number;
|
|
6
|
+
}
|
|
7
|
+
export interface verifyMpinResponse {
|
|
8
|
+
status: boolean;
|
|
9
|
+
jwttoken: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const verifyMpinRequest: {
|
|
12
|
+
encode(message: verifyMpinRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): verifyMpinRequest;
|
|
14
|
+
fromJSON(object: any): verifyMpinRequest;
|
|
15
|
+
toJSON(message: verifyMpinRequest): unknown;
|
|
16
|
+
create<I extends Exact<DeepPartial<verifyMpinRequest>, I>>(base?: I): verifyMpinRequest;
|
|
17
|
+
fromPartial<I extends Exact<DeepPartial<verifyMpinRequest>, I>>(object: I): verifyMpinRequest;
|
|
18
|
+
};
|
|
19
|
+
export declare const verifyMpinResponse: {
|
|
20
|
+
encode(message: verifyMpinResponse, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): verifyMpinResponse;
|
|
22
|
+
fromJSON(object: any): verifyMpinResponse;
|
|
23
|
+
toJSON(message: verifyMpinResponse): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<verifyMpinResponse>, I>>(base?: I): verifyMpinResponse;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<verifyMpinResponse>, I>>(object: I): verifyMpinResponse;
|
|
26
|
+
};
|
|
27
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
29
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
+
};
|
|
37
|
+
export {};
|