@halo-dev/api-client 0.0.9 → 0.0.10
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/index.cjs +378 -0
- package/dist/index.d.ts +668 -10
- package/dist/index.mjs +371 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1675,6 +1675,376 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
1675
1675
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(this.axios, this.basePath));
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
|
+
const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
1679
|
+
return {
|
|
1680
|
+
createv1alpha1Menu: async (menu, options = {}) => {
|
|
1681
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
1682
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1683
|
+
let baseOptions;
|
|
1684
|
+
if (configuration) {
|
|
1685
|
+
baseOptions = configuration.baseOptions;
|
|
1686
|
+
}
|
|
1687
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1688
|
+
const localVarHeaderParameter = {};
|
|
1689
|
+
const localVarQueryParameter = {};
|
|
1690
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1691
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1692
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1693
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1694
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1695
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1696
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
1697
|
+
return {
|
|
1698
|
+
url: toPathString(localVarUrlObj),
|
|
1699
|
+
options: localVarRequestOptions
|
|
1700
|
+
};
|
|
1701
|
+
},
|
|
1702
|
+
deletev1alpha1Menu: async (name, options = {}) => {
|
|
1703
|
+
assertParamExists("deletev1alpha1Menu", "name", name);
|
|
1704
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1705
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1706
|
+
let baseOptions;
|
|
1707
|
+
if (configuration) {
|
|
1708
|
+
baseOptions = configuration.baseOptions;
|
|
1709
|
+
}
|
|
1710
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1711
|
+
const localVarHeaderParameter = {};
|
|
1712
|
+
const localVarQueryParameter = {};
|
|
1713
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1714
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1715
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1716
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1717
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1718
|
+
return {
|
|
1719
|
+
url: toPathString(localVarUrlObj),
|
|
1720
|
+
options: localVarRequestOptions
|
|
1721
|
+
};
|
|
1722
|
+
},
|
|
1723
|
+
getv1alpha1Menu: async (name, options = {}) => {
|
|
1724
|
+
assertParamExists("getv1alpha1Menu", "name", name);
|
|
1725
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1726
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1727
|
+
let baseOptions;
|
|
1728
|
+
if (configuration) {
|
|
1729
|
+
baseOptions = configuration.baseOptions;
|
|
1730
|
+
}
|
|
1731
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1732
|
+
const localVarHeaderParameter = {};
|
|
1733
|
+
const localVarQueryParameter = {};
|
|
1734
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1735
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1738
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1739
|
+
return {
|
|
1740
|
+
url: toPathString(localVarUrlObj),
|
|
1741
|
+
options: localVarRequestOptions
|
|
1742
|
+
};
|
|
1743
|
+
},
|
|
1744
|
+
listv1alpha1Menu: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1745
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
1746
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1747
|
+
let baseOptions;
|
|
1748
|
+
if (configuration) {
|
|
1749
|
+
baseOptions = configuration.baseOptions;
|
|
1750
|
+
}
|
|
1751
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1752
|
+
const localVarHeaderParameter = {};
|
|
1753
|
+
const localVarQueryParameter = {};
|
|
1754
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1755
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1756
|
+
if (page !== void 0) {
|
|
1757
|
+
localVarQueryParameter["page"] = page;
|
|
1758
|
+
}
|
|
1759
|
+
if (size !== void 0) {
|
|
1760
|
+
localVarQueryParameter["size"] = size;
|
|
1761
|
+
}
|
|
1762
|
+
if (labelSelector) {
|
|
1763
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1764
|
+
}
|
|
1765
|
+
if (fieldSelector) {
|
|
1766
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1767
|
+
}
|
|
1768
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1769
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1770
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1771
|
+
return {
|
|
1772
|
+
url: toPathString(localVarUrlObj),
|
|
1773
|
+
options: localVarRequestOptions
|
|
1774
|
+
};
|
|
1775
|
+
},
|
|
1776
|
+
updatev1alpha1Menu: async (name, menu, options = {}) => {
|
|
1777
|
+
assertParamExists("updatev1alpha1Menu", "name", name);
|
|
1778
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1779
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1780
|
+
let baseOptions;
|
|
1781
|
+
if (configuration) {
|
|
1782
|
+
baseOptions = configuration.baseOptions;
|
|
1783
|
+
}
|
|
1784
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1785
|
+
const localVarHeaderParameter = {};
|
|
1786
|
+
const localVarQueryParameter = {};
|
|
1787
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1788
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1789
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1790
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1791
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1792
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1793
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
1794
|
+
return {
|
|
1795
|
+
url: toPathString(localVarUrlObj),
|
|
1796
|
+
options: localVarRequestOptions
|
|
1797
|
+
};
|
|
1798
|
+
}
|
|
1799
|
+
};
|
|
1800
|
+
};
|
|
1801
|
+
const V1alpha1MenuApiFp = function(configuration) {
|
|
1802
|
+
const localVarAxiosParamCreator = V1alpha1MenuApiAxiosParamCreator(configuration);
|
|
1803
|
+
return {
|
|
1804
|
+
async createv1alpha1Menu(menu, options) {
|
|
1805
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1Menu(menu, options);
|
|
1806
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1807
|
+
},
|
|
1808
|
+
async deletev1alpha1Menu(name, options) {
|
|
1809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1Menu(name, options);
|
|
1810
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1811
|
+
},
|
|
1812
|
+
async getv1alpha1Menu(name, options) {
|
|
1813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Menu(name, options);
|
|
1814
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1815
|
+
},
|
|
1816
|
+
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
1817
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options);
|
|
1818
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1819
|
+
},
|
|
1820
|
+
async updatev1alpha1Menu(name, menu, options) {
|
|
1821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1Menu(name, menu, options);
|
|
1822
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1823
|
+
}
|
|
1824
|
+
};
|
|
1825
|
+
};
|
|
1826
|
+
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
1827
|
+
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
1828
|
+
return {
|
|
1829
|
+
createv1alpha1Menu(menu, options) {
|
|
1830
|
+
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
1831
|
+
},
|
|
1832
|
+
deletev1alpha1Menu(name, options) {
|
|
1833
|
+
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
1834
|
+
},
|
|
1835
|
+
getv1alpha1Menu(name, options) {
|
|
1836
|
+
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
1837
|
+
},
|
|
1838
|
+
listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
1839
|
+
return localVarFp.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1840
|
+
},
|
|
1841
|
+
updatev1alpha1Menu(name, menu, options) {
|
|
1842
|
+
return localVarFp.updatev1alpha1Menu(name, menu, options).then((request) => request(axios, basePath));
|
|
1843
|
+
}
|
|
1844
|
+
};
|
|
1845
|
+
};
|
|
1846
|
+
class V1alpha1MenuApi extends BaseAPI {
|
|
1847
|
+
createv1alpha1Menu(menu, options) {
|
|
1848
|
+
return V1alpha1MenuApiFp(this.configuration).createv1alpha1Menu(menu, options).then((request) => request(this.axios, this.basePath));
|
|
1849
|
+
}
|
|
1850
|
+
deletev1alpha1Menu(name, options) {
|
|
1851
|
+
return V1alpha1MenuApiFp(this.configuration).deletev1alpha1Menu(name, options).then((request) => request(this.axios, this.basePath));
|
|
1852
|
+
}
|
|
1853
|
+
getv1alpha1Menu(name, options) {
|
|
1854
|
+
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(name, options).then((request) => request(this.axios, this.basePath));
|
|
1855
|
+
}
|
|
1856
|
+
listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
1857
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1858
|
+
}
|
|
1859
|
+
updatev1alpha1Menu(name, menu, options) {
|
|
1860
|
+
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(name, menu, options).then((request) => request(this.axios, this.basePath));
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
1864
|
+
return {
|
|
1865
|
+
createv1alpha1MenuItem: async (menuItem, options = {}) => {
|
|
1866
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
1867
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1868
|
+
let baseOptions;
|
|
1869
|
+
if (configuration) {
|
|
1870
|
+
baseOptions = configuration.baseOptions;
|
|
1871
|
+
}
|
|
1872
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1873
|
+
const localVarHeaderParameter = {};
|
|
1874
|
+
const localVarQueryParameter = {};
|
|
1875
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1876
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1877
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1880
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1881
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
1882
|
+
return {
|
|
1883
|
+
url: toPathString(localVarUrlObj),
|
|
1884
|
+
options: localVarRequestOptions
|
|
1885
|
+
};
|
|
1886
|
+
},
|
|
1887
|
+
deletev1alpha1MenuItem: async (name, options = {}) => {
|
|
1888
|
+
assertParamExists("deletev1alpha1MenuItem", "name", name);
|
|
1889
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1891
|
+
let baseOptions;
|
|
1892
|
+
if (configuration) {
|
|
1893
|
+
baseOptions = configuration.baseOptions;
|
|
1894
|
+
}
|
|
1895
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1896
|
+
const localVarHeaderParameter = {};
|
|
1897
|
+
const localVarQueryParameter = {};
|
|
1898
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1899
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1900
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1901
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1902
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1903
|
+
return {
|
|
1904
|
+
url: toPathString(localVarUrlObj),
|
|
1905
|
+
options: localVarRequestOptions
|
|
1906
|
+
};
|
|
1907
|
+
},
|
|
1908
|
+
getv1alpha1MenuItem: async (name, options = {}) => {
|
|
1909
|
+
assertParamExists("getv1alpha1MenuItem", "name", name);
|
|
1910
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1911
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1912
|
+
let baseOptions;
|
|
1913
|
+
if (configuration) {
|
|
1914
|
+
baseOptions = configuration.baseOptions;
|
|
1915
|
+
}
|
|
1916
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1917
|
+
const localVarHeaderParameter = {};
|
|
1918
|
+
const localVarQueryParameter = {};
|
|
1919
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1920
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1921
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1922
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1923
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1924
|
+
return {
|
|
1925
|
+
url: toPathString(localVarUrlObj),
|
|
1926
|
+
options: localVarRequestOptions
|
|
1927
|
+
};
|
|
1928
|
+
},
|
|
1929
|
+
listv1alpha1MenuItem: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1930
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
1931
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1932
|
+
let baseOptions;
|
|
1933
|
+
if (configuration) {
|
|
1934
|
+
baseOptions = configuration.baseOptions;
|
|
1935
|
+
}
|
|
1936
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1937
|
+
const localVarHeaderParameter = {};
|
|
1938
|
+
const localVarQueryParameter = {};
|
|
1939
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1940
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1941
|
+
if (page !== void 0) {
|
|
1942
|
+
localVarQueryParameter["page"] = page;
|
|
1943
|
+
}
|
|
1944
|
+
if (size !== void 0) {
|
|
1945
|
+
localVarQueryParameter["size"] = size;
|
|
1946
|
+
}
|
|
1947
|
+
if (labelSelector) {
|
|
1948
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1949
|
+
}
|
|
1950
|
+
if (fieldSelector) {
|
|
1951
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1952
|
+
}
|
|
1953
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1954
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1955
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1956
|
+
return {
|
|
1957
|
+
url: toPathString(localVarUrlObj),
|
|
1958
|
+
options: localVarRequestOptions
|
|
1959
|
+
};
|
|
1960
|
+
},
|
|
1961
|
+
updatev1alpha1MenuItem: async (name, menuItem, options = {}) => {
|
|
1962
|
+
assertParamExists("updatev1alpha1MenuItem", "name", name);
|
|
1963
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1964
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1965
|
+
let baseOptions;
|
|
1966
|
+
if (configuration) {
|
|
1967
|
+
baseOptions = configuration.baseOptions;
|
|
1968
|
+
}
|
|
1969
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1970
|
+
const localVarHeaderParameter = {};
|
|
1971
|
+
const localVarQueryParameter = {};
|
|
1972
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1973
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1974
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1975
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1976
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1977
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1978
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
1979
|
+
return {
|
|
1980
|
+
url: toPathString(localVarUrlObj),
|
|
1981
|
+
options: localVarRequestOptions
|
|
1982
|
+
};
|
|
1983
|
+
}
|
|
1984
|
+
};
|
|
1985
|
+
};
|
|
1986
|
+
const V1alpha1MenuItemApiFp = function(configuration) {
|
|
1987
|
+
const localVarAxiosParamCreator = V1alpha1MenuItemApiAxiosParamCreator(configuration);
|
|
1988
|
+
return {
|
|
1989
|
+
async createv1alpha1MenuItem(menuItem, options) {
|
|
1990
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1MenuItem(menuItem, options);
|
|
1991
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1992
|
+
},
|
|
1993
|
+
async deletev1alpha1MenuItem(name, options) {
|
|
1994
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1MenuItem(name, options);
|
|
1995
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1996
|
+
},
|
|
1997
|
+
async getv1alpha1MenuItem(name, options) {
|
|
1998
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1MenuItem(name, options);
|
|
1999
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2000
|
+
},
|
|
2001
|
+
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
2002
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options);
|
|
2003
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2004
|
+
},
|
|
2005
|
+
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
2006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1MenuItem(name, menuItem, options);
|
|
2007
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2008
|
+
}
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
2012
|
+
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
2013
|
+
return {
|
|
2014
|
+
createv1alpha1MenuItem(menuItem, options) {
|
|
2015
|
+
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
2016
|
+
},
|
|
2017
|
+
deletev1alpha1MenuItem(name, options) {
|
|
2018
|
+
return localVarFp.deletev1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
2019
|
+
},
|
|
2020
|
+
getv1alpha1MenuItem(name, options) {
|
|
2021
|
+
return localVarFp.getv1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
2022
|
+
},
|
|
2023
|
+
listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
2024
|
+
return localVarFp.listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2025
|
+
},
|
|
2026
|
+
updatev1alpha1MenuItem(name, menuItem, options) {
|
|
2027
|
+
return localVarFp.updatev1alpha1MenuItem(name, menuItem, options).then((request) => request(axios, basePath));
|
|
2028
|
+
}
|
|
2029
|
+
};
|
|
2030
|
+
};
|
|
2031
|
+
class V1alpha1MenuItemApi extends BaseAPI {
|
|
2032
|
+
createv1alpha1MenuItem(menuItem, options) {
|
|
2033
|
+
return V1alpha1MenuItemApiFp(this.configuration).createv1alpha1MenuItem(menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
2034
|
+
}
|
|
2035
|
+
deletev1alpha1MenuItem(name, options) {
|
|
2036
|
+
return V1alpha1MenuItemApiFp(this.configuration).deletev1alpha1MenuItem(name, options).then((request) => request(this.axios, this.basePath));
|
|
2037
|
+
}
|
|
2038
|
+
getv1alpha1MenuItem(name, options) {
|
|
2039
|
+
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(name, options).then((request) => request(this.axios, this.basePath));
|
|
2040
|
+
}
|
|
2041
|
+
listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
2042
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2043
|
+
}
|
|
2044
|
+
updatev1alpha1MenuItem(name, menuItem, options) {
|
|
2045
|
+
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(name, menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
1678
2048
|
const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration) {
|
|
1679
2049
|
return {
|
|
1680
2050
|
createv1alpha1PersonalAccessToken: async (personalAccessToken, options = {}) => {
|
|
@@ -2663,6 +3033,14 @@ exports.V1alpha1ConfigMapApi = V1alpha1ConfigMapApi;
|
|
|
2663
3033
|
exports.V1alpha1ConfigMapApiAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator;
|
|
2664
3034
|
exports.V1alpha1ConfigMapApiFactory = V1alpha1ConfigMapApiFactory;
|
|
2665
3035
|
exports.V1alpha1ConfigMapApiFp = V1alpha1ConfigMapApiFp;
|
|
3036
|
+
exports.V1alpha1MenuApi = V1alpha1MenuApi;
|
|
3037
|
+
exports.V1alpha1MenuApiAxiosParamCreator = V1alpha1MenuApiAxiosParamCreator;
|
|
3038
|
+
exports.V1alpha1MenuApiFactory = V1alpha1MenuApiFactory;
|
|
3039
|
+
exports.V1alpha1MenuApiFp = V1alpha1MenuApiFp;
|
|
3040
|
+
exports.V1alpha1MenuItemApi = V1alpha1MenuItemApi;
|
|
3041
|
+
exports.V1alpha1MenuItemApiAxiosParamCreator = V1alpha1MenuItemApiAxiosParamCreator;
|
|
3042
|
+
exports.V1alpha1MenuItemApiFactory = V1alpha1MenuItemApiFactory;
|
|
3043
|
+
exports.V1alpha1MenuItemApiFp = V1alpha1MenuItemApiFp;
|
|
2666
3044
|
exports.V1alpha1PersonalAccessTokenApi = V1alpha1PersonalAccessTokenApi;
|
|
2667
3045
|
exports.V1alpha1PersonalAccessTokenApiAxiosParamCreator = V1alpha1PersonalAccessTokenApiAxiosParamCreator;
|
|
2668
3046
|
exports.V1alpha1PersonalAccessTokenApiFactory = V1alpha1PersonalAccessTokenApiFactory;
|