@stashfin/grpc 1.2.608 → 1.2.610

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.2.608",
3
+ "version": "1.2.610",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -0,0 +1,58 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "kyc.getselfieurl";
3
+ export interface GetSelfieRedirectionUrlRequest {
4
+ redirect_url: string;
5
+ customer_id: number;
6
+ }
7
+ export interface GetSelfieRedirectionUrlResponse {
8
+ status: string;
9
+ profile_pic_upload_url: string;
10
+ landing_page: string;
11
+ relational_stashfin_site: string;
12
+ r?: shortUrlData | undefined;
13
+ }
14
+ export interface shortUrlData {
15
+ url_code: string;
16
+ redirect_url: string;
17
+ is_active: number;
18
+ user_id: number;
19
+ offer_type: string;
20
+ expire_date: string;
21
+ create_date: string;
22
+ landing_page: string;
23
+ }
24
+ export declare const GetSelfieRedirectionUrlRequest: {
25
+ encode(message: GetSelfieRedirectionUrlRequest, writer?: _m0.Writer): _m0.Writer;
26
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetSelfieRedirectionUrlRequest;
27
+ fromJSON(object: any): GetSelfieRedirectionUrlRequest;
28
+ toJSON(message: GetSelfieRedirectionUrlRequest): unknown;
29
+ create<I extends Exact<DeepPartial<GetSelfieRedirectionUrlRequest>, I>>(base?: I): GetSelfieRedirectionUrlRequest;
30
+ fromPartial<I extends Exact<DeepPartial<GetSelfieRedirectionUrlRequest>, I>>(object: I): GetSelfieRedirectionUrlRequest;
31
+ };
32
+ export declare const GetSelfieRedirectionUrlResponse: {
33
+ encode(message: GetSelfieRedirectionUrlResponse, writer?: _m0.Writer): _m0.Writer;
34
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetSelfieRedirectionUrlResponse;
35
+ fromJSON(object: any): GetSelfieRedirectionUrlResponse;
36
+ toJSON(message: GetSelfieRedirectionUrlResponse): unknown;
37
+ create<I extends Exact<DeepPartial<GetSelfieRedirectionUrlResponse>, I>>(base?: I): GetSelfieRedirectionUrlResponse;
38
+ fromPartial<I extends Exact<DeepPartial<GetSelfieRedirectionUrlResponse>, I>>(object: I): GetSelfieRedirectionUrlResponse;
39
+ };
40
+ export declare const shortUrlData: {
41
+ encode(message: shortUrlData, writer?: _m0.Writer): _m0.Writer;
42
+ decode(input: _m0.Reader | Uint8Array, length?: number): shortUrlData;
43
+ fromJSON(object: any): shortUrlData;
44
+ toJSON(message: shortUrlData): unknown;
45
+ create<I extends Exact<DeepPartial<shortUrlData>, I>>(base?: I): shortUrlData;
46
+ fromPartial<I extends Exact<DeepPartial<shortUrlData>, I>>(object: I): shortUrlData;
47
+ };
48
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
49
+ 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 {} ? {
50
+ [K in keyof T]?: DeepPartial<T[K]>;
51
+ } : Partial<T>;
52
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
53
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
54
+ [K in keyof P]: Exact<P[K], I[K]>;
55
+ } & {
56
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
57
+ };
58
+ export {};
@@ -0,0 +1,368 @@
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.29.3
6
+ // source: kyc/getselfieurl.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.shortUrlData = exports.GetSelfieRedirectionUrlResponse = exports.GetSelfieRedirectionUrlRequest = 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.getselfieurl";
16
+ function createBaseGetSelfieRedirectionUrlRequest() {
17
+ return { redirect_url: "", customer_id: 0 };
18
+ }
19
+ exports.GetSelfieRedirectionUrlRequest = {
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 = createBaseGetSelfieRedirectionUrlRequest();
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.GetSelfieRedirectionUrlRequest.fromPartial(base ?? {});
74
+ },
75
+ fromPartial(object) {
76
+ const message = createBaseGetSelfieRedirectionUrlRequest();
77
+ message.redirect_url = object.redirect_url ?? "";
78
+ message.customer_id = object.customer_id ?? 0;
79
+ return message;
80
+ },
81
+ };
82
+ function createBaseGetSelfieRedirectionUrlResponse() {
83
+ return { status: "", profile_pic_upload_url: "", landing_page: "", relational_stashfin_site: "", r: undefined };
84
+ }
85
+ exports.GetSelfieRedirectionUrlResponse = {
86
+ encode(message, writer = minimal_1.default.Writer.create()) {
87
+ if (message.status !== "") {
88
+ writer.uint32(10).string(message.status);
89
+ }
90
+ if (message.profile_pic_upload_url !== "") {
91
+ writer.uint32(18).string(message.profile_pic_upload_url);
92
+ }
93
+ if (message.landing_page !== "") {
94
+ writer.uint32(26).string(message.landing_page);
95
+ }
96
+ if (message.relational_stashfin_site !== "") {
97
+ writer.uint32(34).string(message.relational_stashfin_site);
98
+ }
99
+ if (message.r !== undefined) {
100
+ exports.shortUrlData.encode(message.r, writer.uint32(42).fork()).ldelim();
101
+ }
102
+ return writer;
103
+ },
104
+ decode(input, length) {
105
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
106
+ let end = length === undefined ? reader.len : reader.pos + length;
107
+ const message = createBaseGetSelfieRedirectionUrlResponse();
108
+ while (reader.pos < end) {
109
+ const tag = reader.uint32();
110
+ switch (tag >>> 3) {
111
+ case 1:
112
+ if (tag !== 10) {
113
+ break;
114
+ }
115
+ message.status = reader.string();
116
+ continue;
117
+ case 2:
118
+ if (tag !== 18) {
119
+ break;
120
+ }
121
+ message.profile_pic_upload_url = reader.string();
122
+ continue;
123
+ case 3:
124
+ if (tag !== 26) {
125
+ break;
126
+ }
127
+ message.landing_page = reader.string();
128
+ continue;
129
+ case 4:
130
+ if (tag !== 34) {
131
+ break;
132
+ }
133
+ message.relational_stashfin_site = reader.string();
134
+ continue;
135
+ case 5:
136
+ if (tag !== 42) {
137
+ break;
138
+ }
139
+ message.r = exports.shortUrlData.decode(reader, reader.uint32());
140
+ continue;
141
+ }
142
+ if ((tag & 7) === 4 || tag === 0) {
143
+ break;
144
+ }
145
+ reader.skipType(tag & 7);
146
+ }
147
+ return message;
148
+ },
149
+ fromJSON(object) {
150
+ return {
151
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
152
+ profile_pic_upload_url: isSet(object.profile_pic_upload_url)
153
+ ? globalThis.String(object.profile_pic_upload_url)
154
+ : "",
155
+ landing_page: isSet(object.landing_page) ? globalThis.String(object.landing_page) : "",
156
+ relational_stashfin_site: isSet(object.relational_stashfin_site)
157
+ ? globalThis.String(object.relational_stashfin_site)
158
+ : "",
159
+ r: isSet(object.r) ? exports.shortUrlData.fromJSON(object.r) : undefined,
160
+ };
161
+ },
162
+ toJSON(message) {
163
+ const obj = {};
164
+ if (message.status !== "") {
165
+ obj.status = message.status;
166
+ }
167
+ if (message.profile_pic_upload_url !== "") {
168
+ obj.profile_pic_upload_url = message.profile_pic_upload_url;
169
+ }
170
+ if (message.landing_page !== "") {
171
+ obj.landing_page = message.landing_page;
172
+ }
173
+ if (message.relational_stashfin_site !== "") {
174
+ obj.relational_stashfin_site = message.relational_stashfin_site;
175
+ }
176
+ if (message.r !== undefined) {
177
+ obj.r = exports.shortUrlData.toJSON(message.r);
178
+ }
179
+ return obj;
180
+ },
181
+ create(base) {
182
+ return exports.GetSelfieRedirectionUrlResponse.fromPartial(base ?? {});
183
+ },
184
+ fromPartial(object) {
185
+ const message = createBaseGetSelfieRedirectionUrlResponse();
186
+ message.status = object.status ?? "";
187
+ message.profile_pic_upload_url = object.profile_pic_upload_url ?? "";
188
+ message.landing_page = object.landing_page ?? "";
189
+ message.relational_stashfin_site = object.relational_stashfin_site ?? "";
190
+ message.r = (object.r !== undefined && object.r !== null) ? exports.shortUrlData.fromPartial(object.r) : undefined;
191
+ return message;
192
+ },
193
+ };
194
+ function createBaseshortUrlData() {
195
+ return {
196
+ url_code: "",
197
+ redirect_url: "",
198
+ is_active: 0,
199
+ user_id: 0,
200
+ offer_type: "",
201
+ expire_date: "",
202
+ create_date: "",
203
+ landing_page: "",
204
+ };
205
+ }
206
+ exports.shortUrlData = {
207
+ encode(message, writer = minimal_1.default.Writer.create()) {
208
+ if (message.url_code !== "") {
209
+ writer.uint32(10).string(message.url_code);
210
+ }
211
+ if (message.redirect_url !== "") {
212
+ writer.uint32(18).string(message.redirect_url);
213
+ }
214
+ if (message.is_active !== 0) {
215
+ writer.uint32(24).int32(message.is_active);
216
+ }
217
+ if (message.user_id !== 0) {
218
+ writer.uint32(32).int32(message.user_id);
219
+ }
220
+ if (message.offer_type !== "") {
221
+ writer.uint32(42).string(message.offer_type);
222
+ }
223
+ if (message.expire_date !== "") {
224
+ writer.uint32(50).string(message.expire_date);
225
+ }
226
+ if (message.create_date !== "") {
227
+ writer.uint32(58).string(message.create_date);
228
+ }
229
+ if (message.landing_page !== "") {
230
+ writer.uint32(66).string(message.landing_page);
231
+ }
232
+ return writer;
233
+ },
234
+ decode(input, length) {
235
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
236
+ let end = length === undefined ? reader.len : reader.pos + length;
237
+ const message = createBaseshortUrlData();
238
+ while (reader.pos < end) {
239
+ const tag = reader.uint32();
240
+ switch (tag >>> 3) {
241
+ case 1:
242
+ if (tag !== 10) {
243
+ break;
244
+ }
245
+ message.url_code = reader.string();
246
+ continue;
247
+ case 2:
248
+ if (tag !== 18) {
249
+ break;
250
+ }
251
+ message.redirect_url = reader.string();
252
+ continue;
253
+ case 3:
254
+ if (tag !== 24) {
255
+ break;
256
+ }
257
+ message.is_active = reader.int32();
258
+ continue;
259
+ case 4:
260
+ if (tag !== 32) {
261
+ break;
262
+ }
263
+ message.user_id = reader.int32();
264
+ continue;
265
+ case 5:
266
+ if (tag !== 42) {
267
+ break;
268
+ }
269
+ message.offer_type = reader.string();
270
+ continue;
271
+ case 6:
272
+ if (tag !== 50) {
273
+ break;
274
+ }
275
+ message.expire_date = reader.string();
276
+ continue;
277
+ case 7:
278
+ if (tag !== 58) {
279
+ break;
280
+ }
281
+ message.create_date = reader.string();
282
+ continue;
283
+ case 8:
284
+ if (tag !== 66) {
285
+ break;
286
+ }
287
+ message.landing_page = reader.string();
288
+ continue;
289
+ }
290
+ if ((tag & 7) === 4 || tag === 0) {
291
+ break;
292
+ }
293
+ reader.skipType(tag & 7);
294
+ }
295
+ return message;
296
+ },
297
+ fromJSON(object) {
298
+ return {
299
+ url_code: isSet(object.url_code) ? globalThis.String(object.url_code) : "",
300
+ redirect_url: isSet(object.redirect_url) ? globalThis.String(object.redirect_url) : "",
301
+ is_active: isSet(object.is_active) ? globalThis.Number(object.is_active) : 0,
302
+ user_id: isSet(object.user_id) ? globalThis.Number(object.user_id) : 0,
303
+ offer_type: isSet(object.offer_type) ? globalThis.String(object.offer_type) : "",
304
+ expire_date: isSet(object.expire_date) ? globalThis.String(object.expire_date) : "",
305
+ create_date: isSet(object.create_date) ? globalThis.String(object.create_date) : "",
306
+ landing_page: isSet(object.landing_page) ? globalThis.String(object.landing_page) : "",
307
+ };
308
+ },
309
+ toJSON(message) {
310
+ const obj = {};
311
+ if (message.url_code !== "") {
312
+ obj.url_code = message.url_code;
313
+ }
314
+ if (message.redirect_url !== "") {
315
+ obj.redirect_url = message.redirect_url;
316
+ }
317
+ if (message.is_active !== 0) {
318
+ obj.is_active = Math.round(message.is_active);
319
+ }
320
+ if (message.user_id !== 0) {
321
+ obj.user_id = Math.round(message.user_id);
322
+ }
323
+ if (message.offer_type !== "") {
324
+ obj.offer_type = message.offer_type;
325
+ }
326
+ if (message.expire_date !== "") {
327
+ obj.expire_date = message.expire_date;
328
+ }
329
+ if (message.create_date !== "") {
330
+ obj.create_date = message.create_date;
331
+ }
332
+ if (message.landing_page !== "") {
333
+ obj.landing_page = message.landing_page;
334
+ }
335
+ return obj;
336
+ },
337
+ create(base) {
338
+ return exports.shortUrlData.fromPartial(base ?? {});
339
+ },
340
+ fromPartial(object) {
341
+ const message = createBaseshortUrlData();
342
+ message.url_code = object.url_code ?? "";
343
+ message.redirect_url = object.redirect_url ?? "";
344
+ message.is_active = object.is_active ?? 0;
345
+ message.user_id = object.user_id ?? 0;
346
+ message.offer_type = object.offer_type ?? "";
347
+ message.expire_date = object.expire_date ?? "";
348
+ message.create_date = object.create_date ?? "";
349
+ message.landing_page = object.landing_page ?? "";
350
+ return message;
351
+ },
352
+ };
353
+ function longToNumber(long) {
354
+ if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
355
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
356
+ }
357
+ if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
358
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
359
+ }
360
+ return long.toNumber();
361
+ }
362
+ if (minimal_1.default.util.Long !== long_1.default) {
363
+ minimal_1.default.util.Long = long_1.default;
364
+ minimal_1.default.configure();
365
+ }
366
+ function isSet(value) {
367
+ return value !== null && value !== undefined;
368
+ }
package/ts/kyc.d.ts CHANGED
@@ -2,8 +2,8 @@ import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type
2
2
  import { faceMatchRequest, faceMatchResponse } from "./kyc/facematch";
