@stashfin/grpc 1.5.17 → 1.5.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.5.17",
3
+ "version": "1.5.19",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -0,0 +1,39 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "kyc.getselfiestatusbureauid";
3
+ export interface GetSelfieStatusBureauIdRequest {
4
+ customer_id: string;
5
+ txn_id: string;
6
+ }
7
+ export interface GetSelfieStatusBureauIdResponse {
8
+ request_payload: string;
9
+ response_payload: string;
10
+ txn_id: string;
11
+ status: string;
12
+ }
13
+ export declare const GetSelfieStatusBureauIdRequest: {
14
+ encode(message: GetSelfieStatusBureauIdRequest, writer?: _m0.Writer): _m0.Writer;
15
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetSelfieStatusBureauIdRequest;
16
+ fromJSON(object: any): GetSelfieStatusBureauIdRequest;
17
+ toJSON(message: GetSelfieStatusBureauIdRequest): unknown;
18
+ create<I extends Exact<DeepPartial<GetSelfieStatusBureauIdRequest>, I>>(base?: I): GetSelfieStatusBureauIdRequest;
19
+ fromPartial<I extends Exact<DeepPartial<GetSelfieStatusBureauIdRequest>, I>>(object: I): GetSelfieStatusBureauIdRequest;
20
+ };
21
+ export declare const GetSelfieStatusBureauIdResponse: {
22
+ encode(message: GetSelfieStatusBureauIdResponse, writer?: _m0.Writer): _m0.Writer;
23
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetSelfieStatusBureauIdResponse;
24
+ fromJSON(object: any): GetSelfieStatusBureauIdResponse;
25
+ toJSON(message: GetSelfieStatusBureauIdResponse): unknown;
26
+ create<I extends Exact<DeepPartial<GetSelfieStatusBureauIdResponse>, I>>(base?: I): GetSelfieStatusBureauIdResponse;
27
+ fromPartial<I extends Exact<DeepPartial<GetSelfieStatusBureauIdResponse>, I>>(object: I): GetSelfieStatusBureauIdResponse;
28
+ };
29
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
30
+ 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 {} ? {
31
+ [K in keyof T]?: DeepPartial<T[K]>;
32
+ } : Partial<T>;
33
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
34
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
35
+ [K in keyof P]: Exact<P[K], I[K]>;
36
+ } & {
37
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
38
+ };
39
+ export {};
@@ -0,0 +1,177 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.2
5
+ // protoc v6.33.1
6
+ // source: kyc/getselfiestatusbureauid.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.GetSelfieStatusBureauIdResponse = exports.GetSelfieStatusBureauIdRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "kyc.getselfiestatusbureauid";
15
+ function createBaseGetSelfieStatusBureauIdRequest() {
16
+ return { customer_id: "", txn_id: "" };
17
+ }
18
+ exports.GetSelfieStatusBureauIdRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.customer_id !== "") {
21
+ writer.uint32(10).string(message.customer_id);
22
+ }
23
+ if (message.txn_id !== "") {
24
+ writer.uint32(18).string(message.txn_id);
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 = createBaseGetSelfieStatusBureauIdRequest();
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.customer_id = reader.string();
40
+ continue;
41
+ case 2:
42
+ if (tag !== 18) {
43
+ break;
44
+ }
45
+ message.txn_id = 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.String(object.customer_id) : "",
58
+ txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
59
+ };
60
+ },
61
+ toJSON(message) {
62
+ const obj = {};
63
+ if (message.customer_id !== "") {
64
+ obj.customer_id = message.customer_id;
65
+ }
66
+ if (message.txn_id !== "") {
67
+ obj.txn_id = message.txn_id;
68
+ }
69
+ return obj;
70
+ },
71
+ create(base) {
72
+ return exports.GetSelfieStatusBureauIdRequest.fromPartial(base ?? {});
73
+ },
74
+ fromPartial(object) {
75
+ const message = createBaseGetSelfieStatusBureauIdRequest();
76
+ message.customer_id = object.customer_id ?? "";
77
+ message.txn_id = object.txn_id ?? "";
78
+ return message;
79
+ },
80
+ };
81
+ function createBaseGetSelfieStatusBureauIdResponse() {
82
+ return { request_payload: "", response_payload: "", txn_id: "", status: "" };
83
+ }
84
+ exports.GetSelfieStatusBureauIdResponse = {
85
+ encode(message, writer = minimal_1.default.Writer.create()) {
86
+ if (message.request_payload !== "") {
87
+ writer.uint32(10).string(message.request_payload);
88
+ }
89
+ if (message.response_payload !== "") {
90
+ writer.uint32(18).string(message.response_payload);
91
+ }
92
+ if (message.txn_id !== "") {
93
+ writer.uint32(26).string(message.txn_id);
94
+ }
95
+ if (message.status !== "") {
96
+ writer.uint32(34).string(message.status);
97
+ }
98
+ return writer;
99
+ },
100
+ decode(input, length) {
101
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
102
+ let end = length === undefined ? reader.len : reader.pos + length;
103
+ const message = createBaseGetSelfieStatusBureauIdResponse();
104
+ while (reader.pos < end) {
105
+ const tag = reader.uint32();
106
+ switch (tag >>> 3) {
107
+ case 1:
108
+ if (tag !== 10) {
109
+ break;
110
+ }
111
+ message.request_payload = reader.string();
112
+ continue;
113
+ case 2:
114
+ if (tag !== 18) {
115
+ break;
116
+ }
117
+ message.response_payload = reader.string();
118
+ continue;
119
+ case 3:
120
+ if (tag !== 26) {
121
+ break;
122
+ }
123
+ message.txn_id = reader.string();
124
+ continue;
125
+ case 4:
126
+ if (tag !== 34) {
127
+ break;
128
+ }
129
+ message.status = reader.string();
130
+ continue;
131
+ }
132
+ if ((tag & 7) === 4 || tag === 0) {
133
+ break;
134
+ }
135
+ reader.skipType(tag & 7);
136
+ }
137
+ return message;
138
+ },
139
+ fromJSON(object) {
140
+ return {
141
+ request_payload: isSet(object.request_payload) ? globalThis.String(object.request_payload) : "",
142
+ response_payload: isSet(object.response_payload) ? globalThis.String(object.response_payload) : "",
143
+ txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
144
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
145
+ };
146
+ },
147
+ toJSON(message) {
148
+ const obj = {};
149
+ if (message.request_payload !== "") {
150
+ obj.request_payload = message.request_payload;
151
+ }
152
+ if (message.response_payload !== "") {
153
+ obj.response_payload = message.response_payload;
154
+ }
155
+ if (message.txn_id !== "") {
156
+ obj.txn_id = message.txn_id;
157
+ }
158
+ if (message.status !== "") {
159
+ obj.status = message.status;
160
+ }
161
+ return obj;
162
+ },
163
+ create(base) {
164
+ return exports.GetSelfieStatusBureauIdResponse.fromPartial(base ?? {});
165
+ },
166
+ fromPartial(object) {
167
+ const message = createBaseGetSelfieStatusBureauIdResponse();
168
+ message.request_payload = object.request_payload ?? "";
169
+ message.response_payload = object.response_payload ?? "";
170
+ message.txn_id = object.txn_id ?? "";
171
+ message.status = object.status ?? "";
172
+ return message;
173
+ },
174
+ };
175
+ function isSet(value) {
176
+ return value !== null && value !== undefined;
177
+ }
@@ -0,0 +1,38 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "kyc.getselfieurlbybureauid";
3
+ export interface selfieUrlBureauIdRequest {
4
+ redirect_url: string;
5
+ customer_id: number;
6
+ }
7
+ export interface selfieUrlBureauIdResponse {
8
+ status: string;
9
+ txn_id: string;
10
+ selfie_redirectUrl?: string | undefined;
11
+ }
12
+ export declare const selfieUrlBureauIdRequest: {
13
+ encode(message: selfieUrlBureauIdRequest, writer?: _m0.Writer): _m0.Writer;
14
+ decode(input: _m0.Reader | Uint8Array, length?: number): selfieUrlBureauIdRequest;
15
+ fromJSON(object: any): selfieUrlBureauIdRequest;
16
+ toJSON(message: selfieUrlBureauIdRequest): unknown;
17
+ create<I extends Exact<DeepPartial<selfieUrlBureauIdRequest>, I>>(base?: I): selfieUrlBureauIdRequest;
18
+ fromPartial<I extends Exact<DeepPartial<selfieUrlBureauIdRequest>, I>>(object: I): selfieUrlBureauIdRequest;
19
+ };
20
+ export declare const selfieUrlBureauIdResponse: {
21
+ encode(message: selfieUrlBureauIdResponse, writer?: _m0.Writer): _m0.Writer;
22
+ decode(input: _m0.Reader | Uint8Array, length?: number): selfieUrlBureauIdResponse;
23
+ fromJSON(object: any): selfieUrlBureauIdResponse;
24
+ toJSON(message: selfieUrlBureauIdResponse): unknown;
25
+ create<I extends Exact<DeepPartial<selfieUrlBureauIdResponse>, I>>(base?: I): selfieUrlBureauIdResponse;
26
+ fromPartial<I extends Exact<DeepPartial<selfieUrlBureauIdResponse>, I>>(object: I): selfieUrlBureauIdResponse;
27
+ };
28
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
29
+ 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 {} ? {
30
+ [K in keyof T]?: DeepPartial<T[K]>;
31
+ } : Partial<T>;
32
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
33
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
34
+ [K in keyof P]: Exact<P[K], I[K]>;
35
+ } & {
36
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
37
+ };
38
+ export {};
@@ -0,0 +1,177 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.2
5
+ // protoc v6.33.1
6
+ // source: kyc/getselfieurlbybureauid.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.selfieUrlBureauIdResponse = exports.selfieUrlBureauIdRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const long_1 = __importDefault(require("long"));
14
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
+ exports.protobufPackage = "kyc.getselfieurlbybureauid";
16
+ function createBaseselfieUrlBureauIdRequest() {
17
+ return { redirect_url: "", customer_id: 0 };
18
+ }
19
+ exports.selfieUrlBureauIdRequest = {
20
+ encode(message, writer = minimal_1.default.Writer.create()) {
21
+ if (message.redirect_url !== "") {
22
+ writer.uint32(10).string(message.redirect_url);
23
+ }
24
+ if (message.customer_id !== 0) {
25
+ writer.uint32(16).int64(message.customer_id);
26
+ }
27
+ return writer;
28
+ },
29
+ decode(input, length) {
30
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
31
+ let end = length === undefined ? reader.len : reader.pos + length;
32
+ const message = createBaseselfieUrlBureauIdRequest();
33
+ while (reader.pos < end) {
34
+ const tag = reader.uint32();
35
+ switch (tag >>> 3) {
36
+ case 1:
37
+ if (tag !== 10) {
38
+ break;
39
+ }
40
+ message.redirect_url = reader.string();
41
+ continue;
42
+ case 2:
43
+ if (tag !== 16) {
44
+ break;
45
+ }
46
+ message.customer_id = longToNumber(reader.int64());
47
+ continue;
48
+ }
49
+ if ((tag & 7) === 4 || tag === 0) {
50
+ break;
51
+ }
52
+ reader.skipType(tag & 7);
53
+ }
54
+ return message;
55
+ },
56
+ fromJSON(object) {
57
+ return {
58
+ redirect_url: isSet(object.redirect_url) ? globalThis.String(object.redirect_url) : "",
59
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
60
+ };
61
+ },
62
+ toJSON(message) {
63
+ const obj = {};
64
+ if (message.redirect_url !== "") {
65
+ obj.redirect_url = message.redirect_url;
66
+ }
67
+ if (message.customer_id !== 0) {
68
+ obj.customer_id = Math.round(message.customer_id);
69
+ }
70
+ return obj;
71
+ },
72
+ create(base) {
73
+ return exports.selfieUrlBureauIdRequest.fromPartial(base ?? {});
74
+ },
75
+ fromPartial(object) {
76
+ const message = createBaseselfieUrlBureauIdRequest();
77
+ message.redirect_url = object.redirect_url ?? "";
78
+ message.customer_id = object.customer_id ?? 0;
79
+ return message;
80
+ },
81
+ };
82
+ function createBaseselfieUrlBureauIdResponse() {
83
+ return { status: "", txn_id: "", selfie_redirectUrl: undefined };
84
+ }
85
+ exports.selfieUrlBureauIdResponse = {
86
+ encode(message, writer = minimal_1.default.Writer.create()) {
87
+ if (message.status !== "") {
88
+ writer.uint32(10).string(message.status);
89
+ }
90
+ if (message.txn_id !== "") {
91
+ writer.uint32(18).string(message.txn_id);
92
+ }
93
+ if (message.selfie_redirectUrl !== undefined) {
94
+ writer.uint32(26).string(message.selfie_redirectUrl);
95
+ }
96
+ return writer;
97
+ },
98
+ decode(input, length) {
99
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
100
+ let end = length === undefined ? reader.len : reader.pos + length;
101
+ const message = createBaseselfieUrlBureauIdResponse();
102
+ while (reader.pos < end) {
103
+ const tag = reader.uint32();
104
+ switch (tag >>> 3) {
105
+ case 1:
106
+ if (tag !== 10) {
107
+ break;
108
+ }
109
+ message.status = reader.string();
110
+ continue;
111
+ case 2:
112
+ if (tag !== 18) {
113
+ break;
114
+ }
115
+ message.txn_id = reader.string();
116
+ continue;
117
+ case 3:
118
+ if (tag !== 26) {
119
+ break;
120
+ }
121
+ message.selfie_redirectUrl = reader.string();
122
+ continue;
123
+ }
124
+ if ((tag & 7) === 4 || tag === 0) {
125
+ break;
126
+ }
127
+ reader.skipType(tag & 7);
128
+ }
129
+ return message;
130
+ },
131
+ fromJSON(object) {
132
+ return {
133
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
134
+ txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
135
+ selfie_redirectUrl: isSet(object.selfie_redirectUrl) ? globalThis.String(object.selfie_redirectUrl) : undefined,
136
+ };
137
+ },
138
+ toJSON(message) {
139
+ const obj = {};
140
+ if (message.status !== "") {
141
+ obj.status = message.status;
142
+ }
143
+ if (message.txn_id !== "") {
144
+ obj.txn_id = message.txn_id;
145
+ }
146
+ if (message.selfie_redirectUrl !== undefined) {
147
+ obj.selfie_redirectUrl = message.selfie_redirectUrl;
148
+ }
149
+ return obj;
150
+ },
151
+ create(base) {
152
+ return exports.selfieUrlBureauIdResponse.fromPartial(base ?? {});
153
+ },
154
+ fromPartial(object) {
155
+ const message = createBaseselfieUrlBureauIdResponse();
156
+ message.status = object.status ?? "";
157
+ message.txn_id = object.txn_id ?? "";
158
+ message.selfie_redirectUrl = object.selfie_redirectUrl ?? undefined;
159
+ return message;
160
+ },
161
+ };
162
+ function longToNumber(long) {
163
+ if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
164
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
165
+ }
166
+ if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
167
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
168
+ }
169
+ return long.toNumber();
170
+ }
171
+ if (minimal_1.default.util.Long !== long_1.default) {
172
+ minimal_1.default.util.Long = long_1.default;
173
+ minimal_1.default.configure();
174
+ }
175
+ function isSet(value) {
176
+ return value !== null && value !== undefined;
177
+ }
package/ts/kyc.d.ts CHANGED
@@ -10,8 +10,10 @@ import { faceMatchRequest, faceMatchResponse } from "./kyc/facematch";
10
10
  import { fetchAadhaarByPanRequest, fetchAadhaarByPanResponse } from "./kyc/fetchaadhaarbypan";
