@sniipwebmaster/kyc-client-grpcweb 21.13.486 → 21.15.514
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 +350 -66
- package/package.json +2 -2
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
// GENERATED CODE -- DO NOT EDIT!
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
|
|
13
|
+
|
|
10
14
|
|
|
11
15
|
const grpc = {};
|
|
12
16
|
grpc.web = require('grpc-web');
|
|
@@ -41,16 +45,6 @@ proto.kycserviceapi.KYCServiceAPIServiceClient =
|
|
|
41
45
|
*/
|
|
42
46
|
this.hostname_ = hostname;
|
|
43
47
|
|
|
44
|
-
/**
|
|
45
|
-
* @private @const {?Object} The credentials to be used to connect
|
|
46
|
-
* to the server
|
|
47
|
-
*/
|
|
48
|
-
this.credentials_ = credentials;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @private @const {?Object} Options for the client
|
|
52
|
-
*/
|
|
53
|
-
this.options_ = options;
|
|
54
48
|
};
|
|
55
49
|
|
|
56
50
|
|
|
@@ -77,17 +71,29 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient =
|
|
|
77
71
|
*/
|
|
78
72
|
this.hostname_ = hostname;
|
|
79
73
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
* to the server
|
|
83
|
-
*/
|
|
84
|
-
this.credentials_ = credentials;
|
|
74
|
+
};
|
|
75
|
+
|
|
85
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,
|
|
86
88
|
/**
|
|
87
|
-
* @
|
|
89
|
+
* @param {!proto.kycserviceapi.DeleteDocumentRequest} request
|
|
90
|
+
* @return {!Uint8Array}
|
|
88
91
|
*/
|
|
89
|
-
|
|
90
|
-
|
|
92
|
+
function(request) {
|
|
93
|
+
return request.serializeBinary();
|
|
94
|
+
},
|
|
95
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
96
|
+
);
|
|
91
97
|
|
|
92
98
|
|
|
93
99
|
/**
|
|
@@ -98,7 +104,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient =
|
|
|
98
104
|
*/
|
|
99
105
|
const methodInfo_KYCServiceAPIService_DeleteDocument = new grpc.web.AbstractClientBase.MethodInfo(
|
|
100
106
|
proto.kycserviceapi.ResponseCode,
|
|
101
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* @param {!proto.kycserviceapi.DeleteDocumentRequest} request
|
|
109
|
+
* @return {!Uint8Array}
|
|
110
|
+
*/
|
|
102
111
|
function(request) {
|
|
103
112
|
return request.serializeBinary();
|
|
104
113
|
},
|
|
@@ -122,7 +131,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.deleteDocument =
|
|
|
122
131
|
'/kycserviceapi.KYCServiceAPIService/DeleteDocument',
|
|
123
132
|
request,
|
|
124
133
|
metadata || {},
|
|
125
|
-
|
|
134
|
+
methodDescriptor_KYCServiceAPIService_DeleteDocument,
|
|
126
135
|
callback);
|
|
127
136
|
};
|
|
128
137
|
|
|
@@ -133,7 +142,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.deleteDocument =
|
|
|
133
142
|
* @param {?Object<string, string>} metadata User defined
|
|
134
143
|
* call metadata
|
|
135
144
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
136
|
-
*
|
|
145
|
+
* Promise that resolves to the response
|
|
137
146
|
*/
|
|
138
147
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.deleteDocument =
|
|
139
148
|
function(request, metadata) {
|
|
@@ -141,10 +150,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.deleteDocument =
|
|
|
141
150
|
'/kycserviceapi.KYCServiceAPIService/DeleteDocument',
|
|
142
151
|
request,
|
|
143
152
|
metadata || {},
|
|
144
|
-
|
|
153
|
+
methodDescriptor_KYCServiceAPIService_DeleteDocument);
|
|
145
154
|
};
|
|
146
155
|
|
|
147
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
|
+
|
|
148
179
|
/**
|
|
149
180
|
* @const
|
|
150
181
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -153,7 +184,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.deleteDocument =
|
|
|
153
184
|
*/
|
|
154
185
|
const methodInfo_KYCServiceAPIService_DeleteInternalKycAttachmentsDeleteOld = new grpc.web.AbstractClientBase.MethodInfo(
|
|
155
186
|
proto.kycserviceapi.ResponseCode,
|
|
156
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
189
|
+
* @return {!Uint8Array}
|
|
190
|
+
*/
|
|
157
191
|
function(request) {
|
|
158
192
|
return request.serializeBinary();
|
|
159
193
|
},
|
|
@@ -177,7 +211,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.deleteInternalKycAttach
|
|
|
177
211
|
'/kycserviceapi.KYCServiceAPIService/DeleteInternalKycAttachmentsDeleteOld',
|
|
178
212
|
request,
|
|
179
213
|
metadata || {},
|
|
180
|
-
|
|
214
|
+
methodDescriptor_KYCServiceAPIService_DeleteInternalKycAttachmentsDeleteOld,
|
|
181
215
|
callback);
|
|
182
216
|
};
|
|
183
217
|
|
|
@@ -188,7 +222,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.deleteInternalKycAttach
|
|
|
188
222
|
* @param {?Object<string, string>} metadata User defined
|
|
189
223
|
* call metadata
|
|
190
224
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
191
|
-
*
|
|
225
|
+
* Promise that resolves to the response
|
|
192
226
|
*/
|
|
193
227
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.deleteInternalKycAttachmentsDeleteOld =
|
|
194
228
|
function(request, metadata) {
|
|
@@ -196,10 +230,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.deleteInternalKy
|
|
|
196
230
|
'/kycserviceapi.KYCServiceAPIService/DeleteInternalKycAttachmentsDeleteOld',
|
|
197
231
|
request,
|
|
198
232
|
metadata || {},
|
|
199
|
-
|
|
233
|
+
methodDescriptor_KYCServiceAPIService_DeleteInternalKycAttachmentsDeleteOld);
|
|
200
234
|
};
|
|
201
235
|
|
|
202
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
|
+
|
|
203
259
|
/**
|
|
204
260
|
* @const
|
|
205
261
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -208,7 +264,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.deleteInternalKy
|
|
|
208
264
|
*/
|
|
209
265
|
const methodInfo_KYCServiceAPIService_GetDocument = new grpc.web.AbstractClientBase.MethodInfo(
|
|
210
266
|
proto.kycserviceapi.DocumentResponse,
|
|
211
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* @param {!proto.kycserviceapi.GetDocumentRequest} request
|
|
269
|
+
* @return {!Uint8Array}
|
|
270
|
+
*/
|
|
212
271
|
function(request) {
|
|
213
272
|
return request.serializeBinary();
|
|
214
273
|
},
|
|
@@ -232,7 +291,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getDocument =
|
|
|
232
291
|
'/kycserviceapi.KYCServiceAPIService/GetDocument',
|
|
233
292
|
request,
|
|
234
293
|
metadata || {},
|
|
235
|
-
|
|
294
|
+
methodDescriptor_KYCServiceAPIService_GetDocument,
|
|
236
295
|
callback);
|
|
237
296
|
};
|
|
238
297
|
|
|
@@ -243,7 +302,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getDocument =
|
|
|
243
302
|
* @param {?Object<string, string>} metadata User defined
|
|
244
303
|
* call metadata
|
|
245
304
|
* @return {!Promise<!proto.kycserviceapi.DocumentResponse>}
|
|
246
|
-
*
|
|
305
|
+
* Promise that resolves to the response
|
|
247
306
|
*/
|
|
248
307
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getDocument =
|
|
249
308
|
function(request, metadata) {
|
|
@@ -251,10 +310,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getDocument =
|
|
|
251
310
|
'/kycserviceapi.KYCServiceAPIService/GetDocument',
|
|
252
311
|
request,
|
|
253
312
|
metadata || {},
|
|
254
|
-
|
|
313
|
+
methodDescriptor_KYCServiceAPIService_GetDocument);
|
|
255
314
|
};
|
|
256
315
|
|
|
257
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
|
+
|
|
258
339
|
/**
|
|
259
340
|
* @const
|
|
260
341
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -263,7 +344,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getDocument =
|
|
|
263
344
|
*/
|
|
264
345
|
const methodInfo_KYCServiceAPIService_GetUserKycStatus = new grpc.web.AbstractClientBase.MethodInfo(
|
|
265
346
|
proto.kycserviceapi.UserKycStatusResponse,
|
|
266
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
349
|
+
* @return {!Uint8Array}
|
|
350
|
+
*/
|
|
267
351
|
function(request) {
|
|
268
352
|
return request.serializeBinary();
|
|
269
353
|
},
|
|
@@ -287,7 +371,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycStatus =
|
|
|
287
371
|
'/kycserviceapi.KYCServiceAPIService/GetUserKycStatus',
|
|
288
372
|
request,
|
|
289
373
|
metadata || {},
|
|
290
|
-
|
|
374
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycStatus,
|
|
291
375
|
callback);
|
|
292
376
|
};
|
|
293
377
|
|
|
@@ -298,7 +382,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycStatus =
|
|
|
298
382
|
* @param {?Object<string, string>} metadata User defined
|
|
299
383
|
* call metadata
|
|
300
384
|
* @return {!Promise<!proto.kycserviceapi.UserKycStatusResponse>}
|
|
301
|
-
*
|
|
385
|
+
* Promise that resolves to the response
|
|
302
386
|
*/
|
|
303
387
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycStatus =
|
|
304
388
|
function(request, metadata) {
|
|
@@ -306,10 +390,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycStatus
|
|
|
306
390
|
'/kycserviceapi.KYCServiceAPIService/GetUserKycStatus',
|
|
307
391
|
request,
|
|
308
392
|
metadata || {},
|
|
309
|
-
|
|
393
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycStatus);
|
|
310
394
|
};
|
|
311
395
|
|
|
312
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
|
+
|
|
313
419
|
/**
|
|
314
420
|
* @const
|
|
315
421
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -318,7 +424,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycStatus
|
|
|
318
424
|
*/
|
|
319
425
|
const methodInfo_KYCServiceAPIService_GetUserKycSummary = new grpc.web.AbstractClientBase.MethodInfo(
|
|
320
426
|
proto.kycserviceapi.UserKycSummaryResponse,
|
|
321
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* @param {!proto.kycserviceapi.GetUserKycSummaryRequest} request
|
|
429
|
+
* @return {!Uint8Array}
|
|
430
|
+
*/
|
|
322
431
|
function(request) {
|
|
323
432
|
return request.serializeBinary();
|
|
324
433
|
},
|
|
@@ -342,7 +451,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycSummary =
|
|
|
342
451
|
'/kycserviceapi.KYCServiceAPIService/GetUserKycSummary',
|
|
343
452
|
request,
|
|
344
453
|
metadata || {},
|
|
345
|
-
|
|
454
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycSummary,
|
|
346
455
|
callback);
|
|
347
456
|
};
|
|
348
457
|
|
|
@@ -353,7 +462,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getUserKycSummary =
|
|
|
353
462
|
* @param {?Object<string, string>} metadata User defined
|
|
354
463
|
* call metadata
|
|
355
464
|
* @return {!Promise<!proto.kycserviceapi.UserKycSummaryResponse>}
|
|
356
|
-
*
|
|
465
|
+
* Promise that resolves to the response
|
|
357
466
|
*/
|
|
358
467
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycSummary =
|
|
359
468
|
function(request, metadata) {
|
|
@@ -361,10 +470,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycSummar
|
|
|
361
470
|
'/kycserviceapi.KYCServiceAPIService/GetUserKycSummary',
|
|
362
471
|
request,
|
|
363
472
|
metadata || {},
|
|
364
|
-
|
|
473
|
+
methodDescriptor_KYCServiceAPIService_GetUserKycSummary);
|
|
365
474
|
};
|
|
366
475
|
|
|
367
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
|
+
|
|
368
499
|
/**
|
|
369
500
|
* @const
|
|
370
501
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -373,7 +504,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getUserKycSummar
|
|
|
373
504
|
*/
|
|
374
505
|
const methodInfo_KYCServiceAPIService_HealthCheck = new grpc.web.AbstractClientBase.MethodInfo(
|
|
375
506
|
proto.kycserviceapi.ResponseCode,
|
|
376
|
-
/**
|
|
507
|
+
/**
|
|
508
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
509
|
+
* @return {!Uint8Array}
|
|
510
|
+
*/
|
|
377
511
|
function(request) {
|
|
378
512
|
return request.serializeBinary();
|
|
379
513
|
},
|
|
@@ -397,7 +531,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.healthCheck =
|
|
|
397
531
|
'/kycserviceapi.KYCServiceAPIService/HealthCheck',
|
|
398
532
|
request,
|
|
399
533
|
metadata || {},
|
|
400
|
-
|
|
534
|
+
methodDescriptor_KYCServiceAPIService_HealthCheck,
|
|
401
535
|
callback);
|
|
402
536
|
};
|
|
403
537
|
|
|
@@ -408,7 +542,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.healthCheck =
|
|
|
408
542
|
* @param {?Object<string, string>} metadata User defined
|
|
409
543
|
* call metadata
|
|
410
544
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
411
|
-
*
|
|
545
|
+
* Promise that resolves to the response
|
|
412
546
|
*/
|
|
413
547
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.healthCheck =
|
|
414
548
|
function(request, metadata) {
|
|
@@ -416,10 +550,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.healthCheck =
|
|
|
416
550
|
'/kycserviceapi.KYCServiceAPIService/HealthCheck',
|
|
417
551
|
request,
|
|
418
552
|
metadata || {},
|
|
419
|
-
|
|
553
|
+
methodDescriptor_KYCServiceAPIService_HealthCheck);
|
|
420
554
|
};
|
|
421
555
|
|
|
422
556
|
|
|
557
|
+
/**
|
|
558
|
+
* @const
|
|
559
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
560
|
+
* !proto.kycserviceapi.RequestUserKycRequest,
|
|
561
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
562
|
+
*/
|
|
563
|
+
const methodDescriptor_KYCServiceAPIService_RequestUserKyc = new grpc.web.MethodDescriptor(
|
|
564
|
+
'/kycserviceapi.KYCServiceAPIService/RequestUserKyc',
|
|
565
|
+
grpc.web.MethodType.UNARY,
|
|
566
|
+
proto.kycserviceapi.RequestUserKycRequest,
|
|
567
|
+
proto.kycserviceapi.ResponseCode,
|
|
568
|
+
/**
|
|
569
|
+
* @param {!proto.kycserviceapi.RequestUserKycRequest} request
|
|
570
|
+
* @return {!Uint8Array}
|
|
571
|
+
*/
|
|
572
|
+
function(request) {
|
|
573
|
+
return request.serializeBinary();
|
|
574
|
+
},
|
|
575
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
576
|
+
);
|
|
577
|
+
|
|
578
|
+
|
|
423
579
|
/**
|
|
424
580
|
* @const
|
|
425
581
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -428,7 +584,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.healthCheck =
|
|
|
428
584
|
*/
|
|
429
585
|
const methodInfo_KYCServiceAPIService_RequestUserKyc = new grpc.web.AbstractClientBase.MethodInfo(
|
|
430
586
|
proto.kycserviceapi.ResponseCode,
|
|
431
|
-
/**
|
|
587
|
+
/**
|
|
588
|
+
* @param {!proto.kycserviceapi.RequestUserKycRequest} request
|
|
589
|
+
* @return {!Uint8Array}
|
|
590
|
+
*/
|
|
432
591
|
function(request) {
|
|
433
592
|
return request.serializeBinary();
|
|
434
593
|
},
|
|
@@ -452,7 +611,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.requestUserKyc =
|
|
|
452
611
|
'/kycserviceapi.KYCServiceAPIService/RequestUserKyc',
|
|
453
612
|
request,
|
|
454
613
|
metadata || {},
|
|
455
|
-
|
|
614
|
+
methodDescriptor_KYCServiceAPIService_RequestUserKyc,
|
|
456
615
|
callback);
|
|
457
616
|
};
|
|
458
617
|
|
|
@@ -463,7 +622,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.requestUserKyc =
|
|
|
463
622
|
* @param {?Object<string, string>} metadata User defined
|
|
464
623
|
* call metadata
|
|
465
624
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
466
|
-
*
|
|
625
|
+
* Promise that resolves to the response
|
|
467
626
|
*/
|
|
468
627
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.requestUserKyc =
|
|
469
628
|
function(request, metadata) {
|
|
@@ -471,10 +630,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.requestUserKyc =
|
|
|
471
630
|
'/kycserviceapi.KYCServiceAPIService/RequestUserKyc',
|
|
472
631
|
request,
|
|
473
632
|
metadata || {},
|
|
474
|
-
|
|
633
|
+
methodDescriptor_KYCServiceAPIService_RequestUserKyc);
|
|
475
634
|
};
|
|
476
635
|
|
|
477
636
|
|
|
637
|
+
/**
|
|
638
|
+
* @const
|
|
639
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
640
|
+
* !proto.kycserviceapi.SaveDocumentRequest,
|
|
641
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
642
|
+
*/
|
|
643
|
+
const methodDescriptor_KYCServiceAPIService_SaveDocument = new grpc.web.MethodDescriptor(
|
|
644
|
+
'/kycserviceapi.KYCServiceAPIService/SaveDocument',
|
|
645
|
+
grpc.web.MethodType.UNARY,
|
|
646
|
+
proto.kycserviceapi.SaveDocumentRequest,
|
|
647
|
+
proto.kycserviceapi.ResponseCode,
|
|
648
|
+
/**
|
|
649
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request
|
|
650
|
+
* @return {!Uint8Array}
|
|
651
|
+
*/
|
|
652
|
+
function(request) {
|
|
653
|
+
return request.serializeBinary();
|
|
654
|
+
},
|
|
655
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
656
|
+
);
|
|
657
|
+
|
|
658
|
+
|
|
478
659
|
/**
|
|
479
660
|
* @const
|
|
480
661
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -483,7 +664,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.requestUserKyc =
|
|
|
483
664
|
*/
|
|
484
665
|
const methodInfo_KYCServiceAPIService_SaveDocument = new grpc.web.AbstractClientBase.MethodInfo(
|
|
485
666
|
proto.kycserviceapi.ResponseCode,
|
|
486
|
-
/**
|
|
667
|
+
/**
|
|
668
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request
|
|
669
|
+
* @return {!Uint8Array}
|
|
670
|
+
*/
|
|
487
671
|
function(request) {
|
|
488
672
|
return request.serializeBinary();
|
|
489
673
|
},
|
|
@@ -507,7 +691,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.saveDocument =
|
|
|
507
691
|
'/kycserviceapi.KYCServiceAPIService/SaveDocument',
|
|
508
692
|
request,
|
|
509
693
|
metadata || {},
|
|
510
|
-
|
|
694
|
+
methodDescriptor_KYCServiceAPIService_SaveDocument,
|
|
511
695
|
callback);
|
|
512
696
|
};
|
|
513
697
|
|
|
@@ -518,7 +702,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.saveDocument =
|
|
|
518
702
|
* @param {?Object<string, string>} metadata User defined
|
|
519
703
|
* call metadata
|
|
520
704
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
521
|
-
*
|
|
705
|
+
* Promise that resolves to the response
|
|
522
706
|
*/
|
|
523
707
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.saveDocument =
|
|
524
708
|
function(request, metadata) {
|
|
@@ -526,10 +710,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.saveDocument =
|
|
|
526
710
|
'/kycserviceapi.KYCServiceAPIService/SaveDocument',
|
|
527
711
|
request,
|
|
528
712
|
metadata || {},
|
|
529
|
-
|
|
713
|
+
methodDescriptor_KYCServiceAPIService_SaveDocument);
|
|
530
714
|
};
|
|
531
715
|
|
|
532
716
|
|
|
717
|
+
/**
|
|
718
|
+
* @const
|
|
719
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
720
|
+
* !proto.google.protobuf.Empty,
|
|
721
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
722
|
+
*/
|
|
723
|
+
const methodDescriptor_KYCServiceAPIService_SubmitUserKyc = new grpc.web.MethodDescriptor(
|
|
724
|
+
'/kycserviceapi.KYCServiceAPIService/SubmitUserKyc',
|
|
725
|
+
grpc.web.MethodType.UNARY,
|
|
726
|
+
google_protobuf_empty_pb.Empty,
|
|
727
|
+
proto.kycserviceapi.ResponseCode,
|
|
728
|
+
/**
|
|
729
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
730
|
+
* @return {!Uint8Array}
|
|
731
|
+
*/
|
|
732
|
+
function(request) {
|
|
733
|
+
return request.serializeBinary();
|
|
734
|
+
},
|
|
735
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
736
|
+
);
|
|
737
|
+
|
|
738
|
+
|
|
533
739
|
/**
|
|
534
740
|
* @const
|
|
535
741
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -538,7 +744,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.saveDocument =
|
|
|
538
744
|
*/
|
|
539
745
|
const methodInfo_KYCServiceAPIService_SubmitUserKyc = new grpc.web.AbstractClientBase.MethodInfo(
|
|
540
746
|
proto.kycserviceapi.ResponseCode,
|
|
541
|
-
/**
|
|
747
|
+
/**
|
|
748
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
749
|
+
* @return {!Uint8Array}
|
|
750
|
+
*/
|
|
542
751
|
function(request) {
|
|
543
752
|
return request.serializeBinary();
|
|
544
753
|
},
|
|
@@ -562,7 +771,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.submitUserKyc =
|
|
|
562
771
|
'/kycserviceapi.KYCServiceAPIService/SubmitUserKyc',
|
|
563
772
|
request,
|
|
564
773
|
metadata || {},
|
|
565
|
-
|
|
774
|
+
methodDescriptor_KYCServiceAPIService_SubmitUserKyc,
|
|
566
775
|
callback);
|
|
567
776
|
};
|
|
568
777
|
|
|
@@ -573,7 +782,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.submitUserKyc =
|
|
|
573
782
|
* @param {?Object<string, string>} metadata User defined
|
|
574
783
|
* call metadata
|
|
575
784
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
576
|
-
*
|
|
785
|
+
* Promise that resolves to the response
|
|
577
786
|
*/
|
|
578
787
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.submitUserKyc =
|
|
579
788
|
function(request, metadata) {
|
|
@@ -581,10 +790,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.submitUserKyc =
|
|
|
581
790
|
'/kycserviceapi.KYCServiceAPIService/SubmitUserKyc',
|
|
582
791
|
request,
|
|
583
792
|
metadata || {},
|
|
584
|
-
|
|
793
|
+
methodDescriptor_KYCServiceAPIService_SubmitUserKyc);
|
|
585
794
|
};
|
|
586
795
|
|
|
587
796
|
|
|
797
|
+
/**
|
|
798
|
+
* @const
|
|
799
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
800
|
+
* !proto.kycserviceapi.UpdateUserStatusRequest,
|
|
801
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
802
|
+
*/
|
|
803
|
+
const methodDescriptor_KYCServiceAPIService_UpdateUserStatus = new grpc.web.MethodDescriptor(
|
|
804
|
+
'/kycserviceapi.KYCServiceAPIService/UpdateUserStatus',
|
|
805
|
+
grpc.web.MethodType.UNARY,
|
|
806
|
+
proto.kycserviceapi.UpdateUserStatusRequest,
|
|
807
|
+
proto.kycserviceapi.ResponseCode,
|
|
808
|
+
/**
|
|
809
|
+
* @param {!proto.kycserviceapi.UpdateUserStatusRequest} request
|
|
810
|
+
* @return {!Uint8Array}
|
|
811
|
+
*/
|
|
812
|
+
function(request) {
|
|
813
|
+
return request.serializeBinary();
|
|
814
|
+
},
|
|
815
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
816
|
+
);
|
|
817
|
+
|
|
818
|
+
|
|
588
819
|
/**
|
|
589
820
|
* @const
|
|
590
821
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -593,7 +824,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.submitUserKyc =
|
|
|
593
824
|
*/
|
|
594
825
|
const methodInfo_KYCServiceAPIService_UpdateUserStatus = new grpc.web.AbstractClientBase.MethodInfo(
|
|
595
826
|
proto.kycserviceapi.ResponseCode,
|
|
596
|
-
/**
|
|
827
|
+
/**
|
|
828
|
+
* @param {!proto.kycserviceapi.UpdateUserStatusRequest} request
|
|
829
|
+
* @return {!Uint8Array}
|
|
830
|
+
*/
|
|
597
831
|
function(request) {
|
|
598
832
|
return request.serializeBinary();
|
|
599
833
|
},
|
|
@@ -617,7 +851,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.updateUserStatus =
|
|
|
617
851
|
'/kycserviceapi.KYCServiceAPIService/UpdateUserStatus',
|
|
618
852
|
request,
|
|
619
853
|
metadata || {},
|
|
620
|
-
|
|
854
|
+
methodDescriptor_KYCServiceAPIService_UpdateUserStatus,
|
|
621
855
|
callback);
|
|
622
856
|
};
|
|
623
857
|
|
|
@@ -628,7 +862,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.updateUserStatus =
|
|
|
628
862
|
* @param {?Object<string, string>} metadata User defined
|
|
629
863
|
* call metadata
|
|
630
864
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
631
|
-
*
|
|
865
|
+
* Promise that resolves to the response
|
|
632
866
|
*/
|
|
633
867
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.updateUserStatus =
|
|
634
868
|
function(request, metadata) {
|
|
@@ -636,10 +870,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.updateUserStatus
|
|
|
636
870
|
'/kycserviceapi.KYCServiceAPIService/UpdateUserStatus',
|
|
637
871
|
request,
|
|
638
872
|
metadata || {},
|
|
639
|
-
|
|
873
|
+
methodDescriptor_KYCServiceAPIService_UpdateUserStatus);
|
|
640
874
|
};
|
|
641
875
|
|
|
642
876
|
|
|
877
|
+
/**
|
|
878
|
+
* @const
|
|
879
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
880
|
+
* !proto.kycserviceapi.VerifyDocumentRequest,
|
|
881
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
882
|
+
*/
|
|
883
|
+
const methodDescriptor_KYCServiceAPIService_VerifyDocument = new grpc.web.MethodDescriptor(
|
|
884
|
+
'/kycserviceapi.KYCServiceAPIService/VerifyDocument',
|
|
885
|
+
grpc.web.MethodType.UNARY,
|
|
886
|
+
proto.kycserviceapi.VerifyDocumentRequest,
|
|
887
|
+
proto.kycserviceapi.ResponseCode,
|
|
888
|
+
/**
|
|
889
|
+
* @param {!proto.kycserviceapi.VerifyDocumentRequest} request
|
|
890
|
+
* @return {!Uint8Array}
|
|
891
|
+
*/
|
|
892
|
+
function(request) {
|
|
893
|
+
return request.serializeBinary();
|
|
894
|
+
},
|
|
895
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
896
|
+
);
|
|
897
|
+
|
|
898
|
+
|
|
643
899
|
/**
|
|
644
900
|
* @const
|
|
645
901
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -648,7 +904,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.updateUserStatus
|
|
|
648
904
|
*/
|
|
649
905
|
const methodInfo_KYCServiceAPIService_VerifyDocument = new grpc.web.AbstractClientBase.MethodInfo(
|
|
650
906
|
proto.kycserviceapi.ResponseCode,
|
|
651
|
-
/**
|
|
907
|
+
/**
|
|
908
|
+
* @param {!proto.kycserviceapi.VerifyDocumentRequest} request
|
|
909
|
+
* @return {!Uint8Array}
|
|
910
|
+
*/
|
|
652
911
|
function(request) {
|
|
653
912
|
return request.serializeBinary();
|
|
654
913
|
},
|
|
@@ -672,7 +931,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.verifyDocument =
|
|
|
672
931
|
'/kycserviceapi.KYCServiceAPIService/VerifyDocument',
|
|
673
932
|
request,
|
|
674
933
|
metadata || {},
|
|
675
|
-
|
|
934
|
+
methodDescriptor_KYCServiceAPIService_VerifyDocument,
|
|
676
935
|
callback);
|
|
677
936
|
};
|
|
678
937
|
|
|
@@ -683,7 +942,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.verifyDocument =
|
|
|
683
942
|
* @param {?Object<string, string>} metadata User defined
|
|
684
943
|
* call metadata
|
|
685
944
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
686
|
-
*
|
|
945
|
+
* Promise that resolves to the response
|
|
687
946
|
*/
|
|
688
947
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyDocument =
|
|
689
948
|
function(request, metadata) {
|
|
@@ -691,10 +950,32 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyDocument =
|
|
|
691
950
|
'/kycserviceapi.KYCServiceAPIService/VerifyDocument',
|
|
692
951
|
request,
|
|
693
952
|
metadata || {},
|
|
694
|
-
|
|
953
|
+
methodDescriptor_KYCServiceAPIService_VerifyDocument);
|
|
695
954
|
};
|
|
696
955
|
|
|
697
956
|
|
|
957
|
+
/**
|
|
958
|
+
* @const
|
|
959
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
960
|
+
* !proto.kycserviceapi.VerifyUserRequest,
|
|
961
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
962
|
+
*/
|
|
963
|
+
const methodDescriptor_KYCServiceAPIService_VerifyUser = new grpc.web.MethodDescriptor(
|
|
964
|
+
'/kycserviceapi.KYCServiceAPIService/VerifyUser',
|
|
965
|
+
grpc.web.MethodType.UNARY,
|
|
966
|
+
proto.kycserviceapi.VerifyUserRequest,
|
|
967
|
+
proto.kycserviceapi.ResponseCode,
|
|
968
|
+
/**
|
|
969
|
+
* @param {!proto.kycserviceapi.VerifyUserRequest} request
|
|
970
|
+
* @return {!Uint8Array}
|
|
971
|
+
*/
|
|
972
|
+
function(request) {
|
|
973
|
+
return request.serializeBinary();
|
|
974
|
+
},
|
|
975
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
976
|
+
);
|
|
977
|
+
|
|
978
|
+
|
|
698
979
|
/**
|
|
699
980
|
* @const
|
|
700
981
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
@@ -703,7 +984,10 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyDocument =
|
|
|
703
984
|
*/
|
|
704
985
|
const methodInfo_KYCServiceAPIService_VerifyUser = new grpc.web.AbstractClientBase.MethodInfo(
|
|
705
986
|
proto.kycserviceapi.ResponseCode,
|
|
706
|
-
/**
|
|
987
|
+
/**
|
|
988
|
+
* @param {!proto.kycserviceapi.VerifyUserRequest} request
|
|
989
|
+
* @return {!Uint8Array}
|
|
990
|
+
*/
|
|
707
991
|
function(request) {
|
|
708
992
|
return request.serializeBinary();
|
|
709
993
|
},
|
|
@@ -727,7 +1011,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.verifyUser =
|
|
|
727
1011
|
'/kycserviceapi.KYCServiceAPIService/VerifyUser',
|
|
728
1012
|
request,
|
|
729
1013
|
metadata || {},
|
|
730
|
-
|
|
1014
|
+
methodDescriptor_KYCServiceAPIService_VerifyUser,
|
|
731
1015
|
callback);
|
|
732
1016
|
};
|
|
733
1017
|
|
|
@@ -738,7 +1022,7 @@ proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.verifyUser =
|
|
|
738
1022
|
* @param {?Object<string, string>} metadata User defined
|
|
739
1023
|
* call metadata
|
|
740
1024
|
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
741
|
-
*
|
|
1025
|
+
* Promise that resolves to the response
|
|
742
1026
|
*/
|
|
743
1027
|
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyUser =
|
|
744
1028
|
function(request, metadata) {
|
|
@@ -746,7 +1030,7 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.verifyUser =
|
|
|
746
1030
|
'/kycserviceapi.KYCServiceAPIService/VerifyUser',
|
|
747
1031
|
request,
|
|
748
1032
|
metadata || {},
|
|
749
|
-
|
|
1033
|
+
methodDescriptor_KYCServiceAPIService_VerifyUser);
|
|
750
1034
|
};
|
|
751
1035
|
|
|
752
1036
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sniipwebmaster/kyc-client-grpcweb",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.15.514",
|
|
4
4
|
"description": "kyc-client-grpcweb",
|
|
5
5
|
"author": "Sniip Development Team",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"google-protobuf": "3.6.1",
|
|
9
|
-
"grpc-web": "1.
|
|
9
|
+
"grpc-web": "1.2.1"
|
|
10
10
|
}
|
|
11
11
|
}
|