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