11
11
  import { fetchEmploymentHistoryRequest, fetchEmploymentHistoryResponse } from "./kyc/fetchemploymenthistory";
12
12
  import { fetchUanListRequest, fetchUanListResponse } from "./kyc/fetchuanlist";
13
+ import { GetSelfieStatusBureauIdRequest, GetSelfieStatusBureauIdResponse } from "./kyc/getselfiestatusbureauid";
13
14
  import { selfieTxnIdRequest, selfieTxnIdResponse } from "./kyc/getselfietxnid";
14
15
  import { GetSelfieRedirectionUrlRequest, GetSelfieRedirectionUrlResponse } from "./kyc/getselfieurl";
16
+ import { selfieUrlBureauIdRequest, selfieUrlBureauIdResponse } from "./kyc/getselfieurlbybureauid";
15
17
  import { CustomerPanDetailRequest, CustomerPanDetailResponse } from "./kyc/nsdlpanvalidate";
16
18
  import { okyclinkHypervergeRequest, okyclinkHypervergeResponse } from "./kyc/okyclinkhyperverge";
17
19
  export declare const protobufPackage = "service";
@@ -161,6 +163,24 @@ export declare const kycService: {
161
163
  readonly responseSerialize: (value: ckycValidationResponse) => Buffer<ArrayBuffer>;
162
164
  readonly responseDeserialize: (value: Buffer) => ckycValidationResponse;
163
165
  };
