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 CHANGED
@@ -879,6 +879,50 @@ export interface ArticleTagItemModel {
879
879
  */
880
880
  'order'?: number;
881
881
  }
882
+ /**
883
+ *
884
+ * @export
885
+ * @interface ArticleTagModel
886
+ */
887
+ export interface ArticleTagModel {
888
+ /**
889
+ *
890
+ * @type {string}
891
+ * @memberof ArticleTagModel
892
+ */
893
+ 'articleId'?: string;
894
+ /**
895
+ *
896
+ * @type {string}
897
+ * @memberof ArticleTagModel
898
+ */
899
+ 'tagId'?: string | null;
900
+ /**
901
+ *
902
+ * @type {number}
903
+ * @memberof ArticleTagModel
904
+ */
905
+ 'order'?: number;
906
+ }
907
+ /**
908
+ *
909
+ * @export
910
+ * @interface ArticleTagsModel
911
+ */
912
+ export interface ArticleTagsModel {
913
+ /**
914
+ *
915
+ * @type {Array<ArticleTagItemModel>}
916
+ * @memberof ArticleTagsModel
917
+ */
918
+ 'items'?: Array<ArticleTagItemModel> | null;
919
+ /**
920
+ *
921
+ * @type {PagedListMetaData}
922
+ * @memberof ArticleTagsModel
923
+ */
924
+ 'metaData'?: PagedListMetaData;
925
+ }
882
926
  /**
883
927
  *
884
928
  * @export
@@ -3327,6 +3371,25 @@ export interface CreateArticleSourceCommand {
3327
3371
  */
3328
3372
  'order'?: number;
3329
3373
  }
3374
+ /**
3375
+ *
3376
+ * @export
3377
+ * @interface CreateArticleTagCommand
3378
+ */
3379
+ export interface CreateArticleTagCommand {
3380
+ /**
3381
+ *
3382
+ * @type {string}
3383
+ * @memberof CreateArticleTagCommand
3384
+ */
3385
+ 'articleId'?: string;
3386
+ /**
3387
+ *
3388
+ * @type {string}
3389
+ * @memberof CreateArticleTagCommand
3390
+ */
3391
+ 'tagId'?: string | null;
3392
+ }
3330
3393
  /**
3331
3394
  *
3332
3395
  * @export
@@ -5095,6 +5158,19 @@ export interface DealsModel {
5095
5158
  */
5096
5159
  'metaData'?: PagedListMetaData;
5097
5160
  }
5161
+ /**
5162
+ *
5163
+ * @export
5164
+ * @interface DeleteArticleTagCommand
5165
+ */
5166
+ export interface DeleteArticleTagCommand {
5167
+ /**
5168
+ *
5169
+ * @type {string}
5170
+ * @memberof DeleteArticleTagCommand
5171
+ */
5172
+ 'tagId'?: string | null;
5173
+ }
5098
5174
  /**
5099
5175
  *
5100
5176
  * @export
@@ -13831,50 +13907,44 @@ export declare const ArticlesApiAxiosParamCreator: (configuration?: Configuratio
13831
13907
  apiV1ArticlesArticleIdSourcesSourceIdPut: (articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13832
13908
  /**
13833
13909
  *
13834
- * @summary GetAll ArticleContributors.
13910
+ * @summary GetAll ArticleTags.
13835
13911
  * @param {string} articleId
13836
- * @param {string} [articleName]
13837
- * @param {string} [contributorId]
13838
- * @param {string} [contributorName]
13839
- * @param {string} [email]
13840
- * @param {string} [description]
13841
- * @param {string} [website]
13842
- * @param {ContributionType} [contributionType]
13912
+ * @param {string} [tagId]
13843
13913
  * @param {number} [page]
13844
13914
  * @param {number} [limit]
13845
13915
  * @param {Date} [lastRetrieved]
13846
13916
  * @param {*} [options] Override http request option.
13847
13917
  * @throws {RequiredError}
13848
13918
  */
