@sniipwebmaster/kyc-client-grpcweb 24.10.1061 → 24.10.1067
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/dependancies/service_grpc_web_pb.js +936 -0
- package/dependancies/service_pb.js +5820 -0
- package/package.json +1 -1
|
@@ -0,0 +1,936 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for kycserviceapi
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.4.2
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: service.proto
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
const grpc = {};
|
|
20
|
+
grpc.web = require('grpc-web');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var google_api_annotations_pb = require('./google/api/annotations_pb.js')
|
|
24
|
+
|
|
25
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
26
|
+
const proto = {};
|
|
27
|
+
proto.kycserviceapi = require('./service_pb.js');
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @param {string} hostname
|
|
31
|
+
* @param {?Object} credentials
|
|
32
|
+
* @param {?grpc.web.ClientOptions} options
|
|
33
|
+
* @constructor
|
|
34
|
+
* @struct
|
|
35
|
+
* @final
|
|
36
|
+
*/
|
|
37
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient =
|
|
38
|
+
function(hostname, credentials, options) {
|
|
39
|
+
if (!options) options = {};
|
|
40
|
+
options.format = 'text';
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
44
|
+
*/
|
|
45
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @private @const {string} The hostname
|
|
49
|
+
*/
|
|
50
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
51
|
+
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @param {string} hostname
|
|
57
|
+
* @param {?Object} credentials
|
|
58
|
+
* @param {?grpc.web.ClientOptions} options
|
|
59
|
+
* @constructor
|
|
60
|
+
* @struct
|
|
61
|
+
* @final
|
|
62
|
+
*/
|
|
63
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient =
|
|
64
|
+
function(hostname, credentials, options) {
|
|
65
|
+
if (!options) options = {};
|
|
66
|
+
options.format = 'text';
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
70
|
+
*/
|
|
71
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @private @const {string} The hostname
|
|
75
|
+
*/
|
|
76
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
77
|
+
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @const
|
|
83
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
84
|
+
* !proto.kycserviceapi.DeleteDocumentRequest,
|
|
85
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
86
|
+
*/
|
|
87
|
+
const methodDescriptor_KYCServiceAPIService_DeleteDocument = new grpc.web.MethodDescriptor(
|
|
88
|
+
'/kycserviceapi.KYCServiceAPIService/DeleteDocument',
|
|
89
|
+
grpc.web.MethodType.UNARY,
|
|
90
|
+
proto.kycserviceapi.DeleteDocumentRequest,
|
|
91
|
+
proto.kycserviceapi.ResponseCode,
|
|
92
|
+
/**
|
|
93
|
+
* @param {!proto.kycserviceapi.DeleteDocumentRequest} request
|
|
94
|
+
* @return {!Uint8Array}
|
|
95
|
+
*/
|
|
96
|
+
function(request) {
|
|
97
|
+
return request.serializeBinary();
|
|
98
|
+
},
|
|
99
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @param {!proto.kycserviceapi.DeleteDocumentRequest} request The
|
|
105
|
+
* request proto
|
|
106
|
+
* @param {?Object<string, string>} metadata User defined
|
|
107
|
+
* call metadata
|
|
108
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
109
|
+
* callback The callback function(error, response)
|
|
110
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
111
|
+
* The XHR Node Readable Stream
|
|
112
|
+
*/
|
|
113
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.deleteDocument =
|
|
114
|
+
function(request, metadata, callback) {
|
|
115
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
116
|
+
'/kycserviceapi.KYCServiceAPIService/DeleteDocument',
|
|
117
|
+
request,
|
|
118
|
+
metadata || {},
|
|
119
|
+
methodDescriptor_KYCServiceAPIService_DeleteDocument,
|
|
120
|
+
callback);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @param {!proto.kycserviceapi.DeleteDocumentRequest} request The
|
|
126
|
+
* request proto
|
|
127
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
128
|
+
* call metadata
|
|
129
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
130
|
+
* Promise that resolves to the response
|
|
131
|
+
*/
|
|
132
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.deleteDocument =
|
|
133
|
+
function(request, metadata) {
|
|
134
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
135
|
+
'/kycserviceapi.KYCServiceAPIService/DeleteDocument',
|
|
136
|
+
request,
|
|
137
|
+
metadata || {},
|
|
138
|
+
methodDescriptor_KYCServiceAPIService_DeleteDocument);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @const
|
|
144
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
145
|
+
* !proto.google.protobuf.Empty,
|
|
146
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
147
|
+
*/
|
|
148
|
+
const methodDescriptor_KYCServiceAPIService_DeleteInternalKycAttachmentsDeleteOld = new grpc.web.MethodDescriptor(
|
|
149
|
+
'/kycserviceapi.KYCServiceAPIService/DeleteInternalKycAttachmentsDeleteOld',
|
|
150
|
+
grpc.web.MethodType.UNARY,
|
|
151
|
+
google_protobuf_empty_pb.Empty,
|
|
152
|
+
proto.kycserviceapi.ResponseCode,
|
|
153
|
+
/**
|
|
154
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
155
|
+
* @return {!Uint8Array}
|
|
156
|
+
*/
|
|
157
|
+
function(request) {
|
|
158
|
+
return request.serializeBinary();
|
|
159
|
+
},
|
|
160
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
166
|
+
* request proto
|
|
167
|
+
* @param {?Object<string, string>} metadata User defined
|
|
168
|
+
* call metadata
|
|
169
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
170
|
+
* callback The callback function(error, response)
|
|
171
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
172
|
+
* The XHR Node Readable Stream
|
|
173
|
+
*/
|
|
174
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.deleteInternalKycAttachmentsDeleteOld =
|
|
175
|
+
function(request, metadata, callback) {
|
|
176
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
177
|
+
'/kycserviceapi.KYCServiceAPIService/DeleteInternalKycAttachmentsDeleteOld',
|
|
178
|
+
request,
|
|
179
|
+
metadata || {},
|
|
180
|
+
methodDescriptor_KYCServiceAPIService_DeleteInternalKycAttachmentsDeleteOld,
|
|
181
|
+
callback);
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
187
|
+
* request proto
|
|
188
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
189
|
+
* call metadata
|
|
190
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
191
|
+
* Promise that resolves to the response
|
|
192
|
+
*/
|
|
193
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.deleteInternalKycAttachmentsDeleteOld =
|
|
194
|
+
function(request, metadata) {
|
|
195
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
196
|
+
'/kycserviceapi.KYCServiceAPIService/DeleteInternalKycAttachmentsDeleteOld',
|
|
197
|
+
request,
|
|
198
|
+
metadata || {},
|
|
199
|
+
methodDescriptor_KYCServiceAPIService_DeleteInternalKycAttachmentsDeleteOld);
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @const
|
|
205
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
206
|
+
* !proto.kycserviceapi.GetDocumentRequest,
|
|
207
|
+
* !proto.kycserviceapi.DocumentResponse>}
|
|
208
|
+
*/
|
|
209
|
+
const methodDescriptor_KYCServiceAPIService_GetDocument = new grpc.web.MethodDescriptor(
|
|
210
|
+
'/kycserviceapi.KYCServiceAPIService/GetDocument',
|
|
211
|
+
grpc.web.MethodType.UNARY,
|
|
212
|
+
proto.kycserviceapi.GetDocumentRequest,
|
|
213
|
+
proto.kycserviceapi.DocumentResponse,
|
|
214
|
+
/**
|
|
215
|
+
* @param {!proto.kycserviceapi.GetDocumentRequest} request
|
|
216
|
+
* @return {!Uint8Array}
|
|
217
|
+
*/
|
|
218
|
+
function(request) {
|
|
219
|
+
return request.serializeBinary();
|
|
220
|
+
},
|
|
221
|
+
proto.kycserviceapi.DocumentResponse.deserializeBinary
|
|
222
|
+
);
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @param {!proto.kycserviceapi.GetDocumentRequest} request The
|
|
227
|
+
* request proto
|
|
228
|
+
* @param {?Object<string, string>} metadata User defined
|
|
229
|
+
* call metadata
|
|
230
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.DocumentResponse)}
|
|
231
|
+
* callback The callback function(error, response)
|
|
232
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.DocumentResponse>|undefined}
|
|
233
|
+
* The XHR Node Readable Stream
|
|
234
|
+
*/
|
|
235
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getDocument =
|
|
236
|
+
function(request, metadata, callback) {
|
|
237
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
238
|
+
'/kycserviceapi.KYCServiceAPIService/GetDocument',
|
|
239
|
+
request,
|
|
240
|
+
metadata || {},
|
|
241
|
+
methodDescriptor_KYCServiceAPIService_GetDocument,
|
|
242
|
+
callback);
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @param {!proto.kycserviceapi.GetDocumentRequest} request The
|
|
248
|
+
* request proto
|
|
249
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
250
|
+
* call metadata
|
|
251
|
+
* @return {!Promise<!proto.kycserviceapi.DocumentResponse>}
|
|
252
|
+
* Promise that resolves to the response
|
|
253
|
+
*/
|
|
254
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getDocument =
|
|
255
|
+
function(request, metadata) {
|
|
256
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
257
|
+
'/kycserviceapi.KYCServiceAPIService/GetDocument',
|
|
258
|
+
request,
|
|
259
|
+
metadata || {},
|
|
260
|
+
methodDescriptor_KYCServiceAPIService_GetDocument);
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @const
|
|
266
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
267
|
+
* !proto.google.protobuf.Empty,
|
|
268
|
+
* !proto.kycserviceapi.UserKycStatusResponse>}
|
|
269
|
+
*/
|
|
270
|
+
const methodDescriptor_KYCServiceAPIService_GetUserKycStatus = new grpc.web.MethodDescriptor(
|
|
271
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycStatus',
|
|
272
|
+
grpc.web.MethodType.UNARY,
|
|
273
|
+
google_protobuf_empty_pb.Empty,
|
|
274
|
+
proto.kycserviceapi.UserKycStatusResponse,
|
|
275
|
+
/**
|
|
276
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
277
|
+
* @return {!Uint8Array}
|
|
278
|
+
*/
|
|
279
|
+
function(request) {
|
|
280
|
+
return request.serializeBinary();
|
|
281
|
+
},
|
|
282
|
+
proto.kycserviceapi.UserKycStatusResponse.deserializeBinary
|
|
283
|
+
);
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
288
|
+
* request proto
|
|
289
|
+
* @param {?Object<string, string>} metadata User defined
|
|
290
|
+
* call metadata
|
|
291
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.UserKycStatusResponse)}
|
|
292
|
+
* callback The callback function(error, response)
|
|
293
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.UserKycStatusResponse>|undefined}
|
|
294
|
+
* The XHR Node Readable Stream
|
|
295
|
+
*/
|
|
296
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycStatus =
|
|
297
|
+
function(request, metadata, callback) {
|
|
298
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
299
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycStatus',
|
|
300
|
+
request,
|
|
301
|
+
metadata || {},
|
|
302
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycStatus,
|
|
303
|
+
callback);
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
309
|
+
* request proto
|
|
310
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
311
|
+
* call metadata
|
|
312
|
+
* @return {!Promise<!proto.kycserviceapi.UserKycStatusResponse>}
|
|
313
|
+
* Promise that resolves to the response
|
|
314
|
+
*/
|
|
315
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycStatus =
|
|
316
|
+
function(request, metadata) {
|
|
317
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
318
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycStatus',
|
|
319
|
+
request,
|
|
320
|
+
metadata || {},
|
|
321
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycStatus);
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* @const
|
|
327
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
328
|
+
* !proto.kycserviceapi.GetUserKycStatusInternalRequest,
|
|
329
|
+
* !proto.kycserviceapi.UserKycStatusResponse>}
|
|
330
|
+
*/
|
|
331
|
+
const methodDescriptor_KYCServiceAPIService_GetUserKycStatusInternal = new grpc.web.MethodDescriptor(
|
|
332
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycStatusInternal',
|
|
333
|
+
grpc.web.MethodType.UNARY,
|
|
334
|
+
proto.kycserviceapi.GetUserKycStatusInternalRequest,
|
|
335
|
+
proto.kycserviceapi.UserKycStatusResponse,
|
|
336
|
+
/**
|
|
337
|
+
* @param {!proto.kycserviceapi.GetUserKycStatusInternalRequest} request
|
|
338
|
+
* @return {!Uint8Array}
|
|
339
|
+
*/
|
|
340
|
+
function(request) {
|
|
341
|
+
return request.serializeBinary();
|
|
342
|
+
},
|
|
343
|
+
proto.kycserviceapi.UserKycStatusResponse.deserializeBinary
|
|
344
|
+
);
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @param {!proto.kycserviceapi.GetUserKycStatusInternalRequest} request The
|
|
349
|
+
* request proto
|
|
350
|
+
* @param {?Object<string, string>} metadata User defined
|
|
351
|
+
* call metadata
|
|
352
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.UserKycStatusResponse)}
|
|
353
|
+
* callback The callback function(error, response)
|
|
354
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.UserKycStatusResponse>|undefined}
|
|
355
|
+
* The XHR Node Readable Stream
|
|
356
|
+
*/
|
|
357
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycStatusInternal =
|
|
358
|
+
function(request, metadata, callback) {
|
|
359
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
360
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycStatusInternal',
|
|
361
|
+
request,
|
|
362
|
+
metadata || {},
|
|
363
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycStatusInternal,
|
|
364
|
+
callback);
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @param {!proto.kycserviceapi.GetUserKycStatusInternalRequest} request The
|
|
370
|
+
* request proto
|
|
371
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
372
|
+
* call metadata
|
|
373
|
+
* @return {!Promise<!proto.kycserviceapi.UserKycStatusResponse>}
|
|
374
|
+
* Promise that resolves to the response
|
|
375
|
+
*/
|
|
376
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycStatusInternal =
|
|
377
|
+
function(request, metadata) {
|
|
378
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
379
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycStatusInternal',
|
|
380
|
+
request,
|
|
381
|
+
metadata || {},
|
|
382
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycStatusInternal);
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* @const
|
|
388
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
389
|
+
* !proto.kycserviceapi.GetUserKycSummaryRequest,
|
|
390
|
+
* !proto.kycserviceapi.UserKycSummaryResponse>}
|
|
391
|
+
*/
|
|
392
|
+
const methodDescriptor_KYCServiceAPIService_GetUserKycSummary = new grpc.web.MethodDescriptor(
|
|
393
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycSummary',
|
|
394
|
+
grpc.web.MethodType.UNARY,
|
|
395
|
+
proto.kycserviceapi.GetUserKycSummaryRequest,
|
|
396
|
+
proto.kycserviceapi.UserKycSummaryResponse,
|
|
397
|
+
/**
|
|
398
|
+
* @param {!proto.kycserviceapi.GetUserKycSummaryRequest} request
|
|
399
|
+
* @return {!Uint8Array}
|
|
400
|
+
*/
|
|
401
|
+
function(request) {
|
|
402
|
+
return request.serializeBinary();
|
|
403
|
+
},
|
|
404
|
+
proto.kycserviceapi.UserKycSummaryResponse.deserializeBinary
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* @param {!proto.kycserviceapi.GetUserKycSummaryRequest} request The
|
|
410
|
+
* request proto
|
|
411
|
+
* @param {?Object<string, string>} metadata User defined
|
|
412
|
+
* call metadata
|
|
413
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.UserKycSummaryResponse)}
|
|
414
|
+
* callback The callback function(error, response)
|
|
415
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.UserKycSummaryResponse>|undefined}
|
|
416
|
+
* The XHR Node Readable Stream
|
|
417
|
+
*/
|
|
418
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycSummary =
|
|
419
|
+
function(request, metadata, callback) {
|
|
420
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
421
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycSummary',
|
|
422
|
+
request,
|
|
423
|
+
metadata || {},
|
|
424
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycSummary,
|
|
425
|
+
callback);
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @param {!proto.kycserviceapi.GetUserKycSummaryRequest} request The
|
|
431
|
+
* request proto
|
|
432
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
433
|
+
* call metadata
|
|
434
|
+
* @return {!Promise<!proto.kycserviceapi.UserKycSummaryResponse>}
|
|
435
|
+
* Promise that resolves to the response
|
|
436
|
+
*/
|
|
437
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycSummary =
|
|
438
|
+
function(request, metadata) {
|
|
439
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
440
|
+
'/kycserviceapi.KYCServiceAPIService/GetUserKycSummary',
|
|
441
|
+
request,
|
|
442
|
+
metadata || {},
|
|
443
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycSummary);
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @const
|
|
449
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
450
|
+
* !proto.google.protobuf.Empty,
|
|
451
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
452
|
+
*/
|
|
453
|
+
const methodDescriptor_KYCServiceAPIService_HealthCheck = new grpc.web.MethodDescriptor(
|
|
454
|
+
'/kycserviceapi.KYCServiceAPIService/HealthCheck',
|
|
455
|
+
grpc.web.MethodType.UNARY,
|
|
456
|
+
google_protobuf_empty_pb.Empty,
|
|
457
|
+
proto.kycserviceapi.ResponseCode,
|
|
458
|
+
/**
|
|
459
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
460
|
+
* @return {!Uint8Array}
|
|
461
|
+
*/
|
|
462
|
+
function(request) {
|
|
463
|
+
return request.serializeBinary();
|
|
464
|
+
},
|
|
465
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
466
|
+
);
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
471
|
+
* request proto
|
|
472
|
+
* @param {?Object<string, string>} metadata User defined
|
|
473
|
+
* call metadata
|
|
474
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
475
|
+
* callback The callback function(error, response)
|
|
476
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
477
|
+
* The XHR Node Readable Stream
|
|
478
|
+
*/
|
|
479
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.healthCheck =
|
|
480
|
+
function(request, metadata, callback) {
|
|
481
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
482
|
+
'/kycserviceapi.KYCServiceAPIService/HealthCheck',
|
|
483
|
+
request,
|
|
484
|
+
metadata || {},
|
|
485
|
+
methodDescriptor_KYCServiceAPIService_HealthCheck,
|
|
486
|
+
callback);
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
492
|
+
* request proto
|
|
493
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
494
|
+
* call metadata
|
|
495
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
496
|
+
* Promise that resolves to the response
|
|
497
|
+
*/
|
|
498
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.healthCheck =
|
|
499
|
+
function(request, metadata) {
|
|
500
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
501
|
+
'/kycserviceapi.KYCServiceAPIService/HealthCheck',
|
|
502
|
+
request,
|
|
503
|
+
metadata || {},
|
|
504
|
+
methodDescriptor_KYCServiceAPIService_HealthCheck);
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* @const
|
|
510
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
511
|
+
* !proto.kycserviceapi.NotifyUserRequest,
|
|
512
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
513
|
+
*/
|
|
514
|
+
const methodDescriptor_KYCServiceAPIService_NotifyUser = new grpc.web.MethodDescriptor(
|
|
515
|
+
'/kycserviceapi.KYCServiceAPIService/NotifyUser',
|
|
516
|
+
grpc.web.MethodType.UNARY,
|
|
517
|
+
proto.kycserviceapi.NotifyUserRequest,
|
|
518
|
+
proto.kycserviceapi.ResponseCode,
|
|
519
|
+
/**
|
|
520
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} request
|
|
521
|
+
* @return {!Uint8Array}
|
|
522
|
+
*/
|
|
523
|
+
function(request) {
|
|
524
|
+
return request.serializeBinary();
|
|
525
|
+
},
|
|
526
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
527
|
+
);
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} request The
|
|
532
|
+
* request proto
|
|
533
|
+
* @param {?Object<string, string>} metadata User defined
|
|
534
|
+
* call metadata
|
|
535
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
536
|
+
* callback The callback function(error, response)
|
|
537
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
538
|
+
* The XHR Node Readable Stream
|
|
539
|
+
*/
|
|
540
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.notifyUser =
|
|
541
|
+
function(request, metadata, callback) {
|
|
542
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
543
|
+
'/kycserviceapi.KYCServiceAPIService/NotifyUser',
|
|
544
|
+
request,
|
|
545
|
+
metadata || {},
|
|
546
|
+
methodDescriptor_KYCServiceAPIService_NotifyUser,
|
|
547
|
+
callback);
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* @param {!proto.kycserviceapi.NotifyUserRequest} request The
|
|
553
|
+
* request proto
|
|
554
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
555
|
+
* call metadata
|
|
556
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
557
|
+
* Promise that resolves to the response
|
|
558
|
+
*/
|
|
559
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.notifyUser =
|
|
560
|
+
function(request, metadata) {
|
|
561
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
562
|
+
'/kycserviceapi.KYCServiceAPIService/NotifyUser',
|
|
563
|
+
request,
|
|
564
|
+
metadata || {},
|
|
565
|
+
methodDescriptor_KYCServiceAPIService_NotifyUser);
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* @const
|
|
571
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
572
|
+
* !proto.kycserviceapi.RequestUserKycRequest,
|
|
573
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
574
|
+
*/
|
|
575
|
+
const methodDescriptor_KYCServiceAPIService_RequestUserKyc = new grpc.web.MethodDescriptor(
|
|
576
|
+
'/kycserviceapi.KYCServiceAPIService/RequestUserKyc',
|
|
577
|
+
grpc.web.MethodType.UNARY,
|
|
578
|
+
proto.kycserviceapi.RequestUserKycRequest,
|
|
579
|
+
proto.kycserviceapi.ResponseCode,
|
|
580
|
+
/**
|
|
581
|
+
* @param {!proto.kycserviceapi.RequestUserKycRequest} request
|
|
582
|
+
* @return {!Uint8Array}
|
|
583
|
+
*/
|
|
584
|
+
function(request) {
|
|
585
|
+
return request.serializeBinary();
|
|
586
|
+
},
|
|
587
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
588
|
+
);
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* @param {!proto.kycserviceapi.RequestUserKycRequest} request The
|
|
593
|
+
* request proto
|
|
594
|
+
* @param {?Object<string, string>} metadata User defined
|
|
595
|
+
* call metadata
|
|
596
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
597
|
+
* callback The callback function(error, response)
|
|
598
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
599
|
+
* The XHR Node Readable Stream
|
|
600
|
+
*/
|
|
601
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.requestUserKyc =
|
|
602
|
+
function(request, metadata, callback) {
|
|
603
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
604
|
+
'/kycserviceapi.KYCServiceAPIService/RequestUserKyc',
|
|
605
|
+
request,
|
|
606
|
+
metadata || {},
|
|
607
|
+
methodDescriptor_KYCServiceAPIService_RequestUserKyc,
|
|
608
|
+
callback);
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @param {!proto.kycserviceapi.RequestUserKycRequest} request The
|
|
614
|
+
* request proto
|
|
615
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
616
|
+
* call metadata
|
|
617
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
618
|
+
* Promise that resolves to the response
|
|
619
|
+
*/
|
|
620
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.requestUserKyc =
|
|
621
|
+
function(request, metadata) {
|
|
622
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
623
|
+
'/kycserviceapi.KYCServiceAPIService/RequestUserKyc',
|
|
624
|
+
request,
|
|
625
|
+
metadata || {},
|
|
626
|
+
methodDescriptor_KYCServiceAPIService_RequestUserKyc);
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* @const
|
|
632
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
633
|
+
* !proto.kycserviceapi.SaveDocumentRequest,
|
|
634
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
635
|
+
*/
|
|
636
|
+
const methodDescriptor_KYCServiceAPIService_SaveDocument = new grpc.web.MethodDescriptor(
|
|
637
|
+
'/kycserviceapi.KYCServiceAPIService/SaveDocument',
|
|
638
|
+
grpc.web.MethodType.UNARY,
|
|
639
|
+
proto.kycserviceapi.SaveDocumentRequest,
|
|
640
|
+
proto.kycserviceapi.ResponseCode,
|
|
641
|
+
/**
|
|
642
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request
|
|
643
|
+
* @return {!Uint8Array}
|
|
644
|
+
*/
|
|
645
|
+
function(request) {
|
|
646
|
+
return request.serializeBinary();
|
|
647
|
+
},
|
|
648
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
649
|
+
);
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request The
|
|
654
|
+
* request proto
|
|
655
|
+
* @param {?Object<string, string>} metadata User defined
|
|
656
|
+
* call metadata
|
|
657
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
658
|
+
* callback The callback function(error, response)
|
|
659
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
660
|
+
* The XHR Node Readable Stream
|
|
661
|
+
*/
|
|
662
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.saveDocument =
|
|
663
|
+
function(request, metadata, callback) {
|
|
664
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
665
|
+
'/kycserviceapi.KYCServiceAPIService/SaveDocument',
|
|
666
|
+
request,
|
|
667
|
+
metadata || {},
|
|
668
|
+
methodDescriptor_KYCServiceAPIService_SaveDocument,
|
|
669
|
+
callback);
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request The
|
|
675
|
+
* request proto
|
|
676
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
677
|
+
* call metadata
|
|
678
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
679
|
+
* Promise that resolves to the response
|
|
680
|
+
*/
|
|
681
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.saveDocument =
|
|
682
|
+
function(request, metadata) {
|
|
683
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
684
|
+
'/kycserviceapi.KYCServiceAPIService/SaveDocument',
|
|
685
|
+
request,
|
|
686
|
+
metadata || {},
|
|
687
|
+
methodDescriptor_KYCServiceAPIService_SaveDocument);
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* @const
|
|
693
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
694
|
+
* !proto.google.protobuf.Empty,
|
|
695
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
696
|
+
*/
|
|
697
|
+
const methodDescriptor_KYCServiceAPIService_SubmitUserKyc = new grpc.web.MethodDescriptor(
|
|
698
|
+
'/kycserviceapi.KYCServiceAPIService/SubmitUserKyc',
|
|
699
|
+
grpc.web.MethodType.UNARY,
|
|
700
|
+
google_protobuf_empty_pb.Empty,
|
|
701
|
+
proto.kycserviceapi.ResponseCode,
|
|
702
|
+
/**
|
|
703
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
704
|
+
* @return {!Uint8Array}
|
|
705
|
+
*/
|
|
706
|
+
function(request) {
|
|
707
|
+
return request.serializeBinary();
|
|
708
|
+
},
|
|
709
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
710
|
+
);
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
715
|
+
* request proto
|
|
716
|
+
* @param {?Object<string, string>} metadata User defined
|
|
717
|
+
* call metadata
|
|
718
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
719
|
+
* callback The callback function(error, response)
|
|
720
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
721
|
+
* The XHR Node Readable Stream
|
|
722
|
+
*/
|
|
723
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.submitUserKyc =
|
|
724
|
+
function(request, metadata, callback) {
|
|
725
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
726
|
+
'/kycserviceapi.KYCServiceAPIService/SubmitUserKyc',
|
|
727
|
+
request,
|
|
728
|
+
metadata || {},
|
|
729
|
+
methodDescriptor_KYCServiceAPIService_SubmitUserKyc,
|
|
730
|
+
callback);
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
736
|
+
* request proto
|
|
737
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
738
|
+
* call metadata
|
|
739
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
740
|
+
* Promise that resolves to the response
|
|
741
|
+
*/
|
|
742
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.submitUserKyc =
|
|
743
|
+
function(request, metadata) {
|
|
744
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
745
|
+
'/kycserviceapi.KYCServiceAPIService/SubmitUserKyc',
|
|
746
|
+
request,
|
|
747
|
+
metadata || {},
|
|
748
|
+
methodDescriptor_KYCServiceAPIService_SubmitUserKyc);
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* @const
|
|
754
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
755
|
+
* !proto.kycserviceapi.UpdateKycUserStatusRequest,
|
|
756
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
757
|
+
*/
|
|
758
|
+
const methodDescriptor_KYCServiceAPIService_UpdateKycUserStatus = new grpc.web.MethodDescriptor(
|
|
759
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycUserStatus',
|
|
760
|
+
grpc.web.MethodType.UNARY,
|
|
761
|
+
proto.kycserviceapi.UpdateKycUserStatusRequest,
|
|
762
|
+
proto.kycserviceapi.ResponseCode,
|
|
763
|
+
/**
|
|
764
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} request
|
|
765
|
+
* @return {!Uint8Array}
|
|
766
|
+
*/
|
|
767
|
+
function(request) {
|
|
768
|
+
return request.serializeBinary();
|
|
769
|
+
},
|
|
770
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
771
|
+
);
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} request The
|
|
776
|
+
* request proto
|
|
777
|
+
* @param {?Object<string, string>} metadata User defined
|
|
778
|
+
* call metadata
|
|
779
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
780
|
+
* callback The callback function(error, response)
|
|
781
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
782
|
+
* The XHR Node Readable Stream
|
|
783
|
+
*/
|
|
784
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.updateKycUserStatus =
|
|
785
|
+
function(request, metadata, callback) {
|
|
786
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
787
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycUserStatus',
|
|
788
|
+
request,
|
|
789
|
+
metadata || {},
|
|
790
|
+
methodDescriptor_KYCServiceAPIService_UpdateKycUserStatus,
|
|
791
|
+
callback);
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* @param {!proto.kycserviceapi.UpdateKycUserStatusRequest} request The
|
|
797
|
+
* request proto
|
|
798
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
799
|
+
* call metadata
|
|
800
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
801
|
+
* Promise that resolves to the response
|
|
802
|
+
*/
|
|
803
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.updateKycUserStatus =
|
|
804
|
+
function(request, metadata) {
|
|
805
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
806
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateKycUserStatus',
|
|
807
|
+
request,
|
|
808
|
+
metadata || {},
|
|
809
|
+
methodDescriptor_KYCServiceAPIService_UpdateKycUserStatus);
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* @const
|
|
815
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
816
|
+
* !proto.kycserviceapi.VerifyDocumentRequest,
|
|
817
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
818
|
+
*/
|
|
819
|
+
const methodDescriptor_KYCServiceAPIService_VerifyDocument = new grpc.web.MethodDescriptor(
|
|
820
|
+
'/kycserviceapi.KYCServiceAPIService/VerifyDocument',
|
|
821
|
+
grpc.web.MethodType.UNARY,
|
|
822
|
+
proto.kycserviceapi.VerifyDocumentRequest,
|
|
823
|
+
proto.kycserviceapi.ResponseCode,
|
|
824
|
+
/**
|
|
825
|
+
* @param {!proto.kycserviceapi.VerifyDocumentRequest} request
|
|
826
|
+
* @return {!Uint8Array}
|
|
827
|
+
*/
|
|
828
|
+
function(request) {
|
|
829
|
+
return request.serializeBinary();
|
|
830
|
+
},
|
|
831
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
832
|
+
);
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* @param {!proto.kycserviceapi.VerifyDocumentRequest} request The
|
|
837
|
+
* request proto
|
|
838
|
+
* @param {?Object<string, string>} metadata User defined
|
|
839
|
+
* call metadata
|
|
840
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
841
|
+
* callback The callback function(error, response)
|
|
842
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
843
|
+
* The XHR Node Readable Stream
|
|
844
|
+
*/
|
|
845
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.verifyDocument =
|
|
846
|
+
function(request, metadata, callback) {
|
|
847
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
848
|
+
'/kycserviceapi.KYCServiceAPIService/VerifyDocument',
|
|
849
|
+
request,
|
|
850
|
+
metadata || {},
|
|
851
|
+
methodDescriptor_KYCServiceAPIService_VerifyDocument,
|
|
852
|
+
callback);
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* @param {!proto.kycserviceapi.VerifyDocumentRequest} request The
|
|
858
|
+
* request proto
|
|
859
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
860
|
+
* call metadata
|
|
861
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
862
|
+
* Promise that resolves to the response
|
|
863
|
+
*/
|
|
864
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyDocument =
|
|
865
|
+
function(request, metadata) {
|
|
866
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
867
|
+
'/kycserviceapi.KYCServiceAPIService/VerifyDocument',
|
|
868
|
+
request,
|
|
869
|
+
metadata || {},
|
|
870
|
+
methodDescriptor_KYCServiceAPIService_VerifyDocument);
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* @const
|
|
876
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
877
|
+
* !proto.kycserviceapi.VerifyUserRequest,
|
|
878
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
879
|
+
*/
|
|
880
|
+
const methodDescriptor_KYCServiceAPIService_VerifyUser = new grpc.web.MethodDescriptor(
|
|
881
|
+
'/kycserviceapi.KYCServiceAPIService/VerifyUser',
|
|
882
|
+
grpc.web.MethodType.UNARY,
|
|
883
|
+
proto.kycserviceapi.VerifyUserRequest,
|
|
884
|
+
proto.kycserviceapi.ResponseCode,
|
|
885
|
+
/**
|
|
886
|
+
* @param {!proto.kycserviceapi.VerifyUserRequest} request
|
|
887
|
+
* @return {!Uint8Array}
|
|
888
|
+
*/
|
|
889
|
+
function(request) {
|
|
890
|
+
return request.serializeBinary();
|
|
891
|
+
},
|
|
892
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
893
|
+
);
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* @param {!proto.kycserviceapi.VerifyUserRequest} request The
|
|
898
|
+
* request proto
|
|
899
|
+
* @param {?Object<string, string>} metadata User defined
|
|
900
|
+
* call metadata
|
|
901
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
902
|
+
* callback The callback function(error, response)
|
|
903
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
904
|
+
* The XHR Node Readable Stream
|
|
905
|
+
*/
|
|
906
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.verifyUser =
|
|
907
|
+
function(request, metadata, callback) {
|
|
908
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
909
|
+
'/kycserviceapi.KYCServiceAPIService/VerifyUser',
|
|
910
|
+
request,
|
|
911
|
+
metadata || {},
|
|
912
|
+
methodDescriptor_KYCServiceAPIService_VerifyUser,
|
|
913
|
+
callback);
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* @param {!proto.kycserviceapi.VerifyUserRequest} request The
|
|
919
|
+
* request proto
|
|
920
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
921
|
+
* call metadata
|
|
922
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
923
|
+
* Promise that resolves to the response
|
|
924
|
+
*/
|
|
925
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyUser =
|
|
926
|
+
function(request, metadata) {
|
|
927
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
928
|
+
'/kycserviceapi.KYCServiceAPIService/VerifyUser',
|
|
929
|
+
request,
|
|
930
|
+
metadata || {},
|
|
931
|
+
methodDescriptor_KYCServiceAPIService_VerifyUser);
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
module.exports = proto.kycserviceapi;
|
|
936
|
+
|