@sniipwebmaster/kyc-client-grpcweb 26.5.2199 → 26.5.2251
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 +185 -0
- package/dependancies/service_pb.js +2147 -68
- package/package.json +1 -1
|
@@ -22,6 +22,8 @@ grpc.web = require('grpc-web');
|
|
|
22
22
|
|
|
23
23
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js')
|
|
24
24
|
|
|
25
|
+
var google_api_http_pb = require('./google/api/http_pb.js')
|
|
26
|
+
|
|
25
27
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
26
28
|
|
|
27
29
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
|
|
@@ -1483,5 +1485,188 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getVerificationT
|
|
|
1483
1485
|
};
|
|
1484
1486
|
|
|
1485
1487
|
|
|
1488
|
+
/**
|
|
1489
|
+
* @const
|
|
1490
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1491
|
+
* !proto.kycserviceapi.RedactCardPhotoRequest,
|
|
1492
|
+
* !proto.kycserviceapi.RedactCardPhotoResponse>}
|
|
1493
|
+
*/
|
|
1494
|
+
const methodDescriptor_KYCServiceAPIService_RedactCardPhoto = new grpc.web.MethodDescriptor(
|
|
1495
|
+
'/kycserviceapi.KYCServiceAPIService/RedactCardPhoto',
|
|
1496
|
+
grpc.web.MethodType.UNARY,
|
|
1497
|
+
proto.kycserviceapi.RedactCardPhotoRequest,
|
|
1498
|
+
proto.kycserviceapi.RedactCardPhotoResponse,
|
|
1499
|
+
/**
|
|
1500
|
+
* @param {!proto.kycserviceapi.RedactCardPhotoRequest} request
|
|
1501
|
+
* @return {!Uint8Array}
|
|
1502
|
+
*/
|
|
1503
|
+
function(request) {
|
|
1504
|
+
return request.serializeBinary();
|
|
1505
|
+
},
|
|
1506
|
+
proto.kycserviceapi.RedactCardPhotoResponse.deserializeBinary
|
|
1507
|
+
);
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* @param {!proto.kycserviceapi.RedactCardPhotoRequest} request The
|
|
1512
|
+
* request proto
|
|
1513
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1514
|
+
* call metadata
|
|
1515
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.RedactCardPhotoResponse)}
|
|
1516
|
+
* callback The callback function(error, response)
|
|
1517
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.RedactCardPhotoResponse>|undefined}
|
|
1518
|
+
* The XHR Node Readable Stream
|
|
1519
|
+
*/
|
|
1520
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.redactCardPhoto =
|
|
1521
|
+
function(request, metadata, callback) {
|
|
1522
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1523
|
+
'/kycserviceapi.KYCServiceAPIService/RedactCardPhoto',
|
|
1524
|
+
request,
|
|
1525
|
+
metadata || {},
|
|
1526
|
+
methodDescriptor_KYCServiceAPIService_RedactCardPhoto,
|
|
1527
|
+
callback);
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* @param {!proto.kycserviceapi.RedactCardPhotoRequest} request The
|
|
1533
|
+
* request proto
|
|
1534
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1535
|
+
* call metadata
|
|
1536
|
+
* @return {!Promise<!proto.kycserviceapi.RedactCardPhotoResponse>}
|
|
1537
|
+
* Promise that resolves to the response
|
|
1538
|
+
*/
|
|
1539
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.redactCardPhoto =
|
|
1540
|
+
function(request, metadata) {
|
|
1541
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1542
|
+
'/kycserviceapi.KYCServiceAPIService/RedactCardPhoto',
|
|
1543
|
+
request,
|
|
1544
|
+
metadata || {},
|
|
1545
|
+
methodDescriptor_KYCServiceAPIService_RedactCardPhoto);
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* @const
|
|
1551
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1552
|
+
* !proto.google.protobuf.Empty,
|
|
1553
|
+
* !proto.kycserviceapi.ClientFeatureFlagsResponse>}
|
|
1554
|
+
*/
|
|
1555
|
+
const methodDescriptor_KYCServiceAPIService_GetClientFeatureFlags = new grpc.web.MethodDescriptor(
|
|
1556
|
+
'/kycserviceapi.KYCServiceAPIService/GetClientFeatureFlags',
|
|
1557
|
+
grpc.web.MethodType.UNARY,
|
|
1558
|
+
google_protobuf_empty_pb.Empty,
|
|
1559
|
+
proto.kycserviceapi.ClientFeatureFlagsResponse,
|
|
1560
|
+
/**
|
|
1561
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
1562
|
+
* @return {!Uint8Array}
|
|
1563
|
+
*/
|
|
1564
|
+
function(request) {
|
|
1565
|
+
return request.serializeBinary();
|
|
1566
|
+
},
|
|
1567
|
+
proto.kycserviceapi.ClientFeatureFlagsResponse.deserializeBinary
|
|
1568
|
+
);
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
1573
|
+
* request proto
|
|
1574
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1575
|
+
* call metadata
|
|
1576
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ClientFeatureFlagsResponse)}
|
|
1577
|
+
* callback The callback function(error, response)
|
|
1578
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ClientFeatureFlagsResponse>|undefined}
|
|
1579
|
+
* The XHR Node Readable Stream
|
|
1580
|
+
*/
|
|
1581
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getClientFeatureFlags =
|
|
1582
|
+
function(request, metadata, callback) {
|
|
1583
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1584
|
+
'/kycserviceapi.KYCServiceAPIService/GetClientFeatureFlags',
|
|
1585
|
+
request,
|
|
1586
|
+
metadata || {},
|
|
1587
|
+
methodDescriptor_KYCServiceAPIService_GetClientFeatureFlags,
|
|
1588
|
+
callback);
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
1594
|
+
* request proto
|
|
1595
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1596
|
+
* call metadata
|
|
1597
|
+
* @return {!Promise<!proto.kycserviceapi.ClientFeatureFlagsResponse>}
|
|
1598
|
+
* Promise that resolves to the response
|
|
1599
|
+
*/
|
|
1600
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getClientFeatureFlags =
|
|
1601
|
+
function(request, metadata) {
|
|
1602
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1603
|
+
'/kycserviceapi.KYCServiceAPIService/GetClientFeatureFlags',
|
|
1604
|
+
request,
|
|
1605
|
+
metadata || {},
|
|
1606
|
+
methodDescriptor_KYCServiceAPIService_GetClientFeatureFlags);
|
|
1607
|
+
};
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* @const
|
|
1612
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1613
|
+
* !proto.kycserviceapi.GetFlaggedCardAttachmentsRequest,
|
|
1614
|
+
* !proto.kycserviceapi.GetFlaggedCardAttachmentsResponse>}
|
|
1615
|
+
*/
|
|
1616
|
+
const methodDescriptor_KYCServiceAPIService_GetFlaggedCardAttachments = new grpc.web.MethodDescriptor(
|
|
1617
|
+
'/kycserviceapi.KYCServiceAPIService/GetFlaggedCardAttachments',
|
|
1618
|
+
grpc.web.MethodType.UNARY,
|
|
1619
|
+
proto.kycserviceapi.GetFlaggedCardAttachmentsRequest,
|
|
1620
|
+
proto.kycserviceapi.GetFlaggedCardAttachmentsResponse,
|
|
1621
|
+
/**
|
|
1622
|
+
* @param {!proto.kycserviceapi.GetFlaggedCardAttachmentsRequest} request
|
|
1623
|
+
* @return {!Uint8Array}
|
|
1624
|
+
*/
|
|
1625
|
+
function(request) {
|
|
1626
|
+
return request.serializeBinary();
|
|
1627
|
+
},
|
|
1628
|
+
proto.kycserviceapi.GetFlaggedCardAttachmentsResponse.deserializeBinary
|
|
1629
|
+
);
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* @param {!proto.kycserviceapi.GetFlaggedCardAttachmentsRequest} request The
|
|
1634
|
+
* request proto
|
|
1635
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1636
|
+
* call metadata
|
|
1637
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.GetFlaggedCardAttachmentsResponse)}
|
|
1638
|
+
* callback The callback function(error, response)
|
|
1639
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.GetFlaggedCardAttachmentsResponse>|undefined}
|
|
1640
|
+
* The XHR Node Readable Stream
|
|
1641
|
+
*/
|
|
1642
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.getFlaggedCardAttachments =
|
|
1643
|
+
function(request, metadata, callback) {
|
|
1644
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1645
|
+
'/kycserviceapi.KYCServiceAPIService/GetFlaggedCardAttachments',
|
|
1646
|
+
request,
|
|
1647
|
+
metadata || {},
|
|
1648
|
+
methodDescriptor_KYCServiceAPIService_GetFlaggedCardAttachments,
|
|
1649
|
+
callback);
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* @param {!proto.kycserviceapi.GetFlaggedCardAttachmentsRequest} request The
|
|
1655
|
+
* request proto
|
|
1656
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1657
|
+
* call metadata
|
|
1658
|
+
* @return {!Promise<!proto.kycserviceapi.GetFlaggedCardAttachmentsResponse>}
|
|
1659
|
+
* Promise that resolves to the response
|
|
1660
|
+
*/
|
|
1661
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.getFlaggedCardAttachments =
|
|
1662
|
+
function(request, metadata) {
|
|
1663
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1664
|
+
'/kycserviceapi.KYCServiceAPIService/GetFlaggedCardAttachments',
|
|
1665
|
+
request,
|
|
1666
|
+
metadata || {},
|
|
1667
|
+
methodDescriptor_KYCServiceAPIService_GetFlaggedCardAttachments);
|
|
1668
|
+
};
|
|
1669
|
+
|
|
1670
|
+
|
|
1486
1671
|
module.exports = proto.kycserviceapi;
|
|
1487
1672
|
|