@soat/sdk 0.4.4 → 0.4.6
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/dist/esm/index.js +36 -36
- package/dist/index.d.cts +72 -72
- package/dist/index.d.ts +72 -72
- package/dist/index.js +36 -36
- package/package.json +1 -2
package/dist/esm/index.js
CHANGED
|
@@ -901,7 +901,7 @@ var Actors = class {
|
|
|
901
901
|
*/
|
|
902
902
|
static deleteActor(options) {
|
|
903
903
|
return (options.client ?? client).delete({
|
|
904
|
-
url: "/actors/{
|
|
904
|
+
url: "/actors/{actor_id}",
|
|
905
905
|
...options
|
|
906
906
|
});
|
|
907
907
|
}
|
|
@@ -912,7 +912,7 @@ var Actors = class {
|
|
|
912
912
|
*/
|
|
913
913
|
static getActor(options) {
|
|
914
914
|
return (options.client ?? client).get({
|
|
915
|
-
url: "/actors/{
|
|
915
|
+
url: "/actors/{actor_id}",
|
|
916
916
|
...options
|
|
917
917
|
});
|
|
918
918
|
}
|
|
@@ -923,7 +923,7 @@ var Actors = class {
|
|
|
923
923
|
*/
|
|
924
924
|
static updateActor(options) {
|
|
925
925
|
return (options.client ?? client).patch({
|
|
926
|
-
url: "/actors/{
|
|
926
|
+
url: "/actors/{actor_id}",
|
|
927
927
|
...options,
|
|
928
928
|
headers: {
|
|
929
929
|
"Content-Type": "application/json",
|
|
@@ -938,7 +938,7 @@ var Actors = class {
|
|
|
938
938
|
*/
|
|
939
939
|
static getActorTags(options) {
|
|
940
940
|
return (options.client ?? client).get({
|
|
941
|
-
url: "/actors/{
|
|
941
|
+
url: "/actors/{actor_id}/tags",
|
|
942
942
|
...options
|
|
943
943
|
});
|
|
944
944
|
}
|
|
@@ -949,7 +949,7 @@ var Actors = class {
|
|
|
949
949
|
*/
|
|
950
950
|
static mergeActorTags(options) {
|
|
951
951
|
return (options.client ?? client).patch({
|
|
952
|
-
url: "/actors/{
|
|
952
|
+
url: "/actors/{actor_id}/tags",
|
|
953
953
|
...options,
|
|
954
954
|
headers: {
|
|
955
955
|
"Content-Type": "application/json",
|
|
@@ -964,7 +964,7 @@ var Actors = class {
|
|
|
964
964
|
*/
|
|
965
965
|
static replaceActorTags(options) {
|
|
966
966
|
return (options.client ?? client).put({
|
|
967
|
-
url: "/actors/{
|
|
967
|
+
url: "/actors/{actor_id}/tags",
|
|
968
968
|
...options,
|
|
969
969
|
headers: {
|
|
970
970
|
"Content-Type": "application/json",
|
|
@@ -1342,7 +1342,7 @@ var ApiKeys = class {
|
|
|
1342
1342
|
scheme: "bearer",
|
|
1343
1343
|
type: "http"
|
|
1344
1344
|
}],
|
|
1345
|
-
url: "/api-keys/{
|
|
1345
|
+
url: "/api-keys/{api_key_id}",
|
|
1346
1346
|
...options
|
|
1347
1347
|
});
|
|
1348
1348
|
}
|
|
@@ -1357,7 +1357,7 @@ var ApiKeys = class {
|
|
|
1357
1357
|
scheme: "bearer",
|
|
1358
1358
|
type: "http"
|
|
1359
1359
|
}],
|
|
1360
|
-
url: "/api-keys/{
|
|
1360
|
+
url: "/api-keys/{api_key_id}",
|
|
1361
1361
|
...options
|
|
1362
1362
|
});
|
|
1363
1363
|
}
|
|
@@ -1372,7 +1372,7 @@ var ApiKeys = class {
|
|
|
1372
1372
|
scheme: "bearer",
|
|
1373
1373
|
type: "http"
|
|
1374
1374
|
}],
|
|
1375
|
-
url: "/api-keys/{
|
|
1375
|
+
url: "/api-keys/{api_key_id}",
|
|
1376
1376
|
...options,
|
|
1377
1377
|
headers: {
|
|
1378
1378
|
"Content-Type": "application/json",
|
|
@@ -1542,7 +1542,7 @@ var Conversations = class {
|
|
|
1542
1542
|
*/
|
|
1543
1543
|
static deleteConversation(options) {
|
|
1544
1544
|
return (options.client ?? client).delete({
|
|
1545
|
-
url: "/conversations/{
|
|
1545
|
+
url: "/conversations/{conversation_id}",
|
|
1546
1546
|
...options
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
@@ -1553,7 +1553,7 @@ var Conversations = class {
|
|
|
1553
1553
|
*/
|
|
1554
1554
|
static getConversation(options) {
|
|
1555
1555
|
return (options.client ?? client).get({
|
|
1556
|
-
url: "/conversations/{
|
|
1556
|
+
url: "/conversations/{conversation_id}",
|
|
1557
1557
|
...options
|
|
1558
1558
|
});
|
|
1559
1559
|
}
|
|
@@ -1564,7 +1564,7 @@ var Conversations = class {
|
|
|
1564
1564
|
*/
|
|
1565
1565
|
static updateConversation(options) {
|
|
1566
1566
|
return (options.client ?? client).patch({
|
|
1567
|
-
url: "/conversations/{
|
|
1567
|
+
url: "/conversations/{conversation_id}",
|
|
1568
1568
|
...options,
|
|
1569
1569
|
headers: {
|
|
1570
1570
|
"Content-Type": "application/json",
|
|
@@ -1579,7 +1579,7 @@ var Conversations = class {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
static listConversationMessages(options) {
|
|
1581
1581
|
return (options.client ?? client).get({
|
|
1582
|
-
url: "/conversations/{
|
|
1582
|
+
url: "/conversations/{conversation_id}/messages",
|
|
1583
1583
|
...options
|
|
1584
1584
|
});
|
|
1585
1585
|
}
|
|
@@ -1590,7 +1590,7 @@ var Conversations = class {
|
|
|
1590
1590
|
*/
|
|
1591
1591
|
static addConversationMessage(options) {
|
|
1592
1592
|
return (options.client ?? client).post({
|
|
1593
|
-
url: "/conversations/{
|
|
1593
|
+
url: "/conversations/{conversation_id}/messages",
|
|
1594
1594
|
...options,
|
|
1595
1595
|
headers: {
|
|
1596
1596
|
"Content-Type": "application/json",
|
|
@@ -1609,7 +1609,7 @@ var Conversations = class {
|
|
|
1609
1609
|
*/
|
|
1610
1610
|
static generateConversationMessage(options) {
|
|
1611
1611
|
return (options.client ?? client).post({
|
|
1612
|
-
url: "/conversations/{
|
|
1612
|
+
url: "/conversations/{conversation_id}/generate",
|
|
1613
1613
|
...options,
|
|
1614
1614
|
headers: {
|
|
1615
1615
|
"Content-Type": "application/json",
|
|
@@ -1624,7 +1624,7 @@ var Conversations = class {
|
|
|
1624
1624
|
*/
|
|
1625
1625
|
static listConversationActors(options) {
|
|
1626
1626
|
return (options.client ?? client).get({
|
|
1627
|
-
url: "/conversations/{
|
|
1627
|
+
url: "/conversations/{conversation_id}/actors",
|
|
1628
1628
|
...options
|
|
1629
1629
|
});
|
|
1630
1630
|
}
|
|
@@ -1635,7 +1635,7 @@ var Conversations = class {
|
|
|
1635
1635
|
*/
|
|
1636
1636
|
static removeConversationMessage(options) {
|
|
1637
1637
|
return (options.client ?? client).delete({
|
|
1638
|
-
url: "/conversations/{
|
|
1638
|
+
url: "/conversations/{conversation_id}/messages/{document_id}",
|
|
1639
1639
|
...options
|
|
1640
1640
|
});
|
|
1641
1641
|
}
|
|
@@ -1646,7 +1646,7 @@ var Conversations = class {
|
|
|
1646
1646
|
*/
|
|
1647
1647
|
static getConversationTags(options) {
|
|
1648
1648
|
return (options.client ?? client).get({
|
|
1649
|
-
url: "/conversations/{
|
|
1649
|
+
url: "/conversations/{conversation_id}/tags",
|
|
1650
1650
|
...options
|
|
1651
1651
|
});
|
|
1652
1652
|
}
|
|
@@ -1657,7 +1657,7 @@ var Conversations = class {
|
|
|
1657
1657
|
*/
|
|
1658
1658
|
static mergeConversationTags(options) {
|
|
1659
1659
|
return (options.client ?? client).patch({
|
|
1660
|
-
url: "/conversations/{
|
|
1660
|
+
url: "/conversations/{conversation_id}/tags",
|
|
1661
1661
|
...options,
|
|
1662
1662
|
headers: {
|
|
1663
1663
|
"Content-Type": "application/json",
|
|
@@ -1672,7 +1672,7 @@ var Conversations = class {
|
|
|
1672
1672
|
*/
|
|
1673
1673
|
static replaceConversationTags(options) {
|
|
1674
1674
|
return (options.client ?? client).put({
|
|
1675
|
-
url: "/conversations/{
|
|
1675
|
+
url: "/conversations/{conversation_id}/tags",
|
|
1676
1676
|
...options,
|
|
1677
1677
|
headers: {
|
|
1678
1678
|
"Content-Type": "application/json",
|
|
@@ -1718,7 +1718,7 @@ var Documents = class {
|
|
|
1718
1718
|
*/
|
|
1719
1719
|
static deleteDocument(options) {
|
|
1720
1720
|
return (options.client ?? client).delete({
|
|
1721
|
-
url: "/documents/{
|
|
1721
|
+
url: "/documents/{document_id}",
|
|
1722
1722
|
...options
|
|
1723
1723
|
});
|
|
1724
1724
|
}
|
|
@@ -1729,7 +1729,7 @@ var Documents = class {
|
|
|
1729
1729
|
*/
|
|
1730
1730
|
static getDocument(options) {
|
|
1731
1731
|
return (options.client ?? client).get({
|
|
1732
|
-
url: "/documents/{
|
|
1732
|
+
url: "/documents/{document_id}",
|
|
1733
1733
|
...options
|
|
1734
1734
|
});
|
|
1735
1735
|
}
|
|
@@ -1740,7 +1740,7 @@ var Documents = class {
|
|
|
1740
1740
|
*/
|
|
1741
1741
|
static updateDocument(options) {
|
|
1742
1742
|
return (options.client ?? client).patch({
|
|
1743
|
-
url: "/documents/{
|
|
1743
|
+
url: "/documents/{document_id}",
|
|
1744
1744
|
...options,
|
|
1745
1745
|
headers: {
|
|
1746
1746
|
"Content-Type": "application/json",
|
|
@@ -1755,7 +1755,7 @@ var Documents = class {
|
|
|
1755
1755
|
*/
|
|
1756
1756
|
static getDocumentTags(options) {
|
|
1757
1757
|
return (options.client ?? client).get({
|
|
1758
|
-
url: "/documents/{
|
|
1758
|
+
url: "/documents/{document_id}/tags",
|
|
1759
1759
|
...options
|
|
1760
1760
|
});
|
|
1761
1761
|
}
|
|
@@ -1766,7 +1766,7 @@ var Documents = class {
|
|
|
1766
1766
|
*/
|
|
1767
1767
|
static mergeDocumentTags(options) {
|
|
1768
1768
|
return (options.client ?? client).patch({
|
|
1769
|
-
url: "/documents/{
|
|
1769
|
+
url: "/documents/{document_id}/tags",
|
|
1770
1770
|
...options,
|
|
1771
1771
|
headers: {
|
|
1772
1772
|
"Content-Type": "application/json",
|
|
@@ -1781,7 +1781,7 @@ var Documents = class {
|
|
|
1781
1781
|
*/
|
|
1782
1782
|
static replaceDocumentTags(options) {
|
|
1783
1783
|
return (options.client ?? client).put({
|
|
1784
|
-
url: "/documents/{
|
|
1784
|
+
url: "/documents/{document_id}/tags",
|
|
1785
1785
|
...options,
|
|
1786
1786
|
headers: {
|
|
1787
1787
|
"Content-Type": "application/json",
|
|
@@ -1873,7 +1873,7 @@ var Files = class {
|
|
|
1873
1873
|
*/
|
|
1874
1874
|
static deleteFile(options) {
|
|
1875
1875
|
return (options.client ?? client).delete({
|
|
1876
|
-
url: "/files/{
|
|
1876
|
+
url: "/files/{file_id}",
|
|
1877
1877
|
...options
|
|
1878
1878
|
});
|
|
1879
1879
|
}
|
|
@@ -1884,7 +1884,7 @@ var Files = class {
|
|
|
1884
1884
|
*/
|
|
1885
1885
|
static getFile(options) {
|
|
1886
1886
|
return (options.client ?? client).get({
|
|
1887
|
-
url: "/files/{
|
|
1887
|
+
url: "/files/{file_id}",
|
|
1888
1888
|
...options
|
|
1889
1889
|
});
|
|
1890
1890
|
}
|
|
@@ -1895,7 +1895,7 @@ var Files = class {
|
|
|
1895
1895
|
*/
|
|
1896
1896
|
static downloadFile(options) {
|
|
1897
1897
|
return (options.client ?? client).get({
|
|
1898
|
-
url: "/files/{
|
|
1898
|
+
url: "/files/{file_id}/download",
|
|
1899
1899
|
...options
|
|
1900
1900
|
});
|
|
1901
1901
|
}
|
|
@@ -1906,7 +1906,7 @@ var Files = class {
|
|
|
1906
1906
|
*/
|
|
1907
1907
|
static updateFileMetadata(options) {
|
|
1908
1908
|
return (options.client ?? client).patch({
|
|
1909
|
-
url: "/files/{
|
|
1909
|
+
url: "/files/{file_id}/metadata",
|
|
1910
1910
|
...options,
|
|
1911
1911
|
headers: {
|
|
1912
1912
|
"Content-Type": "application/json",
|
|
@@ -1921,7 +1921,7 @@ var Files = class {
|
|
|
1921
1921
|
*/
|
|
1922
1922
|
static downloadFileBase64(options) {
|
|
1923
1923
|
return (options.client ?? client).get({
|
|
1924
|
-
url: "/files/{
|
|
1924
|
+
url: "/files/{file_id}/download/base64",
|
|
1925
1925
|
...options
|
|
1926
1926
|
});
|
|
1927
1927
|
}
|
|
@@ -1932,7 +1932,7 @@ var Files = class {
|
|
|
1932
1932
|
*/
|
|
1933
1933
|
static getFileTags(options) {
|
|
1934
1934
|
return (options.client ?? client).get({
|
|
1935
|
-
url: "/files/{
|
|
1935
|
+
url: "/files/{file_id}/tags",
|
|
1936
1936
|
...options
|
|
1937
1937
|
});
|
|
1938
1938
|
}
|
|
@@ -1943,7 +1943,7 @@ var Files = class {
|
|
|
1943
1943
|
*/
|
|
1944
1944
|
static mergeFileTags(options) {
|
|
1945
1945
|
return (options.client ?? client).patch({
|
|
1946
|
-
url: "/files/{
|
|
1946
|
+
url: "/files/{file_id}/tags",
|
|
1947
1947
|
...options,
|
|
1948
1948
|
headers: {
|
|
1949
1949
|
"Content-Type": "application/json",
|
|
@@ -1958,7 +1958,7 @@ var Files = class {
|
|
|
1958
1958
|
*/
|
|
1959
1959
|
static replaceFileTags(options) {
|
|
1960
1960
|
return (options.client ?? client).put({
|
|
1961
|
-
url: "/files/{
|
|
1961
|
+
url: "/files/{file_id}/tags",
|
|
1962
1962
|
...options,
|
|
1963
1963
|
headers: {
|
|
1964
1964
|
"Content-Type": "application/json",
|
|
@@ -2428,7 +2428,7 @@ var Users = class {
|
|
|
2428
2428
|
*/
|
|
2429
2429
|
static deleteUser(options) {
|
|
2430
2430
|
return (options.client ?? client).delete({
|
|
2431
|
-
url: "/users/{
|
|
2431
|
+
url: "/users/{user_id}",
|
|
2432
2432
|
...options
|
|
2433
2433
|
});
|
|
2434
2434
|
}
|
|
@@ -2439,7 +2439,7 @@ var Users = class {
|
|
|
2439
2439
|
*/
|
|
2440
2440
|
static getUser(options) {
|
|
2441
2441
|
return (options.client ?? client).get({
|
|
2442
|
-
url: "/users/{
|
|
2442
|
+
url: "/users/{user_id}",
|
|
2443
2443
|
...options
|
|
2444
2444
|
});
|
|
2445
2445
|
}
|