13849
- apiV1ArticlesArticleIdTagsGet: (articleId: string, articleName?: string | undefined, contributorId?: string | undefined, contributorName?: string | undefined, email?: string | undefined, description?: string | undefined, website?: string | undefined, contributionType?: ContributionType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13919
+ apiV1ArticlesArticleIdTagsGet: (articleId: string, tagId?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13850
13920
  /**
13851
13921
  *
13922
+ * @summary Create ArticleTag.
13852
13923
  * @param {string} articleId
13853
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
13924
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
13854
13925
  * @param {*} [options] Override http request option.
13855
13926
  * @throws {RequiredError}
13856
13927
  */
13857
- apiV1ArticlesArticleIdTagsPost: (articleId: string, createArticleContributorCommand?: CreateArticleContributorCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13928
+ apiV1ArticlesArticleIdTagsPost: (articleId: string, createArticleTagCommand?: CreateArticleTagCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13858
13929
  /**
13859
13930
  *
13860
- * @summary Delete ArticleContributor.
13931
+ * @summary Delete ArticleTag.
13861
13932
  * @param {string} articleId
13862
- * @param {string} contributorId
13863
13933
  * @param {string} tagId
13934
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
13864
13935
  * @param {*} [options] Override http request option.
13865
13936
  * @throws {RequiredError}
13866
13937
  */
13867
- apiV1ArticlesArticleIdTagsTagIdDelete: (articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13938
+ apiV1ArticlesArticleIdTagsTagIdDelete: (articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13868
13939
  /**
13869
13940
  *
13870
- * @summary Get ArticleContributor.
13941
+ * @summary Get ArticleTag.
13871
13942
  * @param {string} articleId
13872
- * @param {string} contributorId
13873
13943
  * @param {string} tagId
13874
13944
  * @param {*} [options] Override http request option.
13875
13945
  * @throws {RequiredError}
13876
13946
  */
13877
- apiV1ArticlesArticleIdTagsTagIdGet: (articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13947
+ apiV1ArticlesArticleIdTagsTagIdGet: (articleId: string, tagId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
13878
13948
  /**
13879
13949
  *
13880
13950
  * @summary Get all Articles.
@@ -14104,50 +14174,44 @@ export declare const ArticlesApiFp: (configuration?: Configuration | undefined)
14104
14174
  apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
14105
14175
  /**
14106
14176
  *
14107
- * @summary GetAll ArticleContributors.
14177
+ * @summary GetAll ArticleTags.
14108
14178
  * @param {string} articleId
14109
- * @param {string} [articleName]
14110
- * @param {string} [contributorId]
14111
- * @param {string} [contributorName]
14112
- * @param {string} [email]
14113
- * @param {string} [description]
14114
- * @param {string} [website]
14115
- * @param {ContributionType} [contributionType]
14179
+ * @param {string} [tagId]
14116
14180
  * @param {number} [page]
14117
14181
  * @param {number} [limit]
14118
14182
  * @param {Date} [lastRetrieved]
14119
14183
  * @param {*} [options] Override http request option.
14120
14184
  * @throws {RequiredError}
14121
14185
  */
14122
- apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string | undefined, contributorId?: string | undefined, contributorName?: string | undefined, email?: string | undefined, description?: string | undefined, website?: string | undefined, contributionType?: ContributionType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ArticleContributorsModel>>;
14186
+ apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ArticleTagsModel>>;
14123
14187
  /**
14124
14188
  *
14189
+ * @summary Create ArticleTag.
14125
14190
  * @param {string} articleId
14126
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
14191
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
14127
14192
  * @param {*} [options] Override http request option.
14128
14193
  * @throws {RequiredError}
14129
14194
  */
14130
- apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleContributorCommand?: CreateArticleContributorCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ArticleContributorModel>>;
14195
+ apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ArticleTagModel>>;
14131
14196
  /**
14132
14197
  *
14133
- * @summary Delete ArticleContributor.
14198
+ * @summary Delete ArticleTag.
14134
14199
  * @param {string} articleId
14135
- * @param {string} contributorId
14136
14200
  * @param {string} tagId
14201
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
14137
14202
  * @param {*} [options] Override http request option.
14138
14203
  * @throws {RequiredError}
14139
14204
  */
14140
- apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
14205
+ apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
14141
14206
  /**
14142
14207
  *
14143
- * @summary Get ArticleContributor.
14208
+ * @summary Get ArticleTag.
14144
14209
  * @param {string} articleId
14145
- * @param {string} contributorId
14146
14210
  * @param {string} tagId
14147
14211
  * @param {*} [options] Override http request option.
14148
14212
  * @throws {RequiredError}
14149
14213
  */
14150
- apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ArticleContributorModel>>;
14214
+ apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ArticleTagModel>>;
14151
14215
  /**
14152
14216
  *
14153
14217
  * @summary Get all Articles.
@@ -14377,50 +14441,44 @@ export declare const ArticlesApiFactory: (configuration?: Configuration | undefi
14377
14441
  apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand | undefined, options?: any): AxiosPromise<boolean>;
14378
14442
  /**
14379
14443
  *
14380
- * @summary GetAll ArticleContributors.
14444
+ * @summary GetAll ArticleTags.
14381
14445
  * @param {string} articleId
14382
- * @param {string} [articleName]
14383
- * @param {string} [contributorId]
14384
- * @param {string} [contributorName]
14385
- * @param {string} [email]
14386
- * @param {string} [description]
14387
- * @param {string} [website]
14388
- * @param {ContributionType} [contributionType]
14446
+ * @param {string} [tagId]
14389
14447
  * @param {number} [page]
14390
14448
  * @param {number} [limit]
14391
14449
  * @param {Date} [lastRetrieved]
14392
14450
  * @param {*} [options] Override http request option.
14393
14451
  * @throws {RequiredError}
14394
14452
  */
14395
- apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string | undefined, contributorId?: string | undefined, contributorName?: string | undefined, email?: string | undefined, description?: string | undefined, website?: string | undefined, contributionType?: ContributionType | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ArticleContributorsModel>;
14453
+ apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<ArticleTagsModel>;
14396
14454
  /**
14397
14455
  *
14456
+ * @summary Create ArticleTag.
14398
14457
  * @param {string} articleId
14399
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
14458
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
14400
14459
  * @param {*} [options] Override http request option.
14401
14460
  * @throws {RequiredError}
14402
14461
  */
14403
- apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleContributorCommand?: CreateArticleContributorCommand | undefined, options?: any): AxiosPromise<ArticleContributorModel>;
14462
+ apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand | undefined, options?: any): AxiosPromise<ArticleTagModel>;
14404
14463
  /**
14405
14464
  *
14406
- * @summary Delete ArticleContributor.
14465
+ * @summary Delete ArticleTag.
14407
14466
  * @param {string} articleId
14408
- * @param {string} contributorId
14409
14467
  * @param {string} tagId
14468
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
14410
14469
  * @param {*} [options] Override http request option.
14411
14470
  * @throws {RequiredError}
14412
14471
  */
14413
- apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, contributorId: string, tagId: string, options?: any): AxiosPromise<boolean>;
14472
+ apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand | undefined, options?: any): AxiosPromise<boolean>;
14414
14473
  /**
14415
14474
  *
14416
- * @summary Get ArticleContributor.
14475
+ * @summary Get ArticleTag.
14417
14476
  * @param {string} articleId
14418
- * @param {string} contributorId
14419
14477
  * @param {string} tagId
14420
14478
  * @param {*} [options] Override http request option.
14421
14479
  * @throws {RequiredError}
14422
14480
  */
14423
- apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, contributorId: string, tagId: string, options?: any): AxiosPromise<ArticleContributorModel>;
14481
+ apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: any): AxiosPromise<ArticleTagModel>;
14424
14482
  /**
14425
14483
  *
14426
14484
  * @summary Get all Articles.
@@ -14670,15 +14728,9 @@ export declare class ArticlesApi extends BaseAPI {
14670
14728
  apiV1ArticlesArticleIdSourcesSourceIdPut(articleId: string, sourceId: string, updateArticleSourceCommand?: UpdateArticleSourceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
14671
14729
  /**
14672
14730
  *
14673
- * @summary GetAll ArticleContributors.
14731
+ * @summary GetAll ArticleTags.
14674
14732
  * @param {string} articleId
14675
- * @param {string} [articleName]
14676
- * @param {string} [contributorId]
14677
- * @param {string} [contributorName]
14678
- * @param {string} [email]
14679
- * @param {string} [description]
14680
- * @param {string} [website]
14681
- * @param {ContributionType} [contributionType]
14733
+ * @param {string} [tagId]
14682
14734
  * @param {number} [page]
14683
14735
  * @param {number} [limit]
14684
14736
  * @param {Date} [lastRetrieved]
@@ -14686,38 +14738,38 @@ export declare class ArticlesApi extends BaseAPI {
14686
14738
  * @throws {RequiredError}
14687
14739
  * @memberof ArticlesApi
14688
14740
  */
14689
- apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleContributorsModel>>;
14741
+ apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleTagsModel>>;
14690
14742
  /**
14691
14743
  *
14744
+ * @summary Create ArticleTag.
14692
14745
  * @param {string} articleId
14693
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
14746
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
14694
14747
  * @param {*} [options] Override http request option.
14695
14748
  * @throws {RequiredError}
14696
14749
  * @memberof ArticlesApi
14697
14750
  */
14698
- apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleContributorCommand?: CreateArticleContributorCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleContributorModel>>;
14751
+ apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleTagModel>>;
14699
14752
  /**
14700
14753
  *
14701
- * @summary Delete ArticleContributor.
14754
+ * @summary Delete ArticleTag.
14702
14755
  * @param {string} articleId
14703
- * @param {string} contributorId
14704
14756
  * @param {string} tagId
14757
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
14705
14758
  * @param {*} [options] Override http request option.
14706
14759
  * @throws {RequiredError}
14707
14760
  * @memberof ArticlesApi
14708
14761
  */
14709
- apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
14762
+ apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
14710
14763
  /**
14711
14764
  *
14712
- * @summary Get ArticleContributor.
14765
+ * @summary Get ArticleTag.
14713
14766
  * @param {string} articleId
14714
- * @param {string} contributorId
14715
14767
  * @param {string} tagId
14716
14768
  * @param {*} [options] Override http request option.
14717
14769
  * @throws {RequiredError}
14718
14770
  * @memberof ArticlesApi
14719
14771
  */
14720
- apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, contributorId: string, tagId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleContributorModel>>;
14772
+ apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleTagModel>>;
14721
14773
  /**
14722
14774
  *
14723
14775
  * @summary Get all Articles.