3
3
  import { fetchEmploymentHistoryRequest, fetchEmploymentHistoryResponse } from "./kyc/fetchemploymenthistory";
4
4
  import { fetchUanListRequest, fetchUanListResponse } from "./kyc/fetchuanlist";
5
- import { GetSelfieTxnRequest, GetSelfieTxnResponse } from "./kyc/getselfietxn";
6
5
  import { selfieTxnIdRequest, selfieTxnIdResponse } from "./kyc/getselfietxnid";
6
+ import { GetSelfieRedirectionUrlRequest, GetSelfieRedirectionUrlResponse } from "./kyc/getselfieurl";
7
7
  import { CustomerPanDetailRequest, CustomerPanDetailResponse } from "./kyc/nsdlpanvalidate";
8
8
  export declare const protobufPackage = "service";
9
9
  export type kycService = typeof kycService;
@@ -53,14 +53,14 @@ export declare const kycService: {
53
53
  readonly responseSerialize: (value: CustomerPanDetailResponse) => Buffer;
54
54
  readonly responseDeserialize: (value: Buffer) => CustomerPanDetailResponse;
55
55
  };
56
- readonly getSelfieTxn: {
57
- readonly path: "/service.kyc/getSelfieTxn";
56
+ readonly getSelfieRedirectionUrl: {
57
+ readonly path: "/service.kyc/getSelfieRedirectionUrl";
58
58
  readonly requestStream: false;
59
59
  readonly responseStream: false;
60
- readonly requestSerialize: (value: GetSelfieTxnRequest) => Buffer;
61
- readonly requestDeserialize: (value: Buffer) => GetSelfieTxnRequest;
62
- readonly responseSerialize: (value: GetSelfieTxnResponse) => Buffer;
63
- readonly responseDeserialize: (value: Buffer) => GetSelfieTxnResponse;
60
+ readonly requestSerialize: (value: GetSelfieRedirectionUrlRequest) => Buffer;
61
+ readonly requestDeserialize: (value: Buffer) => GetSelfieRedirectionUrlRequest;
62
+ readonly responseSerialize: (value: GetSelfieRedirectionUrlResponse) => Buffer;
63
+ readonly responseDeserialize: (value: Buffer) => GetSelfieRedirectionUrlResponse;
64
64
  };
65
65
  };
