hostinger-api-mcp 6.4.0 → 6.5.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/types.d.ts CHANGED
@@ -1750,6 +1750,127 @@ Use this endpoint to verify domain availability before purchase.
1750
1750
  response: any; // Response structure will depend on the API
1751
1751
  };
1752
1752
 
1753
+ /**
1754
+ * Delete a domain folder.
1755
+
1756
+ The domains in the folder are not deleted; they are only removed from the folder.
1757
+
1758
+ Use this endpoint to remove folders that are no longer needed.
1759
+ */
1760
+ "domains_folders_delete": {
1761
+ params: {
1762
+ /**
1763
+ * Folder ID
1764
+ */
1765
+ folderId: number;
1766
+ };
1767
+ response: any; // Response structure will depend on the API
1768
+ };
1769
+
1770
+ /**
1771
+ * Rename a domain folder or change its position in the folder list.
1772
+
1773
+ Only the fields sent are changed.
1774
+
1775
+ Use this endpoint to rename or reorder folders.
1776
+ */
1777
+ "domains_folders_update": {
1778
+ params: {
1779
+ /**
1780
+ * Folder ID
1781
+ */
1782
+ folderId: number;
1783
+ /**
1784
+ * Folder name, unique within the account
1785
+ */
1786
+ name?: string;
1787
+ /**
1788
+ * Zero-based position in the folder list. Other folders shift to make room; a value past the end
1789
+ places the folder last.
1790
+ */
1791
+ sort_order?: number;
1792
+ };
1793
+ response: any; // Response structure will depend on the API
1794
+ };
1795
+
1796
+ /**
1797
+ * Add domains to a domain folder.
1798
+
1799
+ A domain is in one of your folders at a time: adding it to this folder removes it from your other folders.
1800
+ Domains that are not in your portfolio are skipped.
1801
+
1802
+ Use this endpoint to group domains of the portfolio in a folder.
1803
+ */
1804
+ "domains_folders_add-to": {
1805
+ params: {
1806
+ /**
1807
+ * Folder ID
1808
+ */
1809
+ folderId: number;
1810
+ /**
1811
+ * Domain names
1812
+ */
1813
+ domains: array;
1814
+ };
1815
+ response: any; // Response structure will depend on the API
1816
+ };
1817
+
1818
+ /**
1819
+ * Remove domains from a domain folder.
1820
+
1821
+ The domains stay in your portfolio. Domains that are not in the folder are skipped.
1822
+
1823
+ Use this endpoint to take domains out of a folder.
1824
+ */
1825
+ "domains_folders_remove-from": {
1826
+ params: {
1827
+ /**
1828
+ * Folder ID
1829
+ */
1830
+ folderId: number;
1831
+ /**
1832
+ * Domain names
1833
+ */
1834
+ domains: array;
1835
+ };
1836
+ response: any; // Response structure will depend on the API
1837
+ };
1838
+
1839
+ /**
1840
+ * Retrieve the domain folders of your account.
1841
+
1842
+ Use this endpoint to view how domains in the portfolio are organized.
1843
+ */
1844
+ "domains_folders_list": {
1845
+ params: {
1846
+
1847
+ };
1848
+ response: any; // Response structure will depend on the API
1849
+ };
1850
+
1851
+ /**
1852
+ * Create a domain folder.
1853
+
1854
+ Folder names are unique within an account, and an account can have up to 50 folders.
1855
+
1856
+ Use this endpoint to group domains in the portfolio.
1857
+ */
1858
+ "domains_folders_create": {
1859
+ params: {
1860
+ /**
1861
+ * Folder name, unique within the account
1862
+ */
1863
+ name: string;
1864
+ /**
1865
+ * Zero-based position in the folder list. Other folders shift to make room; a value past the end
1866
+ places the folder last.
1867
+ Defaults to the end of the list.
1868
+ */
1869
+ sort_order?: number;
1870
+ };
1871
+ response: any; // Response structure will depend on the API
1872
+ };
1873
+
1753
1874
  /**
1754
1875
  * Retrieve domain forwarding data.
1755
1876
 
@@ -2184,6 +2305,9 @@ A domain held for verification before it is registered has `status: pending_veri
2184
2305
  and its `verification` field says what registration waits for: a manual review, an SMS code,
2185
2306
  or owner contact verification.
2186
2307
 
2308
+ Each domain's `folders` lists the [domain folders](#tag/domains-folders) it is in. It is empty for
2309
+ items whose `type` is not `domain`.
2310
+
2187
2311
  Use this endpoint to view user's domain portfolio.
2188
2312
  */
2189
2313
  "domains_portfolio_list": {