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