166
+ readonly getSelfieUrlByBureauId: {
167
+ readonly path: "/service.kyc/getSelfieUrlByBureauId";
168
+ readonly requestStream: false;
169
+ readonly responseStream: false;
170
+ readonly requestSerialize: (value: selfieUrlBureauIdRequest) => Buffer<ArrayBuffer>;
171
+ readonly requestDeserialize: (value: Buffer) => selfieUrlBureauIdRequest;
172
+ readonly responseSerialize: (value: selfieUrlBureauIdResponse) => Buffer<ArrayBuffer>;
173
+ readonly responseDeserialize: (value: Buffer) => selfieUrlBureauIdResponse;
174
+ };
175
+ readonly getSelfieStatusBureauid: {
176
+ readonly path: "/service.kyc/getSelfieStatusBureauid";
177
+ readonly requestStream: false;
178
+ readonly responseStream: false;
179
+ readonly requestSerialize: (value: GetSelfieStatusBureauIdRequest) => Buffer<ArrayBuffer>;
180
+ readonly requestDeserialize: (value: Buffer) => GetSelfieStatusBureauIdRequest;
181
+ readonly responseSerialize: (value: GetSelfieStatusBureauIdResponse) => Buffer<ArrayBuffer>;
182
+ readonly responseDeserialize: (value: Buffer) => GetSelfieStatusBureauIdResponse;
183
+ };
164
184
  };
