@getlatedev/node 0.1.0 → 0.1.1
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/README.md +212 -110
- package/dist/index.d.mts +381 -381
- package/dist/index.d.ts +381 -381
- package/dist/index.js +209 -209
- package/dist/index.mjs +209 -209
- package/package.json +9 -4
- package/src/client.ts +211 -230
- package/src/generated/sdk.gen.ts +177 -177
- package/src/generated/types.gen.ts +259 -259
|
@@ -1486,7 +1486,7 @@ export type YouTubeScopeMissingResponse = {
|
|
|
1486
1486
|
};
|
|
1487
1487
|
};
|
|
1488
1488
|
|
|
1489
|
-
export type
|
|
1489
|
+
export type DownloadYouTubeVideoData = {
|
|
1490
1490
|
query: {
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Action to perform: 'download' returns download URL, 'formats' lists available formats
|
|
@@ -1511,7 +1511,7 @@ export type GetV1ToolsYoutubeDownloadData = {
|
|
|
1511
1511
|
};
|
|
1512
1512
|
};
|
|
1513
1513
|
|
|
1514
|
-
export type
|
|
1514
|
+
export type DownloadYouTubeVideoResponse = ({
|
|
1515
1515
|
success?: boolean;
|
|
1516
1516
|
title?: string;
|
|
1517
1517
|
downloadUrl?: string;
|
|
@@ -1525,11 +1525,11 @@ export type GetV1ToolsYoutubeDownloadResponse = ({
|
|
|
1525
1525
|
}>;
|
|
1526
1526
|
});
|
|
1527
1527
|
|
|
1528
|
-
export type
|
|
1528
|
+
export type DownloadYouTubeVideoError = ({
|
|
1529
1529
|
error?: string;
|
|
1530
1530
|
} | unknown);
|
|
1531
1531
|
|
|
1532
|
-
export type
|
|
1532
|
+
export type GetYouTubeTranscriptData = {
|
|
1533
1533
|
query: {
|
|
1534
1534
|
/**
|
|
1535
1535
|
* Language code for transcript
|
|
@@ -1542,7 +1542,7 @@ export type GetV1ToolsYoutubeTranscriptData = {
|
|
|
1542
1542
|
};
|
|
1543
1543
|
};
|
|
1544
1544
|
|
|
1545
|
-
export type
|
|
1545
|
+
export type GetYouTubeTranscriptResponse = ({
|
|
1546
1546
|
success?: boolean;
|
|
1547
1547
|
videoId?: string;
|
|
1548
1548
|
language?: string;
|
|
@@ -1554,9 +1554,9 @@ export type GetV1ToolsYoutubeTranscriptResponse = ({
|
|
|
1554
1554
|
}>;
|
|
1555
1555
|
});
|
|
1556
1556
|
|
|
1557
|
-
export type
|
|
1557
|
+
export type GetYouTubeTranscriptError = (unknown);
|
|
1558
1558
|
|
|
1559
|
-
export type
|
|
1559
|
+
export type DownloadInstagramMediaData = {
|
|
1560
1560
|
query: {
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Instagram reel or post URL
|
|
@@ -1565,21 +1565,21 @@ export type GetV1ToolsInstagramDownloadData = {
|
|
|
1565
1565
|
};
|
|
1566
1566
|
};
|
|
1567
1567
|
|
|
1568
|
-
export type
|
|
1568
|
+
export type DownloadInstagramMediaResponse = ({
|
|
1569
1569
|
success?: boolean;
|
|
1570
1570
|
title?: string;
|
|
1571
1571
|
downloadUrl?: string;
|
|
1572
1572
|
});
|
|
1573
1573
|
|
|
1574
|
-
export type
|
|
1574
|
+
export type DownloadInstagramMediaError = unknown;
|
|
1575
1575
|
|
|
1576
|
-
export type
|
|
1576
|
+
export type CheckInstagramHashtagsData = {
|
|
1577
1577
|
body: {
|
|
1578
1578
|
hashtags: Array<(string)>;
|
|
1579
1579
|
};
|
|
1580
1580
|
};
|
|
1581
1581
|
|
|
1582
|
-
export type
|
|
1582
|
+
export type CheckInstagramHashtagsResponse = ({
|
|
1583
1583
|
success?: boolean;
|
|
1584
1584
|
results?: Array<{
|
|
1585
1585
|
hashtag?: string;
|
|
@@ -1594,9 +1594,9 @@ export type PostV1ToolsInstagramHashtagCheckerResponse = ({
|
|
|
1594
1594
|
};
|
|
1595
1595
|
});
|
|
1596
1596
|
|
|
1597
|
-
export type
|
|
1597
|
+
export type CheckInstagramHashtagsError = unknown;
|
|
1598
1598
|
|
|
1599
|
-
export type
|
|
1599
|
+
export type DownloadTikTokVideoData = {
|
|
1600
1600
|
query: {
|
|
1601
1601
|
/**
|
|
1602
1602
|
* 'formats' to list available formats
|
|
@@ -1613,7 +1613,7 @@ export type GetV1ToolsTiktokDownloadData = {
|
|
|
1613
1613
|
};
|
|
1614
1614
|
};
|
|
1615
1615
|
|
|
1616
|
-
export type
|
|
1616
|
+
export type DownloadTikTokVideoResponse = ({
|
|
1617
1617
|
success?: boolean;
|
|
1618
1618
|
title?: string;
|
|
1619
1619
|
downloadUrl?: string;
|
|
@@ -1624,9 +1624,9 @@ export type GetV1ToolsTiktokDownloadResponse = ({
|
|
|
1624
1624
|
}>;
|
|
1625
1625
|
});
|
|
1626
1626
|
|
|
1627
|
-
export type
|
|
1627
|
+
export type DownloadTikTokVideoError = unknown;
|
|
1628
1628
|
|
|
1629
|
-
export type
|
|
1629
|
+
export type DownloadTwitterMediaData = {
|
|
1630
1630
|
query: {
|
|
1631
1631
|
action?: 'download' | 'formats';
|
|
1632
1632
|
formatId?: string;
|
|
@@ -1637,15 +1637,15 @@ export type GetV1ToolsTwitterDownloadData = {
|
|
|
1637
1637
|
};
|
|
1638
1638
|
};
|
|
1639
1639
|
|
|
1640
|
-
export type
|
|
1640
|
+
export type DownloadTwitterMediaResponse = ({
|
|
1641
1641
|
success?: boolean;
|
|
1642
1642
|
title?: string;
|
|
1643
1643
|
downloadUrl?: string;
|
|
1644
1644
|
});
|
|
1645
1645
|
|
|
1646
|
-
export type
|
|
1646
|
+
export type DownloadTwitterMediaError = unknown;
|
|
1647
1647
|
|
|
1648
|
-
export type
|
|
1648
|
+
export type DownloadFacebookVideoData = {
|
|
1649
1649
|
query: {
|
|
1650
1650
|
/**
|
|
1651
1651
|
* Facebook video or reel URL
|
|
@@ -1654,16 +1654,16 @@ export type GetV1ToolsFacebookDownloadData = {
|
|
|
1654
1654
|
};
|
|
1655
1655
|
};
|
|
1656
1656
|
|
|
1657
|
-
export type
|
|
1657
|
+
export type DownloadFacebookVideoResponse = ({
|
|
1658
1658
|
success?: boolean;
|
|
1659
1659
|
title?: string;
|
|
1660
1660
|
downloadUrl?: string;
|
|
1661
1661
|
thumbnail?: string;
|
|
1662
1662
|
});
|
|
1663
1663
|
|
|
1664
|
-
export type
|
|
1664
|
+
export type DownloadFacebookVideoError = unknown;
|
|
1665
1665
|
|
|
1666
|
-
export type
|
|
1666
|
+
export type DownloadLinkedInVideoData = {
|
|
1667
1667
|
query: {
|
|
1668
1668
|
/**
|
|
1669
1669
|
* LinkedIn post URL
|
|
@@ -1672,15 +1672,15 @@ export type GetV1ToolsLinkedinDownloadData = {
|
|
|
1672
1672
|
};
|
|
1673
1673
|
};
|
|
1674
1674
|
|
|
1675
|
-
export type
|
|
1675
|
+
export type DownloadLinkedInVideoResponse = ({
|
|
1676
1676
|
success?: boolean;
|
|
1677
1677
|
title?: string;
|
|
1678
1678
|
downloadUrl?: string;
|
|
1679
1679
|
});
|
|
1680
1680
|
|
|
1681
|
-
export type
|
|
1681
|
+
export type DownloadLinkedInVideoError = unknown;
|
|
1682
1682
|
|
|
1683
|
-
export type
|
|
1683
|
+
export type DownloadBlueskyMediaData = {
|
|
1684
1684
|
query: {
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Bluesky post URL
|
|
@@ -1689,7 +1689,7 @@ export type GetV1ToolsBlueskyDownloadData = {
|
|
|
1689
1689
|
};
|
|
1690
1690
|
};
|
|
1691
1691
|
|
|
1692
|
-
export type
|
|
1692
|
+
export type DownloadBlueskyMediaResponse = ({
|
|
1693
1693
|
success?: boolean;
|
|
1694
1694
|
title?: string;
|
|
1695
1695
|
text?: string;
|
|
@@ -1697,9 +1697,9 @@ export type GetV1ToolsBlueskyDownloadResponse = ({
|
|
|
1697
1697
|
thumbnail?: string;
|
|
1698
1698
|
});
|
|
1699
1699
|
|
|
1700
|
-
export type
|
|
1700
|
+
export type DownloadBlueskyMediaError = unknown;
|
|
1701
1701
|
|
|
1702
|
-
export type
|
|
1702
|
+
export type GetAnalyticsData = {
|
|
1703
1703
|
query?: {
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Inclusive lower bound
|
|
@@ -1743,16 +1743,16 @@ export type GetV1AnalyticsData = {
|
|
|
1743
1743
|
};
|
|
1744
1744
|
};
|
|
1745
1745
|
|
|
1746
|
-
export type
|
|
1746
|
+
export type GetAnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse));
|
|
1747
1747
|
|
|
1748
|
-
export type
|
|
1748
|
+
export type GetAnalyticsError = ({
|
|
1749
1749
|
error?: string;
|
|
1750
1750
|
} | {
|
|
1751
1751
|
error?: string;
|
|
1752
1752
|
code?: string;
|
|
1753
1753
|
} | ErrorResponse);
|
|
1754
1754
|
|
|
1755
|
-
export type
|
|
1755
|
+
export type GetYouTubeDailyViewsData = {
|
|
1756
1756
|
query: {
|
|
1757
1757
|
/**
|
|
1758
1758
|
* The Late account ID for the YouTube account
|
|
@@ -1773,9 +1773,9 @@ export type GetV1AnalyticsYoutubeDailyViewsData = {
|
|
|
1773
1773
|
};
|
|
1774
1774
|
};
|
|
1775
1775
|
|
|
1776
|
-
export type
|
|
1776
|
+
export type GetYouTubeDailyViewsResponse = (YouTubeDailyViewsResponse);
|
|
1777
1777
|
|
|
1778
|
-
export type
|
|
1778
|
+
export type GetYouTubeDailyViewsError = ({
|
|
1779
1779
|
error?: string;
|
|
1780
1780
|
} | {
|
|
1781
1781
|
error?: string;
|
|
@@ -1785,7 +1785,7 @@ export type GetV1AnalyticsYoutubeDailyViewsError = ({
|
|
|
1785
1785
|
error?: string;
|
|
1786
1786
|
});
|
|
1787
1787
|
|
|
1788
|
-
export type
|
|
1788
|
+
export type ListAccountGroupsResponse = ({
|
|
1789
1789
|
groups?: Array<{
|
|
1790
1790
|
_id?: string;
|
|
1791
1791
|
name?: string;
|
|
@@ -1793,18 +1793,18 @@ export type GetV1AccountGroupsResponse = ({
|
|
|
1793
1793
|
}>;
|
|
1794
1794
|
});
|
|
1795
1795
|
|
|
1796
|
-
export type
|
|
1796
|
+
export type ListAccountGroupsError = ({
|
|
1797
1797
|
error?: string;
|
|
1798
1798
|
});
|
|
1799
1799
|
|
|
1800
|
-
export type
|
|
1800
|
+
export type CreateAccountGroupData = {
|
|
1801
1801
|
body: {
|
|
1802
1802
|
name: string;
|
|
1803
1803
|
accountIds: Array<(string)>;
|
|
1804
1804
|
};
|
|
1805
1805
|
};
|
|
1806
1806
|
|
|
1807
|
-
export type
|
|
1807
|
+
export type CreateAccountGroupResponse = ({
|
|
1808
1808
|
message?: string;
|
|
1809
1809
|
group?: {
|
|
1810
1810
|
_id?: string;
|
|
@@ -1813,11 +1813,11 @@ export type PostV1AccountGroupsResponse = ({
|
|
|
1813
1813
|
};
|
|
1814
1814
|
});
|
|
1815
1815
|
|
|
1816
|
-
export type
|
|
1816
|
+
export type CreateAccountGroupError = (unknown | {
|
|
1817
1817
|
error?: string;
|
|
1818
1818
|
});
|
|
1819
1819
|
|
|
1820
|
-
export type
|
|
1820
|
+
export type UpdateAccountGroupData = {
|
|
1821
1821
|
body: {
|
|
1822
1822
|
name?: string;
|
|
1823
1823
|
accountIds?: Array<(string)>;
|
|
@@ -1827,32 +1827,32 @@ export type PutV1AccountGroupsByGroupIdData = {
|
|
|
1827
1827
|
};
|
|
1828
1828
|
};
|
|
1829
1829
|
|
|
1830
|
-
export type
|
|
1830
|
+
export type UpdateAccountGroupResponse = ({
|
|
1831
1831
|
message?: string;
|
|
1832
1832
|
group?: {
|
|
1833
1833
|
[key: string]: unknown;
|
|
1834
1834
|
};
|
|
1835
1835
|
});
|
|
1836
1836
|
|
|
1837
|
-
export type
|
|
1837
|
+
export type UpdateAccountGroupError = ({
|
|
1838
1838
|
error?: string;
|
|
1839
1839
|
} | unknown);
|
|
1840
1840
|
|
|
1841
|
-
export type
|
|
1841
|
+
export type DeleteAccountGroupData = {
|
|
1842
1842
|
path: {
|
|
1843
1843
|
groupId: string;
|
|
1844
1844
|
};
|
|
1845
1845
|
};
|
|
1846
1846
|
|
|
1847
|
-
export type
|
|
1847
|
+
export type DeleteAccountGroupResponse = ({
|
|
1848
1848
|
message?: string;
|
|
1849
1849
|
});
|
|
1850
1850
|
|
|
1851
|
-
export type
|
|
1851
|
+
export type DeleteAccountGroupError = ({
|
|
1852
1852
|
error?: string;
|
|
1853
1853
|
});
|
|
1854
1854
|
|
|
1855
|
-
export type
|
|
1855
|
+
export type GetMediaPresignedUrlData = {
|
|
1856
1856
|
body: {
|
|
1857
1857
|
/**
|
|
1858
1858
|
* Name of the file to upload
|
|
@@ -1869,7 +1869,7 @@ export type PostV1MediaPresignData = {
|
|
|
1869
1869
|
};
|
|
1870
1870
|
};
|
|
1871
1871
|
|
|
1872
|
-
export type
|
|
1872
|
+
export type GetMediaPresignedUrlResponse = ({
|
|
1873
1873
|
/**
|
|
1874
1874
|
* Presigned URL to PUT your file to (expires in 1 hour)
|
|
1875
1875
|
*/
|
|
@@ -1888,11 +1888,11 @@ export type PostV1MediaPresignResponse = ({
|
|
|
1888
1888
|
type?: 'image' | 'video' | 'document';
|
|
1889
1889
|
});
|
|
1890
1890
|
|
|
1891
|
-
export type
|
|
1891
|
+
export type GetMediaPresignedUrlError = ({
|
|
1892
1892
|
error?: string;
|
|
1893
1893
|
});
|
|
1894
1894
|
|
|
1895
|
-
export type
|
|
1895
|
+
export type SearchRedditData = {
|
|
1896
1896
|
query: {
|
|
1897
1897
|
accountId: string;
|
|
1898
1898
|
after?: string;
|
|
@@ -1904,7 +1904,7 @@ export type GetV1RedditSearchData = {
|
|
|
1904
1904
|
};
|
|
1905
1905
|
};
|
|
1906
1906
|
|
|
1907
|
-
export type
|
|
1907
|
+
export type SearchRedditResponse = ({
|
|
1908
1908
|
posts?: Array<{
|
|
1909
1909
|
id?: string;
|
|
1910
1910
|
title?: string;
|
|
@@ -1919,11 +1919,11 @@ export type GetV1RedditSearchResponse = ({
|
|
|
1919
1919
|
after?: string;
|
|
1920
1920
|
});
|
|
1921
1921
|
|
|
1922
|
-
export type
|
|
1922
|
+
export type SearchRedditError = (unknown | {
|
|
1923
1923
|
error?: string;
|
|
1924
1924
|
});
|
|
1925
1925
|
|
|
1926
|
-
export type
|
|
1926
|
+
export type GetRedditFeedData = {
|
|
1927
1927
|
query: {
|
|
1928
1928
|
accountId: string;
|
|
1929
1929
|
after?: string;
|
|
@@ -1934,24 +1934,24 @@ export type GetV1RedditFeedData = {
|
|
|
1934
1934
|
};
|
|
1935
1935
|
};
|
|
1936
1936
|
|
|
1937
|
-
export type
|
|
1937
|
+
export type GetRedditFeedResponse = ({
|
|
1938
1938
|
posts?: Array<{
|
|
1939
1939
|
[key: string]: unknown;
|
|
1940
1940
|
}>;
|
|
1941
1941
|
after?: string;
|
|
1942
1942
|
});
|
|
1943
1943
|
|
|
1944
|
-
export type
|
|
1944
|
+
export type GetRedditFeedError = (unknown | {
|
|
1945
1945
|
error?: string;
|
|
1946
1946
|
});
|
|
1947
1947
|
|
|
1948
|
-
export type
|
|
1948
|
+
export type GetUsageStatsResponse = (UsageStats);
|
|
1949
1949
|
|
|
1950
|
-
export type
|
|
1950
|
+
export type GetUsageStatsError = ({
|
|
1951
1951
|
error?: string;
|
|
1952
1952
|
});
|
|
1953
1953
|
|
|
1954
|
-
export type
|
|
1954
|
+
export type ListPostsData = {
|
|
1955
1955
|
query?: {
|
|
1956
1956
|
createdBy?: string;
|
|
1957
1957
|
dateFrom?: string;
|
|
@@ -1971,13 +1971,13 @@ export type GetV1PostsData = {
|
|
|
1971
1971
|
};
|
|
1972
1972
|
};
|
|
1973
1973
|
|
|
1974
|
-
export type
|
|
1974
|
+
export type ListPostsResponse = (PostsListResponse);
|
|
1975
1975
|
|
|
1976
|
-
export type
|
|
1976
|
+
export type ListPostsError = ({
|
|
1977
1977
|
error?: string;
|
|
1978
1978
|
});
|
|
1979
1979
|
|
|
1980
|
-
export type
|
|
1980
|
+
export type CreatePostData = {
|
|
1981
1981
|
body: {
|
|
1982
1982
|
title?: string;
|
|
1983
1983
|
content?: string;
|
|
@@ -2034,25 +2034,25 @@ export type PostV1PostsData = {
|
|
|
2034
2034
|
};
|
|
2035
2035
|
};
|
|
2036
2036
|
|
|
2037
|
-
export type
|
|
2037
|
+
export type CreatePostResponse = (PostCreateResponse);
|
|
2038
2038
|
|
|
2039
|
-
export type
|
|
2039
|
+
export type CreatePostError = ({
|
|
2040
2040
|
error?: string;
|
|
2041
2041
|
});
|
|
2042
2042
|
|
|
2043
|
-
export type
|
|
2043
|
+
export type GetPostData = {
|
|
2044
2044
|
path: {
|
|
2045
2045
|
postId: string;
|
|
2046
2046
|
};
|
|
2047
2047
|
};
|
|
2048
2048
|
|
|
2049
|
-
export type
|
|
2049
|
+
export type GetPostResponse = (PostGetResponse);
|
|
2050
2050
|
|
|
2051
|
-
export type
|
|
2051
|
+
export type GetPostError = ({
|
|
2052
2052
|
error?: string;
|
|
2053
2053
|
} | unknown);
|
|
2054
2054
|
|
|
2055
|
-
export type
|
|
2055
|
+
export type UpdatePostData = {
|
|
2056
2056
|
body: {
|
|
2057
2057
|
[key: string]: unknown;
|
|
2058
2058
|
};
|
|
@@ -2061,25 +2061,25 @@ export type PutV1PostsByPostIdData = {
|
|
|
2061
2061
|
};
|
|
2062
2062
|
};
|
|
2063
2063
|
|
|
2064
|
-
export type
|
|
2064
|
+
export type UpdatePostResponse = (PostUpdateResponse | unknown);
|
|
2065
2065
|
|
|
2066
|
-
export type
|
|
2066
|
+
export type UpdatePostError = (unknown | {
|
|
2067
2067
|
error?: string;
|
|
2068
2068
|
});
|
|
2069
2069
|
|
|
2070
|
-
export type
|
|
2070
|
+
export type DeletePostData = {
|
|
2071
2071
|
path: {
|
|
2072
2072
|
postId: string;
|
|
2073
2073
|
};
|
|
2074
2074
|
};
|
|
2075
2075
|
|
|
2076
|
-
export type
|
|
2076
|
+
export type DeletePostResponse = (PostDeleteResponse);
|
|
2077
2077
|
|
|
2078
|
-
export type
|
|
2078
|
+
export type DeletePostError = (unknown | {
|
|
2079
2079
|
error?: string;
|
|
2080
2080
|
});
|
|
2081
2081
|
|
|
2082
|
-
export type
|
|
2082
|
+
export type BulkUploadPostsData = {
|
|
2083
2083
|
body: {
|
|
2084
2084
|
file?: (Blob | File);
|
|
2085
2085
|
};
|
|
@@ -2088,7 +2088,7 @@ export type PostV1PostsBulkUploadData = {
|
|
|
2088
2088
|
};
|
|
2089
2089
|
};
|
|
2090
2090
|
|
|
2091
|
-
export type
|
|
2091
|
+
export type BulkUploadPostsResponse = ({
|
|
2092
2092
|
success?: boolean;
|
|
2093
2093
|
totalRows?: number;
|
|
2094
2094
|
created?: number;
|
|
@@ -2100,23 +2100,23 @@ export type PostV1PostsBulkUploadResponse = ({
|
|
|
2100
2100
|
posts?: Array<Post>;
|
|
2101
2101
|
} | unknown);
|
|
2102
2102
|
|
|
2103
|
-
export type
|
|
2103
|
+
export type BulkUploadPostsError = (unknown | {
|
|
2104
2104
|
error?: string;
|
|
2105
2105
|
});
|
|
2106
2106
|
|
|
2107
|
-
export type
|
|
2107
|
+
export type RetryPostData = {
|
|
2108
2108
|
path: {
|
|
2109
2109
|
postId: string;
|
|
2110
2110
|
};
|
|
2111
2111
|
};
|
|
2112
2112
|
|
|
2113
|
-
export type
|
|
2113
|
+
export type RetryPostResponse = (PostRetryResponse | unknown);
|
|
2114
2114
|
|
|
2115
|
-
export type
|
|
2115
|
+
export type RetryPostError = (unknown | {
|
|
2116
2116
|
error?: string;
|
|
2117
2117
|
});
|
|
2118
2118
|
|
|
2119
|
-
export type
|
|
2119
|
+
export type ListUsersResponse = ({
|
|
2120
2120
|
currentUserId?: string;
|
|
2121
2121
|
users?: Array<{
|
|
2122
2122
|
_id?: string;
|
|
@@ -2129,17 +2129,17 @@ export type GetV1UsersResponse = ({
|
|
|
2129
2129
|
}>;
|
|
2130
2130
|
});
|
|
2131
2131
|
|
|
2132
|
-
export type
|
|
2132
|
+
export type ListUsersError = ({
|
|
2133
2133
|
error?: string;
|
|
2134
2134
|
});
|
|
2135
2135
|
|
|
2136
|
-
export type
|
|
2136
|
+
export type GetUserData = {
|
|
2137
2137
|
path: {
|
|
2138
2138
|
userId: string;
|
|
2139
2139
|
};
|
|
2140
2140
|
};
|
|
2141
2141
|
|
|
2142
|
-
export type
|
|
2142
|
+
export type GetUserResponse = ({
|
|
2143
2143
|
user?: {
|
|
2144
2144
|
_id?: string;
|
|
2145
2145
|
name?: string;
|
|
@@ -2150,11 +2150,11 @@ export type GetV1UsersByUserIdResponse = ({
|
|
|
2150
2150
|
};
|
|
2151
2151
|
});
|
|
2152
2152
|
|
|
2153
|
-
export type
|
|
2153
|
+
export type GetUserError = ({
|
|
2154
2154
|
error?: string;
|
|
2155
2155
|
} | unknown);
|
|
2156
2156
|
|
|
2157
|
-
export type
|
|
2157
|
+
export type ListProfilesData = {
|
|
2158
2158
|
query?: {
|
|
2159
2159
|
/**
|
|
2160
2160
|
* When true, includes profiles that exceed the user's plan limit.
|
|
@@ -2166,13 +2166,13 @@ export type GetV1ProfilesData = {
|
|
|
2166
2166
|
};
|
|
2167
2167
|
};
|
|
2168
2168
|
|
|
2169
|
-
export type
|
|
2169
|
+
export type ListProfilesResponse = (ProfilesListResponse);
|
|
2170
2170
|
|
|
2171
|
-
export type
|
|
2171
|
+
export type ListProfilesError = ({
|
|
2172
2172
|
error?: string;
|
|
2173
2173
|
});
|
|
2174
2174
|
|
|
2175
|
-
export type
|
|
2175
|
+
export type CreateProfileData = {
|
|
2176
2176
|
body: {
|
|
2177
2177
|
name: string;
|
|
2178
2178
|
description?: string;
|
|
@@ -2180,27 +2180,27 @@ export type PostV1ProfilesData = {
|
|
|
2180
2180
|
};
|
|
2181
2181
|
};
|
|
2182
2182
|
|
|
2183
|
-
export type
|
|
2183
|
+
export type CreateProfileResponse = (ProfileCreateResponse);
|
|
2184
2184
|
|
|
2185
|
-
export type
|
|
2185
|
+
export type CreateProfileError = (unknown | {
|
|
2186
2186
|
error?: string;
|
|
2187
2187
|
});
|
|
2188
2188
|
|
|
2189
|
-
export type
|
|
2189
|
+
export type GetProfileData = {
|
|
2190
2190
|
path: {
|
|
2191
2191
|
profileId: string;
|
|
2192
2192
|
};
|
|
2193
2193
|
};
|
|
2194
2194
|
|
|
2195
|
-
export type
|
|
2195
|
+
export type GetProfileResponse = ({
|
|
2196
2196
|
profile?: Profile;
|
|
2197
2197
|
});
|
|
2198
2198
|
|
|
2199
|
-
export type
|
|
2199
|
+
export type GetProfileError = ({
|
|
2200
2200
|
error?: string;
|
|
2201
2201
|
});
|
|
2202
2202
|
|
|
2203
|
-
export type
|
|
2203
|
+
export type UpdateProfileData = {
|
|
2204
2204
|
body: {
|
|
2205
2205
|
name?: string;
|
|
2206
2206
|
description?: string;
|
|
@@ -2212,30 +2212,30 @@ export type PutV1ProfilesByProfileIdData = {
|
|
|
2212
2212
|
};
|
|
2213
2213
|
};
|
|
2214
2214
|
|
|
2215
|
-
export type
|
|
2215
|
+
export type UpdateProfileResponse = ({
|
|
2216
2216
|
message?: string;
|
|
2217
2217
|
profile?: Profile;
|
|
2218
2218
|
});
|
|
2219
2219
|
|
|
2220
|
-
export type
|
|
2220
|
+
export type UpdateProfileError = ({
|
|
2221
2221
|
error?: string;
|
|
2222
2222
|
});
|
|
2223
2223
|
|
|
2224
|
-
export type
|
|
2224
|
+
export type DeleteProfileData = {
|
|
2225
2225
|
path: {
|
|
2226
2226
|
profileId: string;
|
|
2227
2227
|
};
|
|
2228
2228
|
};
|
|
2229
2229
|
|
|
2230
|
-
export type
|
|
2230
|
+
export type DeleteProfileResponse = ({
|
|
2231
2231
|
message?: string;
|
|
2232
2232
|
});
|
|
2233
2233
|
|
|
2234
|
-
export type
|
|
2234
|
+
export type DeleteProfileError = (unknown | {
|
|
2235
2235
|
error?: string;
|
|
2236
2236
|
});
|
|
2237
2237
|
|
|
2238
|
-
export type
|
|
2238
|
+
export type ListAccountsData = {
|
|
2239
2239
|
query?: {
|
|
2240
2240
|
/**
|
|
2241
2241
|
* When true, includes accounts from profiles that exceed the user's plan limit.
|
|
@@ -2250,7 +2250,7 @@ export type GetV1AccountsData = {
|
|
|
2250
2250
|
};
|
|
2251
2251
|
};
|
|
2252
2252
|
|
|
2253
|
-
export type
|
|
2253
|
+
export type ListAccountsResponse = ({
|
|
2254
2254
|
accounts?: Array<SocialAccount>;
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Whether user has analytics add-on access
|
|
@@ -2258,11 +2258,11 @@ export type GetV1AccountsResponse = ({
|
|
|
2258
2258
|
hasAnalyticsAccess?: boolean;
|
|
2259
2259
|
});
|
|
2260
2260
|
|
|
2261
|
-
export type
|
|
2261
|
+
export type ListAccountsError = ({
|
|
2262
2262
|
error?: string;
|
|
2263
2263
|
});
|
|
2264
2264
|
|
|
2265
|
-
export type
|
|
2265
|
+
export type GetFollowerStatsData = {
|
|
2266
2266
|
query?: {
|
|
2267
2267
|
/**
|
|
2268
2268
|
* Comma-separated list of account IDs (optional, defaults to all user's accounts)
|
|
@@ -2287,7 +2287,7 @@ export type GetV1AccountsFollowerStatsData = {
|
|
|
2287
2287
|
};
|
|
2288
2288
|
};
|
|
2289
2289
|
|
|
2290
|
-
export type
|
|
2290
|
+
export type GetFollowerStatsResponse = ({
|
|
2291
2291
|
accounts?: Array<AccountWithFollowerStats>;
|
|
2292
2292
|
stats?: {
|
|
2293
2293
|
[key: string]: Array<{
|
|
@@ -2302,7 +2302,7 @@ export type GetV1AccountsFollowerStatsResponse = ({
|
|
|
2302
2302
|
granularity?: string;
|
|
2303
2303
|
});
|
|
2304
2304
|
|
|
2305
|
-
export type
|
|
2305
|
+
export type GetFollowerStatsError = ({
|
|
2306
2306
|
error?: string;
|
|
2307
2307
|
} | {
|
|
2308
2308
|
error?: string;
|
|
@@ -2310,7 +2310,7 @@ export type GetV1AccountsFollowerStatsError = ({
|
|
|
2310
2310
|
requiresAddon?: boolean;
|
|
2311
2311
|
});
|
|
2312
2312
|
|
|
2313
|
-
export type
|
|
2313
|
+
export type UpdateAccountData = {
|
|
2314
2314
|
body: {
|
|
2315
2315
|
username?: string;
|
|
2316
2316
|
displayName?: string;
|
|
@@ -2320,31 +2320,31 @@ export type PutV1AccountsByAccountIdData = {
|
|
|
2320
2320
|
};
|
|
2321
2321
|
};
|
|
2322
2322
|
|
|
2323
|
-
export type
|
|
2323
|
+
export type UpdateAccountResponse = ({
|
|
2324
2324
|
message?: string;
|
|
2325
2325
|
username?: string;
|
|
2326
2326
|
displayName?: string;
|
|
2327
2327
|
});
|
|
2328
2328
|
|
|
2329
|
-
export type
|
|
2329
|
+
export type UpdateAccountError = (unknown | {
|
|
2330
2330
|
error?: string;
|
|
2331
2331
|
});
|
|
2332
2332
|
|
|
2333
|
-
export type
|
|
2333
|
+
export type DeleteAccountData = {
|
|
2334
2334
|
path: {
|
|
2335
2335
|
accountId: string;
|
|
2336
2336
|
};
|
|
2337
2337
|
};
|
|
2338
2338
|
|
|
2339
|
-
export type
|
|
2339
|
+
export type DeleteAccountResponse = ({
|
|
2340
2340
|
message?: string;
|
|
2341
2341
|
});
|
|
2342
2342
|
|
|
2343
|
-
export type
|
|
2343
|
+
export type DeleteAccountError = ({
|
|
2344
2344
|
error?: string;
|
|
2345
2345
|
});
|
|
2346
2346
|
|
|
2347
|
-
export type
|
|
2347
|
+
export type GetAllAccountsHealthData = {
|
|
2348
2348
|
query?: {
|
|
2349
2349
|
/**
|
|
2350
2350
|
* Filter by platform
|
|
@@ -2361,7 +2361,7 @@ export type GetV1AccountsHealthData = {
|
|
|
2361
2361
|
};
|
|
2362
2362
|
};
|
|
2363
2363
|
|
|
2364
|
-
export type
|
|
2364
|
+
export type GetAllAccountsHealthResponse = ({
|
|
2365
2365
|
summary?: {
|
|
2366
2366
|
/**
|
|
2367
2367
|
* Total number of accounts
|
|
@@ -2400,11 +2400,11 @@ export type GetV1AccountsHealthResponse = ({
|
|
|
2400
2400
|
}>;
|
|
2401
2401
|
});
|
|
2402
2402
|
|
|
2403
|
-
export type
|
|
2403
|
+
export type GetAllAccountsHealthError = ({
|
|
2404
2404
|
error?: string;
|
|
2405
2405
|
});
|
|
2406
2406
|
|
|
2407
|
-
export type
|
|
2407
|
+
export type GetAccountHealthData = {
|
|
2408
2408
|
path: {
|
|
2409
2409
|
/**
|
|
2410
2410
|
* The account ID to check
|
|
@@ -2413,7 +2413,7 @@ export type GetV1AccountsByAccountIdHealthData = {
|
|
|
2413
2413
|
};
|
|
2414
2414
|
};
|
|
2415
2415
|
|
|
2416
|
-
export type
|
|
2416
|
+
export type GetAccountHealthResponse = ({
|
|
2417
2417
|
accountId?: string;
|
|
2418
2418
|
platform?: string;
|
|
2419
2419
|
username?: string;
|
|
@@ -2467,19 +2467,19 @@ export type GetV1AccountsByAccountIdHealthResponse = ({
|
|
|
2467
2467
|
recommendations?: Array<(string)>;
|
|
2468
2468
|
});
|
|
2469
2469
|
|
|
2470
|
-
export type
|
|
2470
|
+
export type GetAccountHealthError = ({
|
|
2471
2471
|
error?: string;
|
|
2472
2472
|
});
|
|
2473
2473
|
|
|
2474
|
-
export type
|
|
2474
|
+
export type ListApiKeysResponse = ({
|
|
2475
2475
|
apiKeys?: Array<ApiKey>;
|
|
2476
2476
|
});
|
|
2477
2477
|
|
|
2478
|
-
export type
|
|
2478
|
+
export type ListApiKeysError = ({
|
|
2479
2479
|
error?: string;
|
|
2480
2480
|
});
|
|
2481
2481
|
|
|
2482
|
-
export type
|
|
2482
|
+
export type CreateApiKeyData = {
|
|
2483
2483
|
body: {
|
|
2484
2484
|
name: string;
|
|
2485
2485
|
/**
|
|
@@ -2489,30 +2489,30 @@ export type PostV1ApiKeysData = {
|
|
|
2489
2489
|
};
|
|
2490
2490
|
};
|
|
2491
2491
|
|
|
2492
|
-
export type
|
|
2492
|
+
export type CreateApiKeyResponse = ({
|
|
2493
2493
|
message?: string;
|
|
2494
2494
|
apiKey?: ApiKey;
|
|
2495
2495
|
});
|
|
2496
2496
|
|
|
2497
|
-
export type
|
|
2497
|
+
export type CreateApiKeyError = (unknown | {
|
|
2498
2498
|
error?: string;
|
|
2499
2499
|
});
|
|
2500
2500
|
|
|
2501
|
-
export type
|
|
2501
|
+
export type DeleteApiKeyData = {
|
|
2502
2502
|
path: {
|
|
2503
2503
|
keyId: string;
|
|
2504
2504
|
};
|
|
2505
2505
|
};
|
|
2506
2506
|
|
|
2507
|
-
export type
|
|
2507
|
+
export type DeleteApiKeyResponse = ({
|
|
2508
2508
|
message?: string;
|
|
2509
2509
|
});
|
|
2510
2510
|
|
|
2511
|
-
export type
|
|
2511
|
+
export type DeleteApiKeyError = ({
|
|
2512
2512
|
error?: string;
|
|
2513
2513
|
});
|
|
2514
2514
|
|
|
2515
|
-
export type
|
|
2515
|
+
export type CreateInviteTokenData = {
|
|
2516
2516
|
body: {
|
|
2517
2517
|
/**
|
|
2518
2518
|
* 'all' grants access to all profiles, 'profiles' restricts to specific profiles
|
|
@@ -2525,7 +2525,7 @@ export type PostV1InviteTokensData = {
|
|
|
2525
2525
|
};
|
|
2526
2526
|
};
|
|
2527
2527
|
|
|
2528
|
-
export type
|
|
2528
|
+
export type CreateInviteTokenResponse = ({
|
|
2529
2529
|
token?: string;
|
|
2530
2530
|
scope?: string;
|
|
2531
2531
|
invitedProfileIds?: Array<(string)>;
|
|
@@ -2533,11 +2533,11 @@ export type PostV1InviteTokensResponse = ({
|
|
|
2533
2533
|
inviteUrl?: string;
|
|
2534
2534
|
});
|
|
2535
2535
|
|
|
2536
|
-
export type
|
|
2536
|
+
export type CreateInviteTokenError = (unknown | {
|
|
2537
2537
|
error?: string;
|
|
2538
2538
|
});
|
|
2539
2539
|
|
|
2540
|
-
export type
|
|
2540
|
+
export type ListPlatformInvitesData = {
|
|
2541
2541
|
query?: {
|
|
2542
2542
|
/**
|
|
2543
2543
|
* Optional. Filter invites by profile ID
|
|
@@ -2546,7 +2546,7 @@ export type GetV1PlatformInvitesData = {
|
|
|
2546
2546
|
};
|
|
2547
2547
|
};
|
|
2548
2548
|
|
|
2549
|
-
export type
|
|
2549
|
+
export type ListPlatformInvitesResponse = ({
|
|
2550
2550
|
invites?: Array<{
|
|
2551
2551
|
_id?: string;
|
|
2552
2552
|
token?: string;
|
|
@@ -2567,11 +2567,11 @@ export type GetV1PlatformInvitesResponse = ({
|
|
|
2567
2567
|
}>;
|
|
2568
2568
|
});
|
|
2569
2569
|
|
|
2570
|
-
export type
|
|
2570
|
+
export type ListPlatformInvitesError = ({
|
|
2571
2571
|
error?: string;
|
|
2572
2572
|
});
|
|
2573
2573
|
|
|
2574
|
-
export type
|
|
2574
|
+
export type CreatePlatformInviteData = {
|
|
2575
2575
|
body: {
|
|
2576
2576
|
/**
|
|
2577
2577
|
* Profile ID to connect the account to
|
|
@@ -2584,7 +2584,7 @@ export type PostV1PlatformInvitesData = {
|
|
|
2584
2584
|
};
|
|
2585
2585
|
};
|
|
2586
2586
|
|
|
2587
|
-
export type
|
|
2587
|
+
export type CreatePlatformInviteResponse = ({
|
|
2588
2588
|
invite?: {
|
|
2589
2589
|
_id?: string;
|
|
2590
2590
|
token?: string;
|
|
@@ -2606,11 +2606,11 @@ export type PostV1PlatformInvitesResponse = ({
|
|
|
2606
2606
|
};
|
|
2607
2607
|
});
|
|
2608
2608
|
|
|
2609
|
-
export type
|
|
2609
|
+
export type CreatePlatformInviteError = (unknown | {
|
|
2610
2610
|
error?: string;
|
|
2611
2611
|
});
|
|
2612
2612
|
|
|
2613
|
-
export type
|
|
2613
|
+
export type DeletePlatformInviteData = {
|
|
2614
2614
|
query: {
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Invite ID to revoke
|
|
@@ -2619,15 +2619,15 @@ export type DeleteV1PlatformInvitesData = {
|
|
|
2619
2619
|
};
|
|
2620
2620
|
};
|
|
2621
2621
|
|
|
2622
|
-
export type
|
|
2622
|
+
export type DeletePlatformInviteResponse = ({
|
|
2623
2623
|
message?: string;
|
|
2624
2624
|
});
|
|
2625
2625
|
|
|
2626
|
-
export type
|
|
2626
|
+
export type DeletePlatformInviteError = (unknown | {
|
|
2627
2627
|
error?: string;
|
|
2628
2628
|
});
|
|
2629
2629
|
|
|
2630
|
-
export type
|
|
2630
|
+
export type GetConnectUrlData = {
|
|
2631
2631
|
path: {
|
|
2632
2632
|
/**
|
|
2633
2633
|
* Social media platform to connect
|
|
@@ -2677,7 +2677,7 @@ export type GetV1ConnectByPlatformData = {
|
|
|
2677
2677
|
};
|
|
2678
2678
|
};
|
|
2679
2679
|
|
|
2680
|
-
export type
|
|
2680
|
+
export type GetConnectUrlResponse = ({
|
|
2681
2681
|
/**
|
|
2682
2682
|
* URL to redirect your user to for OAuth authorization
|
|
2683
2683
|
*/
|
|
@@ -2688,11 +2688,11 @@ export type GetV1ConnectByPlatformResponse = ({
|
|
|
2688
2688
|
state?: string;
|
|
2689
2689
|
});
|
|
2690
2690
|
|
|
2691
|
-
export type
|
|
2691
|
+
export type GetConnectUrlError = (unknown | {
|
|
2692
2692
|
error?: string;
|
|
2693
2693
|
});
|
|
2694
2694
|
|
|
2695
|
-
export type
|
|
2695
|
+
export type HandleOAuthCallbackData = {
|
|
2696
2696
|
body: {
|
|
2697
2697
|
code: string;
|
|
2698
2698
|
state: string;
|
|
@@ -2703,13 +2703,13 @@ export type PostV1ConnectByPlatformData = {
|
|
|
2703
2703
|
};
|
|
2704
2704
|
};
|
|
2705
2705
|
|
|
2706
|
-
export type
|
|
2706
|
+
export type HandleOAuthCallbackResponse = (unknown);
|
|
2707
2707
|
|
|
2708
|
-
export type
|
|
2708
|
+
export type HandleOAuthCallbackError = (unknown | {
|
|
2709
2709
|
error?: string;
|
|
2710
2710
|
});
|
|
2711
2711
|
|
|
2712
|
-
export type
|
|
2712
|
+
export type ListFacebookPagesData = {
|
|
2713
2713
|
query: {
|
|
2714
2714
|
/**
|
|
2715
2715
|
* Profile ID from your connection flow
|
|
@@ -2722,7 +2722,7 @@ export type GetV1ConnectFacebookSelectPageData = {
|
|
|
2722
2722
|
};
|
|
2723
2723
|
};
|
|
2724
2724
|
|
|
2725
|
-
export type
|
|
2725
|
+
export type ListFacebookPagesResponse = ({
|
|
2726
2726
|
pages?: Array<{
|
|
2727
2727
|
/**
|
|
2728
2728
|
* Facebook Page ID
|
|
@@ -2751,11 +2751,11 @@ export type GetV1ConnectFacebookSelectPageResponse = ({
|
|
|
2751
2751
|
}>;
|
|
2752
2752
|
});
|
|
2753
2753
|
|
|
2754
|
-
export type
|
|
2754
|
+
export type ListFacebookPagesError = (unknown | {
|
|
2755
2755
|
error?: string;
|
|
2756
2756
|
});
|
|
2757
2757
|
|
|
2758
|
-
export type
|
|
2758
|
+
export type SelectFacebookPageData = {
|
|
2759
2759
|
body: {
|
|
2760
2760
|
/**
|
|
2761
2761
|
* Profile ID from your connection flow
|
|
@@ -2784,7 +2784,7 @@ export type PostV1ConnectFacebookSelectPageData = {
|
|
|
2784
2784
|
};
|
|
2785
2785
|
};
|
|
2786
2786
|
|
|
2787
|
-
export type
|
|
2787
|
+
export type SelectFacebookPageResponse = ({
|
|
2788
2788
|
message?: string;
|
|
2789
2789
|
/**
|
|
2790
2790
|
* Redirect URL if custom redirect_url was provided
|
|
@@ -2800,11 +2800,11 @@ export type PostV1ConnectFacebookSelectPageResponse = ({
|
|
|
2800
2800
|
};
|
|
2801
2801
|
});
|
|
2802
2802
|
|
|
2803
|
-
export type
|
|
2803
|
+
export type SelectFacebookPageError = (unknown | {
|
|
2804
2804
|
error?: string;
|
|
2805
2805
|
});
|
|
2806
2806
|
|
|
2807
|
-
export type
|
|
2807
|
+
export type ListGoogleBusinessLocationsData = {
|
|
2808
2808
|
query: {
|
|
2809
2809
|
/**
|
|
2810
2810
|
* Profile ID from your connection flow
|
|
@@ -2817,7 +2817,7 @@ export type GetV1ConnectGooglebusinessLocationsData = {
|
|
|
2817
2817
|
};
|
|
2818
2818
|
};
|
|
2819
2819
|
|
|
2820
|
-
export type
|
|
2820
|
+
export type ListGoogleBusinessLocationsResponse = ({
|
|
2821
2821
|
locations?: Array<{
|
|
2822
2822
|
/**
|
|
2823
2823
|
* Location ID
|
|
@@ -2846,11 +2846,11 @@ export type GetV1ConnectGooglebusinessLocationsResponse = ({
|
|
|
2846
2846
|
}>;
|
|
2847
2847
|
});
|
|
2848
2848
|
|
|
2849
|
-
export type
|
|
2849
|
+
export type ListGoogleBusinessLocationsError = (unknown | {
|
|
2850
2850
|
error?: string;
|
|
2851
2851
|
});
|
|
2852
2852
|
|
|
2853
|
-
export type
|
|
2853
|
+
export type SelectGoogleBusinessLocationData = {
|
|
2854
2854
|
body: {
|
|
2855
2855
|
/**
|
|
2856
2856
|
* Profile ID from your connection flow
|
|
@@ -2892,7 +2892,7 @@ export type PostV1ConnectGooglebusinessSelectLocationData = {
|
|
|
2892
2892
|
};
|
|
2893
2893
|
};
|
|
2894
2894
|
|
|
2895
|
-
export type
|
|
2895
|
+
export type SelectGoogleBusinessLocationResponse = ({
|
|
2896
2896
|
message?: string;
|
|
2897
2897
|
/**
|
|
2898
2898
|
* Redirect URL if custom redirect_url was provided
|
|
@@ -2908,11 +2908,11 @@ export type PostV1ConnectGooglebusinessSelectLocationResponse = ({
|
|
|
2908
2908
|
};
|
|
2909
2909
|
});
|
|
2910
2910
|
|
|
2911
|
-
export type
|
|
2911
|
+
export type SelectGoogleBusinessLocationError = (unknown | {
|
|
2912
2912
|
error?: string;
|
|
2913
2913
|
});
|
|
2914
2914
|
|
|
2915
|
-
export type
|
|
2915
|
+
export type GetGoogleBusinessReviewsData = {
|
|
2916
2916
|
path: {
|
|
2917
2917
|
/**
|
|
2918
2918
|
* The Late account ID (from /v1/accounts)
|
|
@@ -2931,7 +2931,7 @@ export type GetV1AccountsByAccountIdGmbReviewsData = {
|
|
|
2931
2931
|
};
|
|
2932
2932
|
};
|
|
2933
2933
|
|
|
2934
|
-
export type
|
|
2934
|
+
export type GetGoogleBusinessReviewsResponse = ({
|
|
2935
2935
|
success?: boolean;
|
|
2936
2936
|
accountId?: string;
|
|
2937
2937
|
locationId?: string;
|
|
@@ -2985,11 +2985,11 @@ export type GetV1AccountsByAccountIdGmbReviewsResponse = ({
|
|
|
2985
2985
|
nextPageToken?: (string) | null;
|
|
2986
2986
|
});
|
|
2987
2987
|
|
|
2988
|
-
export type
|
|
2988
|
+
export type GetGoogleBusinessReviewsError = (ErrorResponse | {
|
|
2989
2989
|
error?: string;
|
|
2990
2990
|
});
|
|
2991
2991
|
|
|
2992
|
-
export type
|
|
2992
|
+
export type ListLinkedInOrganizationsData = {
|
|
2993
2993
|
query: {
|
|
2994
2994
|
/**
|
|
2995
2995
|
* Comma-separated list of organization IDs to fetch details for (max 100)
|
|
@@ -3002,7 +3002,7 @@ export type GetV1ConnectLinkedinOrganizationsData = {
|
|
|
3002
3002
|
};
|
|
3003
3003
|
};
|
|
3004
3004
|
|
|
3005
|
-
export type
|
|
3005
|
+
export type ListLinkedInOrganizationsResponse = ({
|
|
3006
3006
|
organizations?: Array<{
|
|
3007
3007
|
/**
|
|
3008
3008
|
* Organization ID
|
|
@@ -3031,11 +3031,11 @@ export type GetV1ConnectLinkedinOrganizationsResponse = ({
|
|
|
3031
3031
|
}>;
|
|
3032
3032
|
});
|
|
3033
3033
|
|
|
3034
|
-
export type
|
|
3034
|
+
export type ListLinkedInOrganizationsError = ({
|
|
3035
3035
|
error?: string;
|
|
3036
3036
|
} | unknown);
|
|
3037
3037
|
|
|
3038
|
-
export type
|
|
3038
|
+
export type SelectLinkedInOrganizationData = {
|
|
3039
3039
|
body: {
|
|
3040
3040
|
profileId: string;
|
|
3041
3041
|
tempToken: string;
|
|
@@ -3050,16 +3050,16 @@ export type PostV1ConnectLinkedinSelectOrganizationData = {
|
|
|
3050
3050
|
};
|
|
3051
3051
|
};
|
|
3052
3052
|
|
|
3053
|
-
export type
|
|
3053
|
+
export type SelectLinkedInOrganizationResponse = ({
|
|
3054
3054
|
message?: string;
|
|
3055
3055
|
account?: SocialAccount;
|
|
3056
3056
|
});
|
|
3057
3057
|
|
|
3058
|
-
export type
|
|
3058
|
+
export type SelectLinkedInOrganizationError = (unknown | {
|
|
3059
3059
|
error?: string;
|
|
3060
3060
|
});
|
|
3061
3061
|
|
|
3062
|
-
export type
|
|
3062
|
+
export type ListPinterestBoardsForSelectionData = {
|
|
3063
3063
|
headers: {
|
|
3064
3064
|
/**
|
|
3065
3065
|
* Short-lived connect token from the OAuth redirect
|
|
@@ -3078,7 +3078,7 @@ export type GetV1ConnectPinterestSelectBoardData = {
|
|
|
3078
3078
|
};
|
|
3079
3079
|
};
|
|
3080
3080
|
|
|
3081
|
-
export type
|
|
3081
|
+
export type ListPinterestBoardsForSelectionResponse = ({
|
|
3082
3082
|
boards?: Array<{
|
|
3083
3083
|
/**
|
|
3084
3084
|
* Pinterest Board ID
|
|
@@ -3099,11 +3099,11 @@ export type GetV1ConnectPinterestSelectBoardResponse = ({
|
|
|
3099
3099
|
}>;
|
|
3100
3100
|
});
|
|
3101
3101
|
|
|
3102
|
-
export type
|
|
3102
|
+
export type ListPinterestBoardsForSelectionError = (unknown | {
|
|
3103
3103
|
error?: string;
|
|
3104
3104
|
});
|
|
3105
3105
|
|
|
3106
|
-
export type
|
|
3106
|
+
export type SelectPinterestBoardData = {
|
|
3107
3107
|
body: {
|
|
3108
3108
|
/**
|
|
3109
3109
|
* Your Late profile ID
|
|
@@ -3142,7 +3142,7 @@ export type PostV1ConnectPinterestSelectBoardData = {
|
|
|
3142
3142
|
};
|
|
3143
3143
|
};
|
|
3144
3144
|
|
|
3145
|
-
export type
|
|
3145
|
+
export type SelectPinterestBoardResponse = ({
|
|
3146
3146
|
message?: string;
|
|
3147
3147
|
/**
|
|
3148
3148
|
* Redirect URL with connection params (if provided)
|
|
@@ -3158,11 +3158,11 @@ export type PostV1ConnectPinterestSelectBoardResponse = ({
|
|
|
3158
3158
|
};
|
|
3159
3159
|
});
|
|
3160
3160
|
|
|
3161
|
-
export type
|
|
3161
|
+
export type SelectPinterestBoardError = (unknown | {
|
|
3162
3162
|
error?: string;
|
|
3163
3163
|
});
|
|
3164
3164
|
|
|
3165
|
-
export type
|
|
3165
|
+
export type ListSnapchatProfilesData = {
|
|
3166
3166
|
headers: {
|
|
3167
3167
|
/**
|
|
3168
3168
|
* Short-lived connect token from the OAuth redirect
|
|
@@ -3181,7 +3181,7 @@ export type GetV1ConnectSnapchatSelectProfileData = {
|
|
|
3181
3181
|
};
|
|
3182
3182
|
};
|
|
3183
3183
|
|
|
3184
|
-
export type
|
|
3184
|
+
export type ListSnapchatProfilesResponse = ({
|
|
3185
3185
|
publicProfiles?: Array<{
|
|
3186
3186
|
/**
|
|
3187
3187
|
* Snapchat Public Profile ID
|
|
@@ -3206,11 +3206,11 @@ export type GetV1ConnectSnapchatSelectProfileResponse = ({
|
|
|
3206
3206
|
}>;
|
|
3207
3207
|
});
|
|
3208
3208
|
|
|
3209
|
-
export type
|
|
3209
|
+
export type ListSnapchatProfilesError = (unknown | {
|
|
3210
3210
|
error?: string;
|
|
3211
3211
|
});
|
|
3212
3212
|
|
|
3213
|
-
export type
|
|
3213
|
+
export type SelectSnapchatProfileData = {
|
|
3214
3214
|
body: {
|
|
3215
3215
|
/**
|
|
3216
3216
|
* Your Late profile ID
|
|
@@ -3272,7 +3272,7 @@ export type PostV1ConnectSnapchatSelectProfileData = {
|
|
|
3272
3272
|
};
|
|
3273
3273
|
};
|
|
3274
3274
|
|
|
3275
|
-
export type
|
|
3275
|
+
export type SelectSnapchatProfileResponse = ({
|
|
3276
3276
|
message?: string;
|
|
3277
3277
|
/**
|
|
3278
3278
|
* Redirect URL with connection params (if provided in request)
|
|
@@ -3288,11 +3288,11 @@ export type PostV1ConnectSnapchatSelectProfileResponse = ({
|
|
|
3288
3288
|
};
|
|
3289
3289
|
});
|
|
3290
3290
|
|
|
3291
|
-
export type
|
|
3291
|
+
export type SelectSnapchatProfileError = (unknown | {
|
|
3292
3292
|
error?: string;
|
|
3293
3293
|
});
|
|
3294
3294
|
|
|
3295
|
-
export type
|
|
3295
|
+
export type ConnectBlueskyCredentialsData = {
|
|
3296
3296
|
body: {
|
|
3297
3297
|
/**
|
|
3298
3298
|
* Your Bluesky handle (e.g. user.bsky.social) or email address
|
|
@@ -3316,16 +3316,16 @@ export type PostV1ConnectBlueskyCredentialsData = {
|
|
|
3316
3316
|
};
|
|
3317
3317
|
};
|
|
3318
3318
|
|
|
3319
|
-
export type
|
|
3319
|
+
export type ConnectBlueskyCredentialsResponse = ({
|
|
3320
3320
|
message?: string;
|
|
3321
3321
|
account?: SocialAccount;
|
|
3322
3322
|
});
|
|
3323
3323
|
|
|
3324
|
-
export type
|
|
3324
|
+
export type ConnectBlueskyCredentialsError = (unknown | {
|
|
3325
3325
|
error?: string;
|
|
3326
3326
|
});
|
|
3327
3327
|
|
|
3328
|
-
export type
|
|
3328
|
+
export type GetTelegramConnectStatusData = {
|
|
3329
3329
|
query: {
|
|
3330
3330
|
/**
|
|
3331
3331
|
* The profile ID to connect the Telegram account to
|
|
@@ -3334,7 +3334,7 @@ export type GetV1ConnectTelegramData = {
|
|
|
3334
3334
|
};
|
|
3335
3335
|
};
|
|
3336
3336
|
|
|
3337
|
-
export type
|
|
3337
|
+
export type GetTelegramConnectStatusResponse = ({
|
|
3338
3338
|
/**
|
|
3339
3339
|
* The access code to send to the Telegram bot
|
|
3340
3340
|
*/
|
|
@@ -3357,11 +3357,11 @@ export type GetV1ConnectTelegramResponse = ({
|
|
|
3357
3357
|
instructions?: Array<(string)>;
|
|
3358
3358
|
});
|
|
3359
3359
|
|
|
3360
|
-
export type
|
|
3360
|
+
export type GetTelegramConnectStatusError = (unknown | {
|
|
3361
3361
|
error?: string;
|
|
3362
3362
|
});
|
|
3363
3363
|
|
|
3364
|
-
export type
|
|
3364
|
+
export type InitiateTelegramConnectData = {
|
|
3365
3365
|
body: {
|
|
3366
3366
|
/**
|
|
3367
3367
|
* The Telegram chat ID. Can be:
|
|
@@ -3377,7 +3377,7 @@ export type PostV1ConnectTelegramData = {
|
|
|
3377
3377
|
};
|
|
3378
3378
|
};
|
|
3379
3379
|
|
|
3380
|
-
export type
|
|
3380
|
+
export type InitiateTelegramConnectResponse = ({
|
|
3381
3381
|
message?: string;
|
|
3382
3382
|
account?: {
|
|
3383
3383
|
_id?: string;
|
|
@@ -3389,11 +3389,11 @@ export type PostV1ConnectTelegramResponse = ({
|
|
|
3389
3389
|
};
|
|
3390
3390
|
});
|
|
3391
3391
|
|
|
3392
|
-
export type
|
|
3392
|
+
export type InitiateTelegramConnectError = (unknown | {
|
|
3393
3393
|
error?: string;
|
|
3394
3394
|
});
|
|
3395
3395
|
|
|
3396
|
-
export type
|
|
3396
|
+
export type CompleteTelegramConnectData = {
|
|
3397
3397
|
query: {
|
|
3398
3398
|
/**
|
|
3399
3399
|
* The access code to check status for
|
|
@@ -3402,7 +3402,7 @@ export type PatchV1ConnectTelegramData = {
|
|
|
3402
3402
|
};
|
|
3403
3403
|
};
|
|
3404
3404
|
|
|
3405
|
-
export type
|
|
3405
|
+
export type CompleteTelegramConnectResponse = (({
|
|
3406
3406
|
status?: 'pending';
|
|
3407
3407
|
expiresAt?: string;
|
|
3408
3408
|
/**
|
|
@@ -3425,11 +3425,11 @@ export type PatchV1ConnectTelegramResponse = (({
|
|
|
3425
3425
|
message?: string;
|
|
3426
3426
|
}));
|
|
3427
3427
|
|
|
3428
|
-
export type
|
|
3428
|
+
export type CompleteTelegramConnectError = ({
|
|
3429
3429
|
error?: string;
|
|
3430
3430
|
} | unknown);
|
|
3431
3431
|
|
|
3432
|
-
export type
|
|
3432
|
+
export type UpdateFacebookPageData = {
|
|
3433
3433
|
body: {
|
|
3434
3434
|
selectedPageId: string;
|
|
3435
3435
|
};
|
|
@@ -3438,22 +3438,22 @@ export type PutV1AccountsByAccountIdFacebookPageData = {
|
|
|
3438
3438
|
};
|
|
3439
3439
|
};
|
|
3440
3440
|
|
|
3441
|
-
export type
|
|
3441
|
+
export type UpdateFacebookPageResponse = ({
|
|
3442
3442
|
message?: string;
|
|
3443
3443
|
account?: SocialAccount;
|
|
3444
3444
|
});
|
|
3445
3445
|
|
|
3446
|
-
export type
|
|
3446
|
+
export type UpdateFacebookPageError = (unknown | {
|
|
3447
3447
|
error?: string;
|
|
3448
3448
|
});
|
|
3449
3449
|
|
|
3450
|
-
export type
|
|
3450
|
+
export type GetLinkedInOrganizationsData = {
|
|
3451
3451
|
path: {
|
|
3452
3452
|
accountId: string;
|
|
3453
3453
|
};
|
|
3454
3454
|
};
|
|
3455
3455
|
|
|
3456
|
-
export type
|
|
3456
|
+
export type GetLinkedInOrganizationsResponse = ({
|
|
3457
3457
|
organizations?: Array<{
|
|
3458
3458
|
id?: string;
|
|
3459
3459
|
name?: string;
|
|
@@ -3462,11 +3462,11 @@ export type GetV1AccountsByAccountIdLinkedinOrganizationsResponse = ({
|
|
|
3462
3462
|
}>;
|
|
3463
3463
|
});
|
|
3464
3464
|
|
|
3465
|
-
export type
|
|
3465
|
+
export type GetLinkedInOrganizationsError = ({
|
|
3466
3466
|
error?: string;
|
|
3467
3467
|
} | unknown);
|
|
3468
3468
|
|
|
3469
|
-
export type
|
|
3469
|
+
export type GetLinkedInAggregateAnalyticsData = {
|
|
3470
3470
|
path: {
|
|
3471
3471
|
/**
|
|
3472
3472
|
* The ID of the LinkedIn personal account
|
|
@@ -3505,9 +3505,9 @@ export type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsData = {
|
|
|
3505
3505
|
};
|
|
3506
3506
|
};
|
|
3507
3507
|
|
|
3508
|
-
export type
|
|
3508
|
+
export type GetLinkedInAggregateAnalyticsResponse = ((LinkedInAggregateAnalyticsTotalResponse | LinkedInAggregateAnalyticsDailyResponse));
|
|
3509
3509
|
|
|
3510
|
-
export type
|
|
3510
|
+
export type GetLinkedInAggregateAnalyticsError = ({
|
|
3511
3511
|
error?: string;
|
|
3512
3512
|
code?: string;
|
|
3513
3513
|
validOptions?: Array<(string)>;
|
|
@@ -3523,7 +3523,7 @@ export type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsError = ({
|
|
|
3523
3523
|
action?: string;
|
|
3524
3524
|
} | unknown);
|
|
3525
3525
|
|
|
3526
|
-
export type
|
|
3526
|
+
export type GetLinkedInPostAnalyticsData = {
|
|
3527
3527
|
path: {
|
|
3528
3528
|
/**
|
|
3529
3529
|
* The ID of the LinkedIn account
|
|
@@ -3538,7 +3538,7 @@ export type GetV1AccountsByAccountIdLinkedinPostAnalyticsData = {
|
|
|
3538
3538
|
};
|
|
3539
3539
|
};
|
|
3540
3540
|
|
|
3541
|
-
export type
|
|
3541
|
+
export type GetLinkedInPostAnalyticsResponse = ({
|
|
3542
3542
|
accountId?: string;
|
|
3543
3543
|
platform?: string;
|
|
3544
3544
|
accountType?: 'personal' | 'organization';
|
|
@@ -3581,7 +3581,7 @@ export type GetV1AccountsByAccountIdLinkedinPostAnalyticsResponse = ({
|
|
|
3581
3581
|
lastUpdated?: string;
|
|
3582
3582
|
});
|
|
3583
3583
|
|
|
3584
|
-
export type
|
|
3584
|
+
export type GetLinkedInPostAnalyticsError = ({
|
|
3585
3585
|
error?: string;
|
|
3586
3586
|
code?: 'missing_urn' | 'invalid_urn' | 'invalid_platform';
|
|
3587
3587
|
} | {
|
|
@@ -3596,7 +3596,7 @@ export type GetV1AccountsByAccountIdLinkedinPostAnalyticsError = ({
|
|
|
3596
3596
|
code?: string;
|
|
3597
3597
|
});
|
|
3598
3598
|
|
|
3599
|
-
export type
|
|
3599
|
+
export type UpdateLinkedInOrganizationData = {
|
|
3600
3600
|
body: {
|
|
3601
3601
|
accountType: 'personal' | 'organization';
|
|
3602
3602
|
selectedOrganization?: {
|
|
@@ -3608,16 +3608,16 @@ export type PutV1AccountsByAccountIdLinkedinOrganizationData = {
|
|
|
3608
3608
|
};
|
|
3609
3609
|
};
|
|
3610
3610
|
|
|
3611
|
-
export type
|
|
3611
|
+
export type UpdateLinkedInOrganizationResponse = ({
|
|
3612
3612
|
message?: string;
|
|
3613
3613
|
account?: SocialAccount;
|
|
3614
3614
|
});
|
|
3615
3615
|
|
|
3616
|
-
export type
|
|
3616
|
+
export type UpdateLinkedInOrganizationError = (unknown | {
|
|
3617
3617
|
error?: string;
|
|
3618
3618
|
});
|
|
3619
3619
|
|
|
3620
|
-
export type
|
|
3620
|
+
export type GetLinkedInMentionsData = {
|
|
3621
3621
|
path: {
|
|
3622
3622
|
/**
|
|
3623
3623
|
* The LinkedIn account ID
|
|
@@ -3642,7 +3642,7 @@ export type GetV1AccountsByAccountIdLinkedinMentionsData = {
|
|
|
3642
3642
|
};
|
|
3643
3643
|
};
|
|
3644
3644
|
|
|
3645
|
-
export type
|
|
3645
|
+
export type GetLinkedInMentionsResponse = ({
|
|
3646
3646
|
/**
|
|
3647
3647
|
* The LinkedIn URN (person or organization)
|
|
3648
3648
|
*/
|
|
@@ -3669,17 +3669,17 @@ export type GetV1AccountsByAccountIdLinkedinMentionsResponse = ({
|
|
|
3669
3669
|
warning?: string;
|
|
3670
3670
|
});
|
|
3671
3671
|
|
|
3672
|
-
export type
|
|
3672
|
+
export type GetLinkedInMentionsError = ({
|
|
3673
3673
|
error?: string;
|
|
3674
3674
|
});
|
|
3675
3675
|
|
|
3676
|
-
export type
|
|
3676
|
+
export type GetPinterestBoardsData = {
|
|
3677
3677
|
path: {
|
|
3678
3678
|
accountId: string;
|
|
3679
3679
|
};
|
|
3680
3680
|
};
|
|
3681
3681
|
|
|
3682
|
-
export type
|
|
3682
|
+
export type GetPinterestBoardsResponse = ({
|
|
3683
3683
|
boards?: Array<{
|
|
3684
3684
|
id?: string;
|
|
3685
3685
|
name?: string;
|
|
@@ -3688,11 +3688,11 @@ export type GetV1AccountsByAccountIdPinterestBoardsResponse = ({
|
|
|
3688
3688
|
}>;
|
|
3689
3689
|
});
|
|
3690
3690
|
|
|
3691
|
-
export type
|
|
3691
|
+
export type GetPinterestBoardsError = (unknown | {
|
|
3692
3692
|
error?: string;
|
|
3693
3693
|
});
|
|
3694
3694
|
|
|
3695
|
-
export type
|
|
3695
|
+
export type UpdatePinterestBoardsData = {
|
|
3696
3696
|
body: {
|
|
3697
3697
|
defaultBoardId: string;
|
|
3698
3698
|
defaultBoardName?: string;
|
|
@@ -3702,22 +3702,22 @@ export type PutV1AccountsByAccountIdPinterestBoardsData = {
|
|
|
3702
3702
|
};
|
|
3703
3703
|
};
|
|
3704
3704
|
|
|
3705
|
-
export type
|
|
3705
|
+
export type UpdatePinterestBoardsResponse = ({
|
|
3706
3706
|
message?: string;
|
|
3707
3707
|
account?: SocialAccount;
|
|
3708
3708
|
});
|
|
3709
3709
|
|
|
3710
|
-
export type
|
|
3710
|
+
export type UpdatePinterestBoardsError = (unknown | {
|
|
3711
3711
|
error?: string;
|
|
3712
3712
|
});
|
|
3713
3713
|
|
|
3714
|
-
export type
|
|
3714
|
+
export type GetRedditSubredditsData = {
|
|
3715
3715
|
path: {
|
|
3716
3716
|
accountId: string;
|
|
3717
3717
|
};
|
|
3718
3718
|
};
|
|
3719
3719
|
|
|
3720
|
-
export type
|
|
3720
|
+
export type GetRedditSubredditsResponse = ({
|
|
3721
3721
|
subreddits?: Array<{
|
|
3722
3722
|
name?: string;
|
|
3723
3723
|
displayName?: string;
|
|
@@ -3726,11 +3726,11 @@ export type GetV1AccountsByAccountIdRedditSubredditsResponse = ({
|
|
|
3726
3726
|
}>;
|
|
3727
3727
|
});
|
|
3728
3728
|
|
|
3729
|
-
export type
|
|
3729
|
+
export type GetRedditSubredditsError = (unknown | {
|
|
3730
3730
|
error?: string;
|
|
3731
3731
|
});
|
|
3732
3732
|
|
|
3733
|
-
export type
|
|
3733
|
+
export type UpdateRedditSubredditsData = {
|
|
3734
3734
|
body: {
|
|
3735
3735
|
defaultSubreddit: string;
|
|
3736
3736
|
};
|
|
@@ -3739,16 +3739,16 @@ export type PutV1AccountsByAccountIdRedditSubredditsData = {
|
|
|
3739
3739
|
};
|
|
3740
3740
|
};
|
|
3741
3741
|
|
|
3742
|
-
export type
|
|
3742
|
+
export type UpdateRedditSubredditsResponse = ({
|
|
3743
3743
|
message?: string;
|
|
3744
3744
|
account?: SocialAccount;
|
|
3745
3745
|
});
|
|
3746
3746
|
|
|
3747
|
-
export type
|
|
3747
|
+
export type UpdateRedditSubredditsError = (unknown | {
|
|
3748
3748
|
error?: string;
|
|
3749
3749
|
});
|
|
3750
3750
|
|
|
3751
|
-
export type
|
|
3751
|
+
export type ListQueueSlotsData = {
|
|
3752
3752
|
query: {
|
|
3753
3753
|
/**
|
|
3754
3754
|
* Set to 'true' to list all queues for the profile
|
|
@@ -3765,7 +3765,7 @@ export type GetV1QueueSlotsData = {
|
|
|
3765
3765
|
};
|
|
3766
3766
|
};
|
|
3767
3767
|
|
|
3768
|
-
export type
|
|
3768
|
+
export type ListQueueSlotsResponse = (({
|
|
3769
3769
|
exists?: boolean;
|
|
3770
3770
|
schedule?: QueueSchedule;
|
|
3771
3771
|
nextSlots?: Array<(string)>;
|
|
@@ -3774,11 +3774,11 @@ export type GetV1QueueSlotsResponse = (({
|
|
|
3774
3774
|
count?: number;
|
|
3775
3775
|
}));
|
|
3776
3776
|
|
|
3777
|
-
export type
|
|
3777
|
+
export type ListQueueSlotsError = (unknown | {
|
|
3778
3778
|
error?: string;
|
|
3779
3779
|
});
|
|
3780
3780
|
|
|
3781
|
-
export type
|
|
3781
|
+
export type CreateQueueSlotData = {
|
|
3782
3782
|
body: {
|
|
3783
3783
|
/**
|
|
3784
3784
|
* Profile ID
|
|
@@ -3797,17 +3797,17 @@ export type PostV1QueueSlotsData = {
|
|
|
3797
3797
|
};
|
|
3798
3798
|
};
|
|
3799
3799
|
|
|
3800
|
-
export type
|
|
3800
|
+
export type CreateQueueSlotResponse = ({
|
|
3801
3801
|
success?: boolean;
|
|
3802
3802
|
schedule?: QueueSchedule;
|
|
3803
3803
|
nextSlots?: Array<(string)>;
|
|
3804
3804
|
});
|
|
3805
3805
|
|
|
3806
|
-
export type
|
|
3806
|
+
export type CreateQueueSlotError = (unknown | {
|
|
3807
3807
|
error?: string;
|
|
3808
3808
|
});
|
|
3809
3809
|
|
|
3810
|
-
export type
|
|
3810
|
+
export type UpdateQueueSlotData = {
|
|
3811
3811
|
body: {
|
|
3812
3812
|
profileId: string;
|
|
3813
3813
|
/**
|
|
@@ -3832,18 +3832,18 @@ export type PutV1QueueSlotsData = {
|
|
|
3832
3832
|
};
|
|
3833
3833
|
};
|
|
3834
3834
|
|
|
3835
|
-
export type
|
|
3835
|
+
export type UpdateQueueSlotResponse = ({
|
|
3836
3836
|
success?: boolean;
|
|
3837
3837
|
schedule?: QueueSchedule;
|
|
3838
3838
|
nextSlots?: Array<(string)>;
|
|
3839
3839
|
reshuffledCount?: number;
|
|
3840
3840
|
});
|
|
3841
3841
|
|
|
3842
|
-
export type
|
|
3842
|
+
export type UpdateQueueSlotError = (unknown | {
|
|
3843
3843
|
error?: string;
|
|
3844
3844
|
});
|
|
3845
3845
|
|
|
3846
|
-
export type
|
|
3846
|
+
export type DeleteQueueSlotData = {
|
|
3847
3847
|
query: {
|
|
3848
3848
|
profileId: string;
|
|
3849
3849
|
/**
|
|
@@ -3853,33 +3853,33 @@ export type DeleteV1QueueSlotsData = {
|
|
|
3853
3853
|
};
|
|
3854
3854
|
};
|
|
3855
3855
|
|
|
3856
|
-
export type
|
|
3856
|
+
export type DeleteQueueSlotResponse = ({
|
|
3857
3857
|
success?: boolean;
|
|
3858
3858
|
deleted?: boolean;
|
|
3859
3859
|
});
|
|
3860
3860
|
|
|
3861
|
-
export type
|
|
3861
|
+
export type DeleteQueueSlotError = (unknown | {
|
|
3862
3862
|
error?: string;
|
|
3863
3863
|
});
|
|
3864
3864
|
|
|
3865
|
-
export type
|
|
3865
|
+
export type PreviewQueueData = {
|
|
3866
3866
|
query: {
|
|
3867
3867
|
count?: number;
|
|
3868
3868
|
profileId: string;
|
|
3869
3869
|
};
|
|
3870
3870
|
};
|
|
3871
3871
|
|
|
3872
|
-
export type
|
|
3872
|
+
export type PreviewQueueResponse = ({
|
|
3873
3873
|
profileId?: string;
|
|
3874
3874
|
count?: number;
|
|
3875
3875
|
slots?: Array<(string)>;
|
|
3876
3876
|
});
|
|
3877
3877
|
|
|
3878
|
-
export type
|
|
3878
|
+
export type PreviewQueueError = (unknown | {
|
|
3879
3879
|
error?: string;
|
|
3880
3880
|
});
|
|
3881
3881
|
|
|
3882
|
-
export type
|
|
3882
|
+
export type GetNextQueueSlotData = {
|
|
3883
3883
|
query: {
|
|
3884
3884
|
profileId: string;
|
|
3885
3885
|
/**
|
|
@@ -3889,7 +3889,7 @@ export type GetV1QueueNextSlotData = {
|
|
|
3889
3889
|
};
|
|
3890
3890
|
};
|
|
3891
3891
|
|
|
3892
|
-
export type
|
|
3892
|
+
export type GetNextQueueSlotResponse = ({
|
|
3893
3893
|
profileId?: string;
|
|
3894
3894
|
nextSlot?: string;
|
|
3895
3895
|
timezone?: string;
|
|
@@ -3903,19 +3903,19 @@ export type GetV1QueueNextSlotResponse = ({
|
|
|
3903
3903
|
queueName?: string;
|
|
3904
3904
|
});
|
|
3905
3905
|
|
|
3906
|
-
export type
|
|
3906
|
+
export type GetNextQueueSlotError = (unknown | {
|
|
3907
3907
|
error?: string;
|
|
3908
3908
|
});
|
|
3909
3909
|
|
|
3910
|
-
export type
|
|
3910
|
+
export type GetWebhookSettingsResponse = ({
|
|
3911
3911
|
webhooks?: Array<Webhook>;
|
|
3912
3912
|
});
|
|
3913
3913
|
|
|
3914
|
-
export type
|
|
3914
|
+
export type GetWebhookSettingsError = ({
|
|
3915
3915
|
error?: string;
|
|
3916
3916
|
});
|
|
3917
3917
|
|
|
3918
|
-
export type
|
|
3918
|
+
export type CreateWebhookSettingsData = {
|
|
3919
3919
|
body: {
|
|
3920
3920
|
/**
|
|
3921
3921
|
* Webhook name (max 50 characters)
|
|
@@ -3946,16 +3946,16 @@ export type PostV1WebhooksSettingsData = {
|
|
|
3946
3946
|
};
|
|
3947
3947
|
};
|
|
3948
3948
|
|
|
3949
|
-
export type
|
|
3949
|
+
export type CreateWebhookSettingsResponse = ({
|
|
3950
3950
|
success?: boolean;
|
|
3951
3951
|
webhook?: Webhook;
|
|
3952
3952
|
});
|
|
3953
3953
|
|
|
3954
|
-
export type
|
|
3954
|
+
export type CreateWebhookSettingsError = (unknown | {
|
|
3955
3955
|
error?: string;
|
|
3956
3956
|
});
|
|
3957
3957
|
|
|
3958
|
-
export type
|
|
3958
|
+
export type UpdateWebhookSettingsData = {
|
|
3959
3959
|
body: {
|
|
3960
3960
|
/**
|
|
3961
3961
|
* Webhook ID to update (required)
|
|
@@ -3990,16 +3990,16 @@ export type PutV1WebhooksSettingsData = {
|
|
|
3990
3990
|
};
|
|
3991
3991
|
};
|
|
3992
3992
|
|
|
3993
|
-
export type
|
|
3993
|
+
export type UpdateWebhookSettingsResponse = ({
|
|
3994
3994
|
success?: boolean;
|
|
3995
3995
|
webhook?: Webhook;
|
|
3996
3996
|
});
|
|
3997
3997
|
|
|
3998
|
-
export type
|
|
3998
|
+
export type UpdateWebhookSettingsError = (unknown | {
|
|
3999
3999
|
error?: string;
|
|
4000
4000
|
});
|
|
4001
4001
|
|
|
4002
|
-
export type
|
|
4002
|
+
export type DeleteWebhookSettingsData = {
|
|
4003
4003
|
query: {
|
|
4004
4004
|
/**
|
|
4005
4005
|
* Webhook ID to delete
|
|
@@ -4008,15 +4008,15 @@ export type DeleteV1WebhooksSettingsData = {
|
|
|
4008
4008
|
};
|
|
4009
4009
|
};
|
|
4010
4010
|
|
|
4011
|
-
export type
|
|
4011
|
+
export type DeleteWebhookSettingsResponse = ({
|
|
4012
4012
|
success?: boolean;
|
|
4013
4013
|
});
|
|
4014
4014
|
|
|
4015
|
-
export type
|
|
4015
|
+
export type DeleteWebhookSettingsError = (unknown | {
|
|
4016
4016
|
error?: string;
|
|
4017
4017
|
});
|
|
4018
4018
|
|
|
4019
|
-
export type
|
|
4019
|
+
export type TestWebhookData = {
|
|
4020
4020
|
body: {
|
|
4021
4021
|
/**
|
|
4022
4022
|
* ID of the webhook to test
|
|
@@ -4025,19 +4025,19 @@ export type PostV1WebhooksTestData = {
|
|
|
4025
4025
|
};
|
|
4026
4026
|
};
|
|
4027
4027
|
|
|
4028
|
-
export type
|
|
4028
|
+
export type TestWebhookResponse = ({
|
|
4029
4029
|
success?: boolean;
|
|
4030
4030
|
message?: string;
|
|
4031
4031
|
});
|
|
4032
4032
|
|
|
4033
|
-
export type
|
|
4033
|
+
export type TestWebhookError = (unknown | {
|
|
4034
4034
|
error?: string;
|
|
4035
4035
|
} | {
|
|
4036
4036
|
success?: boolean;
|
|
4037
4037
|
message?: string;
|
|
4038
4038
|
});
|
|
4039
4039
|
|
|
4040
|
-
export type
|
|
4040
|
+
export type GetWebhookLogsData = {
|
|
4041
4041
|
query?: {
|
|
4042
4042
|
/**
|
|
4043
4043
|
* Filter by event type
|
|
@@ -4058,15 +4058,15 @@ export type GetV1WebhooksLogsData = {
|
|
|
4058
4058
|
};
|
|
4059
4059
|
};
|
|
4060
4060
|
|
|
4061
|
-
export type
|
|
4061
|
+
export type GetWebhookLogsResponse = ({
|
|
4062
4062
|
logs?: Array<WebhookLog>;
|
|
4063
4063
|
});
|
|
4064
4064
|
|
|
4065
|
-
export type
|
|
4065
|
+
export type GetWebhookLogsError = ({
|
|
4066
4066
|
error?: string;
|
|
4067
4067
|
});
|
|
4068
4068
|
|
|
4069
|
-
export type
|
|
4069
|
+
export type ListLogsData = {
|
|
4070
4070
|
query?: {
|
|
4071
4071
|
/**
|
|
4072
4072
|
* Filter by action type
|
|
@@ -4095,7 +4095,7 @@ export type GetV1LogsData = {
|
|
|
4095
4095
|
};
|
|
4096
4096
|
};
|
|
4097
4097
|
|
|
4098
|
-
export type
|
|
4098
|
+
export type ListLogsResponse = ({
|
|
4099
4099
|
logs?: Array<PostLog>;
|
|
4100
4100
|
pagination?: {
|
|
4101
4101
|
/**
|
|
@@ -4112,11 +4112,11 @@ export type GetV1LogsResponse = ({
|
|
|
4112
4112
|
};
|
|
4113
4113
|
});
|
|
4114
4114
|
|
|
4115
|
-
export type
|
|
4115
|
+
export type ListLogsError = ({
|
|
4116
4116
|
error?: string;
|
|
4117
4117
|
});
|
|
4118
4118
|
|
|
4119
|
-
export type
|
|
4119
|
+
export type GetLogData = {
|
|
4120
4120
|
path: {
|
|
4121
4121
|
/**
|
|
4122
4122
|
* The log entry ID
|
|
@@ -4125,15 +4125,15 @@ export type GetV1LogsByLogIdData = {
|
|
|
4125
4125
|
};
|
|
4126
4126
|
};
|
|
4127
4127
|
|
|
4128
|
-
export type
|
|
4128
|
+
export type GetLogResponse = ({
|
|
4129
4129
|
log?: PostLogDetail;
|
|
4130
4130
|
});
|
|
4131
4131
|
|
|
4132
|
-
export type
|
|
4132
|
+
export type GetLogError = ({
|
|
4133
4133
|
error?: string;
|
|
4134
4134
|
} | unknown);
|
|
4135
4135
|
|
|
4136
|
-
export type
|
|
4136
|
+
export type GetPostLogsData = {
|
|
4137
4137
|
path: {
|
|
4138
4138
|
/**
|
|
4139
4139
|
* The post ID
|
|
@@ -4148,7 +4148,7 @@ export type GetV1PostsByPostIdLogsData = {
|
|
|
4148
4148
|
};
|
|
4149
4149
|
};
|
|
4150
4150
|
|
|
4151
|
-
export type
|
|
4151
|
+
export type GetPostLogsResponse = ({
|
|
4152
4152
|
logs?: Array<PostLog>;
|
|
4153
4153
|
/**
|
|
4154
4154
|
* Number of logs returned
|
|
@@ -4157,6 +4157,6 @@ export type GetV1PostsByPostIdLogsResponse = ({
|
|
|
4157
4157
|
postId?: string;
|
|
4158
4158
|
});
|
|
4159
4159
|
|
|
4160
|
-
export type
|
|
4160
|
+
export type GetPostLogsError = ({
|
|
4161
4161
|
error?: string;
|
|
4162
4162
|
} | unknown);
|