@ondewo/nlu-client-typescript 4.7.0 → 4.8.0
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/api/ondewo/nlu/agent_grpc_web_pb.d.ts +61 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
- package/api/ondewo/nlu/agent_pb.d.ts +222 -1
- package/api/ondewo/nlu/agent_pb.js +1814 -30
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
- package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
- package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
- package/api/ondewo/nlu/common_pb.d.ts +456 -0
- package/api/ondewo/nlu/common_pb.js +3523 -4
- package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/context_pb.d.ts +41 -0
- package/api/ondewo/nlu/context_pb.js +328 -2
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
- package/api/ondewo/nlu/entity_type_pb.js +328 -2
- package/api/ondewo/nlu/intent_pb.d.ts +120 -0
- package/api/ondewo/nlu/intent_pb.js +1058 -86
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
- package/api/ondewo/nlu/project_role_pb.js +167 -3
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +551 -0
- package/api/ondewo/nlu/session_pb.d.ts +624 -0
- package/api/ondewo/nlu/session_pb.js +10278 -5168
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
- package/api/ondewo/nlu/user_pb.d.ts +284 -0
- package/api/ondewo/nlu/user_pb.js +3418 -1024
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
- package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
- package/api/ondewo/nlu/webhook_pb.js +1530 -34
- package/package.json +1 -1
- package/public-api.d.ts +27 -25
|
@@ -30,6 +30,8 @@ var google_rpc_status_pb = require('../../google/rpc/status_pb.js')
|
|
|
30
30
|
|
|
31
31
|
var google_type_latlng_pb = require('../../google/type/latlng_pb.js')
|
|
32
32
|
|
|
33
|
+
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js')
|
|
34
|
+
|
|
33
35
|
var ondewo_nlu_context_pb = require('../../ondewo/nlu/context_pb.js')
|
|
34
36
|
|
|
35
37
|
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
|
|
@@ -1494,6 +1496,250 @@ proto.ondewo.nlu.SessionsPromiseClient.prototype.deleteSessionLabels =
|
|
|
1494
1496
|
};
|
|
1495
1497
|
|
|
1496
1498
|
|
|
1499
|
+
/**
|
|
1500
|
+
* @const
|
|
1501
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1502
|
+
* !proto.ondewo.nlu.AddSessionCommentRequest,
|
|
1503
|
+
* !proto.ondewo.nlu.Comment>}
|
|
1504
|
+
*/
|
|
1505
|
+
const methodDescriptor_Sessions_AddSessionComment = new grpc.web.MethodDescriptor(
|
|
1506
|
+
'/ondewo.nlu.Sessions/AddSessionComment',
|
|
1507
|
+
grpc.web.MethodType.UNARY,
|
|
1508
|
+
proto.ondewo.nlu.AddSessionCommentRequest,
|
|
1509
|
+
ondewo_nlu_common_pb.Comment,
|
|
1510
|
+
/**
|
|
1511
|
+
* @param {!proto.ondewo.nlu.AddSessionCommentRequest} request
|
|
1512
|
+
* @return {!Uint8Array}
|
|
1513
|
+
*/
|
|
1514
|
+
function(request) {
|
|
1515
|
+
return request.serializeBinary();
|
|
1516
|
+
},
|
|
1517
|
+
ondewo_nlu_common_pb.Comment.deserializeBinary
|
|
1518
|
+
);
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* @param {!proto.ondewo.nlu.AddSessionCommentRequest} request The
|
|
1523
|
+
* request proto
|
|
1524
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1525
|
+
* call metadata
|
|
1526
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Comment)}
|
|
1527
|
+
* callback The callback function(error, response)
|
|
1528
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Comment>|undefined}
|
|
1529
|
+
* The XHR Node Readable Stream
|
|
1530
|
+
*/
|
|
1531
|
+
proto.ondewo.nlu.SessionsClient.prototype.addSessionComment =
|
|
1532
|
+
function(request, metadata, callback) {
|
|
1533
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1534
|
+
'/ondewo.nlu.Sessions/AddSessionComment',
|
|
1535
|
+
request,
|
|
1536
|
+
metadata || {},
|
|
1537
|
+
methodDescriptor_Sessions_AddSessionComment,
|
|
1538
|
+
callback);
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* @param {!proto.ondewo.nlu.AddSessionCommentRequest} request The
|
|
1544
|
+
* request proto
|
|
1545
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1546
|
+
* call metadata
|
|
1547
|
+
* @return {!Promise<!proto.ondewo.nlu.Comment>}
|
|
1548
|
+
* Promise that resolves to the response
|
|
1549
|
+
*/
|
|
1550
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.addSessionComment =
|
|
1551
|
+
function(request, metadata) {
|
|
1552
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1553
|
+
'/ondewo.nlu.Sessions/AddSessionComment',
|
|
1554
|
+
request,
|
|
1555
|
+
metadata || {},
|
|
1556
|
+
methodDescriptor_Sessions_AddSessionComment);
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* @const
|
|
1562
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1563
|
+
* !proto.ondewo.nlu.DeleteSessionCommentsRequest,
|
|
1564
|
+
* !proto.ondewo.nlu.Session>}
|
|
1565
|
+
*/
|
|
1566
|
+
const methodDescriptor_Sessions_DeleteSessionComments = new grpc.web.MethodDescriptor(
|
|
1567
|
+
'/ondewo.nlu.Sessions/DeleteSessionComments',
|
|
1568
|
+
grpc.web.MethodType.UNARY,
|
|
1569
|
+
proto.ondewo.nlu.DeleteSessionCommentsRequest,
|
|
1570
|
+
proto.ondewo.nlu.Session,
|
|
1571
|
+
/**
|
|
1572
|
+
* @param {!proto.ondewo.nlu.DeleteSessionCommentsRequest} request
|
|
1573
|
+
* @return {!Uint8Array}
|
|
1574
|
+
*/
|
|
1575
|
+
function(request) {
|
|
1576
|
+
return request.serializeBinary();
|
|
1577
|
+
},
|
|
1578
|
+
proto.ondewo.nlu.Session.deserializeBinary
|
|
1579
|
+
);
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* @param {!proto.ondewo.nlu.DeleteSessionCommentsRequest} request The
|
|
1584
|
+
* request proto
|
|
1585
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1586
|
+
* call metadata
|
|
1587
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Session)}
|
|
1588
|
+
* callback The callback function(error, response)
|
|
1589
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Session>|undefined}
|
|
1590
|
+
* The XHR Node Readable Stream
|
|
1591
|
+
*/
|
|
1592
|
+
proto.ondewo.nlu.SessionsClient.prototype.deleteSessionComments =
|
|
1593
|
+
function(request, metadata, callback) {
|
|
1594
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1595
|
+
'/ondewo.nlu.Sessions/DeleteSessionComments',
|
|
1596
|
+
request,
|
|
1597
|
+
metadata || {},
|
|
1598
|
+
methodDescriptor_Sessions_DeleteSessionComments,
|
|
1599
|
+
callback);
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* @param {!proto.ondewo.nlu.DeleteSessionCommentsRequest} request The
|
|
1605
|
+
* request proto
|
|
1606
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1607
|
+
* call metadata
|
|
1608
|
+
* @return {!Promise<!proto.ondewo.nlu.Session>}
|
|
1609
|
+
* Promise that resolves to the response
|
|
1610
|
+
*/
|
|
1611
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.deleteSessionComments =
|
|
1612
|
+
function(request, metadata) {
|
|
1613
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1614
|
+
'/ondewo.nlu.Sessions/DeleteSessionComments',
|
|
1615
|
+
request,
|
|
1616
|
+
metadata || {},
|
|
1617
|
+
methodDescriptor_Sessions_DeleteSessionComments);
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* @const
|
|
1623
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1624
|
+
* !proto.ondewo.nlu.UpdateSessionCommentsRequest,
|
|
1625
|
+
* !proto.ondewo.nlu.Session>}
|
|
1626
|
+
*/
|
|
1627
|
+
const methodDescriptor_Sessions_UpdateSessionComments = new grpc.web.MethodDescriptor(
|
|
1628
|
+
'/ondewo.nlu.Sessions/UpdateSessionComments',
|
|
1629
|
+
grpc.web.MethodType.UNARY,
|
|
1630
|
+
proto.ondewo.nlu.UpdateSessionCommentsRequest,
|
|
1631
|
+
proto.ondewo.nlu.Session,
|
|
1632
|
+
/**
|
|
1633
|
+
* @param {!proto.ondewo.nlu.UpdateSessionCommentsRequest} request
|
|
1634
|
+
* @return {!Uint8Array}
|
|
1635
|
+
*/
|
|
1636
|
+
function(request) {
|
|
1637
|
+
return request.serializeBinary();
|
|
1638
|
+
},
|
|
1639
|
+
proto.ondewo.nlu.Session.deserializeBinary
|
|
1640
|
+
);
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* @param {!proto.ondewo.nlu.UpdateSessionCommentsRequest} request The
|
|
1645
|
+
* request proto
|
|
1646
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1647
|
+
* call metadata
|
|
1648
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.Session)}
|
|
1649
|
+
* callback The callback function(error, response)
|
|
1650
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.Session>|undefined}
|
|
1651
|
+
* The XHR Node Readable Stream
|
|
1652
|
+
*/
|
|
1653
|
+
proto.ondewo.nlu.SessionsClient.prototype.updateSessionComments =
|
|
1654
|
+
function(request, metadata, callback) {
|
|
1655
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1656
|
+
'/ondewo.nlu.Sessions/UpdateSessionComments',
|
|
1657
|
+
request,
|
|
1658
|
+
metadata || {},
|
|
1659
|
+
methodDescriptor_Sessions_UpdateSessionComments,
|
|
1660
|
+
callback);
|
|
1661
|
+
};
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* @param {!proto.ondewo.nlu.UpdateSessionCommentsRequest} request The
|
|
1666
|
+
* request proto
|
|
1667
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1668
|
+
* call metadata
|
|
1669
|
+
* @return {!Promise<!proto.ondewo.nlu.Session>}
|
|
1670
|
+
* Promise that resolves to the response
|
|
1671
|
+
*/
|
|
1672
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.updateSessionComments =
|
|
1673
|
+
function(request, metadata) {
|
|
1674
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1675
|
+
'/ondewo.nlu.Sessions/UpdateSessionComments',
|
|
1676
|
+
request,
|
|
1677
|
+
metadata || {},
|
|
1678
|
+
methodDescriptor_Sessions_UpdateSessionComments);
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* @const
|
|
1684
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1685
|
+
* !proto.ondewo.nlu.ListSessionCommentsRequest,
|
|
1686
|
+
* !proto.ondewo.nlu.ListSessionCommentsResponse>}
|
|
1687
|
+
*/
|
|
1688
|
+
const methodDescriptor_Sessions_ListSessionComments = new grpc.web.MethodDescriptor(
|
|
1689
|
+
'/ondewo.nlu.Sessions/ListSessionComments',
|
|
1690
|
+
grpc.web.MethodType.UNARY,
|
|
1691
|
+
proto.ondewo.nlu.ListSessionCommentsRequest,
|
|
1692
|
+
proto.ondewo.nlu.ListSessionCommentsResponse,
|
|
1693
|
+
/**
|
|
1694
|
+
* @param {!proto.ondewo.nlu.ListSessionCommentsRequest} request
|
|
1695
|
+
* @return {!Uint8Array}
|
|
1696
|
+
*/
|
|
1697
|
+
function(request) {
|
|
1698
|
+
return request.serializeBinary();
|
|
1699
|
+
},
|
|
1700
|
+
proto.ondewo.nlu.ListSessionCommentsResponse.deserializeBinary
|
|
1701
|
+
);
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* @param {!proto.ondewo.nlu.ListSessionCommentsRequest} request The
|
|
1706
|
+
* request proto
|
|
1707
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1708
|
+
* call metadata
|
|
1709
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListSessionCommentsResponse)}
|
|
1710
|
+
* callback The callback function(error, response)
|
|
1711
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListSessionCommentsResponse>|undefined}
|
|
1712
|
+
* The XHR Node Readable Stream
|
|
1713
|
+
*/
|
|
1714
|
+
proto.ondewo.nlu.SessionsClient.prototype.listSessionComments =
|
|
1715
|
+
function(request, metadata, callback) {
|
|
1716
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1717
|
+
'/ondewo.nlu.Sessions/ListSessionComments',
|
|
1718
|
+
request,
|
|
1719
|
+
metadata || {},
|
|
1720
|
+
methodDescriptor_Sessions_ListSessionComments,
|
|
1721
|
+
callback);
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* @param {!proto.ondewo.nlu.ListSessionCommentsRequest} request The
|
|
1727
|
+
* request proto
|
|
1728
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1729
|
+
* call metadata
|
|
1730
|
+
* @return {!Promise<!proto.ondewo.nlu.ListSessionCommentsResponse>}
|
|
1731
|
+
* Promise that resolves to the response
|
|
1732
|
+
*/
|
|
1733
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.listSessionComments =
|
|
1734
|
+
function(request, metadata) {
|
|
1735
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1736
|
+
'/ondewo.nlu.Sessions/ListSessionComments',
|
|
1737
|
+
request,
|
|
1738
|
+
metadata || {},
|
|
1739
|
+
methodDescriptor_Sessions_ListSessionComments);
|
|
1740
|
+
};
|
|
1741
|
+
|
|
1742
|
+
|
|
1497
1743
|
/**
|
|
1498
1744
|
* @const
|
|
1499
1745
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -1738,5 +1984,310 @@ proto.ondewo.nlu.SessionsPromiseClient.prototype.createSessionReview =
|
|
|
1738
1984
|
};
|
|
1739
1985
|
|
|
1740
1986
|
|
|
1987
|
+
/**
|
|
1988
|
+
* @const
|
|
1989
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1990
|
+
* !proto.ondewo.nlu.GetAudioFilesRequest,
|
|
1991
|
+
* !proto.ondewo.nlu.GetAudioFilesResponse>}
|
|
1992
|
+
*/
|
|
1993
|
+
const methodDescriptor_Sessions_GetAudioFiles = new grpc.web.MethodDescriptor(
|
|
1994
|
+
'/ondewo.nlu.Sessions/GetAudioFiles',
|
|
1995
|
+
grpc.web.MethodType.UNARY,
|
|
1996
|
+
proto.ondewo.nlu.GetAudioFilesRequest,
|
|
1997
|
+
proto.ondewo.nlu.GetAudioFilesResponse,
|
|
1998
|
+
/**
|
|
1999
|
+
* @param {!proto.ondewo.nlu.GetAudioFilesRequest} request
|
|
2000
|
+
* @return {!Uint8Array}
|
|
2001
|
+
*/
|
|
2002
|
+
function(request) {
|
|
2003
|
+
return request.serializeBinary();
|
|
2004
|
+
},
|
|
2005
|
+
proto.ondewo.nlu.GetAudioFilesResponse.deserializeBinary
|
|
2006
|
+
);
|
|
2007
|
+
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* @param {!proto.ondewo.nlu.GetAudioFilesRequest} request The
|
|
2011
|
+
* request proto
|
|
2012
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2013
|
+
* call metadata
|
|
2014
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.GetAudioFilesResponse)}
|
|
2015
|
+
* callback The callback function(error, response)
|
|
2016
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.GetAudioFilesResponse>|undefined}
|
|
2017
|
+
* The XHR Node Readable Stream
|
|
2018
|
+
*/
|
|
2019
|
+
proto.ondewo.nlu.SessionsClient.prototype.getAudioFiles =
|
|
2020
|
+
function(request, metadata, callback) {
|
|
2021
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2022
|
+
'/ondewo.nlu.Sessions/GetAudioFiles',
|
|
2023
|
+
request,
|
|
2024
|
+
metadata || {},
|
|
2025
|
+
methodDescriptor_Sessions_GetAudioFiles,
|
|
2026
|
+
callback);
|
|
2027
|
+
};
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
/**
|
|
2031
|
+
* @param {!proto.ondewo.nlu.GetAudioFilesRequest} request The
|
|
2032
|
+
* request proto
|
|
2033
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2034
|
+
* call metadata
|
|
2035
|
+
* @return {!Promise<!proto.ondewo.nlu.GetAudioFilesResponse>}
|
|
2036
|
+
* Promise that resolves to the response
|
|
2037
|
+
*/
|
|
2038
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.getAudioFiles =
|
|
2039
|
+
function(request, metadata) {
|
|
2040
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2041
|
+
'/ondewo.nlu.Sessions/GetAudioFiles',
|
|
2042
|
+
request,
|
|
2043
|
+
metadata || {},
|
|
2044
|
+
methodDescriptor_Sessions_GetAudioFiles);
|
|
2045
|
+
};
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* @const
|
|
2050
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2051
|
+
* !proto.ondewo.nlu.AddAudioFilesRequest,
|
|
2052
|
+
* !proto.ondewo.nlu.AddAudioFilesResponse>}
|
|
2053
|
+
*/
|
|
2054
|
+
const methodDescriptor_Sessions_AddAudioFiles = new grpc.web.MethodDescriptor(
|
|
2055
|
+
'/ondewo.nlu.Sessions/AddAudioFiles',
|
|
2056
|
+
grpc.web.MethodType.UNARY,
|
|
2057
|
+
proto.ondewo.nlu.AddAudioFilesRequest,
|
|
2058
|
+
proto.ondewo.nlu.AddAudioFilesResponse,
|
|
2059
|
+
/**
|
|
2060
|
+
* @param {!proto.ondewo.nlu.AddAudioFilesRequest} request
|
|
2061
|
+
* @return {!Uint8Array}
|
|
2062
|
+
*/
|
|
2063
|
+
function(request) {
|
|
2064
|
+
return request.serializeBinary();
|
|
2065
|
+
},
|
|
2066
|
+
proto.ondewo.nlu.AddAudioFilesResponse.deserializeBinary
|
|
2067
|
+
);
|
|
2068
|
+
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* @param {!proto.ondewo.nlu.AddAudioFilesRequest} request The
|
|
2072
|
+
* request proto
|
|
2073
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2074
|
+
* call metadata
|
|
2075
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.AddAudioFilesResponse)}
|
|
2076
|
+
* callback The callback function(error, response)
|
|
2077
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.AddAudioFilesResponse>|undefined}
|
|
2078
|
+
* The XHR Node Readable Stream
|
|
2079
|
+
*/
|
|
2080
|
+
proto.ondewo.nlu.SessionsClient.prototype.addAudioFiles =
|
|
2081
|
+
function(request, metadata, callback) {
|
|
2082
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2083
|
+
'/ondewo.nlu.Sessions/AddAudioFiles',
|
|
2084
|
+
request,
|
|
2085
|
+
metadata || {},
|
|
2086
|
+
methodDescriptor_Sessions_AddAudioFiles,
|
|
2087
|
+
callback);
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* @param {!proto.ondewo.nlu.AddAudioFilesRequest} request The
|
|
2093
|
+
* request proto
|
|
2094
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2095
|
+
* call metadata
|
|
2096
|
+
* @return {!Promise<!proto.ondewo.nlu.AddAudioFilesResponse>}
|
|
2097
|
+
* Promise that resolves to the response
|
|
2098
|
+
*/
|
|
2099
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.addAudioFiles =
|
|
2100
|
+
function(request, metadata) {
|
|
2101
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2102
|
+
'/ondewo.nlu.Sessions/AddAudioFiles',
|
|
2103
|
+
request,
|
|
2104
|
+
metadata || {},
|
|
2105
|
+
methodDescriptor_Sessions_AddAudioFiles);
|
|
2106
|
+
};
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* @const
|
|
2111
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2112
|
+
* !proto.ondewo.nlu.DeleteAudioFilesRequest,
|
|
2113
|
+
* !proto.ondewo.nlu.DeleteAudioFilesResponse>}
|
|
2114
|
+
*/
|
|
2115
|
+
const methodDescriptor_Sessions_DeleteAudioFiles = new grpc.web.MethodDescriptor(
|
|
2116
|
+
'/ondewo.nlu.Sessions/DeleteAudioFiles',
|
|
2117
|
+
grpc.web.MethodType.UNARY,
|
|
2118
|
+
proto.ondewo.nlu.DeleteAudioFilesRequest,
|
|
2119
|
+
proto.ondewo.nlu.DeleteAudioFilesResponse,
|
|
2120
|
+
/**
|
|
2121
|
+
* @param {!proto.ondewo.nlu.DeleteAudioFilesRequest} request
|
|
2122
|
+
* @return {!Uint8Array}
|
|
2123
|
+
*/
|
|
2124
|
+
function(request) {
|
|
2125
|
+
return request.serializeBinary();
|
|
2126
|
+
},
|
|
2127
|
+
proto.ondewo.nlu.DeleteAudioFilesResponse.deserializeBinary
|
|
2128
|
+
);
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
/**
|
|
2132
|
+
* @param {!proto.ondewo.nlu.DeleteAudioFilesRequest} request The
|
|
2133
|
+
* request proto
|
|
2134
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2135
|
+
* call metadata
|
|
2136
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.DeleteAudioFilesResponse)}
|
|
2137
|
+
* callback The callback function(error, response)
|
|
2138
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.DeleteAudioFilesResponse>|undefined}
|
|
2139
|
+
* The XHR Node Readable Stream
|
|
2140
|
+
*/
|
|
2141
|
+
proto.ondewo.nlu.SessionsClient.prototype.deleteAudioFiles =
|
|
2142
|
+
function(request, metadata, callback) {
|
|
2143
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2144
|
+
'/ondewo.nlu.Sessions/DeleteAudioFiles',
|
|
2145
|
+
request,
|
|
2146
|
+
metadata || {},
|
|
2147
|
+
methodDescriptor_Sessions_DeleteAudioFiles,
|
|
2148
|
+
callback);
|
|
2149
|
+
};
|
|
2150
|
+
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* @param {!proto.ondewo.nlu.DeleteAudioFilesRequest} request The
|
|
2154
|
+
* request proto
|
|
2155
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2156
|
+
* call metadata
|
|
2157
|
+
* @return {!Promise<!proto.ondewo.nlu.DeleteAudioFilesResponse>}
|
|
2158
|
+
* Promise that resolves to the response
|
|
2159
|
+
*/
|
|
2160
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.deleteAudioFiles =
|
|
2161
|
+
function(request, metadata) {
|
|
2162
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2163
|
+
'/ondewo.nlu.Sessions/DeleteAudioFiles',
|
|
2164
|
+
request,
|
|
2165
|
+
metadata || {},
|
|
2166
|
+
methodDescriptor_Sessions_DeleteAudioFiles);
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* @const
|
|
2172
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2173
|
+
* !proto.ondewo.nlu.GetAudioFileOfSessionRequest,
|
|
2174
|
+
* !proto.ondewo.nlu.AudioFileResource>}
|
|
2175
|
+
*/
|
|
2176
|
+
const methodDescriptor_Sessions_GetAudioFileOfSession = new grpc.web.MethodDescriptor(
|
|
2177
|
+
'/ondewo.nlu.Sessions/GetAudioFileOfSession',
|
|
2178
|
+
grpc.web.MethodType.UNARY,
|
|
2179
|
+
proto.ondewo.nlu.GetAudioFileOfSessionRequest,
|
|
2180
|
+
proto.ondewo.nlu.AudioFileResource,
|
|
2181
|
+
/**
|
|
2182
|
+
* @param {!proto.ondewo.nlu.GetAudioFileOfSessionRequest} request
|
|
2183
|
+
* @return {!Uint8Array}
|
|
2184
|
+
*/
|
|
2185
|
+
function(request) {
|
|
2186
|
+
return request.serializeBinary();
|
|
2187
|
+
},
|
|
2188
|
+
proto.ondewo.nlu.AudioFileResource.deserializeBinary
|
|
2189
|
+
);
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* @param {!proto.ondewo.nlu.GetAudioFileOfSessionRequest} request The
|
|
2194
|
+
* request proto
|
|
2195
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2196
|
+
* call metadata
|
|
2197
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.AudioFileResource)}
|
|
2198
|
+
* callback The callback function(error, response)
|
|
2199
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.AudioFileResource>|undefined}
|
|
2200
|
+
* The XHR Node Readable Stream
|
|
2201
|
+
*/
|
|
2202
|
+
proto.ondewo.nlu.SessionsClient.prototype.getAudioFileOfSession =
|
|
2203
|
+
function(request, metadata, callback) {
|
|
2204
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2205
|
+
'/ondewo.nlu.Sessions/GetAudioFileOfSession',
|
|
2206
|
+
request,
|
|
2207
|
+
metadata || {},
|
|
2208
|
+
methodDescriptor_Sessions_GetAudioFileOfSession,
|
|
2209
|
+
callback);
|
|
2210
|
+
};
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* @param {!proto.ondewo.nlu.GetAudioFileOfSessionRequest} request The
|
|
2215
|
+
* request proto
|
|
2216
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2217
|
+
* call metadata
|
|
2218
|
+
* @return {!Promise<!proto.ondewo.nlu.AudioFileResource>}
|
|
2219
|
+
* Promise that resolves to the response
|
|
2220
|
+
*/
|
|
2221
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.getAudioFileOfSession =
|
|
2222
|
+
function(request, metadata) {
|
|
2223
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2224
|
+
'/ondewo.nlu.Sessions/GetAudioFileOfSession',
|
|
2225
|
+
request,
|
|
2226
|
+
metadata || {},
|
|
2227
|
+
methodDescriptor_Sessions_GetAudioFileOfSession);
|
|
2228
|
+
};
|
|
2229
|
+
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* @const
|
|
2233
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2234
|
+
* !proto.ondewo.nlu.ListAudioFilesRequest,
|
|
2235
|
+
* !proto.ondewo.nlu.ListAudioFilesResponse>}
|
|
2236
|
+
*/
|
|
2237
|
+
const methodDescriptor_Sessions_ListAudioFiles = new grpc.web.MethodDescriptor(
|
|
2238
|
+
'/ondewo.nlu.Sessions/ListAudioFiles',
|
|
2239
|
+
grpc.web.MethodType.UNARY,
|
|
2240
|
+
proto.ondewo.nlu.ListAudioFilesRequest,
|
|
2241
|
+
proto.ondewo.nlu.ListAudioFilesResponse,
|
|
2242
|
+
/**
|
|
2243
|
+
* @param {!proto.ondewo.nlu.ListAudioFilesRequest} request
|
|
2244
|
+
* @return {!Uint8Array}
|
|
2245
|
+
*/
|
|
2246
|
+
function(request) {
|
|
2247
|
+
return request.serializeBinary();
|
|
2248
|
+
},
|
|
2249
|
+
proto.ondewo.nlu.ListAudioFilesResponse.deserializeBinary
|
|
2250
|
+
);
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* @param {!proto.ondewo.nlu.ListAudioFilesRequest} request The
|
|
2255
|
+
* request proto
|
|
2256
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2257
|
+
* call metadata
|
|
2258
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.ListAudioFilesResponse)}
|
|
2259
|
+
* callback The callback function(error, response)
|
|
2260
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListAudioFilesResponse>|undefined}
|
|
2261
|
+
* The XHR Node Readable Stream
|
|
2262
|
+
*/
|
|
2263
|
+
proto.ondewo.nlu.SessionsClient.prototype.listAudioFiles =
|
|
2264
|
+
function(request, metadata, callback) {
|
|
2265
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2266
|
+
'/ondewo.nlu.Sessions/ListAudioFiles',
|
|
2267
|
+
request,
|
|
2268
|
+
metadata || {},
|
|
2269
|
+
methodDescriptor_Sessions_ListAudioFiles,
|
|
2270
|
+
callback);
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* @param {!proto.ondewo.nlu.ListAudioFilesRequest} request The
|
|
2276
|
+
* request proto
|
|
2277
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2278
|
+
* call metadata
|
|
2279
|
+
* @return {!Promise<!proto.ondewo.nlu.ListAudioFilesResponse>}
|
|
2280
|
+
* Promise that resolves to the response
|
|
2281
|
+
*/
|
|
2282
|
+
proto.ondewo.nlu.SessionsPromiseClient.prototype.listAudioFiles =
|
|
2283
|
+
function(request, metadata) {
|
|
2284
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2285
|
+
'/ondewo.nlu.Sessions/ListAudioFiles',
|
|
2286
|
+
request,
|
|
2287
|
+
metadata || {},
|
|
2288
|
+
methodDescriptor_Sessions_ListAudioFiles);
|
|
2289
|
+
};
|
|
2290
|
+
|
|
2291
|
+
|
|
1741
2292
|
module.exports = proto.ondewo.nlu;
|
|
1742
2293
|
|