165
185
  export interface kycServer extends UntypedServiceImplementation {
166
186
  fetchUanList: handleUnaryCall<fetchUanListRequest, fetchUanListResponse>;
@@ -179,6 +199,8 @@ export interface kycServer extends UntypedServiceImplementation {
179
199
  ckycFetchRecord: handleUnaryCall<ckycFetchRecordRequest, ckycFetchRecordResponse>;
180
200
  ckycResendOtp: handleUnaryCall<ckycResendOtpRequest, ckycResendOtpResponse>;
181
201
  validateCkyc: handleUnaryCall<ckycValidationRequest, ckycValidationResponse>;
202
+ getSelfieUrlByBureauId: handleUnaryCall<selfieUrlBureauIdRequest, selfieUrlBureauIdResponse>;
203
+ getSelfieStatusBureauid: handleUnaryCall<GetSelfieStatusBureauIdRequest, GetSelfieStatusBureauIdResponse>;
182
204
  }
183
205
  export interface kycClient extends Client {
184
206
  fetchUanList(request: fetchUanListRequest, callback: (error: ServiceError | null, response: fetchUanListResponse) => void): ClientUnaryCall;
@@ -229,6 +251,12 @@ export interface kycClient extends Client {
229
251
  validateCkyc(request: ckycValidationRequest, callback: (error: ServiceError | null, response: ckycValidationResponse) => void): ClientUnaryCall;
230
252
  validateCkyc(request: ckycValidationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ckycValidationResponse) => void): ClientUnaryCall;
231
253
  validateCkyc(request: ckycValidationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ckycValidationResponse) => void): ClientUnaryCall;
254
+ getSelfieUrlByBureauId(request: selfieUrlBureauIdRequest, callback: (error: ServiceError | null, response: selfieUrlBureauIdResponse) => void): ClientUnaryCall;
255
+ getSelfieUrlByBureauId(request: selfieUrlBureauIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: selfieUrlBureauIdResponse) => void): ClientUnaryCall;
256
+ getSelfieUrlByBureauId(request: selfieUrlBureauIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: selfieUrlBureauIdResponse) => void): ClientUnaryCall;
257
+ getSelfieStatusBureauid(request: GetSelfieStatusBureauIdRequest, callback: (error: ServiceError | null, response: GetSelfieStatusBureauIdResponse) => void): ClientUnaryCall;
258
+ getSelfieStatusBureauid(request: GetSelfieStatusBureauIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetSelfieStatusBureauIdResponse) => void): ClientUnaryCall;
259
+ getSelfieStatusBureauid(request: GetSelfieStatusBureauIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetSelfieStatusBureauIdResponse) => void): ClientUnaryCall;
232
260
  }