66
66
  export interface kycServer extends UntypedServiceImplementation {
@@ -69,7 +69,7 @@ export interface kycServer extends UntypedServiceImplementation {
69
69
  getSelfieTxnId: handleUnaryCall<selfieTxnIdRequest, selfieTxnIdResponse>;
70
70
  faceMatch: handleUnaryCall<faceMatchRequest, faceMatchResponse>;
71
71
  panValidation: handleUnaryCall<CustomerPanDetailRequest, CustomerPanDetailResponse>;
72
- getSelfieTxn: handleUnaryCall<GetSelfieTxnRequest, GetSelfieTxnResponse>;
72
+ getSelfieRedirectionUrl: handleUnaryCall<GetSelfieRedirectionUrlRequest, GetSelfieRedirectionUrlResponse>;
73
73
  }
74
74
  export interface kycClient extends Client {
75
75
  fetchUanList(request: fetchUanListRequest, callback: (error: ServiceError | null, response: fetchUanListResponse) => void): ClientUnaryCall;
@@ -87,9 +87,9 @@ export interface kycClient extends Client {
87
87
  panValidation(request: CustomerPanDetailRequest, callback: (error: ServiceError | null, response: CustomerPanDetailResponse) => void): ClientUnaryCall;
88
88
  panValidation(request: CustomerPanDetailRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CustomerPanDetailResponse) => void): ClientUnaryCall;
89
89
  panValidation(request: CustomerPanDetailRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CustomerPanDetailResponse) => void): ClientUnaryCall;
90
- getSelfieTxn(request: GetSelfieTxnRequest, callback: (error: ServiceError | null, response: GetSelfieTxnResponse) => void): ClientUnaryCall;
91
- getSelfieTxn(request: GetSelfieTxnRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetSelfieTxnResponse) => void): ClientUnaryCall;
92
- getSelfieTxn(request: GetSelfieTxnRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetSelfieTxnResponse) => void): ClientUnaryCall;
90
+ getSelfieRedirectionUrl(request: GetSelfieRedirectionUrlRequest, callback: (error: ServiceError | null, response: GetSelfieRedirectionUrlResponse) => void): ClientUnaryCall;
91
+ getSelfieRedirectionUrl(request: GetSelfieRedirectionUrlRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetSelfieRedirectionUrlResponse) => void): ClientUnaryCall;
92
+ getSelfieRedirectionUrl(request: GetSelfieRedirectionUrlRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetSelfieRedirectionUrlResponse) => void): ClientUnaryCall;
93
93
  }
