@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/index.js
CHANGED
|
@@ -949,7 +949,7 @@ var Actors = class {
|
|
|
949
949
|
*/
|
|
950
950
|
static deleteActor(options) {
|
|
951
951
|
return (options.client ?? client).delete({
|
|
952
|
-
url: "/actors/{
|
|
952
|
+
url: "/actors/{actor_id}",
|
|
953
953
|
...options
|
|
954
954
|
});
|
|
955
955
|
}
|
|
@@ -960,7 +960,7 @@ var Actors = class {
|
|
|
960
960
|
*/
|
|
961
961
|
static getActor(options) {
|
|
962
962
|
return (options.client ?? client).get({
|
|
963
|
-
url: "/actors/{
|
|
963
|
+
url: "/actors/{actor_id}",
|
|
964
964
|
...options
|
|
965
965
|
});
|
|
966
966
|
}
|
|
@@ -971,7 +971,7 @@ var Actors = class {
|
|
|
971
971
|
*/
|
|
972
972
|
static updateActor(options) {
|
|
973
973
|
return (options.client ?? client).patch({
|
|
974
|
-
url: "/actors/{
|
|
974
|
+
url: "/actors/{actor_id}",
|
|
975
975
|
...options,
|
|
976
976
|
headers: {
|
|
977
977
|
"Content-Type": "application/json",
|
|
@@ -986,7 +986,7 @@ var Actors = class {
|
|
|
986
986
|
*/
|
|
987
987
|
static getActorTags(options) {
|
|
988
988
|
return (options.client ?? client).get({
|
|
989
|
-
url: "/actors/{
|
|
989
|
+
url: "/actors/{actor_id}/tags",
|
|
990
990
|
...options
|
|
991
991
|
});
|
|
992
992
|
}
|
|
@@ -997,7 +997,7 @@ var Actors = class {
|
|
|
997
997
|
*/
|
|
998
998
|
static mergeActorTags(options) {
|
|
999
999
|
return (options.client ?? client).patch({
|
|
1000
|
-
url: "/actors/{
|
|
1000
|
+
url: "/actors/{actor_id}/tags",
|
|
1001
1001
|
...options,
|
|
1002
1002
|
headers: {
|
|
1003
1003
|
"Content-Type": "application/json",
|
|
@@ -1012,7 +1012,7 @@ var Actors = class {
|
|
|
1012
1012
|
*/
|
|
1013
1013
|
static replaceActorTags(options) {
|
|
1014
1014
|
return (options.client ?? client).put({
|
|
1015
|
-
url: "/actors/{
|
|
1015
|
+
url: "/actors/{actor_id}/tags",
|
|
1016
1016
|
...options,
|
|
1017
1017
|
headers: {
|
|
1018
1018
|
"Content-Type": "application/json",
|
|
@@ -1390,7 +1390,7 @@ var ApiKeys = class {
|
|
|
1390
1390
|
scheme: "bearer",
|
|
1391
1391
|
type: "http"
|
|
1392
1392
|
}],
|
|
1393
|
-
url: "/api-keys/{
|
|
1393
|
+
url: "/api-keys/{api_key_id}",
|
|
1394
1394
|
...options
|
|
1395
1395
|
});
|
|
1396
1396
|
}
|
|
@@ -1405,7 +1405,7 @@ var ApiKeys = class {
|
|
|
1405
1405
|
scheme: "bearer",
|
|
1406
1406
|
type: "http"
|
|
1407
1407
|
}],
|
|
1408
|
-
url: "/api-keys/{
|
|
1408
|
+
url: "/api-keys/{api_key_id}",
|
|
1409
1409
|
...options
|
|
1410
1410
|
});
|
|
1411
1411
|
}
|
|
@@ -1420,7 +1420,7 @@ var ApiKeys = class {
|
|
|
1420
1420
|
scheme: "bearer",
|
|
1421
1421
|
type: "http"
|
|
1422
1422
|
}],
|
|
1423
|
-
url: "/api-keys/{
|
|
1423
|
+
url: "/api-keys/{api_key_id}",
|
|
1424
1424
|
...options,
|
|
1425
1425
|
headers: {
|
|
1426
1426
|
"Content-Type": "application/json",
|
|
@@ -1590,7 +1590,7 @@ var Conversations = class {
|
|
|
1590
1590
|
*/
|
|
1591
1591
|
static deleteConversation(options) {
|
|
1592
1592
|
return (options.client ?? client).delete({
|
|
1593
|
-
url: "/conversations/{
|
|
1593
|
+
url: "/conversations/{conversation_id}",
|
|
1594
1594
|
...options
|
|
1595
1595
|
});
|
|
1596
1596
|
}
|
|
@@ -1601,7 +1601,7 @@ var Conversations = class {
|
|
|
1601
1601
|
*/
|
|
1602
1602
|
static getConversation(options) {
|
|
1603
1603
|
return (options.client ?? client).get({
|
|
1604
|
-
url: "/conversations/{
|
|
1604
|
+
url: "/conversations/{conversation_id}",
|
|
1605
1605
|
...options
|
|
1606
1606
|
});
|
|
1607
1607
|
}
|
|
@@ -1612,7 +1612,7 @@ var Conversations = class {
|
|
|
1612
1612
|
*/
|
|
1613
1613
|
static updateConversation(options) {
|
|
1614
1614
|
return (options.client ?? client).patch({
|
|
1615
|
-
url: "/conversations/{
|
|
1615
|
+
url: "/conversations/{conversation_id}",
|
|
1616
1616
|
...options,
|
|
1617
1617
|
headers: {
|
|
1618
1618
|
"Content-Type": "application/json",
|
|
@@ -1627,7 +1627,7 @@ var Conversations = class {
|
|
|
1627
1627
|
*/
|
|
1628
1628
|
static listConversationMessages(options) {
|
|
1629
1629
|
return (options.client ?? client).get({
|
|
1630
|
-
url: "/conversations/{
|
|
1630
|
+
url: "/conversations/{conversation_id}/messages",
|
|
1631
1631
|
...options
|
|
1632
1632
|
});
|
|
1633
1633
|
}
|
|
@@ -1638,7 +1638,7 @@ var Conversations = class {
|
|
|
1638
1638
|
*/
|
|
1639
1639
|
static addConversationMessage(options) {
|
|
1640
1640
|
return (options.client ?? client).post({
|
|
1641
|
-
url: "/conversations/{
|
|
1641
|
+
url: "/conversations/{conversation_id}/messages",
|
|
1642
1642
|
...options,
|
|
1643
1643
|
headers: {
|
|
1644
1644
|
"Content-Type": "application/json",
|
|
@@ -1657,7 +1657,7 @@ var Conversations = class {
|
|
|
1657
1657
|
*/
|
|
1658
1658
|
static generateConversationMessage(options) {
|
|
1659
1659
|
return (options.client ?? client).post({
|
|
1660
|
-
url: "/conversations/{
|
|
1660
|
+
url: "/conversations/{conversation_id}/generate",
|
|
1661
1661
|
...options,
|
|
1662
1662
|
headers: {
|
|
1663
1663
|
"Content-Type": "application/json",
|
|
@@ -1672,7 +1672,7 @@ var Conversations = class {
|
|
|
1672
1672
|
*/
|
|
1673
1673
|
static listConversationActors(options) {
|
|
1674
1674
|
return (options.client ?? client).get({
|
|
1675
|
-
url: "/conversations/{
|
|
1675
|
+
url: "/conversations/{conversation_id}/actors",
|
|
1676
1676
|
...options
|
|
1677
1677
|
});
|
|
1678
1678
|
}
|
|
@@ -1683,7 +1683,7 @@ var Conversations = class {
|
|
|
1683
1683
|
*/
|
|
1684
1684
|
static removeConversationMessage(options) {
|
|
1685
1685
|
return (options.client ?? client).delete({
|
|
1686
|
-
url: "/conversations/{
|
|
1686
|
+
url: "/conversations/{conversation_id}/messages/{document_id}",
|
|
1687
1687
|
...options
|
|
1688
1688
|
});
|
|
1689
1689
|
}
|
|
@@ -1694,7 +1694,7 @@ var Conversations = class {
|
|
|
1694
1694
|
*/
|
|
1695
1695
|
static getConversationTags(options) {
|
|
1696
1696
|
return (options.client ?? client).get({
|
|
1697
|
-
url: "/conversations/{
|
|
1697
|
+
url: "/conversations/{conversation_id}/tags",
|
|
1698
1698
|
...options
|
|
1699
1699
|
});
|
|
1700
1700
|
}
|
|
@@ -1705,7 +1705,7 @@ var Conversations = class {
|
|
|
1705
1705
|
*/
|
|
1706
1706
|
static mergeConversationTags(options) {
|
|
1707
1707
|
return (options.client ?? client).patch({
|
|
1708
|
-
url: "/conversations/{
|
|
1708
|
+
url: "/conversations/{conversation_id}/tags",
|
|
1709
1709
|
...options,
|
|
1710
1710
|
headers: {
|
|
1711
1711
|
"Content-Type": "application/json",
|
|
@@ -1720,7 +1720,7 @@ var Conversations = class {
|
|
|
1720
1720
|
*/
|
|
1721
1721
|
static replaceConversationTags(options) {
|
|
1722
1722
|
return (options.client ?? client).put({
|
|
1723
|
-
url: "/conversations/{
|
|
1723
|
+
url: "/conversations/{conversation_id}/tags",
|
|
1724
1724
|
...options,
|
|
1725
1725
|
headers: {
|
|
1726
1726
|
"Content-Type": "application/json",
|
|
@@ -1766,7 +1766,7 @@ var Documents = class {
|
|
|
1766
1766
|
*/
|
|
1767
1767
|
static deleteDocument(options) {
|
|
1768
1768
|
return (options.client ?? client).delete({
|
|
1769
|
-
url: "/documents/{
|
|
1769
|
+
url: "/documents/{document_id}",
|
|
1770
1770
|
...options
|
|
1771
1771
|
});
|
|
1772
1772
|
}
|
|
@@ -1777,7 +1777,7 @@ var Documents = class {
|
|
|
1777
1777
|
*/
|
|
1778
1778
|
static getDocument(options) {
|
|
1779
1779
|
return (options.client ?? client).get({
|
|
1780
|
-
url: "/documents/{
|
|
1780
|
+
url: "/documents/{document_id}",
|
|
1781
1781
|
...options
|
|
1782
1782
|
});
|
|
1783
1783
|
}
|
|
@@ -1788,7 +1788,7 @@ var Documents = class {
|
|
|
1788
1788
|
*/
|
|
1789
1789
|
static updateDocument(options) {
|
|
1790
1790
|
return (options.client ?? client).patch({
|
|
1791
|
-
url: "/documents/{
|
|
1791
|
+
url: "/documents/{document_id}",
|
|
1792
1792
|
...options,
|
|
1793
1793
|
headers: {
|
|
1794
1794
|
"Content-Type": "application/json",
|
|
@@ -1803,7 +1803,7 @@ var Documents = class {
|
|
|
1803
1803
|
*/
|
|
1804
1804
|
static getDocumentTags(options) {
|
|
1805
1805
|
return (options.client ?? client).get({
|
|
1806
|
-
url: "/documents/{
|
|
1806
|
+
url: "/documents/{document_id}/tags",
|
|
1807
1807
|
...options
|
|
1808
1808
|
});
|
|
1809
1809
|
}
|
|
@@ -1814,7 +1814,7 @@ var Documents = class {
|
|
|
1814
1814
|
*/
|
|
1815
1815
|
static mergeDocumentTags(options) {
|
|
1816
1816
|
return (options.client ?? client).patch({
|
|
1817
|
-
url: "/documents/{
|
|
1817
|
+
url: "/documents/{document_id}/tags",
|
|
1818
1818
|
...options,
|
|
1819
1819
|
headers: {
|
|
1820
1820
|
"Content-Type": "application/json",
|
|
@@ -1829,7 +1829,7 @@ var Documents = class {
|
|
|
1829
1829
|
*/
|
|
1830
1830
|
static replaceDocumentTags(options) {
|
|
1831
1831
|
return (options.client ?? client).put({
|
|
1832
|
-
url: "/documents/{
|
|
1832
|
+
url: "/documents/{document_id}/tags",
|
|
1833
1833
|
...options,
|
|
1834
1834
|
headers: {
|
|
1835
1835
|
"Content-Type": "application/json",
|
|
@@ -1921,7 +1921,7 @@ var Files = class {
|
|
|
1921
1921
|
*/
|
|
1922
1922
|
static deleteFile(options) {
|
|
1923
1923
|
return (options.client ?? client).delete({
|
|
1924
|
-
url: "/files/{
|
|
1924
|
+
url: "/files/{file_id}",
|
|
1925
1925
|
...options
|
|
1926
1926
|
});
|
|
1927
1927
|
}
|
|
@@ -1932,7 +1932,7 @@ var Files = class {
|
|
|
1932
1932
|
*/
|
|
1933
1933
|
static getFile(options) {
|
|
1934
1934
|
return (options.client ?? client).get({
|
|
1935
|
-
url: "/files/{
|
|
1935
|
+
url: "/files/{file_id}",
|
|
1936
1936
|
...options
|
|
1937
1937
|
});
|
|
1938
1938
|
}
|
|
@@ -1943,7 +1943,7 @@ var Files = class {
|
|
|
1943
1943
|
*/
|
|
1944
1944
|
static downloadFile(options) {
|
|
1945
1945
|
return (options.client ?? client).get({
|
|
1946
|
-
url: "/files/{
|
|
1946
|
+
url: "/files/{file_id}/download",
|
|
1947
1947
|
...options
|
|
1948
1948
|
});
|
|
1949
1949
|
}
|
|
@@ -1954,7 +1954,7 @@ var Files = class {
|
|
|
1954
1954
|
*/
|
|
1955
1955
|
static updateFileMetadata(options) {
|
|
1956
1956
|
return (options.client ?? client).patch({
|
|
1957
|
-
url: "/files/{
|
|
1957
|
+
url: "/files/{file_id}/metadata",
|
|
1958
1958
|
...options,
|
|
1959
1959
|
headers: {
|
|
1960
1960
|
"Content-Type": "application/json",
|
|
@@ -1969,7 +1969,7 @@ var Files = class {
|
|
|
1969
1969
|
*/
|
|
1970
1970
|
static downloadFileBase64(options) {
|
|
1971
1971
|
return (options.client ?? client).get({
|
|
1972
|
-
url: "/files/{
|
|
1972
|
+
url: "/files/{file_id}/download/base64",
|
|
1973
1973
|
...options
|
|
1974
1974
|
});
|
|
1975
1975
|
}
|
|
@@ -1980,7 +1980,7 @@ var Files = class {
|
|
|
1980
1980
|
*/
|
|
1981
1981
|
static getFileTags(options) {
|
|
1982
1982
|
return (options.client ?? client).get({
|
|
1983
|
-
url: "/files/{
|
|
1983
|
+
url: "/files/{file_id}/tags",
|
|
1984
1984
|
...options
|
|
1985
1985
|
});
|
|
1986
1986
|
}
|
|
@@ -1991,7 +1991,7 @@ var Files = class {
|
|
|
1991
1991
|
*/
|
|
1992
1992
|
static mergeFileTags(options) {
|
|
1993
1993
|
return (options.client ?? client).patch({
|
|
1994
|
-
url: "/files/{
|
|
1994
|
+
url: "/files/{file_id}/tags",
|
|
1995
1995
|
...options,
|
|
1996
1996
|
headers: {
|
|
1997
1997
|
"Content-Type": "application/json",
|
|
@@ -2006,7 +2006,7 @@ var Files = class {
|
|
|
2006
2006
|
*/
|
|
2007
2007
|
static replaceFileTags(options) {
|
|
2008
2008
|
return (options.client ?? client).put({
|
|
2009
|
-
url: "/files/{
|
|
2009
|
+
url: "/files/{file_id}/tags",
|
|
2010
2010
|
...options,
|
|
2011
2011
|
headers: {
|
|
2012
2012
|
"Content-Type": "application/json",
|
|
@@ -2476,7 +2476,7 @@ var Users = class {
|
|
|
2476
2476
|
*/
|
|
2477
2477
|
static deleteUser(options) {
|
|
2478
2478
|
return (options.client ?? client).delete({
|
|
2479
|
-
url: "/users/{
|
|
2479
|
+
url: "/users/{user_id}",
|
|
2480
2480
|
...options
|
|
2481
2481
|
});
|
|
2482
2482
|
}
|
|
@@ -2487,7 +2487,7 @@ var Users = class {
|
|
|
2487
2487
|
*/
|
|
2488
2488
|
static getUser(options) {
|
|
2489
2489
|
return (options.client ?? client).get({
|
|
2490
|
-
url: "/users/{
|
|
2490
|
+
url: "/users/{user_id}",
|
|
2491
2491
|
...options
|
|
2492
2492
|
});
|
|
2493
2493
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "TypeScript SDK for the SOAT API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"access": "public",
|
|
29
29
|
"provenance": true
|
|
30
30
|
},
|
|
31
|
-
"dependencies": {},
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@hey-api/client-fetch": "^0.13.1",
|
|
34
33
|
"@hey-api/openapi-ts": "^0.96.1",
|