233
261
  export declare const kycClient: {
234
262
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): kycClient;
package/ts/kyc.js CHANGED
@@ -19,8 +19,10 @@ const facematch_1 = require("./kyc/facematch");
19
19
  const fetchaadhaarbypan_1 = require("./kyc/fetchaadhaarbypan");
20
20
  const fetchemploymenthistory_1 = require("./kyc/fetchemploymenthistory");
21
21
  const fetchuanlist_1 = require("./kyc/fetchuanlist");
22
+ const getselfiestatusbureauid_1 = require("./kyc/getselfiestatusbureauid");
22
23
  const getselfietxnid_1 = require("./kyc/getselfietxnid");
23
24
  const getselfieurl_1 = require("./kyc/getselfieurl");
25
+ const getselfieurlbybureauid_1 = require("./kyc/getselfieurlbybureauid");
24
26
  const nsdlpanvalidate_1 = require("./kyc/nsdlpanvalidate");
25
27
  const okyclinkhyperverge_1 = require("./kyc/okyclinkhyperverge");
26
28
  exports.protobufPackage = "service";
@@ -169,5 +171,23 @@ exports.kycService = {
169
171
  responseSerialize: (value) => Buffer.from(ckycvalidation_1.ckycValidationResponse.encode(value).finish()),
170
172
  responseDeserialize: (value) => ckycvalidation_1.ckycValidationResponse.decode(value),
171
173
  },