94
94
  export declare const kycClient: {
95
95
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): kycClient;
package/ts/kyc.js CHANGED
@@ -11,8 +11,8 @@ const grpc_js_1 = require("@grpc/grpc-js");
11
11
  const facematch_1 = require("./kyc/facematch");
12
12
  const fetchemploymenthistory_1 = require("./kyc/fetchemploymenthistory");
13
13
  const fetchuanlist_1 = require("./kyc/fetchuanlist");
14
- const getselfietxn_1 = require("./kyc/getselfietxn");
15
14
  const getselfietxnid_1 = require("./kyc/getselfietxnid");
15
+ const getselfieurl_1 = require("./kyc/getselfieurl");
16
16
  const nsdlpanvalidate_1 = require("./kyc/nsdlpanvalidate");
17
17
  exports.protobufPackage = "service";
18
18
  exports.kycService = {
@@ -61,14 +61,14 @@ exports.kycService = {
61
61
  responseSerialize: (value) => Buffer.from(nsdlpanvalidate_1.CustomerPanDetailResponse.encode(value).finish()),
62
62
  responseDeserialize: (value) => nsdlpanvalidate_1.CustomerPanDetailResponse.decode(value),
63
63
  },
64
- getSelfieTxn: {
65
- path: "/service.kyc/getSelfieTxn",
64
+ getSelfieRedirectionUrl: {
65
+ path: "/service.kyc/getSelfieRedirectionUrl",
66
66
  requestStream: false,
67
67
  responseStream: false,
68
- requestSerialize: (value) => Buffer.from(getselfietxn_1.GetSelfieTxnRequest.encode(value).finish()),
69
- requestDeserialize: (value) => getselfietxn_1.GetSelfieTxnRequest.decode(value),
70
- responseSerialize: (value) => Buffer.from(getselfietxn_1.GetSelfieTxnResponse.encode(value).finish()),
71
- responseDeserialize: (value) => getselfietxn_1.GetSelfieTxnResponse.decode(value),
68
+ requestSerialize: (value) => Buffer.from(getselfieurl_1.GetSelfieRedirectionUrlRequest.encode(value).finish()),
69
+ requestDeserialize: (value) => getselfieurl_1.GetSelfieRedirectionUrlRequest.decode(value),
70
+ responseSerialize: (value) => Buffer.from(getselfieurl_1.GetSelfieRedirectionUrlResponse.encode(value).finish()),
71
+ responseDeserialize: (value) => getselfieurl_1.GetSelfieRedirectionUrlResponse.decode(value),
72
72
  },
73
73
  };
74
74
  exports.kycClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.kycService, "service.kyc");