ch-admin-api-client-typescript 2.2.12 → 2.2.14
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/lib/api.d.ts +120 -68
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +61 -107
- package/package.json +1 -1
- package/src/api.ts +138 -113
package/lib/api.js
CHANGED
|
@@ -1808,22 +1808,16 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1808
1808
|
},
|
|
1809
1809
|
/**
|
|
1810
1810
|
*
|
|
1811
|
-
* @summary GetAll
|
|
1811
|
+
* @summary GetAll ArticleTags.
|
|
1812
1812
|
* @param {string} articleId
|
|
1813
|
-
* @param {string} [
|
|
1814
|
-
* @param {string} [contributorId]
|
|
1815
|
-
* @param {string} [contributorName]
|
|
1816
|
-
* @param {string} [email]
|
|
1817
|
-
* @param {string} [description]
|
|
1818
|
-
* @param {string} [website]
|
|
1819
|
-
* @param {ContributionType} [contributionType]
|
|
1813
|
+
* @param {string} [tagId]
|
|
1820
1814
|
* @param {number} [page]
|
|
1821
1815
|
* @param {number} [limit]
|
|
1822
1816
|
* @param {Date} [lastRetrieved]
|
|
1823
1817
|
* @param {*} [options] Override http request option.
|
|
1824
1818
|
* @throws {RequiredError}
|
|
1825
1819
|
*/
|
|
1826
|
-
apiV1ArticlesArticleIdTagsGet: function (articleId,
|
|
1820
|
+
apiV1ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
|
|
1827
1821
|
if (options === void 0) { options = {}; }
|
|
1828
1822
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1829
1823
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1848,26 +1842,8 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1848
1842
|
// authentication oauth2 required
|
|
1849
1843
|
// oauth required
|
|
1850
1844
|
_a.sent();
|
|
1851
|
-
if (
|
|
1852
|
-
localVarQueryParameter['
|
|
1853
|
-
}
|
|
1854
|
-
if (contributorId !== undefined) {
|
|
1855
|
-
localVarQueryParameter['ContributorId'] = contributorId;
|
|
1856
|
-
}
|
|
1857
|
-
if (contributorName !== undefined) {
|
|
1858
|
-
localVarQueryParameter['ContributorName'] = contributorName;
|
|
1859
|
-
}
|
|
1860
|
-
if (email !== undefined) {
|
|
1861
|
-
localVarQueryParameter['Email'] = email;
|
|
1862
|
-
}
|
|
1863
|
-
if (description !== undefined) {
|
|
1864
|
-
localVarQueryParameter['Description'] = description;
|
|
1865
|
-
}
|
|
1866
|
-
if (website !== undefined) {
|
|
1867
|
-
localVarQueryParameter['Website'] = website;
|
|
1868
|
-
}
|
|
1869
|
-
if (contributionType !== undefined) {
|
|
1870
|
-
localVarQueryParameter['ContributionType'] = contributionType;
|
|
1845
|
+
if (tagId !== undefined) {
|
|
1846
|
+
localVarQueryParameter['TagId'] = tagId;
|
|
1871
1847
|
}
|
|
1872
1848
|
if (page !== undefined) {
|
|
1873
1849
|
localVarQueryParameter['page'] = page;
|
|
@@ -1893,12 +1869,13 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1893
1869
|
},
|
|
1894
1870
|
/**
|
|
1895
1871
|
*
|
|
1872
|
+
* @summary Create ArticleTag.
|
|
1896
1873
|
* @param {string} articleId
|
|
1897
|
-
* @param {
|
|
1874
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
1898
1875
|
* @param {*} [options] Override http request option.
|
|
1899
1876
|
* @throws {RequiredError}
|
|
1900
1877
|
*/
|
|
1901
|
-
apiV1ArticlesArticleIdTagsPost: function (articleId,
|
|
1878
|
+
apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleTagCommand, options) {
|
|
1902
1879
|
if (options === void 0) { options = {}; }
|
|
1903
1880
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1904
1881
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1927,7 +1904,7 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1927
1904
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1928
1905
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1929
1906
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1930
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
1907
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createArticleTagCommand, localVarRequestOptions, configuration);
|
|
1931
1908
|
return [2 /*return*/, {
|
|
1932
1909
|
url: common_1.toPathString(localVarUrlObj),
|
|
1933
1910
|
options: localVarRequestOptions,
|
|
@@ -1938,14 +1915,14 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1938
1915
|
},
|
|
1939
1916
|
/**
|
|
1940
1917
|
*
|
|
1941
|
-
* @summary Delete
|
|
1918
|
+
* @summary Delete ArticleTag.
|
|
1942
1919
|
* @param {string} articleId
|
|
1943
|
-
* @param {string} contributorId
|
|
1944
1920
|
* @param {string} tagId
|
|
1921
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
1945
1922
|
* @param {*} [options] Override http request option.
|
|
1946
1923
|
* @throws {RequiredError}
|
|
1947
1924
|
*/
|
|
1948
|
-
apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId,
|
|
1925
|
+
apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, tagId, deleteArticleTagCommand, options) {
|
|
1949
1926
|
if (options === void 0) { options = {}; }
|
|
1950
1927
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1951
1928
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1954,13 +1931,10 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1954
1931
|
case 0:
|
|
1955
1932
|
// verify required parameter 'articleId' is not null or undefined
|
|
1956
1933
|
common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'articleId', articleId);
|
|
1957
|
-
// verify required parameter 'contributorId' is not null or undefined
|
|
1958
|
-
common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'contributorId', contributorId);
|
|
1959
1934
|
// verify required parameter 'tagId' is not null or undefined
|
|
1960
1935
|
common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'tagId', tagId);
|
|
1961
1936
|
localVarPath = "/api/v1/articles/{articleId}/tags/{tagId}"
|
|
1962
1937
|
.replace("{" + "articleId" + "}", encodeURIComponent(String(articleId)))
|
|
1963
|
-
.replace("{" + "contributorId" + "}", encodeURIComponent(String(contributorId)))
|
|
1964
1938
|
.replace("{" + "tagId" + "}", encodeURIComponent(String(tagId)));
|
|
1965
1939
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1966
1940
|
if (configuration) {
|
|
@@ -1976,9 +1950,11 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1976
1950
|
// authentication oauth2 required
|
|
1977
1951
|
// oauth required
|
|
1978
1952
|
_a.sent();
|
|
1953
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1979
1954
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1980
1955
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1981
1956
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1957
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(deleteArticleTagCommand, localVarRequestOptions, configuration);
|
|
1982
1958
|
return [2 /*return*/, {
|
|
1983
1959
|
url: common_1.toPathString(localVarUrlObj),
|
|
1984
1960
|
options: localVarRequestOptions,
|
|
@@ -1989,14 +1965,13 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1989
1965
|
},
|
|
1990
1966
|
/**
|
|
1991
1967
|
*
|
|
1992
|
-
* @summary Get
|
|
1968
|
+
* @summary Get ArticleTag.
|
|
1993
1969
|
* @param {string} articleId
|
|
1994
|
-
* @param {string} contributorId
|
|
1995
1970
|
* @param {string} tagId
|
|
1996
1971
|
* @param {*} [options] Override http request option.
|
|
1997
1972
|
* @throws {RequiredError}
|
|
1998
1973
|
*/
|
|
1999
|
-
apiV1ArticlesArticleIdTagsTagIdGet: function (articleId,
|
|
1974
|
+
apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
|
|
2000
1975
|
if (options === void 0) { options = {}; }
|
|
2001
1976
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2002
1977
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2005,13 +1980,10 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2005
1980
|
case 0:
|
|
2006
1981
|
// verify required parameter 'articleId' is not null or undefined
|
|
2007
1982
|
common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'articleId', articleId);
|
|
2008
|
-
// verify required parameter 'contributorId' is not null or undefined
|
|
2009
|
-
common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'contributorId', contributorId);
|
|
2010
1983
|
// verify required parameter 'tagId' is not null or undefined
|
|
2011
1984
|
common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'tagId', tagId);
|
|
2012
1985
|
localVarPath = "/api/v1/articles/{articleId}/tags/{tagId}"
|
|
2013
1986
|
.replace("{" + "articleId" + "}", encodeURIComponent(String(articleId)))
|
|
2014
|
-
.replace("{" + "contributorId" + "}", encodeURIComponent(String(contributorId)))
|
|
2015
1987
|
.replace("{" + "tagId" + "}", encodeURIComponent(String(tagId)));
|
|
2016
1988
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2017
1989
|
if (configuration) {
|
|
@@ -2646,27 +2618,21 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2646
2618
|
},
|
|
2647
2619
|
/**
|
|
2648
2620
|
*
|
|
2649
|
-
* @summary GetAll
|
|
2621
|
+
* @summary GetAll ArticleTags.
|
|
2650
2622
|
* @param {string} articleId
|
|
2651
|
-
* @param {string} [
|
|
2652
|
-
* @param {string} [contributorId]
|
|
2653
|
-
* @param {string} [contributorName]
|
|
2654
|
-
* @param {string} [email]
|
|
2655
|
-
* @param {string} [description]
|
|
2656
|
-
* @param {string} [website]
|
|
2657
|
-
* @param {ContributionType} [contributionType]
|
|
2623
|
+
* @param {string} [tagId]
|
|
2658
2624
|
* @param {number} [page]
|
|
2659
2625
|
* @param {number} [limit]
|
|
2660
2626
|
* @param {Date} [lastRetrieved]
|
|
2661
2627
|
* @param {*} [options] Override http request option.
|
|
2662
2628
|
* @throws {RequiredError}
|
|
2663
2629
|
*/
|
|
2664
|
-
apiV1ArticlesArticleIdTagsGet: function (articleId,
|
|
2630
|
+
apiV1ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
|
|
2665
2631
|
return __awaiter(this, void 0, void 0, function () {
|
|
2666
2632
|
var localVarAxiosArgs;
|
|
2667
2633
|
return __generator(this, function (_a) {
|
|
2668
2634
|
switch (_a.label) {
|
|
2669
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId,
|
|
2635
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options)];
|
|
2670
2636
|
case 1:
|
|
2671
2637
|
localVarAxiosArgs = _a.sent();
|
|
2672
2638
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2676,17 +2642,18 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2676
2642
|
},
|
|
2677
2643
|
/**
|
|
2678
2644
|
*
|
|
2645
|
+
* @summary Create ArticleTag.
|
|
2679
2646
|
* @param {string} articleId
|
|
2680
|
-
* @param {
|
|
2647
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
2681
2648
|
* @param {*} [options] Override http request option.
|
|
2682
2649
|
* @throws {RequiredError}
|
|
2683
2650
|
*/
|
|
2684
|
-
apiV1ArticlesArticleIdTagsPost: function (articleId,
|
|
2651
|
+
apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleTagCommand, options) {
|
|
2685
2652
|
return __awaiter(this, void 0, void 0, function () {
|
|
2686
2653
|
var localVarAxiosArgs;
|
|
2687
2654
|
return __generator(this, function (_a) {
|
|
2688
2655
|
switch (_a.label) {
|
|
2689
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId,
|
|
2656
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options)];
|
|
2690
2657
|
case 1:
|
|
2691
2658
|
localVarAxiosArgs = _a.sent();
|
|
2692
2659
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2696,19 +2663,19 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2696
2663
|
},
|
|
2697
2664
|
/**
|
|
2698
2665
|
*
|
|
2699
|
-
* @summary Delete
|
|
2666
|
+
* @summary Delete ArticleTag.
|
|
2700
2667
|
* @param {string} articleId
|
|
2701
|
-
* @param {string} contributorId
|
|
2702
2668
|
* @param {string} tagId
|
|
2669
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
2703
2670
|
* @param {*} [options] Override http request option.
|
|
2704
2671
|
* @throws {RequiredError}
|
|
2705
2672
|
*/
|
|
2706
|
-
apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId,
|
|
2673
|
+
apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, tagId, deleteArticleTagCommand, options) {
|
|
2707
2674
|
return __awaiter(this, void 0, void 0, function () {
|
|
2708
2675
|
var localVarAxiosArgs;
|
|
2709
2676
|
return __generator(this, function (_a) {
|
|
2710
2677
|
switch (_a.label) {
|
|
2711
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
2678
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options)];
|
|
2712
2679
|
case 1:
|
|
2713
2680
|
localVarAxiosArgs = _a.sent();
|
|
2714
2681
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2718,19 +2685,18 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
2718
2685
|
},
|
|
2719
2686
|
/**
|
|
2720
2687
|
*
|
|
2721
|
-
* @summary Get
|
|
2688
|
+
* @summary Get ArticleTag.
|
|
2722
2689
|
* @param {string} articleId
|
|
2723
|
-
* @param {string} contributorId
|
|
2724
2690
|
* @param {string} tagId
|
|
2725
2691
|
* @param {*} [options] Override http request option.
|
|
2726
2692
|
* @throws {RequiredError}
|
|
2727
2693
|
*/
|
|
2728
|
-
apiV1ArticlesArticleIdTagsTagIdGet: function (articleId,
|
|
2694
|
+
apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
|
|
2729
2695
|
return __awaiter(this, void 0, void 0, function () {
|
|
2730
2696
|
var localVarAxiosArgs;
|
|
2731
2697
|
return __generator(this, function (_a) {
|
|
2732
2698
|
switch (_a.label) {
|
|
2733
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
2699
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options)];
|
|
2734
2700
|
case 1:
|
|
2735
2701
|
localVarAxiosArgs = _a.sent();
|
|
2736
2702
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3042,57 +3008,51 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
3042
3008
|
},
|
|
3043
3009
|
/**
|
|
3044
3010
|
*
|
|
3045
|
-
* @summary GetAll
|
|
3011
|
+
* @summary GetAll ArticleTags.
|
|
3046
3012
|
* @param {string} articleId
|
|
3047
|
-
* @param {string} [
|
|
3048
|
-
* @param {string} [contributorId]
|
|
3049
|
-
* @param {string} [contributorName]
|
|
3050
|
-
* @param {string} [email]
|
|
3051
|
-
* @param {string} [description]
|
|
3052
|
-
* @param {string} [website]
|
|
3053
|
-
* @param {ContributionType} [contributionType]
|
|
3013
|
+
* @param {string} [tagId]
|
|
3054
3014
|
* @param {number} [page]
|
|
3055
3015
|
* @param {number} [limit]
|
|
3056
3016
|
* @param {Date} [lastRetrieved]
|
|
3057
3017
|
* @param {*} [options] Override http request option.
|
|
3058
3018
|
* @throws {RequiredError}
|
|
3059
3019
|
*/
|
|
3060
|
-
apiV1ArticlesArticleIdTagsGet: function (articleId,
|
|
3061
|
-
return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId,
|
|
3020
|
+
apiV1ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
|
|
3021
|
+
return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
3062
3022
|
},
|
|
3063
3023
|
/**
|
|
3064
3024
|
*
|
|
3025
|
+
* @summary Create ArticleTag.
|
|
3065
3026
|
* @param {string} articleId
|
|
3066
|
-
* @param {
|
|
3027
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
3067
3028
|
* @param {*} [options] Override http request option.
|
|
3068
3029
|
* @throws {RequiredError}
|
|
3069
3030
|
*/
|
|
3070
|
-
apiV1ArticlesArticleIdTagsPost: function (articleId,
|
|
3071
|
-
return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId,
|
|
3031
|
+
apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleTagCommand, options) {
|
|
3032
|
+
return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then(function (request) { return request(axios, basePath); });
|
|
3072
3033
|
},
|
|
3073
3034
|
/**
|
|
3074
3035
|
*
|
|
3075
|
-
* @summary Delete
|
|
3036
|
+
* @summary Delete ArticleTag.
|
|
3076
3037
|
* @param {string} articleId
|
|
3077
|
-
* @param {string} contributorId
|
|
3078
3038
|
* @param {string} tagId
|
|
3039
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
3079
3040
|
* @param {*} [options] Override http request option.
|
|
3080
3041
|
* @throws {RequiredError}
|
|
3081
3042
|
*/
|
|
3082
|
-
apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId,
|
|
3083
|
-
return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
3043
|
+
apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, tagId, deleteArticleTagCommand, options) {
|
|
3044
|
+
return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then(function (request) { return request(axios, basePath); });
|
|
3084
3045
|
},
|
|
3085
3046
|
/**
|
|
3086
3047
|
*
|
|
3087
|
-
* @summary Get
|
|
3048
|
+
* @summary Get ArticleTag.
|
|
3088
3049
|
* @param {string} articleId
|
|
3089
|
-
* @param {string} contributorId
|
|
3090
3050
|
* @param {string} tagId
|
|
3091
3051
|
* @param {*} [options] Override http request option.
|
|
3092
3052
|
* @throws {RequiredError}
|
|
3093
3053
|
*/
|
|
3094
|
-
apiV1ArticlesArticleIdTagsTagIdGet: function (articleId,
|
|
3095
|
-
return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
3054
|
+
apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
|
|
3055
|
+
return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then(function (request) { return request(axios, basePath); });
|
|
3096
3056
|
},
|
|
3097
3057
|
/**
|
|
3098
3058
|
*
|
|
@@ -3408,15 +3368,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
3408
3368
|
};
|
|
3409
3369
|
/**
|
|
3410
3370
|
*
|
|
3411
|
-
* @summary GetAll
|
|
3371
|
+
* @summary GetAll ArticleTags.
|
|
3412
3372
|
* @param {string} articleId
|
|
3413
|
-
* @param {string} [
|
|
3414
|
-
* @param {string} [contributorId]
|
|
3415
|
-
* @param {string} [contributorName]
|
|
3416
|
-
* @param {string} [email]
|
|
3417
|
-
* @param {string} [description]
|
|
3418
|
-
* @param {string} [website]
|
|
3419
|
-
* @param {ContributionType} [contributionType]
|
|
3373
|
+
* @param {string} [tagId]
|
|
3420
3374
|
* @param {number} [page]
|
|
3421
3375
|
* @param {number} [limit]
|
|
3422
3376
|
* @param {Date} [lastRetrieved]
|
|
@@ -3424,49 +3378,49 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
3424
3378
|
* @throws {RequiredError}
|
|
3425
3379
|
* @memberof ArticlesApi
|
|
3426
3380
|
*/
|
|
3427
|
-
ArticlesApi.prototype.apiV1ArticlesArticleIdTagsGet = function (articleId,
|
|
3381
|
+
ArticlesApi.prototype.apiV1ArticlesArticleIdTagsGet = function (articleId, tagId, page, limit, lastRetrieved, options) {
|
|
3428
3382
|
var _this = this;
|
|
3429
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId,
|
|
3383
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3430
3384
|
};
|
|
3431
3385
|
/**
|
|
3432
3386
|
*
|
|
3387
|
+
* @summary Create ArticleTag.
|
|
3433
3388
|
* @param {string} articleId
|
|
3434
|
-
* @param {
|
|
3389
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
3435
3390
|
* @param {*} [options] Override http request option.
|
|
3436
3391
|
* @throws {RequiredError}
|
|
3437
3392
|
* @memberof ArticlesApi
|
|
3438
3393
|
*/
|
|
3439
|
-
ArticlesApi.prototype.apiV1ArticlesArticleIdTagsPost = function (articleId,
|
|
3394
|
+
ArticlesApi.prototype.apiV1ArticlesArticleIdTagsPost = function (articleId, createArticleTagCommand, options) {
|
|
3440
3395
|
var _this = this;
|
|
3441
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId,
|
|
3396
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3442
3397
|
};
|
|
3443
3398
|
/**
|
|
3444
3399
|
*
|
|
3445
|
-
* @summary Delete
|
|
3400
|
+
* @summary Delete ArticleTag.
|
|
3446
3401
|
* @param {string} articleId
|
|
3447
|
-
* @param {string} contributorId
|
|
3448
3402
|
* @param {string} tagId
|
|
3403
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
3449
3404
|
* @param {*} [options] Override http request option.
|
|
3450
3405
|
* @throws {RequiredError}
|
|
3451
3406
|
* @memberof ArticlesApi
|
|
3452
3407
|
*/
|
|
3453
|
-
ArticlesApi.prototype.apiV1ArticlesArticleIdTagsTagIdDelete = function (articleId,
|
|
3408
|
+
ArticlesApi.prototype.apiV1ArticlesArticleIdTagsTagIdDelete = function (articleId, tagId, deleteArticleTagCommand, options) {
|
|
3454
3409
|
var _this = this;
|
|
3455
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
3410
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3456
3411
|
};
|
|
3457
3412
|
/**
|
|
3458
3413
|
*
|
|
3459
|
-
* @summary Get
|
|
3414
|
+
* @summary Get ArticleTag.
|
|
3460
3415
|
* @param {string} articleId
|
|
3461
|
-
* @param {string} contributorId
|
|
3462
3416
|
* @param {string} tagId
|
|
3463
3417
|
* @param {*} [options] Override http request option.
|
|
3464
3418
|
* @throws {RequiredError}
|
|
3465
3419
|
* @memberof ArticlesApi
|
|
3466
3420
|
*/
|
|
3467
|
-
ArticlesApi.prototype.apiV1ArticlesArticleIdTagsTagIdGet = function (articleId,
|
|
3421
|
+
ArticlesApi.prototype.apiV1ArticlesArticleIdTagsTagIdGet = function (articleId, tagId, options) {
|
|
3468
3422
|
var _this = this;
|
|
3469
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
3423
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3470
3424
|
};
|
|
3471
3425
|
/**
|
|
3472
3426
|
*
|