ch-admin-api-client-typescript 5.73.27 → 5.73.34
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/article-categories-api.d.ts +477 -0
- package/lib/api/article-categories-api.d.ts.map +1 -0
- package/lib/api/article-categories-api.js +836 -0
- package/lib/api/articles-api.d.ts +46 -0
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +89 -0
- package/lib/api/hospitals-api.d.ts +24 -24
- package/lib/api/hospitals-api.js +24 -24
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/article-category-item-model.d.ts +86 -0
- package/lib/models/article-category-item-model.d.ts.map +1 -0
- package/lib/models/article-category-item-model.js +15 -0
- package/lib/models/article-category-model.d.ts +93 -0
- package/lib/models/article-category-model.d.ts.map +1 -0
- package/lib/models/article-category-model.js +15 -0
- package/lib/models/article-type.d.ts +3 -0
- package/lib/models/article-type.d.ts.map +1 -1
- package/lib/models/article-type.js +4 -1
- package/lib/models/articles-categories-model.d.ts +33 -0
- package/lib/models/articles-categories-model.d.ts.map +1 -0
- package/lib/models/articles-categories-model.js +15 -0
- package/lib/models/create-article-category-command.d.ts +74 -0
- package/lib/models/create-article-category-command.d.ts.map +1 -0
- package/lib/models/create-article-category-command.js +15 -0
- package/lib/models/index.d.ts +6 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +6 -0
- package/lib/models/translate-article-category-command.d.ts +43 -0
- package/lib/models/translate-article-category-command.d.ts.map +1 -0
- package/lib/models/translate-article-category-command.js +15 -0
- package/lib/models/update-article-category-command.d.ts +80 -0
- package/lib/models/update-article-category-command.d.ts.map +1 -0
- package/lib/models/update-article-category-command.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Admin Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: developer@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { ArticleCategoryModel } from '../models';
|
|
16
|
+
import { ArticleType } from '../models';
|
|
17
|
+
import { ArticlesCategoriesModel } from '../models';
|
|
18
|
+
import { CreateArticleCategoryCommand } from '../models';
|
|
19
|
+
import { TranslateArticleCategoryCommand } from '../models';
|
|
20
|
+
import { UpdateArticleCategoryCommand } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* ArticleCategoriesApi - axios parameter creator
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const ArticleCategoriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @summary Delete articleCategory (Auth policies: RequireContentManagerRole)
|
|
29
|
+
* @param {string} articleCategoryId
|
|
30
|
+
* @param {boolean} [isPermanent]
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
apiV1ArticlecategoriesArticleCategoryIdDelete: (articleCategoryId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Get article category (Auth policies: RequireContentManagerRole)
|
|
38
|
+
* @param {string} articleCategoryId
|
|
39
|
+
* @param {string} [languageCode]
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
apiV1ArticlecategoriesArticleCategoryIdGet: (articleCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @summary Update articleCategory (Auth policies: RequireContentManagerRole)
|
|
47
|
+
* @param {string} articleCategoryId
|
|
48
|
+
* @param {UpdateArticleCategoryCommand} [updateArticleCategoryCommand]
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
apiV1ArticlecategoriesArticleCategoryIdPut: (articleCategoryId: string, updateArticleCategoryCommand?: UpdateArticleCategoryCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary Reactivate articleCategory (Auth policies: RequireContentManagerRole)
|
|
56
|
+
* @param {string} articleCategoryId
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
apiV1ArticlecategoriesArticleCategoryIdReactivatePut: (articleCategoryId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @summary Translate articleCategory (Auth policies: RequireContentManagerRole)
|
|
64
|
+
* @param {string} articleCategoryId
|
|
65
|
+
* @param {TranslateArticleCategoryCommand} [translateArticleCategoryCommand]
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
apiV1ArticlecategoriesArticleCategoryIdTranslatePost: (articleCategoryId: string, translateArticleCategoryCommand?: TranslateArticleCategoryCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Get article categories (Auth policies: RequireContentManagerRole)
|
|
73
|
+
* @param {string} [languageCode]
|
|
74
|
+
* @param {string} [id]
|
|
75
|
+
* @param {string} [parentArticleCategoryId]
|
|
76
|
+
* @param {ArticleType} [articleType]
|
|
77
|
+
* @param {string} [name]
|
|
78
|
+
* @param {boolean} [showHidden]
|
|
79
|
+
* @param {number} [page]
|
|
80
|
+
* @param {number} [limit]
|
|
81
|
+
* @param {Date} [lastRetrieved]
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
apiV1ArticlecategoriesGet: (languageCode?: string, id?: string, parentArticleCategoryId?: string, articleType?: ArticleType, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @summary Create articleCategory (Auth policies: RequireContentManagerRole)
|
|
89
|
+
* @param {CreateArticleCategoryCommand} [createArticleCategoryCommand]
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
apiV1ArticlecategoriesPost: (createArticleCategoryCommand?: CreateArticleCategoryCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* ArticleCategoriesApi - functional programming interface
|
|
97
|
+
* @export
|
|
98
|
+
*/
|
|
99
|
+
export declare const ArticleCategoriesApiFp: (configuration?: Configuration) => {
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary Delete articleCategory (Auth policies: RequireContentManagerRole)
|
|
103
|
+
* @param {string} articleCategoryId
|
|
104
|
+
* @param {boolean} [isPermanent]
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
apiV1ArticlecategoriesArticleCategoryIdDelete(articleCategoryId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary Get article category (Auth policies: RequireContentManagerRole)
|
|
112
|
+
* @param {string} articleCategoryId
|
|
113
|
+
* @param {string} [languageCode]
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
apiV1ArticlecategoriesArticleCategoryIdGet(articleCategoryId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleCategoryModel>>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @summary Update articleCategory (Auth policies: RequireContentManagerRole)
|
|
121
|
+
* @param {string} articleCategoryId
|
|
122
|
+
* @param {UpdateArticleCategoryCommand} [updateArticleCategoryCommand]
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
apiV1ArticlecategoriesArticleCategoryIdPut(articleCategoryId: string, updateArticleCategoryCommand?: UpdateArticleCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleCategoryModel>>;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @summary Reactivate articleCategory (Auth policies: RequireContentManagerRole)
|
|
130
|
+
* @param {string} articleCategoryId
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
apiV1ArticlecategoriesArticleCategoryIdReactivatePut(articleCategoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @summary Translate articleCategory (Auth policies: RequireContentManagerRole)
|
|
138
|
+
* @param {string} articleCategoryId
|
|
139
|
+
* @param {TranslateArticleCategoryCommand} [translateArticleCategoryCommand]
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
apiV1ArticlecategoriesArticleCategoryIdTranslatePost(articleCategoryId: string, translateArticleCategoryCommand?: TranslateArticleCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @summary Get article categories (Auth policies: RequireContentManagerRole)
|
|
147
|
+
* @param {string} [languageCode]
|
|
148
|
+
* @param {string} [id]
|
|
149
|
+
* @param {string} [parentArticleCategoryId]
|
|
150
|
+
* @param {ArticleType} [articleType]
|
|
151
|
+
* @param {string} [name]
|
|
152
|
+
* @param {boolean} [showHidden]
|
|
153
|
+
* @param {number} [page]
|
|
154
|
+
* @param {number} [limit]
|
|
155
|
+
* @param {Date} [lastRetrieved]
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
apiV1ArticlecategoriesGet(languageCode?: string, id?: string, parentArticleCategoryId?: string, articleType?: ArticleType, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesCategoriesModel>>;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @summary Create articleCategory (Auth policies: RequireContentManagerRole)
|
|
163
|
+
* @param {CreateArticleCategoryCommand} [createArticleCategoryCommand]
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
*/
|
|
167
|
+
apiV1ArticlecategoriesPost(createArticleCategoryCommand?: CreateArticleCategoryCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleCategoryModel>>;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* ArticleCategoriesApi - factory interface
|
|
171
|
+
* @export
|
|
172
|
+
*/
|
|
173
|
+
export declare const ArticleCategoriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @summary Delete articleCategory (Auth policies: RequireContentManagerRole)
|
|
177
|
+
* @param {string} articleCategoryId
|
|
178
|
+
* @param {boolean} [isPermanent]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
apiV1ArticlecategoriesArticleCategoryIdDelete(articleCategoryId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @summary Get article category (Auth policies: RequireContentManagerRole)
|
|
186
|
+
* @param {string} articleCategoryId
|
|
187
|
+
* @param {string} [languageCode]
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
apiV1ArticlecategoriesArticleCategoryIdGet(articleCategoryId: string, languageCode?: string, options?: any): AxiosPromise<ArticleCategoryModel>;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @summary Update articleCategory (Auth policies: RequireContentManagerRole)
|
|
195
|
+
* @param {string} articleCategoryId
|
|
196
|
+
* @param {UpdateArticleCategoryCommand} [updateArticleCategoryCommand]
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
apiV1ArticlecategoriesArticleCategoryIdPut(articleCategoryId: string, updateArticleCategoryCommand?: UpdateArticleCategoryCommand, options?: any): AxiosPromise<ArticleCategoryModel>;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @summary Reactivate articleCategory (Auth policies: RequireContentManagerRole)
|
|
204
|
+
* @param {string} articleCategoryId
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
apiV1ArticlecategoriesArticleCategoryIdReactivatePut(articleCategoryId: string, options?: any): AxiosPromise<boolean>;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @summary Translate articleCategory (Auth policies: RequireContentManagerRole)
|
|
212
|
+
* @param {string} articleCategoryId
|
|
213
|
+
* @param {TranslateArticleCategoryCommand} [translateArticleCategoryCommand]
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
apiV1ArticlecategoriesArticleCategoryIdTranslatePost(articleCategoryId: string, translateArticleCategoryCommand?: TranslateArticleCategoryCommand, options?: any): AxiosPromise<boolean>;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @summary Get article categories (Auth policies: RequireContentManagerRole)
|
|
221
|
+
* @param {string} [languageCode]
|
|
222
|
+
* @param {string} [id]
|
|
223
|
+
* @param {string} [parentArticleCategoryId]
|
|
224
|
+
* @param {ArticleType} [articleType]
|
|
225
|
+
* @param {string} [name]
|
|
226
|
+
* @param {boolean} [showHidden]
|
|
227
|
+
* @param {number} [page]
|
|
228
|
+
* @param {number} [limit]
|
|
229
|
+
* @param {Date} [lastRetrieved]
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
apiV1ArticlecategoriesGet(languageCode?: string, id?: string, parentArticleCategoryId?: string, articleType?: ArticleType, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesCategoriesModel>;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @summary Create articleCategory (Auth policies: RequireContentManagerRole)
|
|
237
|
+
* @param {CreateArticleCategoryCommand} [createArticleCategoryCommand]
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
apiV1ArticlecategoriesPost(createArticleCategoryCommand?: CreateArticleCategoryCommand, options?: any): AxiosPromise<ArticleCategoryModel>;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* Request parameters for apiV1ArticlecategoriesArticleCategoryIdDelete operation in ArticleCategoriesApi.
|
|
245
|
+
* @export
|
|
246
|
+
* @interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdDeleteRequest
|
|
247
|
+
*/
|
|
248
|
+
export interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdDeleteRequest {
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {string}
|
|
252
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdDelete
|
|
253
|
+
*/
|
|
254
|
+
readonly articleCategoryId: string;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {boolean}
|
|
258
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdDelete
|
|
259
|
+
*/
|
|
260
|
+
readonly isPermanent?: boolean;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Request parameters for apiV1ArticlecategoriesArticleCategoryIdGet operation in ArticleCategoriesApi.
|
|
264
|
+
* @export
|
|
265
|
+
* @interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdGetRequest
|
|
266
|
+
*/
|
|
267
|
+
export interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdGetRequest {
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @type {string}
|
|
271
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdGet
|
|
272
|
+
*/
|
|
273
|
+
readonly articleCategoryId: string;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {string}
|
|
277
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdGet
|
|
278
|
+
*/
|
|
279
|
+
readonly languageCode?: string;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Request parameters for apiV1ArticlecategoriesArticleCategoryIdPut operation in ArticleCategoriesApi.
|
|
283
|
+
* @export
|
|
284
|
+
* @interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdPutRequest
|
|
285
|
+
*/
|
|
286
|
+
export interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdPutRequest {
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @type {string}
|
|
290
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdPut
|
|
291
|
+
*/
|
|
292
|
+
readonly articleCategoryId: string;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @type {UpdateArticleCategoryCommand}
|
|
296
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdPut
|
|
297
|
+
*/
|
|
298
|
+
readonly updateArticleCategoryCommand?: UpdateArticleCategoryCommand;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Request parameters for apiV1ArticlecategoriesArticleCategoryIdReactivatePut operation in ArticleCategoriesApi.
|
|
302
|
+
* @export
|
|
303
|
+
* @interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdReactivatePutRequest
|
|
304
|
+
*/
|
|
305
|
+
export interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdReactivatePutRequest {
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdReactivatePut
|
|
310
|
+
*/
|
|
311
|
+
readonly articleCategoryId: string;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Request parameters for apiV1ArticlecategoriesArticleCategoryIdTranslatePost operation in ArticleCategoriesApi.
|
|
315
|
+
* @export
|
|
316
|
+
* @interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdTranslatePostRequest
|
|
317
|
+
*/
|
|
318
|
+
export interface ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdTranslatePostRequest {
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdTranslatePost
|
|
323
|
+
*/
|
|
324
|
+
readonly articleCategoryId: string;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {TranslateArticleCategoryCommand}
|
|
328
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdTranslatePost
|
|
329
|
+
*/
|
|
330
|
+
readonly translateArticleCategoryCommand?: TranslateArticleCategoryCommand;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Request parameters for apiV1ArticlecategoriesGet operation in ArticleCategoriesApi.
|
|
334
|
+
* @export
|
|
335
|
+
* @interface ArticleCategoriesApiApiV1ArticlecategoriesGetRequest
|
|
336
|
+
*/
|
|
337
|
+
export interface ArticleCategoriesApiApiV1ArticlecategoriesGetRequest {
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
342
|
+
*/
|
|
343
|
+
readonly languageCode?: string;
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
348
|
+
*/
|
|
349
|
+
readonly id?: string;
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
354
|
+
*/
|
|
355
|
+
readonly parentArticleCategoryId?: string;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {ArticleType}
|
|
359
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
360
|
+
*/
|
|
361
|
+
readonly articleType?: ArticleType;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {string}
|
|
365
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
366
|
+
*/
|
|
367
|
+
readonly name?: string;
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {boolean}
|
|
371
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
372
|
+
*/
|
|
373
|
+
readonly showHidden?: boolean;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @type {number}
|
|
377
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
378
|
+
*/
|
|
379
|
+
readonly page?: number;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @type {number}
|
|
383
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
384
|
+
*/
|
|
385
|
+
readonly limit?: number;
|
|
386
|
+
/**
|
|
387
|
+
*
|
|
388
|
+
* @type {Date}
|
|
389
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesGet
|
|
390
|
+
*/
|
|
391
|
+
readonly lastRetrieved?: Date;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Request parameters for apiV1ArticlecategoriesPost operation in ArticleCategoriesApi.
|
|
395
|
+
* @export
|
|
396
|
+
* @interface ArticleCategoriesApiApiV1ArticlecategoriesPostRequest
|
|
397
|
+
*/
|
|
398
|
+
export interface ArticleCategoriesApiApiV1ArticlecategoriesPostRequest {
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {CreateArticleCategoryCommand}
|
|
402
|
+
* @memberof ArticleCategoriesApiApiV1ArticlecategoriesPost
|
|
403
|
+
*/
|
|
404
|
+
readonly createArticleCategoryCommand?: CreateArticleCategoryCommand;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* ArticleCategoriesApi - object-oriented interface
|
|
408
|
+
* @export
|
|
409
|
+
* @class ArticleCategoriesApi
|
|
410
|
+
* @extends {BaseAPI}
|
|
411
|
+
*/
|
|
412
|
+
export declare class ArticleCategoriesApi extends BaseAPI {
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* @summary Delete articleCategory (Auth policies: RequireContentManagerRole)
|
|
416
|
+
* @param {ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdDeleteRequest} requestParameters Request parameters.
|
|
417
|
+
* @param {*} [options] Override http request option.
|
|
418
|
+
* @throws {RequiredError}
|
|
419
|
+
* @memberof ArticleCategoriesApi
|
|
420
|
+
*/
|
|
421
|
+
apiV1ArticlecategoriesArticleCategoryIdDelete(requestParameters: ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @summary Get article category (Auth policies: RequireContentManagerRole)
|
|
425
|
+
* @param {ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdGetRequest} requestParameters Request parameters.
|
|
426
|
+
* @param {*} [options] Override http request option.
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
* @memberof ArticleCategoriesApi
|
|
429
|
+
*/
|
|
430
|
+
apiV1ArticlecategoriesArticleCategoryIdGet(requestParameters: ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleCategoryModel, any>>;
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @summary Update articleCategory (Auth policies: RequireContentManagerRole)
|
|
434
|
+
* @param {ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdPutRequest} requestParameters Request parameters.
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
* @memberof ArticleCategoriesApi
|
|
438
|
+
*/
|
|
439
|
+
apiV1ArticlecategoriesArticleCategoryIdPut(requestParameters: ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleCategoryModel, any>>;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @summary Reactivate articleCategory (Auth policies: RequireContentManagerRole)
|
|
443
|
+
* @param {ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdReactivatePutRequest} requestParameters Request parameters.
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
* @memberof ArticleCategoriesApi
|
|
447
|
+
*/
|
|
448
|
+
apiV1ArticlecategoriesArticleCategoryIdReactivatePut(requestParameters: ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @summary Translate articleCategory (Auth policies: RequireContentManagerRole)
|
|
452
|
+
* @param {ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdTranslatePostRequest} requestParameters Request parameters.
|
|
453
|
+
* @param {*} [options] Override http request option.
|
|
454
|
+
* @throws {RequiredError}
|
|
455
|
+
* @memberof ArticleCategoriesApi
|
|
456
|
+
*/
|
|
457
|
+
apiV1ArticlecategoriesArticleCategoryIdTranslatePost(requestParameters: ArticleCategoriesApiApiV1ArticlecategoriesArticleCategoryIdTranslatePostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @summary Get article categories (Auth policies: RequireContentManagerRole)
|
|
461
|
+
* @param {ArticleCategoriesApiApiV1ArticlecategoriesGetRequest} requestParameters Request parameters.
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
* @memberof ArticleCategoriesApi
|
|
465
|
+
*/
|
|
466
|
+
apiV1ArticlecategoriesGet(requestParameters?: ArticleCategoriesApiApiV1ArticlecategoriesGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticlesCategoriesModel, any>>;
|
|
467
|
+
/**
|
|
468
|
+
*
|
|
469
|
+
* @summary Create articleCategory (Auth policies: RequireContentManagerRole)
|
|
470
|
+
* @param {ArticleCategoriesApiApiV1ArticlecategoriesPostRequest} requestParameters Request parameters.
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
* @memberof ArticleCategoriesApi
|
|
474
|
+
*/
|
|
475
|
+
apiV1ArticlecategoriesPost(requestParameters?: ArticleCategoriesApiApiV1ArticlecategoriesPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ArticleCategoryModel, any>>;
|
|
476
|
+
}
|
|
477
|
+
//# sourceMappingURL=article-categories-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"article-categories-api.d.ts","sourceRoot":"","sources":["../../src/api/article-categories-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAIzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,WAAW,CAAC;AAE5D,OAAO,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AACzD;;;GAGG;AACH,eAAO,MAAM,qCAAqC,mBAA6B,aAAa;IAEpF;;;;;;;O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