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/src/api.ts
CHANGED
|
@@ -890,6 +890,50 @@ export interface ArticleTagItemModel {
|
|
|
890
890
|
*/
|
|
891
891
|
'order'?: number;
|
|
892
892
|
}
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @export
|
|
896
|
+
* @interface ArticleTagModel
|
|
897
|
+
*/
|
|
898
|
+
export interface ArticleTagModel {
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @type {string}
|
|
902
|
+
* @memberof ArticleTagModel
|
|
903
|
+
*/
|
|
904
|
+
'articleId'?: string;
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @type {string}
|
|
908
|
+
* @memberof ArticleTagModel
|
|
909
|
+
*/
|
|
910
|
+
'tagId'?: string | null;
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @type {number}
|
|
914
|
+
* @memberof ArticleTagModel
|
|
915
|
+
*/
|
|
916
|
+
'order'?: number;
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @export
|
|
921
|
+
* @interface ArticleTagsModel
|
|
922
|
+
*/
|
|
923
|
+
export interface ArticleTagsModel {
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {Array<ArticleTagItemModel>}
|
|
927
|
+
* @memberof ArticleTagsModel
|
|
928
|
+
*/
|
|
929
|
+
'items'?: Array<ArticleTagItemModel> | null;
|
|
930
|
+
/**
|
|
931
|
+
*
|
|
932
|
+
* @type {PagedListMetaData}
|
|
933
|
+
* @memberof ArticleTagsModel
|
|
934
|
+
*/
|
|
935
|
+
'metaData'?: PagedListMetaData;
|
|
936
|
+
}
|
|
893
937
|
/**
|
|
894
938
|
*
|
|
895
939
|
* @export
|
|
@@ -3348,6 +3392,25 @@ export interface CreateArticleSourceCommand {
|
|
|
3348
3392
|
*/
|
|
3349
3393
|
'order'?: number;
|
|
3350
3394
|
}
|
|
3395
|
+
/**
|
|
3396
|
+
*
|
|
3397
|
+
* @export
|
|
3398
|
+
* @interface CreateArticleTagCommand
|
|
3399
|
+
*/
|
|
3400
|
+
export interface CreateArticleTagCommand {
|
|
3401
|
+
/**
|
|
3402
|
+
*
|
|
3403
|
+
* @type {string}
|
|
3404
|
+
* @memberof CreateArticleTagCommand
|
|
3405
|
+
*/
|
|
3406
|
+
'articleId'?: string;
|
|
3407
|
+
/**
|
|
3408
|
+
*
|
|
3409
|
+
* @type {string}
|
|
3410
|
+
* @memberof CreateArticleTagCommand
|
|
3411
|
+
*/
|
|
3412
|
+
'tagId'?: string | null;
|
|
3413
|
+
}
|
|
3351
3414
|
/**
|
|
3352
3415
|
*
|
|
3353
3416
|
* @export
|
|
@@ -5116,6 +5179,19 @@ export interface DealsModel {
|
|
|
5116
5179
|
*/
|
|
5117
5180
|
'metaData'?: PagedListMetaData;
|
|
5118
5181
|
}
|
|
5182
|
+
/**
|
|
5183
|
+
*
|
|
5184
|
+
* @export
|
|
5185
|
+
* @interface DeleteArticleTagCommand
|
|
5186
|
+
*/
|
|
5187
|
+
export interface DeleteArticleTagCommand {
|
|
5188
|
+
/**
|
|
5189
|
+
*
|
|
5190
|
+
* @type {string}
|
|
5191
|
+
* @memberof DeleteArticleTagCommand
|
|
5192
|
+
*/
|
|
5193
|
+
'tagId'?: string | null;
|
|
5194
|
+
}
|
|
5119
5195
|
/**
|
|
5120
5196
|
*
|
|
5121
5197
|
* @export
|
|
@@ -14789,22 +14865,16 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14789
14865
|
},
|
|
14790
14866
|
/**
|
|
14791
14867
|
*
|
|
14792
|
-
* @summary GetAll
|
|
14868
|
+
* @summary GetAll ArticleTags.
|
|
14793
14869
|
* @param {string} articleId
|
|
14794
|
-
* @param {string} [
|
|
14795
|
-
* @param {string} [contributorId]
|
|
14796
|
-
* @param {string} [contributorName]
|
|
14797
|
-
* @param {string} [email]
|
|
14798
|
-
* @param {string} [description]
|
|
14799
|
-
* @param {string} [website]
|
|
14800
|
-
* @param {ContributionType} [contributionType]
|
|
14870
|
+
* @param {string} [tagId]
|
|
14801
14871
|
* @param {number} [page]
|
|
14802
14872
|
* @param {number} [limit]
|
|
14803
14873
|
* @param {Date} [lastRetrieved]
|
|
14804
14874
|
* @param {*} [options] Override http request option.
|
|
14805
14875
|
* @throws {RequiredError}
|
|
14806
14876
|
*/
|
|
14807
|
-
apiV1ArticlesArticleIdTagsGet: async (articleId: string,
|
|
14877
|
+
apiV1ArticlesArticleIdTagsGet: async (articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14808
14878
|
// verify required parameter 'articleId' is not null or undefined
|
|
14809
14879
|
assertParamExists('apiV1ArticlesArticleIdTagsGet', 'articleId', articleId)
|
|
14810
14880
|
const localVarPath = `/api/v1/articles/{articleId}/tags`
|
|
@@ -14824,32 +14894,8 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14824
14894
|
// oauth required
|
|
14825
14895
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
14826
14896
|
|
|
14827
|
-
if (
|
|
14828
|
-
localVarQueryParameter['
|
|
14829
|
-
}
|
|
14830
|
-
|
|
14831
|
-
if (contributorId !== undefined) {
|
|
14832
|
-
localVarQueryParameter['ContributorId'] = contributorId;
|
|
14833
|
-
}
|
|
14834
|
-
|
|
14835
|
-
if (contributorName !== undefined) {
|
|
14836
|
-
localVarQueryParameter['ContributorName'] = contributorName;
|
|
14837
|
-
}
|
|
14838
|
-
|
|
14839
|
-
if (email !== undefined) {
|
|
14840
|
-
localVarQueryParameter['Email'] = email;
|
|
14841
|
-
}
|
|
14842
|
-
|
|
14843
|
-
if (description !== undefined) {
|
|
14844
|
-
localVarQueryParameter['Description'] = description;
|
|
14845
|
-
}
|
|
14846
|
-
|
|
14847
|
-
if (website !== undefined) {
|
|
14848
|
-
localVarQueryParameter['Website'] = website;
|
|
14849
|
-
}
|
|
14850
|
-
|
|
14851
|
-
if (contributionType !== undefined) {
|
|
14852
|
-
localVarQueryParameter['ContributionType'] = contributionType;
|
|
14897
|
+
if (tagId !== undefined) {
|
|
14898
|
+
localVarQueryParameter['TagId'] = tagId;
|
|
14853
14899
|
}
|
|
14854
14900
|
|
|
14855
14901
|
if (page !== undefined) {
|
|
@@ -14879,12 +14925,13 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14879
14925
|
},
|
|
14880
14926
|
/**
|
|
14881
14927
|
*
|
|
14928
|
+
* @summary Create ArticleTag.
|
|
14882
14929
|
* @param {string} articleId
|
|
14883
|
-
* @param {
|
|
14930
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
14884
14931
|
* @param {*} [options] Override http request option.
|
|
14885
14932
|
* @throws {RequiredError}
|
|
14886
14933
|
*/
|
|
14887
|
-
apiV1ArticlesArticleIdTagsPost: async (articleId: string,
|
|
14934
|
+
apiV1ArticlesArticleIdTagsPost: async (articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14888
14935
|
// verify required parameter 'articleId' is not null or undefined
|
|
14889
14936
|
assertParamExists('apiV1ArticlesArticleIdTagsPost', 'articleId', articleId)
|
|
14890
14937
|
const localVarPath = `/api/v1/articles/{articleId}/tags`
|
|
@@ -14911,7 +14958,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14911
14958
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14912
14959
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14913
14960
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14914
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
14961
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createArticleTagCommand, localVarRequestOptions, configuration)
|
|
14915
14962
|
|
|
14916
14963
|
return {
|
|
14917
14964
|
url: toPathString(localVarUrlObj),
|
|
@@ -14920,23 +14967,20 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14920
14967
|
},
|
|
14921
14968
|
/**
|
|
14922
14969
|
*
|
|
14923
|
-
* @summary Delete
|
|
14970
|
+
* @summary Delete ArticleTag.
|
|
14924
14971
|
* @param {string} articleId
|
|
14925
|
-
* @param {string} contributorId
|
|
14926
14972
|
* @param {string} tagId
|
|
14973
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
14927
14974
|
* @param {*} [options] Override http request option.
|
|
14928
14975
|
* @throws {RequiredError}
|
|
14929
14976
|
*/
|
|
14930
|
-
apiV1ArticlesArticleIdTagsTagIdDelete: async (articleId: string,
|
|
14977
|
+
apiV1ArticlesArticleIdTagsTagIdDelete: async (articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14931
14978
|
// verify required parameter 'articleId' is not null or undefined
|
|
14932
14979
|
assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'articleId', articleId)
|
|
14933
|
-
// verify required parameter 'contributorId' is not null or undefined
|
|
14934
|
-
assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'contributorId', contributorId)
|
|
14935
14980
|
// verify required parameter 'tagId' is not null or undefined
|
|
14936
14981
|
assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'tagId', tagId)
|
|
14937
14982
|
const localVarPath = `/api/v1/articles/{articleId}/tags/{tagId}`
|
|
14938
14983
|
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
|
|
14939
|
-
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)))
|
|
14940
14984
|
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
14941
14985
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14942
14986
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14955,9 +14999,12 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14955
14999
|
|
|
14956
15000
|
|
|
14957
15001
|
|
|
15002
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15003
|
+
|
|
14958
15004
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14959
15005
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14960
15006
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15007
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteArticleTagCommand, localVarRequestOptions, configuration)
|
|
14961
15008
|
|
|
14962
15009
|
return {
|
|
14963
15010
|
url: toPathString(localVarUrlObj),
|
|
@@ -14966,23 +15013,19 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14966
15013
|
},
|
|
14967
15014
|
/**
|
|
14968
15015
|
*
|
|
14969
|
-
* @summary Get
|
|
15016
|
+
* @summary Get ArticleTag.
|
|
14970
15017
|
* @param {string} articleId
|
|
14971
|
-
* @param {string} contributorId
|
|
14972
15018
|
* @param {string} tagId
|
|
14973
15019
|
* @param {*} [options] Override http request option.
|
|
14974
15020
|
* @throws {RequiredError}
|
|
14975
15021
|
*/
|
|
14976
|
-
apiV1ArticlesArticleIdTagsTagIdGet: async (articleId: string,
|
|
15022
|
+
apiV1ArticlesArticleIdTagsTagIdGet: async (articleId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14977
15023
|
// verify required parameter 'articleId' is not null or undefined
|
|
14978
15024
|
assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'articleId', articleId)
|
|
14979
|
-
// verify required parameter 'contributorId' is not null or undefined
|
|
14980
|
-
assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'contributorId', contributorId)
|
|
14981
15025
|
// verify required parameter 'tagId' is not null or undefined
|
|
14982
15026
|
assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'tagId', tagId)
|
|
14983
15027
|
const localVarPath = `/api/v1/articles/{articleId}/tags/{tagId}`
|
|
14984
15028
|
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
|
|
14985
|
-
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)))
|
|
14986
15029
|
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
14987
15030
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14988
15031
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15462,60 +15505,54 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
15462
15505
|
},
|
|
15463
15506
|
/**
|
|
15464
15507
|
*
|
|
15465
|
-
* @summary GetAll
|
|
15508
|
+
* @summary GetAll ArticleTags.
|
|
15466
15509
|
* @param {string} articleId
|
|
15467
|
-
* @param {string} [
|
|
15468
|
-
* @param {string} [contributorId]
|
|
15469
|
-
* @param {string} [contributorName]
|
|
15470
|
-
* @param {string} [email]
|
|
15471
|
-
* @param {string} [description]
|
|
15472
|
-
* @param {string} [website]
|
|
15473
|
-
* @param {ContributionType} [contributionType]
|
|
15510
|
+
* @param {string} [tagId]
|
|
15474
15511
|
* @param {number} [page]
|
|
15475
15512
|
* @param {number} [limit]
|
|
15476
15513
|
* @param {Date} [lastRetrieved]
|
|
15477
15514
|
* @param {*} [options] Override http request option.
|
|
15478
15515
|
* @throws {RequiredError}
|
|
15479
15516
|
*/
|
|
15480
|
-
async apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
15481
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId,
|
|
15517
|
+
async apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagsModel>> {
|
|
15518
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options);
|
|
15482
15519
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15483
15520
|
},
|
|
15484
15521
|
/**
|
|
15485
15522
|
*
|
|
15523
|
+
* @summary Create ArticleTag.
|
|
15486
15524
|
* @param {string} articleId
|
|
15487
|
-
* @param {
|
|
15525
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
15488
15526
|
* @param {*} [options] Override http request option.
|
|
15489
15527
|
* @throws {RequiredError}
|
|
15490
15528
|
*/
|
|
15491
|
-
async apiV1ArticlesArticleIdTagsPost(articleId: string,
|
|
15492
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId,
|
|
15529
|
+
async apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagModel>> {
|
|
15530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options);
|
|
15493
15531
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15494
15532
|
},
|
|
15495
15533
|
/**
|
|
15496
15534
|
*
|
|
15497
|
-
* @summary Delete
|
|
15535
|
+
* @summary Delete ArticleTag.
|
|
15498
15536
|
* @param {string} articleId
|
|
15499
|
-
* @param {string} contributorId
|
|
15500
15537
|
* @param {string} tagId
|
|
15538
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
15501
15539
|
* @param {*} [options] Override http request option.
|
|
15502
15540
|
* @throws {RequiredError}
|
|
15503
15541
|
*/
|
|
15504
|
-
async apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string,
|
|
15505
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
15542
|
+
async apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
15543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options);
|
|
15506
15544
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15507
15545
|
},
|
|
15508
15546
|
/**
|
|
15509
15547
|
*
|
|
15510
|
-
* @summary Get
|
|
15548
|
+
* @summary Get ArticleTag.
|
|
15511
15549
|
* @param {string} articleId
|
|
15512
|
-
* @param {string} contributorId
|
|
15513
15550
|
* @param {string} tagId
|
|
15514
15551
|
* @param {*} [options] Override http request option.
|
|
15515
15552
|
* @throws {RequiredError}
|
|
15516
15553
|
*/
|
|
15517
|
-
async apiV1ArticlesArticleIdTagsTagIdGet(articleId: string,
|
|
15518
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
15554
|
+
async apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagModel>> {
|
|
15555
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options);
|
|
15519
15556
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15520
15557
|
},
|
|
15521
15558
|
/**
|
|
@@ -15796,57 +15833,51 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
15796
15833
|
},
|
|
15797
15834
|
/**
|
|
15798
15835
|
*
|
|
15799
|
-
* @summary GetAll
|
|
15836
|
+
* @summary GetAll ArticleTags.
|
|
15800
15837
|
* @param {string} articleId
|
|
15801
|
-
* @param {string} [
|
|
15802
|
-
* @param {string} [contributorId]
|
|
15803
|
-
* @param {string} [contributorName]
|
|
15804
|
-
* @param {string} [email]
|
|
15805
|
-
* @param {string} [description]
|
|
15806
|
-
* @param {string} [website]
|
|
15807
|
-
* @param {ContributionType} [contributionType]
|
|
15838
|
+
* @param {string} [tagId]
|
|
15808
15839
|
* @param {number} [page]
|
|
15809
15840
|
* @param {number} [limit]
|
|
15810
15841
|
* @param {Date} [lastRetrieved]
|
|
15811
15842
|
* @param {*} [options] Override http request option.
|
|
15812
15843
|
* @throws {RequiredError}
|
|
15813
15844
|
*/
|
|
15814
|
-
apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
15815
|
-
return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId,
|
|
15845
|
+
apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleTagsModel> {
|
|
15846
|
+
return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15816
15847
|
},
|
|
15817
15848
|
/**
|
|
15818
15849
|
*
|
|
15850
|
+
* @summary Create ArticleTag.
|
|
15819
15851
|
* @param {string} articleId
|
|
15820
|
-
* @param {
|
|
15852
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
15821
15853
|
* @param {*} [options] Override http request option.
|
|
15822
15854
|
* @throws {RequiredError}
|
|
15823
15855
|
*/
|
|
15824
|
-
apiV1ArticlesArticleIdTagsPost(articleId: string,
|
|
15825
|
-
return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId,
|
|
15856
|
+
apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: any): AxiosPromise<ArticleTagModel> {
|
|
15857
|
+
return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then((request) => request(axios, basePath));
|
|
15826
15858
|
},
|
|
15827
15859
|
/**
|
|
15828
15860
|
*
|
|
15829
|
-
* @summary Delete
|
|
15861
|
+
* @summary Delete ArticleTag.
|
|
15830
15862
|
* @param {string} articleId
|
|
15831
|
-
* @param {string} contributorId
|
|
15832
15863
|
* @param {string} tagId
|
|
15864
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
15833
15865
|
* @param {*} [options] Override http request option.
|
|
15834
15866
|
* @throws {RequiredError}
|
|
15835
15867
|
*/
|
|
15836
|
-
apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string,
|
|
15837
|
-
return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
15868
|
+
apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: any): AxiosPromise<boolean> {
|
|
15869
|
+
return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then((request) => request(axios, basePath));
|
|
15838
15870
|
},
|
|
15839
15871
|
/**
|
|
15840
15872
|
*
|
|
15841
|
-
* @summary Get
|
|
15873
|
+
* @summary Get ArticleTag.
|
|
15842
15874
|
* @param {string} articleId
|
|
15843
|
-
* @param {string} contributorId
|
|
15844
15875
|
* @param {string} tagId
|
|
15845
15876
|
* @param {*} [options] Override http request option.
|
|
15846
15877
|
* @throws {RequiredError}
|
|
15847
15878
|
*/
|
|
15848
|
-
apiV1ArticlesArticleIdTagsTagIdGet(articleId: string,
|
|
15849
|
-
return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
15879
|
+
apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: any): AxiosPromise<ArticleTagModel> {
|
|
15880
|
+
return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then((request) => request(axios, basePath));
|
|
15850
15881
|
},
|
|
15851
15882
|
/**
|
|
15852
15883
|
*
|
|
@@ -16159,15 +16190,9 @@ export class ArticlesApi extends BaseAPI {
|
|
|
16159
16190
|
|
|
16160
16191
|
/**
|
|
16161
16192
|
*
|
|
16162
|
-
* @summary GetAll
|
|
16193
|
+
* @summary GetAll ArticleTags.
|
|
16163
16194
|
* @param {string} articleId
|
|
16164
|
-
* @param {string} [
|
|
16165
|
-
* @param {string} [contributorId]
|
|
16166
|
-
* @param {string} [contributorName]
|
|
16167
|
-
* @param {string} [email]
|
|
16168
|
-
* @param {string} [description]
|
|
16169
|
-
* @param {string} [website]
|
|
16170
|
-
* @param {ContributionType} [contributionType]
|
|
16195
|
+
* @param {string} [tagId]
|
|
16171
16196
|
* @param {number} [page]
|
|
16172
16197
|
* @param {number} [limit]
|
|
16173
16198
|
* @param {Date} [lastRetrieved]
|
|
@@ -16175,48 +16200,48 @@ export class ArticlesApi extends BaseAPI {
|
|
|
16175
16200
|
* @throws {RequiredError}
|
|
16176
16201
|
* @memberof ArticlesApi
|
|
16177
16202
|
*/
|
|
16178
|
-
public apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
16179
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId,
|
|
16203
|
+
public apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16204
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16180
16205
|
}
|
|
16181
16206
|
|
|
16182
16207
|
/**
|
|
16183
16208
|
*
|
|
16209
|
+
* @summary Create ArticleTag.
|
|
16184
16210
|
* @param {string} articleId
|
|
16185
|
-
* @param {
|
|
16211
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
16186
16212
|
* @param {*} [options] Override http request option.
|
|
16187
16213
|
* @throws {RequiredError}
|
|
16188
16214
|
* @memberof ArticlesApi
|
|
16189
16215
|
*/
|
|
16190
|
-
public apiV1ArticlesArticleIdTagsPost(articleId: string,
|
|
16191
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId,
|
|
16216
|
+
public apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: AxiosRequestConfig) {
|
|
16217
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then((request) => request(this.axios, this.basePath));
|
|
16192
16218
|
}
|
|
16193
16219
|
|
|
16194
16220
|
/**
|
|
16195
16221
|
*
|
|
16196
|
-
* @summary Delete
|
|
16222
|
+
* @summary Delete ArticleTag.
|
|
16197
16223
|
* @param {string} articleId
|
|
16198
|
-
* @param {string} contributorId
|
|
16199
16224
|
* @param {string} tagId
|
|
16225
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
16200
16226
|
* @param {*} [options] Override http request option.
|
|
16201
16227
|
* @throws {RequiredError}
|
|
16202
16228
|
* @memberof ArticlesApi
|
|
16203
16229
|
*/
|
|
16204
|
-
public apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string,
|
|
16205
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
16230
|
+
public apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: AxiosRequestConfig) {
|
|
16231
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then((request) => request(this.axios, this.basePath));
|
|
16206
16232
|
}
|
|
16207
16233
|
|
|
16208
16234
|
/**
|
|
16209
16235
|
*
|
|
16210
|
-
* @summary Get
|
|
16236
|
+
* @summary Get ArticleTag.
|
|
16211
16237
|
* @param {string} articleId
|
|
16212
|
-
* @param {string} contributorId
|
|
16213
16238
|
* @param {string} tagId
|
|
16214
16239
|
* @param {*} [options] Override http request option.
|
|
16215
16240
|
* @throws {RequiredError}
|
|
16216
16241
|
* @memberof ArticlesApi
|
|
16217
16242
|
*/
|
|
16218
|
-
public apiV1ArticlesArticleIdTagsTagIdGet(articleId: string,
|
|
16219
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
16243
|
+
public apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig) {
|
|
16244
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
16220
16245
|
}
|
|
16221
16246
|
|
|
16222
16247
|
/**
|