174
+ getSelfieUrlByBureauId: {
175
+ path: "/service.kyc/getSelfieUrlByBureauId",
176
+ requestStream: false,
177
+ responseStream: false,
178
+ requestSerialize: (value) => Buffer.from(getselfieurlbybureauid_1.selfieUrlBureauIdRequest.encode(value).finish()),
179
+ requestDeserialize: (value) => getselfieurlbybureauid_1.selfieUrlBureauIdRequest.decode(value),
180
+ responseSerialize: (value) => Buffer.from(getselfieurlbybureauid_1.selfieUrlBureauIdResponse.encode(value).finish()),
181
+ responseDeserialize: (value) => getselfieurlbybureauid_1.selfieUrlBureauIdResponse.decode(value),
182
+ },
183
+ getSelfieStatusBureauid: {
184
+ path: "/service.kyc/getSelfieStatusBureauid",
185
+ requestStream: false,
186
+ responseStream: false,
187
+ requestSerialize: (value) => Buffer.from(getselfiestatusbureauid_1.GetSelfieStatusBureauIdRequest.encode(value).finish()),
188
+ requestDeserialize: (value) => getselfiestatusbureauid_1.GetSelfieStatusBureauIdRequest.decode(value),
189
+ responseSerialize: (value) => Buffer.from(getselfiestatusbureauid_1.GetSelfieStatusBureauIdResponse.encode(value).finish()),
190
+ responseDeserialize: (value) => getselfiestatusbureauid_1.GetSelfieStatusBureauIdResponse.decode(value),
191
+ },
172
192
  };
173
193
  exports.kycClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.kycService, "service.kyc");