@stashfin/grpc 1.2.93 → 1.2.95
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 +101 -0
- package/ts/bureau/getdemogs.js +547 -0
- package/ts/bureau/getreport.d.ts +157 -0
- package/ts/bureau/getreport.js +1403 -0
- package/ts/bureau.d.ts +35 -7
- package/ts/bureau.js +27 -7
- package/ts/customers/sendotptoemail.d.ts +35 -0
- package/ts/customers/sendotptoemail.js +117 -0
- package/ts/customers/updatemobile.d.ts +35 -0
- package/ts/customers/updatemobile.js +117 -0
- package/ts/customers/updatemobilesendotp.d.ts +35 -0
- package/ts/customers/updatemobilesendotp.js +117 -0
- package/ts/customers/updatemobileverifyotp.d.ts +37 -0
- package/ts/customers/updatemobileverifyotp.js +147 -0
- package/ts/customers/verifyotptoemail.d.ts +35 -0
- package/ts/customers/verifyotptoemail.js +117 -0
- package/ts/customers.d.ts +70 -42
- package/ts/customers.js +46 -26
- package/ts/loans/approveloan.d.ts +1 -0
- package/ts/loans/approveloan.js +15 -1
- package/ts/loans/creditlimit.d.ts +0 -6
- package/ts/loans/creditlimit.js +5 -107
- package/ts/loans/getstaticfields.d.ts +86 -0
- package/ts/loans/getstaticfields.js +801 -0
- package/ts/loans.d.ts +14 -0
- package/ts/loans.js +10 -0
|
@@ -0,0 +1,147 @@
|
|
|
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.3
|
|
6
|
+
// source: customers/updatemobileverifyotp.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.updateMobileVerifyOtpResponse = exports.updateMobileVerifyOtpRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.updatemobileverifyotp";
|
|
15
|
+
function createBaseupdateMobileVerifyOtpRequest() {
|
|
16
|
+
return { new_mobile: "", current_mobile_otp: "", new_mobile_otp: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateMobileVerifyOtpRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.new_mobile !== "") {
|
|
21
|
+
writer.uint32(10).string(message.new_mobile);
|
|
22
|
+
}
|
|
23
|
+
if (message.current_mobile_otp !== "") {
|
|
24
|
+
writer.uint32(18).string(message.current_mobile_otp);
|
|
25
|
+
}
|
|
26
|
+
if (message.new_mobile_otp !== "") {
|
|
27
|
+
writer.uint32(26).string(message.new_mobile_otp);
|
|
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 = createBaseupdateMobileVerifyOtpRequest();
|
|
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.new_mobile = reader.string();
|
|
43
|
+
continue;
|
|
44
|
+
case 2:
|
|
45
|
+
if (tag !== 18) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.current_mobile_otp = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 26) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.new_mobile_otp = 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
|
+
new_mobile: isSet(object.new_mobile) ? globalThis.String(object.new_mobile) : "",
|
|
67
|
+
current_mobile_otp: isSet(object.current_mobile_otp) ? globalThis.String(object.current_mobile_otp) : "",
|
|
68
|
+
new_mobile_otp: isSet(object.new_mobile_otp) ? globalThis.String(object.new_mobile_otp) : "",
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
toJSON(message) {
|
|
72
|
+
const obj = {};
|
|
73
|
+
if (message.new_mobile !== "") {
|
|
74
|
+
obj.new_mobile = message.new_mobile;
|
|
75
|
+
}
|
|
76
|
+
if (message.current_mobile_otp !== "") {
|
|
77
|
+
obj.current_mobile_otp = message.current_mobile_otp;
|
|
78
|
+
}
|
|
79
|
+
if (message.new_mobile_otp !== "") {
|
|
80
|
+
obj.new_mobile_otp = message.new_mobile_otp;
|
|
81
|
+
}
|
|
82
|
+
return obj;
|
|
83
|
+
},
|
|
84
|
+
create(base) {
|
|
85
|
+
return exports.updateMobileVerifyOtpRequest.fromPartial(base ?? {});
|
|
86
|
+
},
|
|
87
|
+
fromPartial(object) {
|
|
88
|
+
const message = createBaseupdateMobileVerifyOtpRequest();
|
|
89
|
+
message.new_mobile = object.new_mobile ?? "";
|
|
90
|
+
message.current_mobile_otp = object.current_mobile_otp ?? "";
|
|
91
|
+
message.new_mobile_otp = object.new_mobile_otp ?? "";
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
function createBaseupdateMobileVerifyOtpResponse() {
|
|
96
|
+
return { status: "" };
|
|
97
|
+
}
|
|
98
|
+
exports.updateMobileVerifyOtpResponse = {
|
|
99
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
100
|
+
if (message.status !== "") {
|
|
101
|
+
writer.uint32(10).string(message.status);
|
|
102
|
+
}
|
|
103
|
+
return writer;
|
|
104
|
+
},
|
|
105
|
+
decode(input, length) {
|
|
106
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
107
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
108
|
+
const message = createBaseupdateMobileVerifyOtpResponse();
|
|
109
|
+
while (reader.pos < end) {
|
|
110
|
+
const tag = reader.uint32();
|
|
111
|
+
switch (tag >>> 3) {
|
|
112
|
+
case 1:
|
|
113
|
+
if (tag !== 10) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
message.status = reader.string();
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
reader.skipType(tag & 7);
|
|
123
|
+
}
|
|
124
|
+
return message;
|
|
125
|
+
},
|
|
126
|
+
fromJSON(object) {
|
|
127
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
128
|
+
},
|
|
129
|
+
toJSON(message) {
|
|
130
|
+
const obj = {};
|
|
131
|
+
if (message.status !== "") {
|
|
132
|
+
obj.status = message.status;
|
|
133
|
+
}
|
|
134
|
+
return obj;
|
|
135
|
+
},
|
|
136
|
+
create(base) {
|
|
137
|
+
return exports.updateMobileVerifyOtpResponse.fromPartial(base ?? {});
|
|
138
|
+
},
|
|
139
|
+
fromPartial(object) {
|
|
140
|
+
const message = createBaseupdateMobileVerifyOtpResponse();
|
|
141
|
+
message.status = object.status ?? "";
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
function isSet(value) {
|
|
146
|
+
return value !== null && value !== undefined;
|
|
147
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 {};
|
|
@@ -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.3
|
|
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
|
+
}
|
package/ts/customers.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ import { updateTncRequest, updateTncResponse } from "./customers/profileupdatetn
|
|
|
29
29
|
import { resetMpinRequest, resetMpinResponse } from "./customers/resetmpin";
|
|
30
30
|
import { saveBasicDetailsRequest, saveBasicDetailsResponse } from "./customers/savebasicdetails";
|
|
31
31
|
import { saveUnlockLimitRequest, saveUnlockLimitResponse } from "./customers/saveunlocklimit";
|
|
32
|
-
import { sendEmailTokenRequest, sendEmailTokenResponse } from "./customers/sendemailtoken";
|
|
33
32
|
import { sendOtpRequest, sendOtpRespone } from "./customers/sendotp";
|
|
33
|
+
import { sendEmailOtpRequest, sendEmailOtpResponse } from "./customers/sendotptoemail";
|
|
34
34
|
import { setMpinRequest, setMpinResponse } from "./customers/setmpin";
|
|
35
35
|
import { step10Request, step10Response } from "./customers/step10";
|
|
36
36
|
import { step7Request, step7Response } from "./customers/step7";
|
|
@@ -41,10 +41,12 @@ import { updateDigiLockerTxnRequest, updateDigiLockerTxnResponse } from "./custo
|
|
|
41
41
|
import { updateDOBRequest, updateDOBResponse } from "./customers/updatedob";
|
|
42
42
|
import { updateHypervergeTxnRequest, updateHypervergeTxnResponse } from "./customers/updatehypervergetxn";
|
|
43
43
|
import { locStatusRequest, locStatusResponse } from "./customers/updatelocstatus";
|
|
44
|
+
import { updateMobileSendOtpRequest, updateMobileSendOtpResponse } from "./customers/updatemobilesendotp";
|
|
45
|
+
import { updateMobileVerifyOtpRequest, updateMobileVerifyOtpResponse } from "./customers/updatemobileverifyotp";
|
|
44
46
|
import { validatePanRequest, validatePanResponse } from "./customers/validatepan";
|
|
45
|
-
import { verifyEmailRequest, verifyEmailResponse } from "./customers/verifyemail";
|
|
46
47
|
import { verifyMpinRequest, verifyMpinResponse } from "./customers/verifympin";
|
|
47
48
|
import { verifyOtpReqeust, verifyOtpResponse } from "./customers/verifyotp";
|
|
49
|
+
import { verifyEmailOtpRequest, verifyEmailOtpResponse } from "./customers/verifyotptoemail";
|
|
48
50
|
export declare const protobufPackage = "service";
|
|
49
51
|
export type customersService = typeof customersService;
|
|
50
52
|
export declare const customersService: {
|
|
@@ -246,23 +248,23 @@ export declare const customersService: {
|
|
|
246
248
|
readonly responseSerialize: (value: stepstaticRequest) => Buffer;
|
|
247
249
|
readonly responseDeserialize: (value: Buffer) => stepstaticRequest;
|
|
248
250
|
};
|
|
249
|
-
readonly
|
|
250
|
-
readonly path: "/service.customers/
|
|
251
|
+
readonly sendOtptoPersonalEmail: {
|
|
252
|
+
readonly path: "/service.customers/sendOtptoPersonalEmail";
|
|
251
253
|
readonly requestStream: false;
|
|
252
254
|
readonly responseStream: false;
|
|
253
|
-
readonly requestSerialize: (value:
|
|
254
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
255
|
-
readonly responseSerialize: (value:
|
|
256
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
255
|
+
readonly requestSerialize: (value: sendEmailOtpRequest) => Buffer;
|
|
256
|
+
readonly requestDeserialize: (value: Buffer) => sendEmailOtpRequest;
|
|
257
|
+
readonly responseSerialize: (value: sendEmailOtpResponse) => Buffer;
|
|
258
|
+
readonly responseDeserialize: (value: Buffer) => sendEmailOtpResponse;
|
|
257
259
|
};
|
|
258
|
-
readonly
|
|
259
|
-
readonly path: "/service.customers/
|
|
260
|
+
readonly verifyOtptoPersonalEmail: {
|
|
261
|
+
readonly path: "/service.customers/verifyOtptoPersonalEmail";
|
|
260
262
|
readonly requestStream: false;
|
|
261
263
|
readonly responseStream: false;
|
|
262
|
-
readonly requestSerialize: (value:
|
|
263
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
264
|
-
readonly responseSerialize: (value:
|
|
265
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
264
|
+
readonly requestSerialize: (value: verifyEmailOtpRequest) => Buffer;
|
|
265
|
+
readonly requestDeserialize: (value: Buffer) => verifyEmailOtpRequest;
|
|
266
|
+
readonly responseSerialize: (value: verifyEmailOtpResponse) => Buffer;
|
|
267
|
+
readonly responseDeserialize: (value: Buffer) => verifyEmailOtpResponse;
|
|
266
268
|
};
|
|
267
269
|
readonly getCustomerById: {
|
|
268
270
|
readonly path: "/service.customers/getCustomerById";
|
|
@@ -336,23 +338,23 @@ export declare const customersService: {
|
|
|
336
338
|
readonly responseSerialize: (value: createCustomerReferenceResponse) => Buffer;
|
|
337
339
|
readonly responseDeserialize: (value: Buffer) => createCustomerReferenceResponse;
|
|
338
340
|
};
|
|
339
|
-
readonly
|
|
340
|
-
readonly path: "/service.customers/
|
|
341
|
+
readonly sendOtptoProfessionalEmail: {
|
|
342
|
+
readonly path: "/service.customers/sendOtptoProfessionalEmail";
|
|
341
343
|
readonly requestStream: false;
|
|
342
344
|
readonly responseStream: false;
|
|
343
|
-
readonly requestSerialize: (value:
|
|
344
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
345
|
-
readonly responseSerialize: (value:
|
|
346
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
345
|
+
readonly requestSerialize: (value: sendEmailOtpRequest) => Buffer;
|
|
346
|
+
readonly requestDeserialize: (value: Buffer) => sendEmailOtpRequest;
|
|
347
|
+
readonly responseSerialize: (value: sendEmailOtpResponse) => Buffer;
|
|
348
|
+
readonly responseDeserialize: (value: Buffer) => sendEmailOtpResponse;
|
|
347
349
|
};
|
|
348
|
-
readonly
|
|
349
|
-
readonly path: "/service.customers/
|
|
350
|
+
readonly verifyOtptoProfessionalEmail: {
|
|
351
|
+
readonly path: "/service.customers/verifyOtptoProfessionalEmail";
|
|
350
352
|
readonly requestStream: false;
|
|
351
353
|
readonly responseStream: false;
|
|
352
|
-
readonly requestSerialize: (value:
|
|
353
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
354
|
-
readonly responseSerialize: (value:
|
|
355
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
354
|
+
readonly requestSerialize: (value: verifyEmailOtpRequest) => Buffer;
|
|
355
|
+
readonly requestDeserialize: (value: Buffer) => verifyEmailOtpRequest;
|
|
356
|
+
readonly responseSerialize: (value: verifyEmailOtpResponse) => Buffer;
|
|
357
|
+
readonly responseDeserialize: (value: Buffer) => verifyEmailOtpResponse;
|
|
356
358
|
};
|
|
357
359
|
readonly getAllStates: {
|
|
358
360
|
readonly path: "/service.customers/getAllStates";
|
|
@@ -516,6 +518,24 @@ export declare const customersService: {
|
|
|
516
518
|
readonly responseSerialize: (value: ChangeMpinResponse) => Buffer;
|
|
517
519
|
readonly responseDeserialize: (value: Buffer) => ChangeMpinResponse;
|
|
518
520
|
};
|
|
521
|
+
readonly updateMobileSendOtp: {
|
|
522
|
+
readonly path: "/service.customers/updateMobileSendOtp";
|
|
523
|
+
readonly requestStream: false;
|
|
524
|
+
readonly responseStream: false;
|
|
525
|
+
readonly requestSerialize: (value: updateMobileSendOtpRequest) => Buffer;
|
|
526
|
+
readonly requestDeserialize: (value: Buffer) => updateMobileSendOtpRequest;
|
|
527
|
+
readonly responseSerialize: (value: updateMobileSendOtpResponse) => Buffer;
|
|
528
|
+
readonly responseDeserialize: (value: Buffer) => updateMobileSendOtpResponse;
|
|
529
|
+
};
|
|
530
|
+
readonly updatemobileverifyotp: {
|
|
531
|
+
readonly path: "/service.customers/updatemobileverifyotp";
|
|
532
|
+
readonly requestStream: false;
|
|
533
|
+
readonly responseStream: false;
|
|
534
|
+
readonly requestSerialize: (value: updateMobileVerifyOtpRequest) => Buffer;
|
|
535
|
+
readonly requestDeserialize: (value: Buffer) => updateMobileVerifyOtpRequest;
|
|
536
|
+
readonly responseSerialize: (value: updateMobileVerifyOtpResponse) => Buffer;
|
|
537
|
+
readonly responseDeserialize: (value: Buffer) => updateMobileVerifyOtpResponse;
|
|
538
|
+
};
|
|
519
539
|
};
|
|
520
540
|
export interface customersServer extends UntypedServiceImplementation {
|
|
521
541
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -540,8 +560,8 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
540
560
|
step9: handleUnaryCall<step9Request, step9Response>;
|
|
541
561
|
step10: handleUnaryCall<step10Request, step10Response>;
|
|
542
562
|
step11: handleUnaryCall<stepstaticRequest, stepstaticRequest>;
|
|
543
|
-
|
|
544
|
-
|
|
563
|
+
sendOtptoPersonalEmail: handleUnaryCall<sendEmailOtpRequest, sendEmailOtpResponse>;
|
|
564
|
+
verifyOtptoPersonalEmail: handleUnaryCall<verifyEmailOtpRequest, verifyEmailOtpResponse>;
|
|
545
565
|
getCustomerById: handleUnaryCall<getCustomerByIdRequest, getCustomerByIdResponse>;
|
|
546
566
|
getDashboard: handleUnaryCall<getDashboardRequest, getDashboardResponse>;
|
|
547
567
|
getDashboardMainCard: handleUnaryCall<getDashboardMainCardRequest, getDashboardMainCardResponse>;
|
|
@@ -550,8 +570,8 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
550
570
|
getBasicInfo: handleUnaryCall<getBasicInfoRequest, getBasicInfoResponse>;
|
|
551
571
|
getProfessionalInfo: handleUnaryCall<getProfessionalInfoRequest, getProfessionalInfoResponse>;
|
|
552
572
|
createCustomerReference: handleUnaryCall<createCustomerReferenceRequest, createCustomerReferenceResponse>;
|
|
553
|
-
|
|
554
|
-
|
|
573
|
+
sendOtptoProfessionalEmail: handleUnaryCall<sendEmailOtpRequest, sendEmailOtpResponse>;
|
|
574
|
+
verifyOtptoProfessionalEmail: handleUnaryCall<verifyEmailOtpRequest, verifyEmailOtpResponse>;
|
|
555
575
|
getAllStates: handleUnaryCall<getAllStatesRequest, getAllStatesResponse>;
|
|
556
576
|
getCitiesByStateId: handleUnaryCall<getCitiesRequest, getCitiesResponse>;
|
|
557
577
|
getDocumentList: handleUnaryCall<getDocumentsRequest, getDocumentsResponse>;
|
|
@@ -570,6 +590,8 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
570
590
|
fetchRcProfile: handleUnaryCall<fetchRCProfileRequest, fetchRCProfileResponse>;
|
|
571
591
|
disablempin: handleUnaryCall<disableMpinRequest, disableMpinResponse>;
|
|
572
592
|
changempin: handleUnaryCall<ChangeMpinRequest, ChangeMpinResponse>;
|
|
593
|
+
updateMobileSendOtp: handleUnaryCall<updateMobileSendOtpRequest, updateMobileSendOtpResponse>;
|
|
594
|
+
updatemobileverifyotp: handleUnaryCall<updateMobileVerifyOtpRequest, updateMobileVerifyOtpResponse>;
|
|
573
595
|
}
|
|
574
596
|
export interface customersClient extends Client {
|
|
575
597
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -638,12 +660,12 @@ export interface customersClient extends Client {
|
|
|
638
660
|
step11(request: stepstaticRequest, callback: (error: ServiceError | null, response: stepstaticRequest) => void): ClientUnaryCall;
|
|
639
661
|
step11(request: stepstaticRequest, metadata: Metadata, callback: (error: ServiceError | null, response: stepstaticRequest) => void): ClientUnaryCall;
|
|
640
662
|
step11(request: stepstaticRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: stepstaticRequest) => void): ClientUnaryCall;
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
663
|
+
sendOtptoPersonalEmail(request: sendEmailOtpRequest, callback: (error: ServiceError | null, response: sendEmailOtpResponse) => void): ClientUnaryCall;
|
|
664
|
+
sendOtptoPersonalEmail(request: sendEmailOtpRequest, metadata: Metadata, callback: (error: ServiceError | null, response: sendEmailOtpResponse) => void): ClientUnaryCall;
|
|
665
|
+
sendOtptoPersonalEmail(request: sendEmailOtpRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: sendEmailOtpResponse) => void): ClientUnaryCall;
|
|
666
|
+
verifyOtptoPersonalEmail(request: verifyEmailOtpRequest, callback: (error: ServiceError | null, response: verifyEmailOtpResponse) => void): ClientUnaryCall;
|
|
667
|
+
verifyOtptoPersonalEmail(request: verifyEmailOtpRequest, metadata: Metadata, callback: (error: ServiceError | null, response: verifyEmailOtpResponse) => void): ClientUnaryCall;
|
|
668
|
+
verifyOtptoPersonalEmail(request: verifyEmailOtpRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: verifyEmailOtpResponse) => void): ClientUnaryCall;
|
|
647
669
|
getCustomerById(request: getCustomerByIdRequest, callback: (error: ServiceError | null, response: getCustomerByIdResponse) => void): ClientUnaryCall;
|
|
648
670
|
getCustomerById(request: getCustomerByIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCustomerByIdResponse) => void): ClientUnaryCall;
|
|
649
671
|
getCustomerById(request: getCustomerByIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCustomerByIdResponse) => void): ClientUnaryCall;
|
|
@@ -668,12 +690,12 @@ export interface customersClient extends Client {
|
|
|
668
690
|
createCustomerReference(request: createCustomerReferenceRequest, callback: (error: ServiceError | null, response: createCustomerReferenceResponse) => void): ClientUnaryCall;
|
|
669
691
|
createCustomerReference(request: createCustomerReferenceRequest, metadata: Metadata, callback: (error: ServiceError | null, response: createCustomerReferenceResponse) => void): ClientUnaryCall;
|
|
670
692
|
createCustomerReference(request: createCustomerReferenceRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: createCustomerReferenceResponse) => void): ClientUnaryCall;
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
693
|
+
sendOtptoProfessionalEmail(request: sendEmailOtpRequest, callback: (error: ServiceError | null, response: sendEmailOtpResponse) => void): ClientUnaryCall;
|
|
694
|
+
sendOtptoProfessionalEmail(request: sendEmailOtpRequest, metadata: Metadata, callback: (error: ServiceError | null, response: sendEmailOtpResponse) => void): ClientUnaryCall;
|
|
695
|
+
sendOtptoProfessionalEmail(request: sendEmailOtpRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: sendEmailOtpResponse) => void): ClientUnaryCall;
|
|
696
|
+
verifyOtptoProfessionalEmail(request: verifyEmailOtpRequest, callback: (error: ServiceError | null, response: verifyEmailOtpResponse) => void): ClientUnaryCall;
|
|
697
|
+
verifyOtptoProfessionalEmail(request: verifyEmailOtpRequest, metadata: Metadata, callback: (error: ServiceError | null, response: verifyEmailOtpResponse) => void): ClientUnaryCall;
|
|
698
|
+
verifyOtptoProfessionalEmail(request: verifyEmailOtpRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: verifyEmailOtpResponse) => void): ClientUnaryCall;
|
|
677
699
|
getAllStates(request: getAllStatesRequest, callback: (error: ServiceError | null, response: getAllStatesResponse) => void): ClientUnaryCall;
|
|
678
700
|
getAllStates(request: getAllStatesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAllStatesResponse) => void): ClientUnaryCall;
|
|
679
701
|
getAllStates(request: getAllStatesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAllStatesResponse) => void): ClientUnaryCall;
|
|
@@ -728,6 +750,12 @@ export interface customersClient extends Client {
|
|
|
728
750
|
changempin(request: ChangeMpinRequest, callback: (error: ServiceError | null, response: ChangeMpinResponse) => void): ClientUnaryCall;
|
|
729
751
|
changempin(request: ChangeMpinRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ChangeMpinResponse) => void): ClientUnaryCall;
|
|
730
752
|
changempin(request: ChangeMpinRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ChangeMpinResponse) => void): ClientUnaryCall;
|
|
753
|
+
updateMobileSendOtp(request: updateMobileSendOtpRequest, callback: (error: ServiceError | null, response: updateMobileSendOtpResponse) => void): ClientUnaryCall;
|
|
754
|
+
updateMobileSendOtp(request: updateMobileSendOtpRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateMobileSendOtpResponse) => void): ClientUnaryCall;
|
|
755
|
+
updateMobileSendOtp(request: updateMobileSendOtpRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateMobileSendOtpResponse) => void): ClientUnaryCall;
|
|
756
|
+
updatemobileverifyotp(request: updateMobileVerifyOtpRequest, callback: (error: ServiceError | null, response: updateMobileVerifyOtpResponse) => void): ClientUnaryCall;
|
|
757
|
+
updatemobileverifyotp(request: updateMobileVerifyOtpRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateMobileVerifyOtpResponse) => void): ClientUnaryCall;
|
|
758
|
+
updatemobileverifyotp(request: updateMobileVerifyOtpRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateMobileVerifyOtpResponse) => void): ClientUnaryCall;
|
|
731
759
|
}
|
|
732
760
|
export declare const customersClient: {
|
|
733
761
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -38,8 +38,8 @@ const profileupdatetnc_1 = require("./customers/profileupdatetnc");
|
|
|
38
38
|
const resetmpin_1 = require("./customers/resetmpin");
|
|
39
39
|
const savebasicdetails_1 = require("./customers/savebasicdetails");
|
|
40
40
|
const saveunlocklimit_1 = require("./customers/saveunlocklimit");
|
|
41
|
-
const sendemailtoken_1 = require("./customers/sendemailtoken");
|
|
42
41
|
const sendotp_1 = require("./customers/sendotp");
|
|
42
|
+
const sendotptoemail_1 = require("./customers/sendotptoemail");
|
|
43
43
|
const setmpin_1 = require("./customers/setmpin");
|
|
44
44
|
const step10_1 = require("./customers/step10");
|
|
45
45
|
const step7_1 = require("./customers/step7");
|
|
@@ -50,10 +50,12 @@ const updatedigilockertxn_1 = require("./customers/updatedigilockertxn");
|
|
|
50
50
|
const updatedob_1 = require("./customers/updatedob");
|
|
51
51
|
const updatehypervergetxn_1 = require("./customers/updatehypervergetxn");
|
|
52
52
|
const updatelocstatus_1 = require("./customers/updatelocstatus");
|
|
53
|
+
const updatemobilesendotp_1 = require("./customers/updatemobilesendotp");
|
|
54
|
+
const updatemobileverifyotp_1 = require("./customers/updatemobileverifyotp");
|
|
53
55
|
const validatepan_1 = require("./customers/validatepan");
|
|
54
|
-
const verifyemail_1 = require("./customers/verifyemail");
|
|
55
56
|
const verifympin_1 = require("./customers/verifympin");
|
|
56
57
|
const verifyotp_1 = require("./customers/verifyotp");
|
|
58
|
+
const verifyotptoemail_1 = require("./customers/verifyotptoemail");
|
|
57
59
|
exports.protobufPackage = "service";
|
|
58
60
|
exports.customersService = {
|
|
59
61
|
sendOtp: {
|
|
@@ -254,23 +256,23 @@ exports.customersService = {
|
|
|
254
256
|
responseSerialize: (value) => Buffer.from(stepstatic_1.stepstaticRequest.encode(value).finish()),
|
|
255
257
|
responseDeserialize: (value) => stepstatic_1.stepstaticRequest.decode(value),
|
|
256
258
|
},
|
|
257
|
-
|
|
258
|
-
path: "/service.customers/
|
|
259
|
+
sendOtptoPersonalEmail: {
|
|
260
|
+
path: "/service.customers/sendOtptoPersonalEmail",
|
|
259
261
|
requestStream: false,
|
|
260
262
|
responseStream: false,
|
|
261
|
-
requestSerialize: (value) => Buffer.from(
|
|
262
|
-
requestDeserialize: (value) =>
|
|
263
|
-
responseSerialize: (value) => Buffer.from(
|
|
264
|
-
responseDeserialize: (value) =>
|
|
263
|
+
requestSerialize: (value) => Buffer.from(sendotptoemail_1.sendEmailOtpRequest.encode(value).finish()),
|
|
264
|
+
requestDeserialize: (value) => sendotptoemail_1.sendEmailOtpRequest.decode(value),
|
|
265
|
+
responseSerialize: (value) => Buffer.from(sendotptoemail_1.sendEmailOtpResponse.encode(value).finish()),
|
|
266
|
+
responseDeserialize: (value) => sendotptoemail_1.sendEmailOtpResponse.decode(value),
|
|
265
267
|
},
|
|
266
|
-
|
|
267
|
-
path: "/service.customers/
|
|
268
|
+
verifyOtptoPersonalEmail: {
|
|
269
|
+
path: "/service.customers/verifyOtptoPersonalEmail",
|
|
268
270
|
requestStream: false,
|
|
269
271
|
responseStream: false,
|
|
270
|
-
requestSerialize: (value) => Buffer.from(
|
|
271
|
-
requestDeserialize: (value) =>
|
|
272
|
-
responseSerialize: (value) => Buffer.from(
|
|
273
|
-
responseDeserialize: (value) =>
|
|
272
|
+
requestSerialize: (value) => Buffer.from(verifyotptoemail_1.verifyEmailOtpRequest.encode(value).finish()),
|
|
273
|
+
requestDeserialize: (value) => verifyotptoemail_1.verifyEmailOtpRequest.decode(value),
|
|
274
|
+
responseSerialize: (value) => Buffer.from(verifyotptoemail_1.verifyEmailOtpResponse.encode(value).finish()),
|
|
275
|
+
responseDeserialize: (value) => verifyotptoemail_1.verifyEmailOtpResponse.decode(value),
|
|
274
276
|
},
|
|
275
277
|
getCustomerById: {
|
|
276
278
|
path: "/service.customers/getCustomerById",
|
|
@@ -344,23 +346,23 @@ exports.customersService = {
|
|
|
344
346
|
responseSerialize: (value) => Buffer.from(createcustomerreference_1.createCustomerReferenceResponse.encode(value).finish()),
|
|
345
347
|
responseDeserialize: (value) => createcustomerreference_1.createCustomerReferenceResponse.decode(value),
|
|
346
348
|
},
|
|
347
|
-
|
|
348
|
-
path: "/service.customers/
|
|
349
|
+
sendOtptoProfessionalEmail: {
|
|
350
|
+
path: "/service.customers/sendOtptoProfessionalEmail",
|
|
349
351
|
requestStream: false,
|
|
350
352
|
responseStream: false,
|
|
351
|
-
requestSerialize: (value) => Buffer.from(
|
|
352
|
-
requestDeserialize: (value) =>
|
|
353
|
-
responseSerialize: (value) => Buffer.from(
|
|
354
|
-
responseDeserialize: (value) =>
|
|
353
|
+
requestSerialize: (value) => Buffer.from(sendotptoemail_1.sendEmailOtpRequest.encode(value).finish()),
|
|
354
|
+
requestDeserialize: (value) => sendotptoemail_1.sendEmailOtpRequest.decode(value),
|
|
355
|
+
responseSerialize: (value) => Buffer.from(sendotptoemail_1.sendEmailOtpResponse.encode(value).finish()),
|
|
356
|
+
responseDeserialize: (value) => sendotptoemail_1.sendEmailOtpResponse.decode(value),
|
|
355
357
|
},
|
|
356
|
-
|
|
357
|
-
path: "/service.customers/
|
|
358
|
+
verifyOtptoProfessionalEmail: {
|
|
359
|
+
path: "/service.customers/verifyOtptoProfessionalEmail",
|
|
358
360
|
requestStream: false,
|
|
359
361
|
responseStream: false,
|
|
360
|
-
requestSerialize: (value) => Buffer.from(
|
|
361
|
-
requestDeserialize: (value) =>
|
|
362
|
-
responseSerialize: (value) => Buffer.from(
|
|
363
|
-
responseDeserialize: (value) =>
|
|
362
|
+
requestSerialize: (value) => Buffer.from(verifyotptoemail_1.verifyEmailOtpRequest.encode(value).finish()),
|
|
363
|
+
requestDeserialize: (value) => verifyotptoemail_1.verifyEmailOtpRequest.decode(value),
|
|
364
|
+
responseSerialize: (value) => Buffer.from(verifyotptoemail_1.verifyEmailOtpResponse.encode(value).finish()),
|
|
365
|
+
responseDeserialize: (value) => verifyotptoemail_1.verifyEmailOtpResponse.decode(value),
|
|
364
366
|
},
|
|
365
367
|
getAllStates: {
|
|
366
368
|
path: "/service.customers/getAllStates",
|
|
@@ -524,5 +526,23 @@ exports.customersService = {
|
|
|
524
526
|
responseSerialize: (value) => Buffer.from(changempin_1.ChangeMpinResponse.encode(value).finish()),
|
|
525
527
|
responseDeserialize: (value) => changempin_1.ChangeMpinResponse.decode(value),
|
|
526
528
|
},
|
|
529
|
+
updateMobileSendOtp: {
|
|
530
|
+
path: "/service.customers/updateMobileSendOtp",
|
|
531
|
+
requestStream: false,
|
|
532
|
+
responseStream: false,
|
|
533
|
+
requestSerialize: (value) => Buffer.from(updatemobilesendotp_1.updateMobileSendOtpRequest.encode(value).finish()),
|
|
534
|
+
requestDeserialize: (value) => updatemobilesendotp_1.updateMobileSendOtpRequest.decode(value),
|
|
535
|
+
responseSerialize: (value) => Buffer.from(updatemobilesendotp_1.updateMobileSendOtpResponse.encode(value).finish()),
|
|
536
|
+
responseDeserialize: (value) => updatemobilesendotp_1.updateMobileSendOtpResponse.decode(value),
|
|
537
|
+
},
|
|
538
|
+
updatemobileverifyotp: {
|
|
539
|
+
path: "/service.customers/updatemobileverifyotp",
|
|
540
|
+
requestStream: false,
|
|
541
|
+
responseStream: false,
|
|
542
|
+
requestSerialize: (value) => Buffer.from(updatemobileverifyotp_1.updateMobileVerifyOtpRequest.encode(value).finish()),
|
|
543
|
+
requestDeserialize: (value) => updatemobileverifyotp_1.updateMobileVerifyOtpRequest.decode(value),
|
|
544
|
+
responseSerialize: (value) => Buffer.from(updatemobileverifyotp_1.updateMobileVerifyOtpResponse.encode(value).finish()),
|
|
545
|
+
responseDeserialize: (value) => updatemobileverifyotp_1.updateMobileVerifyOtpResponse.decode(value),
|
|
546
|
+
},
|
|
527
547
|
};
|
|
528
548
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|