1 |
3e6b15a7
|
Lukáš Vlček
|
/* tslint:disable */
|
2 |
|
|
/* eslint-disable */
|
3 |
|
|
/**
|
4 |
|
|
* AnnotationTool
|
5 |
|
|
* KIV/ASWI ZČU Plzeň, 2022
|
6 |
|
|
*
|
7 |
|
|
* The version of the OpenAPI document: 0.1.1
|
8 |
19b68a2e
|
Lukáš Vlček
|
*
|
9 |
3e6b15a7
|
Lukáš Vlček
|
*
|
10 |
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11 |
|
|
* https://openapi-generator.tech
|
12 |
|
|
* Do not edit the class manually.
|
13 |
|
|
*/
|
14 |
|
|
|
15 |
19b68a2e
|
Lukáš Vlček
|
|
16 |
3e6b15a7
|
Lukáš Vlček
|
import { Configuration } from './configuration';
|
17 |
|
|
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
18 |
|
|
// Some imports not used depending on template conditions
|
19 |
|
|
// @ts-ignore
|
20 |
19b68a2e
|
Lukáš Vlček
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
21 |
3e6b15a7
|
Lukáš Vlček
|
// @ts-ignore
|
22 |
19b68a2e
|
Lukáš Vlček
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
23 |
3e6b15a7
|
Lukáš Vlček
|
|
24 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
25 |
|
|
*
|
26 |
|
|
* @export
|
27 |
|
|
* @interface AddNoteToAnnotationRequest
|
28 |
|
|
*/
|
29 |
|
|
export interface AddNoteToAnnotationRequest {
|
30 |
|
|
/**
|
31 |
|
|
*
|
32 |
|
|
* @type {string}
|
33 |
|
|
* @memberof AddNoteToAnnotationRequest
|
34 |
|
|
*/
|
35 |
|
|
'note'?: string | null;
|
36 |
|
|
}
|
37 |
|
|
/**
|
38 |
|
|
*
|
39 |
|
|
* @export
|
40 |
|
|
* @interface AddNoteToTagOccurenceRequest
|
41 |
|
|
*/
|
42 |
|
|
export interface AddNoteToTagOccurenceRequest {
|
43 |
|
|
/**
|
44 |
|
|
*
|
45 |
|
|
* @type {string}
|
46 |
|
|
* @memberof AddNoteToTagOccurenceRequest
|
47 |
|
|
*/
|
48 |
|
|
'note'?: string | null;
|
49 |
|
|
}
|
50 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
51 |
19b68a2e
|
Lukáš Vlček
|
*
|
52 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
53 |
|
|
* @interface AnnotationInfo
|
54 |
|
|
*/
|
55 |
|
|
export interface AnnotationInfo {
|
56 |
|
|
/**
|
57 |
19b68a2e
|
Lukáš Vlček
|
*
|
58 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
59 |
|
|
* @memberof AnnotationInfo
|
60 |
|
|
*/
|
61 |
19b68a2e
|
Lukáš Vlček
|
'sourceDocumentContent'?: string | null;
|
62 |
b5f60842
|
Lukáš Vlček
|
/**
|
63 |
19b68a2e
|
Lukáš Vlček
|
*
|
64 |
b5f60842
|
Lukáš Vlček
|
* @type {string}
|
65 |
|
|
* @memberof AnnotationInfo
|
66 |
|
|
*/
|
67 |
19b68a2e
|
Lukáš Vlček
|
'documentToRender'?: string | null;
|
68 |
b5f60842
|
Lukáš Vlček
|
/**
|
69 |
19b68a2e
|
Lukáš Vlček
|
*
|
70 |
b5f60842
|
Lukáš Vlček
|
* @type {Array<number>}
|
71 |
|
|
* @memberof AnnotationInfo
|
72 |
|
|
*/
|
73 |
19b68a2e
|
Lukáš Vlček
|
'tagStartPositions'?: Array<number> | null;
|
74 |
b5f60842
|
Lukáš Vlček
|
/**
|
75 |
19b68a2e
|
Lukáš Vlček
|
*
|
76 |
b5f60842
|
Lukáš Vlček
|
* @type {Array<number>}
|
77 |
|
|
* @memberof AnnotationInfo
|
78 |
|
|
*/
|
79 |
19b68a2e
|
Lukáš Vlček
|
'tagLengths'?: Array<number> | null;
|
80 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
81 |
19b68a2e
|
Lukáš Vlček
|
*
|
82 |
3e6b15a7
|
Lukáš Vlček
|
* @type {EState}
|
83 |
|
|
* @memberof AnnotationInfo
|
84 |
|
|
*/
|
85 |
19b68a2e
|
Lukáš Vlček
|
'state'?: EState;
|
86 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
87 |
19b68a2e
|
Lukáš Vlček
|
*
|
88 |
3e6b15a7
|
Lukáš Vlček
|
* @type {EDocumentType}
|
89 |
|
|
* @memberof AnnotationInfo
|
90 |
|
|
*/
|
91 |
19b68a2e
|
Lukáš Vlček
|
'type'?: EDocumentType;
|
92 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
93 |
19b68a2e
|
Lukáš Vlček
|
*
|
94 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
95 |
|
|
* @memberof AnnotationInfo
|
96 |
|
|
*/
|
97 |
19b68a2e
|
Lukáš Vlček
|
'note'?: string | null;
|
98 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
99 |
19b68a2e
|
Lukáš Vlček
|
*
|
100 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<TagInstanceInfo>}
|
101 |
|
|
* @memberof AnnotationInfo
|
102 |
|
|
*/
|
103 |
19b68a2e
|
Lukáš Vlček
|
'tagInstances'?: Array<TagInstanceInfo> | null;
|
104 |
f30a7b90
|
Lukáš Vlček
|
/**
|
105 |
|
|
*
|
106 |
|
|
* @type {Array<TagInstanceCSSInfo>}
|
107 |
|
|
* @memberof AnnotationInfo
|
108 |
|
|
*/
|
109 |
|
|
'cssInfo'?: Array<TagInstanceCSSInfo> | null;
|
110 |
3e6b15a7
|
Lukáš Vlček
|
}
|
111 |
4bc99591
|
Lukáš Vlček
|
/**
|
112 |
19b68a2e
|
Lukáš Vlček
|
*
|
113 |
4bc99591
|
Lukáš Vlček
|
* @export
|
114 |
|
|
* @interface AnnotationInstanceAddRequest
|
115 |
|
|
*/
|
116 |
|
|
export interface AnnotationInstanceAddRequest {
|
117 |
|
|
/**
|
118 |
19b68a2e
|
Lukáš Vlček
|
*
|
119 |
4bc99591
|
Lukáš Vlček
|
* @type {number}
|
120 |
|
|
* @memberof AnnotationInstanceAddRequest
|
121 |
|
|
*/
|
122 |
19b68a2e
|
Lukáš Vlček
|
'position'?: number;
|
123 |
4bc99591
|
Lukáš Vlček
|
/**
|
124 |
19b68a2e
|
Lukáš Vlček
|
*
|
125 |
4bc99591
|
Lukáš Vlček
|
* @type {number}
|
126 |
|
|
* @memberof AnnotationInstanceAddRequest
|
127 |
|
|
*/
|
128 |
19b68a2e
|
Lukáš Vlček
|
'length'?: number;
|
129 |
4bc99591
|
Lukáš Vlček
|
/**
|
130 |
19b68a2e
|
Lukáš Vlček
|
*
|
131 |
4bc99591
|
Lukáš Vlček
|
* @type {ETagType}
|
132 |
|
|
* @memberof AnnotationInstanceAddRequest
|
133 |
|
|
*/
|
134 |
19b68a2e
|
Lukáš Vlček
|
'type'?: ETagType;
|
135 |
4bc99591
|
Lukáš Vlček
|
/**
|
136 |
19b68a2e
|
Lukáš Vlček
|
*
|
137 |
4bc99591
|
Lukáš Vlček
|
* @type {string}
|
138 |
|
|
* @memberof AnnotationInstanceAddRequest
|
139 |
|
|
*/
|
140 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
141 |
4bc99591
|
Lukáš Vlček
|
/**
|
142 |
19b68a2e
|
Lukáš Vlček
|
*
|
143 |
4bc99591
|
Lukáš Vlček
|
* @type {string}
|
144 |
|
|
* @memberof AnnotationInstanceAddRequest
|
145 |
|
|
*/
|
146 |
19b68a2e
|
Lukáš Vlček
|
'instanceId'?: string | null;
|
147 |
f30a7b90
|
Lukáš Vlček
|
/**
|
148 |
|
|
*
|
149 |
|
|
* @type {string}
|
150 |
|
|
* @memberof AnnotationInstanceAddRequest
|
151 |
|
|
*/
|
152 |
|
|
'selectedText'?: string | null;
|
153 |
4bc99591
|
Lukáš Vlček
|
}
|
154 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
155 |
19b68a2e
|
Lukáš Vlček
|
*
|
156 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
157 |
|
|
* @interface AnnotationListInfo
|
158 |
|
|
*/
|
159 |
|
|
export interface AnnotationListInfo {
|
160 |
|
|
/**
|
161 |
19b68a2e
|
Lukáš Vlček
|
*
|
162 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
163 |
|
|
* @memberof AnnotationListInfo
|
164 |
|
|
*/
|
165 |
19b68a2e
|
Lukáš Vlček
|
'documentName'?: string | null;
|
166 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
167 |
19b68a2e
|
Lukáš Vlček
|
*
|
168 |
3e6b15a7
|
Lukáš Vlček
|
* @type {EState}
|
169 |
|
|
* @memberof AnnotationListInfo
|
170 |
|
|
*/
|
171 |
19b68a2e
|
Lukáš Vlček
|
'state'?: EState;
|
172 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
173 |
19b68a2e
|
Lukáš Vlček
|
*
|
174 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
175 |
|
|
* @memberof AnnotationListInfo
|
176 |
|
|
*/
|
177 |
19b68a2e
|
Lukáš Vlček
|
'annotationId'?: string;
|
178 |
3e6b15a7
|
Lukáš Vlček
|
}
|
179 |
|
|
/**
|
180 |
19b68a2e
|
Lukáš Vlček
|
*
|
181 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
182 |
|
|
* @interface AnnotationListResponse
|
183 |
|
|
*/
|
184 |
|
|
export interface AnnotationListResponse {
|
185 |
|
|
/**
|
186 |
19b68a2e
|
Lukáš Vlček
|
*
|
187 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<AnnotationListInfo>}
|
188 |
|
|
* @memberof AnnotationListResponse
|
189 |
|
|
*/
|
190 |
19b68a2e
|
Lukáš Vlček
|
'annotations'?: Array<AnnotationListInfo> | null;
|
191 |
3e6b15a7
|
Lukáš Vlček
|
}
|
192 |
|
|
/**
|
193 |
19b68a2e
|
Lukáš Vlček
|
*
|
194 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
195 |
|
|
* @interface AnnotationsAddRequest
|
196 |
|
|
*/
|
197 |
|
|
export interface AnnotationsAddRequest {
|
198 |
|
|
/**
|
199 |
19b68a2e
|
Lukáš Vlček
|
*
|
200 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<string>}
|
201 |
|
|
* @memberof AnnotationsAddRequest
|
202 |
|
|
*/
|
203 |
19b68a2e
|
Lukáš Vlček
|
'userIdList'?: Array<string> | null;
|
204 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
205 |
19b68a2e
|
Lukáš Vlček
|
*
|
206 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<string>}
|
207 |
|
|
* @memberof AnnotationsAddRequest
|
208 |
|
|
*/
|
209 |
19b68a2e
|
Lukáš Vlček
|
'documentIdList'?: Array<string> | null;
|
210 |
3e6b15a7
|
Lukáš Vlček
|
}
|
211 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
212 |
19b68a2e
|
Lukáš Vlček
|
*
|
213 |
43d49a98
|
Jaroslav Hrubý
|
* @export
|
214 |
|
|
* @interface ChangeUserInfoRequest
|
215 |
|
|
*/
|
216 |
|
|
export interface ChangeUserInfoRequest {
|
217 |
|
|
/**
|
218 |
19b68a2e
|
Lukáš Vlček
|
*
|
219 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
220 |
|
|
* @memberof ChangeUserInfoRequest
|
221 |
|
|
*/
|
222 |
19b68a2e
|
Lukáš Vlček
|
'password'?: string | null;
|
223 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
224 |
19b68a2e
|
Lukáš Vlček
|
*
|
225 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
226 |
|
|
* @memberof ChangeUserInfoRequest
|
227 |
|
|
*/
|
228 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
229 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
230 |
19b68a2e
|
Lukáš Vlček
|
*
|
231 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
232 |
|
|
* @memberof ChangeUserInfoRequest
|
233 |
|
|
*/
|
234 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
235 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
236 |
19b68a2e
|
Lukáš Vlček
|
*
|
237 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
238 |
|
|
* @memberof ChangeUserInfoRequest
|
239 |
|
|
*/
|
240 |
19b68a2e
|
Lukáš Vlček
|
'surname'?: string | null;
|
241 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
242 |
19b68a2e
|
Lukáš Vlček
|
*
|
243 |
43d49a98
|
Jaroslav Hrubý
|
* @type {ERole}
|
244 |
|
|
* @memberof ChangeUserInfoRequest
|
245 |
|
|
*/
|
246 |
19b68a2e
|
Lukáš Vlček
|
'role'?: ERole;
|
247 |
43d49a98
|
Jaroslav Hrubý
|
}
|
248 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
249 |
19b68a2e
|
Lukáš Vlček
|
*
|
250 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
251 |
|
|
* @interface ClientInfo
|
252 |
|
|
*/
|
253 |
|
|
export interface ClientInfo {
|
254 |
|
|
/**
|
255 |
19b68a2e
|
Lukáš Vlček
|
*
|
256 |
3e6b15a7
|
Lukáš Vlček
|
* @type {boolean}
|
257 |
|
|
* @memberof ClientInfo
|
258 |
|
|
*/
|
259 |
19b68a2e
|
Lukáš Vlček
|
'isLogged'?: boolean;
|
260 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
261 |
19b68a2e
|
Lukáš Vlček
|
*
|
262 |
3e6b15a7
|
Lukáš Vlček
|
* @type {User}
|
263 |
|
|
* @memberof ClientInfo
|
264 |
|
|
*/
|
265 |
19b68a2e
|
Lukáš Vlček
|
'loggedUser'?: User;
|
266 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
267 |
19b68a2e
|
Lukáš Vlček
|
*
|
268 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
269 |
|
|
* @memberof ClientInfo
|
270 |
|
|
*/
|
271 |
19b68a2e
|
Lukáš Vlček
|
'ip'?: string | null;
|
272 |
3e6b15a7
|
Lukáš Vlček
|
}
|
273 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
274 |
|
|
*
|
275 |
|
|
* @export
|
276 |
|
|
* @interface CreateCategoryRequest
|
277 |
|
|
*/
|
278 |
|
|
export interface CreateCategoryRequest {
|
279 |
|
|
/**
|
280 |
|
|
*
|
281 |
|
|
* @type {string}
|
282 |
|
|
* @memberof CreateCategoryRequest
|
283 |
|
|
*/
|
284 |
|
|
'name'?: string | null;
|
285 |
|
|
/**
|
286 |
|
|
*
|
287 |
|
|
* @type {string}
|
288 |
|
|
* @memberof CreateCategoryRequest
|
289 |
|
|
*/
|
290 |
|
|
'description'?: string | null;
|
291 |
|
|
/**
|
292 |
|
|
*
|
293 |
|
|
* @type {string}
|
294 |
|
|
* @memberof CreateCategoryRequest
|
295 |
|
|
*/
|
296 |
|
|
'color'?: string | null;
|
297 |
|
|
/**
|
298 |
|
|
*
|
299 |
|
|
* @type {boolean}
|
300 |
|
|
* @memberof CreateCategoryRequest
|
301 |
|
|
*/
|
302 |
|
|
'disabledForAnnotators'?: boolean;
|
303 |
|
|
}
|
304 |
|
|
/**
|
305 |
|
|
*
|
306 |
|
|
* @export
|
307 |
|
|
* @interface CreateSubTagRequest
|
308 |
|
|
*/
|
309 |
|
|
export interface CreateSubTagRequest {
|
310 |
|
|
/**
|
311 |
|
|
*
|
312 |
|
|
* @type {string}
|
313 |
|
|
* @memberof CreateSubTagRequest
|
314 |
|
|
*/
|
315 |
|
|
'name'?: string | null;
|
316 |
|
|
/**
|
317 |
|
|
*
|
318 |
|
|
* @type {string}
|
319 |
|
|
* @memberof CreateSubTagRequest
|
320 |
|
|
*/
|
321 |
|
|
'description'?: string | null;
|
322 |
|
|
/**
|
323 |
|
|
*
|
324 |
|
|
* @type {string}
|
325 |
|
|
* @memberof CreateSubTagRequest
|
326 |
|
|
*/
|
327 |
|
|
'tagId'?: string;
|
328 |
|
|
/**
|
329 |
|
|
*
|
330 |
|
|
* @type {boolean}
|
331 |
|
|
* @memberof CreateSubTagRequest
|
332 |
|
|
*/
|
333 |
|
|
'sentimentEnabled'?: boolean;
|
334 |
|
|
}
|
335 |
|
|
/**
|
336 |
|
|
*
|
337 |
|
|
* @export
|
338 |
|
|
* @interface CreateTagRequest
|
339 |
|
|
*/
|
340 |
|
|
export interface CreateTagRequest {
|
341 |
|
|
/**
|
342 |
|
|
*
|
343 |
|
|
* @type {string}
|
344 |
|
|
* @memberof CreateTagRequest
|
345 |
|
|
*/
|
346 |
|
|
'categoryId'?: string;
|
347 |
|
|
/**
|
348 |
|
|
*
|
349 |
|
|
* @type {string}
|
350 |
|
|
* @memberof CreateTagRequest
|
351 |
|
|
*/
|
352 |
|
|
'name'?: string | null;
|
353 |
|
|
/**
|
354 |
|
|
*
|
355 |
|
|
* @type {string}
|
356 |
|
|
* @memberof CreateTagRequest
|
357 |
|
|
*/
|
358 |
|
|
'description'?: string | null;
|
359 |
|
|
/**
|
360 |
|
|
*
|
361 |
|
|
* @type {string}
|
362 |
|
|
* @memberof CreateTagRequest
|
363 |
|
|
*/
|
364 |
|
|
'color'?: string | null;
|
365 |
|
|
/**
|
366 |
|
|
*
|
367 |
|
|
* @type {boolean}
|
368 |
|
|
* @memberof CreateTagRequest
|
369 |
|
|
*/
|
370 |
|
|
'sentimentEnabled'?: boolean;
|
371 |
|
|
}
|
372 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
373 |
19b68a2e
|
Lukáš Vlček
|
*
|
374 |
43d49a98
|
Jaroslav Hrubý
|
* @export
|
375 |
|
|
* @interface CreateUserRequest
|
376 |
|
|
*/
|
377 |
|
|
export interface CreateUserRequest {
|
378 |
|
|
/**
|
379 |
19b68a2e
|
Lukáš Vlček
|
*
|
380 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
381 |
|
|
* @memberof CreateUserRequest
|
382 |
|
|
*/
|
383 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
384 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
385 |
19b68a2e
|
Lukáš Vlček
|
*
|
386 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
387 |
|
|
* @memberof CreateUserRequest
|
388 |
|
|
*/
|
389 |
19b68a2e
|
Lukáš Vlček
|
'password'?: string | null;
|
390 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
391 |
19b68a2e
|
Lukáš Vlček
|
*
|
392 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
393 |
|
|
* @memberof CreateUserRequest
|
394 |
|
|
*/
|
395 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
396 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
397 |
19b68a2e
|
Lukáš Vlček
|
*
|
398 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
399 |
|
|
* @memberof CreateUserRequest
|
400 |
|
|
*/
|
401 |
19b68a2e
|
Lukáš Vlček
|
'surname'?: string | null;
|
402 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
403 |
19b68a2e
|
Lukáš Vlček
|
*
|
404 |
43d49a98
|
Jaroslav Hrubý
|
* @type {ERole}
|
405 |
|
|
* @memberof CreateUserRequest
|
406 |
|
|
*/
|
407 |
19b68a2e
|
Lukáš Vlček
|
'role'?: ERole;
|
408 |
43d49a98
|
Jaroslav Hrubý
|
}
|
409 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
410 |
19b68a2e
|
Lukáš Vlček
|
*
|
411 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
412 |
|
|
* @interface DocumentAddInfo
|
413 |
|
|
*/
|
414 |
|
|
export interface DocumentAddInfo {
|
415 |
|
|
/**
|
416 |
19b68a2e
|
Lukáš Vlček
|
*
|
417 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
418 |
|
|
* @memberof DocumentAddInfo
|
419 |
|
|
*/
|
420 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
421 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
422 |
19b68a2e
|
Lukáš Vlček
|
*
|
423 |
3e6b15a7
|
Lukáš Vlček
|
* @type {EAddDocumentFormat}
|
424 |
|
|
* @memberof DocumentAddInfo
|
425 |
|
|
*/
|
426 |
19b68a2e
|
Lukáš Vlček
|
'format'?: EAddDocumentFormat;
|
427 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
428 |
19b68a2e
|
Lukáš Vlček
|
*
|
429 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
430 |
|
|
* @memberof DocumentAddInfo
|
431 |
|
|
*/
|
432 |
19b68a2e
|
Lukáš Vlček
|
'content'?: string | null;
|
433 |
3e6b15a7
|
Lukáš Vlček
|
}
|
434 |
|
|
/**
|
435 |
19b68a2e
|
Lukáš Vlček
|
*
|
436 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
437 |
|
|
* @interface DocumentAddRequest
|
438 |
|
|
*/
|
439 |
|
|
export interface DocumentAddRequest {
|
440 |
|
|
/**
|
441 |
19b68a2e
|
Lukáš Vlček
|
*
|
442 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<DocumentAddInfo>}
|
443 |
|
|
* @memberof DocumentAddRequest
|
444 |
|
|
*/
|
445 |
19b68a2e
|
Lukáš Vlček
|
'documents'?: Array<DocumentAddInfo> | null;
|
446 |
3e6b15a7
|
Lukáš Vlček
|
}
|
447 |
f30a7b90
|
Lukáš Vlček
|
/**
|
448 |
|
|
*
|
449 |
|
|
* @export
|
450 |
|
|
* @interface DocumentAnnotationInfo
|
451 |
|
|
*/
|
452 |
|
|
export interface DocumentAnnotationInfo {
|
453 |
|
|
/**
|
454 |
|
|
*
|
455 |
|
|
* @type {string}
|
456 |
|
|
* @memberof DocumentAnnotationInfo
|
457 |
|
|
*/
|
458 |
|
|
'annotationId'?: string;
|
459 |
|
|
/**
|
460 |
|
|
*
|
461 |
|
|
* @type {string}
|
462 |
|
|
* @memberof DocumentAnnotationInfo
|
463 |
|
|
*/
|
464 |
|
|
'userId'?: string;
|
465 |
|
|
/**
|
466 |
|
|
*
|
467 |
|
|
* @type {string}
|
468 |
|
|
* @memberof DocumentAnnotationInfo
|
469 |
|
|
*/
|
470 |
|
|
'userFirstName'?: string | null;
|
471 |
|
|
/**
|
472 |
|
|
*
|
473 |
|
|
* @type {string}
|
474 |
|
|
* @memberof DocumentAnnotationInfo
|
475 |
|
|
*/
|
476 |
|
|
'userSurname'?: string | null;
|
477 |
|
|
/**
|
478 |
|
|
*
|
479 |
|
|
* @type {string}
|
480 |
|
|
* @memberof DocumentAnnotationInfo
|
481 |
|
|
*/
|
482 |
|
|
'username'?: string | null;
|
483 |
|
|
}
|
484 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
485 |
19b68a2e
|
Lukáš Vlček
|
*
|
486 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
487 |
|
|
* @interface DocumentListInfo
|
488 |
|
|
*/
|
489 |
|
|
export interface DocumentListInfo {
|
490 |
|
|
/**
|
491 |
19b68a2e
|
Lukáš Vlček
|
*
|
492 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
493 |
|
|
* @memberof DocumentListInfo
|
494 |
|
|
*/
|
495 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
496 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
497 |
19b68a2e
|
Lukáš Vlček
|
*
|
498 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
499 |
|
|
* @memberof DocumentListInfo
|
500 |
|
|
*/
|
501 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
502 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
503 |
19b68a2e
|
Lukáš Vlček
|
*
|
504 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
505 |
|
|
* @memberof DocumentListInfo
|
506 |
|
|
*/
|
507 |
19b68a2e
|
Lukáš Vlček
|
'length'?: number;
|
508 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
509 |
19b68a2e
|
Lukáš Vlček
|
*
|
510 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
511 |
|
|
* @memberof DocumentListInfo
|
512 |
|
|
*/
|
513 |
19b68a2e
|
Lukáš Vlček
|
'requiredAnnotations'?: number;
|
514 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
515 |
19b68a2e
|
Lukáš Vlček
|
*
|
516 |
|
|
* @type {Array<DocumentUserInfo>}
|
517 |
3e6b15a7
|
Lukáš Vlček
|
* @memberof DocumentListInfo
|
518 |
|
|
*/
|
519 |
19b68a2e
|
Lukáš Vlček
|
'annotatingUsers'?: Array<DocumentUserInfo> | null;
|
520 |
f30a7b90
|
Lukáš Vlček
|
/**
|
521 |
|
|
*
|
522 |
|
|
* @type {boolean}
|
523 |
|
|
* @memberof DocumentListInfo
|
524 |
|
|
*/
|
525 |
|
|
'finalizedExists'?: boolean;
|
526 |
|
|
/**
|
527 |
|
|
*
|
528 |
|
|
* @type {string}
|
529 |
|
|
* @memberof DocumentListInfo
|
530 |
|
|
*/
|
531 |
|
|
'finalizedAnnotationId'?: string | null;
|
532 |
|
|
/**
|
533 |
|
|
*
|
534 |
|
|
* @type {EState}
|
535 |
|
|
* @memberof DocumentListInfo
|
536 |
|
|
*/
|
537 |
|
|
'finalizedState'?: EState;
|
538 |
|
|
/**
|
539 |
|
|
*
|
540 |
|
|
* @type {Array<DocumentAnnotationInfo>}
|
541 |
|
|
* @memberof DocumentListInfo
|
542 |
|
|
*/
|
543 |
|
|
'finalAnnotations'?: Array<DocumentAnnotationInfo> | null;
|
544 |
3e6b15a7
|
Lukáš Vlček
|
}
|
545 |
|
|
/**
|
546 |
19b68a2e
|
Lukáš Vlček
|
*
|
547 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
548 |
|
|
* @interface DocumentListResponse
|
549 |
|
|
*/
|
550 |
|
|
export interface DocumentListResponse {
|
551 |
|
|
/**
|
552 |
19b68a2e
|
Lukáš Vlček
|
*
|
553 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
554 |
|
|
* @memberof DocumentListResponse
|
555 |
|
|
*/
|
556 |
19b68a2e
|
Lukáš Vlček
|
'totalCount'?: number;
|
557 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
558 |
19b68a2e
|
Lukáš Vlček
|
*
|
559 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
560 |
|
|
* @memberof DocumentListResponse
|
561 |
|
|
*/
|
562 |
19b68a2e
|
Lukáš Vlček
|
'pageCount'?: number;
|
563 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
564 |
19b68a2e
|
Lukáš Vlček
|
*
|
565 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
566 |
|
|
* @memberof DocumentListResponse
|
567 |
|
|
*/
|
568 |
19b68a2e
|
Lukáš Vlček
|
'pageIndex'?: number;
|
569 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
570 |
19b68a2e
|
Lukáš Vlček
|
*
|
571 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<DocumentListInfo>}
|
572 |
|
|
* @memberof DocumentListResponse
|
573 |
|
|
*/
|
574 |
19b68a2e
|
Lukáš Vlček
|
'documents'?: Array<DocumentListInfo> | null;
|
575 |
3e6b15a7
|
Lukáš Vlček
|
}
|
576 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
577 |
|
|
*
|
578 |
|
|
* @export
|
579 |
|
|
* @interface DocumentPreviewResponse
|
580 |
|
|
*/
|
581 |
|
|
export interface DocumentPreviewResponse {
|
582 |
|
|
/**
|
583 |
|
|
*
|
584 |
|
|
* @type {string}
|
585 |
|
|
* @memberof DocumentPreviewResponse
|
586 |
|
|
*/
|
587 |
|
|
'content'?: string | null;
|
588 |
|
|
}
|
589 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
590 |
19b68a2e
|
Lukáš Vlček
|
*
|
591 |
|
|
* @export
|
592 |
|
|
* @interface DocumentUserInfo
|
593 |
|
|
*/
|
594 |
|
|
export interface DocumentUserInfo {
|
595 |
|
|
/**
|
596 |
|
|
*
|
597 |
|
|
* @type {string}
|
598 |
|
|
* @memberof DocumentUserInfo
|
599 |
|
|
*/
|
600 |
|
|
'id'?: string;
|
601 |
|
|
/**
|
602 |
|
|
*
|
603 |
|
|
* @type {string}
|
604 |
|
|
* @memberof DocumentUserInfo
|
605 |
|
|
*/
|
606 |
|
|
'username'?: string | null;
|
607 |
|
|
/**
|
608 |
|
|
*
|
609 |
|
|
* @type {string}
|
610 |
|
|
* @memberof DocumentUserInfo
|
611 |
|
|
*/
|
612 |
|
|
'name'?: string | null;
|
613 |
|
|
/**
|
614 |
|
|
*
|
615 |
|
|
* @type {string}
|
616 |
|
|
* @memberof DocumentUserInfo
|
617 |
|
|
*/
|
618 |
|
|
'surname'?: string | null;
|
619 |
|
|
/**
|
620 |
|
|
*
|
621 |
|
|
* @type {EState}
|
622 |
|
|
* @memberof DocumentUserInfo
|
623 |
|
|
*/
|
624 |
|
|
'state'?: EState;
|
625 |
|
|
}
|
626 |
|
|
/**
|
627 |
|
|
*
|
628 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
629 |
|
|
* @enum {string}
|
630 |
|
|
*/
|
631 |
|
|
|
632 |
|
|
export const EAddDocumentFormat = {
|
633 |
|
|
Zip: 'ZIP',
|
634 |
19b68a2e
|
Lukáš Vlček
|
Textfile: 'TEXTFILE'
|
635 |
3e6b15a7
|
Lukáš Vlček
|
} as const;
|
636 |
|
|
|
637 |
19b68a2e
|
Lukáš Vlček
|
export type EAddDocumentFormat = typeof EAddDocumentFormat[keyof typeof EAddDocumentFormat];
|
638 |
|
|
|
639 |
3e6b15a7
|
Lukáš Vlček
|
|
640 |
|
|
/**
|
641 |
19b68a2e
|
Lukáš Vlček
|
*
|
642 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
643 |
|
|
* @enum {string}
|
644 |
|
|
*/
|
645 |
|
|
|
646 |
|
|
export const EDocumentType = {
|
647 |
|
|
Html: 'HTML',
|
648 |
19b68a2e
|
Lukáš Vlček
|
Text: 'TEXT'
|
649 |
3e6b15a7
|
Lukáš Vlček
|
} as const;
|
650 |
|
|
|
651 |
|
|
export type EDocumentType = typeof EDocumentType[keyof typeof EDocumentType];
|
652 |
|
|
|
653 |
19b68a2e
|
Lukáš Vlček
|
|
654 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
655 |
19b68a2e
|
Lukáš Vlček
|
*
|
656 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
657 |
|
|
* @enum {string}
|
658 |
|
|
*/
|
659 |
|
|
|
660 |
|
|
export const ERole = {
|
661 |
|
|
Annotator: 'ANNOTATOR',
|
662 |
19b68a2e
|
Lukáš Vlček
|
Administrator: 'ADMINISTRATOR'
|
663 |
3e6b15a7
|
Lukáš Vlček
|
} as const;
|
664 |
|
|
|
665 |
|
|
export type ERole = typeof ERole[keyof typeof ERole];
|
666 |
|
|
|
667 |
19b68a2e
|
Lukáš Vlček
|
|
668 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
669 |
19b68a2e
|
Lukáš Vlček
|
*
|
670 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
671 |
|
|
* @enum {string}
|
672 |
|
|
*/
|
673 |
|
|
|
674 |
|
|
export const EState = {
|
675 |
|
|
Done: 'DONE',
|
676 |
|
|
InProgress: 'IN_PROGRESS',
|
677 |
19b68a2e
|
Lukáš Vlček
|
New: 'NEW'
|
678 |
3e6b15a7
|
Lukáš Vlček
|
} as const;
|
679 |
|
|
|
680 |
|
|
export type EState = typeof EState[keyof typeof EState];
|
681 |
|
|
|
682 |
19b68a2e
|
Lukáš Vlček
|
|
683 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
684 |
|
|
*
|
685 |
|
|
* @export
|
686 |
|
|
* @enum {string}
|
687 |
|
|
*/
|
688 |
|
|
|
689 |
|
|
export const ETagSentiment = {
|
690 |
|
|
Neutral: 'NEUTRAL',
|
691 |
|
|
Positive: 'POSITIVE',
|
692 |
|
|
Negative: 'NEGATIVE'
|
693 |
|
|
} as const;
|
694 |
|
|
|
695 |
|
|
export type ETagSentiment = typeof ETagSentiment[keyof typeof ETagSentiment];
|
696 |
|
|
|
697 |
|
|
|
698 |
4bc99591
|
Lukáš Vlček
|
/**
|
699 |
19b68a2e
|
Lukáš Vlček
|
*
|
700 |
4bc99591
|
Lukáš Vlček
|
* @export
|
701 |
|
|
* @enum {string}
|
702 |
|
|
*/
|
703 |
|
|
|
704 |
|
|
export const ETagType = {
|
705 |
|
|
Tag: 'TAG',
|
706 |
19b68a2e
|
Lukáš Vlček
|
Subtag: 'SUBTAG'
|
707 |
4bc99591
|
Lukáš Vlček
|
} as const;
|
708 |
|
|
|
709 |
|
|
export type ETagType = typeof ETagType[keyof typeof ETagType];
|
710 |
|
|
|
711 |
19b68a2e
|
Lukáš Vlček
|
|
712 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
713 |
19b68a2e
|
Lukáš Vlček
|
*
|
714 |
|
|
* @export
|
715 |
|
|
* @interface GetRequiredAnnotationsGlobalResponse
|
716 |
|
|
*/
|
717 |
|
|
export interface GetRequiredAnnotationsGlobalResponse {
|
718 |
|
|
/**
|
719 |
|
|
*
|
720 |
|
|
* @type {number}
|
721 |
|
|
* @memberof GetRequiredAnnotationsGlobalResponse
|
722 |
|
|
*/
|
723 |
|
|
'requiredAnnotationsGlobal'?: number;
|
724 |
|
|
}
|
725 |
|
|
/**
|
726 |
|
|
*
|
727 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
728 |
|
|
* @interface LoginRequest
|
729 |
|
|
*/
|
730 |
|
|
export interface LoginRequest {
|
731 |
|
|
/**
|
732 |
19b68a2e
|
Lukáš Vlček
|
*
|
733 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
734 |
|
|
* @memberof LoginRequest
|
735 |
|
|
*/
|
736 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
737 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
738 |
19b68a2e
|
Lukáš Vlček
|
*
|
739 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
740 |
|
|
* @memberof LoginRequest
|
741 |
|
|
*/
|
742 |
19b68a2e
|
Lukáš Vlček
|
'password'?: string | null;
|
743 |
3e6b15a7
|
Lukáš Vlček
|
}
|
744 |
|
|
/**
|
745 |
19b68a2e
|
Lukáš Vlček
|
*
|
746 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
747 |
|
|
* @interface LoginResponse
|
748 |
|
|
*/
|
749 |
|
|
export interface LoginResponse {
|
750 |
|
|
/**
|
751 |
19b68a2e
|
Lukáš Vlček
|
*
|
752 |
3e6b15a7
|
Lukáš Vlček
|
* @type {boolean}
|
753 |
|
|
* @memberof LoginResponse
|
754 |
|
|
*/
|
755 |
19b68a2e
|
Lukáš Vlček
|
'ok'?: boolean;
|
756 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
757 |
19b68a2e
|
Lukáš Vlček
|
*
|
758 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
759 |
|
|
* @memberof LoginResponse
|
760 |
|
|
*/
|
761 |
19b68a2e
|
Lukáš Vlček
|
'token'?: string | null;
|
762 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
763 |
19b68a2e
|
Lukáš Vlček
|
*
|
764 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
765 |
|
|
* @memberof LoginResponse
|
766 |
|
|
*/
|
767 |
19b68a2e
|
Lukáš Vlček
|
'expiration'?: string;
|
768 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
769 |
19b68a2e
|
Lukáš Vlček
|
*
|
770 |
3e6b15a7
|
Lukáš Vlček
|
* @type {ERole}
|
771 |
|
|
* @memberof LoginResponse
|
772 |
|
|
*/
|
773 |
19b68a2e
|
Lukáš Vlček
|
'role'?: ERole;
|
774 |
3e6b15a7
|
Lukáš Vlček
|
}
|
775 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
776 |
|
|
*
|
777 |
|
|
* @export
|
778 |
|
|
* @interface MarkAnnotationDoneRequest
|
779 |
|
|
*/
|
780 |
|
|
export interface MarkAnnotationDoneRequest {
|
781 |
|
|
/**
|
782 |
|
|
*
|
783 |
|
|
* @type {boolean}
|
784 |
|
|
* @memberof MarkAnnotationDoneRequest
|
785 |
|
|
*/
|
786 |
|
|
'done'?: boolean;
|
787 |
|
|
}
|
788 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
789 |
|
|
*
|
790 |
|
|
* @export
|
791 |
|
|
* @interface ModifyCategoryRequest
|
792 |
|
|
*/
|
793 |
|
|
export interface ModifyCategoryRequest {
|
794 |
|
|
/**
|
795 |
|
|
*
|
796 |
|
|
* @type {string}
|
797 |
|
|
* @memberof ModifyCategoryRequest
|
798 |
|
|
*/
|
799 |
|
|
'name'?: string | null;
|
800 |
|
|
/**
|
801 |
|
|
*
|
802 |
|
|
* @type {string}
|
803 |
|
|
* @memberof ModifyCategoryRequest
|
804 |
|
|
*/
|
805 |
|
|
'description'?: string | null;
|
806 |
|
|
/**
|
807 |
|
|
*
|
808 |
|
|
* @type {string}
|
809 |
|
|
* @memberof ModifyCategoryRequest
|
810 |
|
|
*/
|
811 |
|
|
'color'?: string | null;
|
812 |
|
|
/**
|
813 |
|
|
*
|
814 |
|
|
* @type {boolean}
|
815 |
|
|
* @memberof ModifyCategoryRequest
|
816 |
|
|
*/
|
817 |
|
|
'disabledForAnnotators'?: boolean | null;
|
818 |
|
|
}
|
819 |
|
|
/**
|
820 |
|
|
*
|
821 |
|
|
* @export
|
822 |
|
|
* @interface ModifySubTagRequest
|
823 |
|
|
*/
|
824 |
|
|
export interface ModifySubTagRequest {
|
825 |
|
|
/**
|
826 |
|
|
*
|
827 |
|
|
* @type {string}
|
828 |
|
|
* @memberof ModifySubTagRequest
|
829 |
|
|
*/
|
830 |
|
|
'name'?: string | null;
|
831 |
|
|
/**
|
832 |
|
|
*
|
833 |
|
|
* @type {string}
|
834 |
|
|
* @memberof ModifySubTagRequest
|
835 |
|
|
*/
|
836 |
|
|
'description'?: string | null;
|
837 |
|
|
/**
|
838 |
|
|
*
|
839 |
|
|
* @type {boolean}
|
840 |
|
|
* @memberof ModifySubTagRequest
|
841 |
|
|
*/
|
842 |
|
|
'sentimentEnabled'?: boolean | null;
|
843 |
|
|
}
|
844 |
|
|
/**
|
845 |
|
|
*
|
846 |
|
|
* @export
|
847 |
|
|
* @interface ModifyTagRequest
|
848 |
|
|
*/
|
849 |
|
|
export interface ModifyTagRequest {
|
850 |
|
|
/**
|
851 |
|
|
*
|
852 |
|
|
* @type {string}
|
853 |
|
|
* @memberof ModifyTagRequest
|
854 |
|
|
*/
|
855 |
|
|
'name'?: string | null;
|
856 |
|
|
/**
|
857 |
|
|
*
|
858 |
|
|
* @type {string}
|
859 |
|
|
* @memberof ModifyTagRequest
|
860 |
|
|
*/
|
861 |
|
|
'description'?: string | null;
|
862 |
|
|
/**
|
863 |
|
|
*
|
864 |
|
|
* @type {string}
|
865 |
|
|
* @memberof ModifyTagRequest
|
866 |
|
|
*/
|
867 |
|
|
'color'?: string | null;
|
868 |
|
|
/**
|
869 |
|
|
*
|
870 |
|
|
* @type {boolean}
|
871 |
|
|
* @memberof ModifyTagRequest
|
872 |
|
|
*/
|
873 |
|
|
'sentimentEnabled'?: boolean | null;
|
874 |
|
|
}
|
875 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
876 |
19b68a2e
|
Lukáš Vlček
|
*
|
877 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
878 |
|
|
* @interface ProblemDetails
|
879 |
|
|
*/
|
880 |
|
|
export interface ProblemDetails {
|
881 |
|
|
[key: string]: any | any;
|
882 |
|
|
|
883 |
|
|
/**
|
884 |
19b68a2e
|
Lukáš Vlček
|
*
|
885 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
886 |
|
|
* @memberof ProblemDetails
|
887 |
|
|
*/
|
888 |
19b68a2e
|
Lukáš Vlček
|
'type'?: string | null;
|
889 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
890 |
19b68a2e
|
Lukáš Vlček
|
*
|
891 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
892 |
|
|
* @memberof ProblemDetails
|
893 |
|
|
*/
|
894 |
19b68a2e
|
Lukáš Vlček
|
'title'?: string | null;
|
895 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
896 |
19b68a2e
|
Lukáš Vlček
|
*
|
897 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
898 |
|
|
* @memberof ProblemDetails
|
899 |
|
|
*/
|
900 |
19b68a2e
|
Lukáš Vlček
|
'status'?: number | null;
|
901 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
902 |
19b68a2e
|
Lukáš Vlček
|
*
|
903 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
904 |
|
|
* @memberof ProblemDetails
|
905 |
|
|
*/
|
906 |
19b68a2e
|
Lukáš Vlček
|
'detail'?: string | null;
|
907 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
908 |
19b68a2e
|
Lukáš Vlček
|
*
|
909 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
910 |
|
|
* @memberof ProblemDetails
|
911 |
|
|
*/
|
912 |
19b68a2e
|
Lukáš Vlček
|
'instance'?: string | null;
|
913 |
3e6b15a7
|
Lukáš Vlček
|
}
|
914 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
915 |
|
|
*
|
916 |
|
|
* @export
|
917 |
|
|
* @interface SetInstanceSentimentRequest
|
918 |
|
|
*/
|
919 |
|
|
export interface SetInstanceSentimentRequest {
|
920 |
|
|
/**
|
921 |
|
|
*
|
922 |
|
|
* @type {ETagSentiment}
|
923 |
|
|
* @memberof SetInstanceSentimentRequest
|
924 |
|
|
*/
|
925 |
|
|
'sentiment'?: ETagSentiment;
|
926 |
|
|
}
|
927 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
928 |
19b68a2e
|
Lukáš Vlček
|
*
|
929 |
|
|
* @export
|
930 |
|
|
* @interface SetRequiredAnnotationsGlobalRequest
|
931 |
|
|
*/
|
932 |
|
|
export interface SetRequiredAnnotationsGlobalRequest {
|
933 |
|
|
/**
|
934 |
|
|
*
|
935 |
|
|
* @type {number}
|
936 |
|
|
* @memberof SetRequiredAnnotationsGlobalRequest
|
937 |
|
|
*/
|
938 |
|
|
'requiredAnnotations'?: number;
|
939 |
|
|
}
|
940 |
|
|
/**
|
941 |
|
|
*
|
942 |
|
|
* @export
|
943 |
|
|
* @interface SetRequiredAnnotationsRequest
|
944 |
|
|
*/
|
945 |
|
|
export interface SetRequiredAnnotationsRequest {
|
946 |
|
|
/**
|
947 |
|
|
*
|
948 |
|
|
* @type {number}
|
949 |
|
|
* @memberof SetRequiredAnnotationsRequest
|
950 |
|
|
*/
|
951 |
|
|
'requiredAnnotations'?: number;
|
952 |
|
|
/**
|
953 |
|
|
*
|
954 |
|
|
* @type {Array<string>}
|
955 |
|
|
* @memberof SetRequiredAnnotationsRequest
|
956 |
|
|
*/
|
957 |
|
|
'documentIds'?: Array<string> | null;
|
958 |
|
|
}
|
959 |
|
|
/**
|
960 |
|
|
*
|
961 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
962 |
|
|
* @interface SubTagInfo
|
963 |
|
|
*/
|
964 |
|
|
export interface SubTagInfo {
|
965 |
|
|
/**
|
966 |
19b68a2e
|
Lukáš Vlček
|
*
|
967 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
968 |
|
|
* @memberof SubTagInfo
|
969 |
|
|
*/
|
970 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
971 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
972 |
19b68a2e
|
Lukáš Vlček
|
*
|
973 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
974 |
|
|
* @memberof SubTagInfo
|
975 |
|
|
*/
|
976 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
977 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
978 |
19b68a2e
|
Lukáš Vlček
|
*
|
979 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
980 |
|
|
* @memberof SubTagInfo
|
981 |
|
|
*/
|
982 |
19b68a2e
|
Lukáš Vlček
|
'description'?: string | null;
|
983 |
3e6b15a7
|
Lukáš Vlček
|
}
|
984 |
|
|
/**
|
985 |
19b68a2e
|
Lukáš Vlček
|
*
|
986 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
987 |
|
|
* @interface TagCategoryInfo
|
988 |
|
|
*/
|
989 |
|
|
export interface TagCategoryInfo {
|
990 |
|
|
/**
|
991 |
19b68a2e
|
Lukáš Vlček
|
*
|
992 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
993 |
|
|
* @memberof TagCategoryInfo
|
994 |
|
|
*/
|
995 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
996 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
997 |
19b68a2e
|
Lukáš Vlček
|
*
|
998 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
999 |
|
|
* @memberof TagCategoryInfo
|
1000 |
|
|
*/
|
1001 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1002 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1003 |
19b68a2e
|
Lukáš Vlček
|
*
|
1004 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1005 |
|
|
* @memberof TagCategoryInfo
|
1006 |
|
|
*/
|
1007 |
19b68a2e
|
Lukáš Vlček
|
'description'?: string | null;
|
1008 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1009 |
19b68a2e
|
Lukáš Vlček
|
*
|
1010 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1011 |
|
|
* @memberof TagCategoryInfo
|
1012 |
|
|
*/
|
1013 |
19b68a2e
|
Lukáš Vlček
|
'color'?: string | null;
|
1014 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1015 |
19b68a2e
|
Lukáš Vlček
|
*
|
1016 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<TagInfo>}
|
1017 |
|
|
* @memberof TagCategoryInfo
|
1018 |
|
|
*/
|
1019 |
19b68a2e
|
Lukáš Vlček
|
'tags'?: Array<TagInfo> | null;
|
1020 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1021 |
|
|
*
|
1022 |
|
|
* @type {boolean}
|
1023 |
|
|
* @memberof TagCategoryInfo
|
1024 |
|
|
*/
|
1025 |
|
|
'disabledForAnnotators'?: boolean;
|
1026 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1027 |
|
|
/**
|
1028 |
19b68a2e
|
Lukáš Vlček
|
*
|
1029 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1030 |
|
|
* @interface TagInfo
|
1031 |
|
|
*/
|
1032 |
|
|
export interface TagInfo {
|
1033 |
|
|
/**
|
1034 |
19b68a2e
|
Lukáš Vlček
|
*
|
1035 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1036 |
|
|
* @memberof TagInfo
|
1037 |
|
|
*/
|
1038 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
1039 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1040 |
19b68a2e
|
Lukáš Vlček
|
*
|
1041 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1042 |
|
|
* @memberof TagInfo
|
1043 |
|
|
*/
|
1044 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1045 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1046 |
19b68a2e
|
Lukáš Vlček
|
*
|
1047 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1048 |
|
|
* @memberof TagInfo
|
1049 |
|
|
*/
|
1050 |
19b68a2e
|
Lukáš Vlček
|
'description'?: string | null;
|
1051 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1052 |
19b68a2e
|
Lukáš Vlček
|
*
|
1053 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1054 |
|
|
* @memberof TagInfo
|
1055 |
|
|
*/
|
1056 |
19b68a2e
|
Lukáš Vlček
|
'color'?: string | null;
|
1057 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1058 |
19b68a2e
|
Lukáš Vlček
|
*
|
1059 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<SubTagInfo>}
|
1060 |
|
|
* @memberof TagInfo
|
1061 |
|
|
*/
|
1062 |
19b68a2e
|
Lukáš Vlček
|
'subTags'?: Array<SubTagInfo> | null;
|
1063 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1064 |
f30a7b90
|
Lukáš Vlček
|
/**
|
1065 |
|
|
*
|
1066 |
|
|
* @export
|
1067 |
|
|
* @interface TagInstanceCSSInfo
|
1068 |
|
|
*/
|
1069 |
|
|
export interface TagInstanceCSSInfo {
|
1070 |
|
|
/**
|
1071 |
|
|
*
|
1072 |
|
|
* @type {string}
|
1073 |
|
|
* @memberof TagInstanceCSSInfo
|
1074 |
|
|
*/
|
1075 |
|
|
'instanceId'?: string;
|
1076 |
|
|
/**
|
1077 |
|
|
*
|
1078 |
|
|
* @type {string}
|
1079 |
|
|
* @memberof TagInstanceCSSInfo
|
1080 |
|
|
*/
|
1081 |
|
|
'color'?: string | null;
|
1082 |
|
|
/**
|
1083 |
|
|
*
|
1084 |
|
|
* @type {number}
|
1085 |
|
|
* @memberof TagInstanceCSSInfo
|
1086 |
|
|
*/
|
1087 |
|
|
'padding'?: number;
|
1088 |
|
|
}
|
1089 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1090 |
19b68a2e
|
Lukáš Vlček
|
*
|
1091 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1092 |
|
|
* @interface TagInstanceInfo
|
1093 |
|
|
*/
|
1094 |
|
|
export interface TagInstanceInfo {
|
1095 |
9fdb7d55
|
Lukáš Vlček
|
/**
|
1096 |
19b68a2e
|
Lukáš Vlček
|
*
|
1097 |
9fdb7d55
|
Lukáš Vlček
|
* @type {string}
|
1098 |
|
|
* @memberof TagInstanceInfo
|
1099 |
|
|
*/
|
1100 |
19b68a2e
|
Lukáš Vlček
|
'occurenceId'?: string;
|
1101 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1102 |
19b68a2e
|
Lukáš Vlček
|
*
|
1103 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1104 |
|
|
* @memberof TagInstanceInfo
|
1105 |
|
|
*/
|
1106 |
19b68a2e
|
Lukáš Vlček
|
'tagName'?: string | null;
|
1107 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1108 |
19b68a2e
|
Lukáš Vlček
|
*
|
1109 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1110 |
|
|
* @memberof TagInstanceInfo
|
1111 |
|
|
*/
|
1112 |
19b68a2e
|
Lukáš Vlček
|
'tagId'?: string;
|
1113 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1114 |
19b68a2e
|
Lukáš Vlček
|
*
|
1115 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1116 |
|
|
* @memberof TagInstanceInfo
|
1117 |
|
|
*/
|
1118 |
19b68a2e
|
Lukáš Vlček
|
'tagCategoryName'?: string | null;
|
1119 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1120 |
19b68a2e
|
Lukáš Vlček
|
*
|
1121 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1122 |
|
|
* @memberof TagInstanceInfo
|
1123 |
|
|
*/
|
1124 |
19b68a2e
|
Lukáš Vlček
|
'tagCategoryId'?: string;
|
1125 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1126 |
19b68a2e
|
Lukáš Vlček
|
*
|
1127 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1128 |
|
|
* @memberof TagInstanceInfo
|
1129 |
|
|
*/
|
1130 |
19b68a2e
|
Lukáš Vlček
|
'subTagName'?: string | null;
|
1131 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1132 |
19b68a2e
|
Lukáš Vlček
|
*
|
1133 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1134 |
|
|
* @memberof TagInstanceInfo
|
1135 |
|
|
*/
|
1136 |
19b68a2e
|
Lukáš Vlček
|
'subTagId'?: string | null;
|
1137 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1138 |
19b68a2e
|
Lukáš Vlček
|
*
|
1139 |
4bc99591
|
Lukáš Vlček
|
* @type {string}
|
1140 |
3e6b15a7
|
Lukáš Vlček
|
* @memberof TagInstanceInfo
|
1141 |
|
|
*/
|
1142 |
19b68a2e
|
Lukáš Vlček
|
'instance'?: string;
|
1143 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1144 |
19b68a2e
|
Lukáš Vlček
|
*
|
1145 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
1146 |
|
|
* @memberof TagInstanceInfo
|
1147 |
|
|
*/
|
1148 |
19b68a2e
|
Lukáš Vlček
|
'position'?: number;
|
1149 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1150 |
19b68a2e
|
Lukáš Vlček
|
*
|
1151 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
1152 |
|
|
* @memberof TagInstanceInfo
|
1153 |
|
|
*/
|
1154 |
19b68a2e
|
Lukáš Vlček
|
'length'?: number;
|
1155 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1156 |
19b68a2e
|
Lukáš Vlček
|
*
|
1157 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1158 |
|
|
* @memberof TagInstanceInfo
|
1159 |
|
|
*/
|
1160 |
19b68a2e
|
Lukáš Vlček
|
'note'?: string | null;
|
1161 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1162 |
|
|
*
|
1163 |
|
|
* @type {ETagSentiment}
|
1164 |
|
|
* @memberof TagInstanceInfo
|
1165 |
|
|
*/
|
1166 |
|
|
'sentiment'?: ETagSentiment;
|
1167 |
f30a7b90
|
Lukáš Vlček
|
/**
|
1168 |
|
|
*
|
1169 |
|
|
* @type {string}
|
1170 |
|
|
* @memberof TagInstanceInfo
|
1171 |
|
|
*/
|
1172 |
|
|
'selectedText'?: string | null;
|
1173 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1174 |
|
|
/**
|
1175 |
19b68a2e
|
Lukáš Vlček
|
*
|
1176 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1177 |
|
|
* @interface TagTreeResponse
|
1178 |
|
|
*/
|
1179 |
|
|
export interface TagTreeResponse {
|
1180 |
|
|
/**
|
1181 |
19b68a2e
|
Lukáš Vlček
|
*
|
1182 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<TagCategoryInfo>}
|
1183 |
|
|
* @memberof TagTreeResponse
|
1184 |
|
|
*/
|
1185 |
19b68a2e
|
Lukáš Vlček
|
'tagCategories'?: Array<TagCategoryInfo> | null;
|
1186 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1187 |
|
|
/**
|
1188 |
19b68a2e
|
Lukáš Vlček
|
*
|
1189 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1190 |
|
|
* @interface User
|
1191 |
|
|
*/
|
1192 |
|
|
export interface User {
|
1193 |
|
|
/**
|
1194 |
19b68a2e
|
Lukáš Vlček
|
*
|
1195 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1196 |
|
|
* @memberof User
|
1197 |
|
|
*/
|
1198 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
1199 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1200 |
19b68a2e
|
Lukáš Vlček
|
*
|
1201 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1202 |
|
|
* @memberof User
|
1203 |
|
|
*/
|
1204 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
1205 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1206 |
19b68a2e
|
Lukáš Vlček
|
*
|
1207 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1208 |
|
|
* @memberof User
|
1209 |
|
|
*/
|
1210 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1211 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1212 |
19b68a2e
|
Lukáš Vlček
|
*
|
1213 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1214 |
|
|
* @memberof User
|
1215 |
|
|
*/
|
1216 |
19b68a2e
|
Lukáš Vlček
|
'surname'?: string | null;
|
1217 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1218 |
19b68a2e
|
Lukáš Vlček
|
*
|
1219 |
3e6b15a7
|
Lukáš Vlček
|
* @type {ERole}
|
1220 |
|
|
* @memberof User
|
1221 |
|
|
*/
|
1222 |
19b68a2e
|
Lukáš Vlček
|
'role'?: ERole;
|
1223 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1224 |
|
|
/**
|
1225 |
19b68a2e
|
Lukáš Vlček
|
*
|
1226 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1227 |
|
|
* @interface UserInfo
|
1228 |
|
|
*/
|
1229 |
|
|
export interface UserInfo {
|
1230 |
|
|
/**
|
1231 |
19b68a2e
|
Lukáš Vlček
|
*
|
1232 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1233 |
|
|
* @memberof UserInfo
|
1234 |
|
|
*/
|
1235 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
1236 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1237 |
19b68a2e
|
Lukáš Vlček
|
*
|
1238 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1239 |
|
|
* @memberof UserInfo
|
1240 |
|
|
*/
|
1241 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
1242 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1243 |
19b68a2e
|
Lukáš Vlček
|
*
|
1244 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1245 |
|
|
* @memberof UserInfo
|
1246 |
|
|
*/
|
1247 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1248 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1249 |
19b68a2e
|
Lukáš Vlček
|
*
|
1250 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1251 |
|
|
* @memberof UserInfo
|
1252 |
|
|
*/
|
1253 |
19b68a2e
|
Lukáš Vlček
|
'surname'?: string | null;
|
1254 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1255 |
|
|
*
|
1256 |
|
|
* @type {number}
|
1257 |
|
|
* @memberof UserInfo
|
1258 |
|
|
*/
|
1259 |
|
|
'assignedDocumentsCount'?: number;
|
1260 |
|
|
/**
|
1261 |
|
|
*
|
1262 |
|
|
* @type {ERole}
|
1263 |
|
|
* @memberof UserInfo
|
1264 |
|
|
*/
|
1265 |
|
|
'role'?: ERole;
|
1266 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1267 |
|
|
/**
|
1268 |
19b68a2e
|
Lukáš Vlček
|
*
|
1269 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1270 |
|
|
* @interface UserList
|
1271 |
|
|
*/
|
1272 |
|
|
export interface UserList {
|
1273 |
|
|
/**
|
1274 |
19b68a2e
|
Lukáš Vlček
|
*
|
1275 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<UserInfo>}
|
1276 |
|
|
* @memberof UserList
|
1277 |
|
|
*/
|
1278 |
19b68a2e
|
Lukáš Vlček
|
'users'?: Array<UserInfo> | null;
|
1279 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1280 |
|
|
|
1281 |
|
|
/**
|
1282 |
|
|
* AnnotationApi - axios parameter creator
|
1283 |
|
|
* @export
|
1284 |
|
|
*/
|
1285 |
|
|
export const AnnotationApiAxiosParamCreator = function (configuration?: Configuration) {
|
1286 |
|
|
return {
|
1287 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
1288 |
|
|
*
|
1289 |
|
|
* @param {string} annotationId
|
1290 |
|
|
* @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest]
|
1291 |
|
|
* @param {*} [options] Override http request option.
|
1292 |
|
|
* @throws {RequiredError}
|
1293 |
|
|
*/
|
1294 |
|
|
annotationAnnotationIdDonePut: async (annotationId: string, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1295 |
|
|
// verify required parameter 'annotationId' is not null or undefined
|
1296 |
|
|
assertParamExists('annotationAnnotationIdDonePut', 'annotationId', annotationId)
|
1297 |
|
|
const localVarPath = `/annotation/{annotationId}/done`
|
1298 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
|
1299 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1300 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1301 |
|
|
let baseOptions;
|
1302 |
|
|
if (configuration) {
|
1303 |
|
|
baseOptions = configuration.baseOptions;
|
1304 |
|
|
}
|
1305 |
|
|
|
1306 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
1307 |
|
|
const localVarHeaderParameter = {} as any;
|
1308 |
|
|
const localVarQueryParameter = {} as any;
|
1309 |
|
|
|
1310 |
|
|
|
1311 |
|
|
|
1312 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1313 |
|
|
|
1314 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1315 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1316 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1317 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(markAnnotationDoneRequest, localVarRequestOptions, configuration)
|
1318 |
|
|
|
1319 |
|
|
return {
|
1320 |
|
|
url: toPathString(localVarUrlObj),
|
1321 |
|
|
options: localVarRequestOptions,
|
1322 |
|
|
};
|
1323 |
|
|
},
|
1324 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1325 |
19b68a2e
|
Lukáš Vlček
|
*
|
1326 |
|
|
* @param {string} annotationId
|
1327 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1328 |
|
|
* @throws {RequiredError}
|
1329 |
|
|
*/
|
1330 |
19b68a2e
|
Lukáš Vlček
|
annotationAnnotationIdGet: async (annotationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1331 |
dd747fc5
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
1332 |
19b68a2e
|
Lukáš Vlček
|
assertParamExists('annotationAnnotationIdGet', 'annotationId', annotationId)
|
1333 |
|
|
const localVarPath = `/annotation/{annotationId}`
|
1334 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
|
1335 |
3e6b15a7
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1336 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1337 |
|
|
let baseOptions;
|
1338 |
|
|
if (configuration) {
|
1339 |
|
|
baseOptions = configuration.baseOptions;
|
1340 |
|
|
}
|
1341 |
|
|
|
1342 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
1343 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
1344 |
|
|
const localVarQueryParameter = {} as any;
|
1345 |
|
|
|
1346 |
19b68a2e
|
Lukáš Vlček
|
|
1347 |
|
|
|
1348 |
9fdb7d55
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1349 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1350 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1351 |
9fdb7d55
|
Lukáš Vlček
|
|
1352 |
|
|
return {
|
1353 |
|
|
url: toPathString(localVarUrlObj),
|
1354 |
|
|
options: localVarRequestOptions,
|
1355 |
|
|
};
|
1356 |
|
|
},
|
1357 |
|
|
/**
|
1358 |
19b68a2e
|
Lukáš Vlček
|
*
|
1359 |
|
|
* @param {string} annotationId
|
1360 |
cca0bfa0
|
Lukáš Vlček
|
* @param {string} instanceId
|
1361 |
|
|
* @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest]
|
1362 |
9fdb7d55
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1363 |
|
|
* @throws {RequiredError}
|
1364 |
|
|
*/
|
1365 |
cca0bfa0
|
Lukáš Vlček
|
annotationAnnotationIdInstanceIdSentimentPut: async (annotationId: string, instanceId: string, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1366 |
9fdb7d55
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
1367 |
cca0bfa0
|
Lukáš Vlček
|
assertParamExists('annotationAnnotationIdInstanceIdSentimentPut', 'annotationId', annotationId)
|
1368 |
|
|
// verify required parameter 'instanceId' is not null or undefined
|
1369 |
|
|
assertParamExists('annotationAnnotationIdInstanceIdSentimentPut', 'instanceId', instanceId)
|
1370 |
|
|
const localVarPath = `/annotation/{annotationId}/{instanceId}/sentiment`
|
1371 |
19b68a2e
|
Lukáš Vlček
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
|
1372 |
cca0bfa0
|
Lukáš Vlček
|
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
1373 |
9fdb7d55
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1374 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1375 |
|
|
let baseOptions;
|
1376 |
|
|
if (configuration) {
|
1377 |
|
|
baseOptions = configuration.baseOptions;
|
1378 |
|
|
}
|
1379 |
|
|
|
1380 |
cca0bfa0
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
1381 |
9fdb7d55
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
1382 |
|
|
const localVarQueryParameter = {} as any;
|
1383 |
|
|
|
1384 |
19b68a2e
|
Lukáš Vlček
|
|
1385 |
|
|
|
1386 |
cca0bfa0
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1387 |
|
|
|
1388 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1389 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1390 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1391 |
cca0bfa0
|
Lukáš Vlček
|
localVarRequestOptions.data = serializeDataIfNeeded(setInstanceSentimentRequest, localVarRequestOptions, configuration)
|
1392 |
3e6b15a7
|
Lukáš Vlček
|
|
1393 |
|
|
return {
|
1394 |
|
|
url: toPathString(localVarUrlObj),
|
1395 |
|
|
options: localVarRequestOptions,
|
1396 |
|
|
};
|
1397 |
|
|
},
|
1398 |
4bc99591
|
Lukáš Vlček
|
/**
|
1399 |
19b68a2e
|
Lukáš Vlček
|
*
|
1400 |
|
|
* @param {string} annotationId
|
1401 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest]
|
1402 |
4bc99591
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1403 |
|
|
* @throws {RequiredError}
|
1404 |
|
|
*/
|
1405 |
cca0bfa0
|
Lukáš Vlček
|
annotationAnnotationIdNotePost: async (annotationId: string, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1406 |
4bc99591
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
1407 |
cca0bfa0
|
Lukáš Vlček
|
assertParamExists('annotationAnnotationIdNotePost', 'annotationId', annotationId)
|
1408 |
|
|
const localVarPath = `/annotation/{annotationId}/note`
|
1409 |
19b68a2e
|
Lukáš Vlček
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
|
1410 |
4bc99591
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1411 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1412 |
|
|
let baseOptions;
|
1413 |
|
|
if (configuration) {
|
1414 |
|
|
baseOptions = configuration.baseOptions;
|
1415 |
|
|
}
|
1416 |
|
|
|
1417 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
1418 |
4bc99591
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
1419 |
|
|
const localVarQueryParameter = {} as any;
|
1420 |
|
|
|
1421 |
19b68a2e
|
Lukáš Vlček
|
|
1422 |
|
|
|
1423 |
4bc99591
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1424 |
|
|
|
1425 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1426 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1427 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1428 |
cca0bfa0
|
Lukáš Vlček
|
localVarRequestOptions.data = serializeDataIfNeeded(addNoteToAnnotationRequest, localVarRequestOptions, configuration)
|
1429 |
4bc99591
|
Lukáš Vlček
|
|
1430 |
|
|
return {
|
1431 |
|
|
url: toPathString(localVarUrlObj),
|
1432 |
|
|
options: localVarRequestOptions,
|
1433 |
|
|
};
|
1434 |
|
|
},
|
1435 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1436 |
19b68a2e
|
Lukáš Vlček
|
*
|
1437 |
cca0bfa0
|
Lukáš Vlček
|
* @param {string} annotationId
|
1438 |
|
|
* @param {string} occurenceId
|
1439 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1440 |
|
|
* @throws {RequiredError}
|
1441 |
|
|
*/
|
1442 |
cca0bfa0
|
Lukáš Vlček
|
annotationAnnotationIdOccurenceIdDelete: async (annotationId: string, occurenceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1443 |
|
|
// verify required parameter 'annotationId' is not null or undefined
|
1444 |
|
|
assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'annotationId', annotationId)
|
1445 |
|
|
// verify required parameter 'occurenceId' is not null or undefined
|
1446 |
|
|
assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'occurenceId', occurenceId)
|
1447 |
|
|
const localVarPath = `/annotation/{annotationId}/{occurenceId}`
|
1448 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
|
1449 |
|
|
.replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
|
1450 |
3e6b15a7
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1451 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1452 |
|
|
let baseOptions;
|
1453 |
|
|
if (configuration) {
|
1454 |
|
|
baseOptions = configuration.baseOptions;
|
1455 |
|
|
}
|
1456 |
|
|
|
1457 |
cca0bfa0
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
1458 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
1459 |
|
|
const localVarQueryParameter = {} as any;
|
1460 |
|
|
|
1461 |
19b68a2e
|
Lukáš Vlček
|
|
1462 |
|
|
|
1463 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1464 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1465 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1466 |
3e6b15a7
|
Lukáš Vlček
|
|
1467 |
|
|
return {
|
1468 |
|
|
url: toPathString(localVarUrlObj),
|
1469 |
|
|
options: localVarRequestOptions,
|
1470 |
|
|
};
|
1471 |
|
|
},
|
1472 |
|
|
/**
|
1473 |
19b68a2e
|
Lukáš Vlček
|
*
|
1474 |
|
|
* @param {string} annotationId
|
1475 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest]
|
1476 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1477 |
|
|
* @throws {RequiredError}
|
1478 |
|
|
*/
|
1479 |
cca0bfa0
|
Lukáš Vlček
|
annotationAnnotationIdPost: async (annotationId: string, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1480 |
|
|
// verify required parameter 'annotationId' is not null or undefined
|
1481 |
|
|
assertParamExists('annotationAnnotationIdPost', 'annotationId', annotationId)
|
1482 |
|
|
const localVarPath = `/annotation/{annotationId}`
|
1483 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
|
1484 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1485 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1486 |
|
|
let baseOptions;
|
1487 |
|
|
if (configuration) {
|
1488 |
|
|
baseOptions = configuration.baseOptions;
|
1489 |
|
|
}
|
1490 |
|
|
|
1491 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
1492 |
|
|
const localVarHeaderParameter = {} as any;
|
1493 |
|
|
const localVarQueryParameter = {} as any;
|
1494 |
|
|
|
1495 |
|
|
|
1496 |
|
|
|
1497 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1498 |
|
|
|
1499 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1500 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1501 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1502 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(annotationInstanceAddRequest, localVarRequestOptions, configuration)
|
1503 |
|
|
|
1504 |
|
|
return {
|
1505 |
|
|
url: toPathString(localVarUrlObj),
|
1506 |
|
|
options: localVarRequestOptions,
|
1507 |
|
|
};
|
1508 |
|
|
},
|
1509 |
|
|
/**
|
1510 |
|
|
*
|
1511 |
|
|
* @param {string} annotationId
|
1512 |
|
|
* @param {string} occurenceId
|
1513 |
|
|
* @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest]
|
1514 |
|
|
* @param {*} [options] Override http request option.
|
1515 |
|
|
* @throws {RequiredError}
|
1516 |
|
|
*/
|
1517 |
|
|
annotationAnnotationIdTagOccurenceIdNotePost: async (annotationId: string, occurenceId: string, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1518 |
|
|
// verify required parameter 'annotationId' is not null or undefined
|
1519 |
|
|
assertParamExists('annotationAnnotationIdTagOccurenceIdNotePost', 'annotationId', annotationId)
|
1520 |
|
|
// verify required parameter 'occurenceId' is not null or undefined
|
1521 |
|
|
assertParamExists('annotationAnnotationIdTagOccurenceIdNotePost', 'occurenceId', occurenceId)
|
1522 |
|
|
const localVarPath = `/annotation/{annotationId}/tag/{occurenceId}/note`
|
1523 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
|
1524 |
|
|
.replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
|
1525 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1526 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1527 |
|
|
let baseOptions;
|
1528 |
|
|
if (configuration) {
|
1529 |
|
|
baseOptions = configuration.baseOptions;
|
1530 |
|
|
}
|
1531 |
|
|
|
1532 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
1533 |
|
|
const localVarHeaderParameter = {} as any;
|
1534 |
|
|
const localVarQueryParameter = {} as any;
|
1535 |
|
|
|
1536 |
|
|
|
1537 |
|
|
|
1538 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1539 |
|
|
|
1540 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1541 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1542 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1543 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(addNoteToTagOccurenceRequest, localVarRequestOptions, configuration)
|
1544 |
|
|
|
1545 |
|
|
return {
|
1546 |
|
|
url: toPathString(localVarUrlObj),
|
1547 |
|
|
options: localVarRequestOptions,
|
1548 |
|
|
};
|
1549 |
|
|
},
|
1550 |
|
|
/**
|
1551 |
|
|
*
|
1552 |
|
|
* @param {AnnotationsAddRequest} [annotationsAddRequest]
|
1553 |
|
|
* @param {*} [options] Override http request option.
|
1554 |
|
|
* @throws {RequiredError}
|
1555 |
|
|
*/
|
1556 |
|
|
annotationsPost: async (annotationsAddRequest?: AnnotationsAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1557 |
|
|
const localVarPath = `/annotations`;
|
1558 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1559 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1560 |
|
|
let baseOptions;
|
1561 |
|
|
if (configuration) {
|
1562 |
|
|
baseOptions = configuration.baseOptions;
|
1563 |
|
|
}
|
1564 |
|
|
|
1565 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
1566 |
|
|
const localVarHeaderParameter = {} as any;
|
1567 |
|
|
const localVarQueryParameter = {} as any;
|
1568 |
|
|
|
1569 |
|
|
|
1570 |
|
|
|
1571 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1572 |
|
|
|
1573 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1574 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1575 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1576 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(annotationsAddRequest, localVarRequestOptions, configuration)
|
1577 |
|
|
|
1578 |
|
|
return {
|
1579 |
|
|
url: toPathString(localVarUrlObj),
|
1580 |
|
|
options: localVarRequestOptions,
|
1581 |
|
|
};
|
1582 |
|
|
},
|
1583 |
|
|
}
|
1584 |
|
|
};
|
1585 |
|
|
|
1586 |
|
|
/**
|
1587 |
|
|
* AnnotationApi - functional programming interface
|
1588 |
|
|
* @export
|
1589 |
|
|
*/
|
1590 |
|
|
export const AnnotationApiFp = function(configuration?: Configuration) {
|
1591 |
|
|
const localVarAxiosParamCreator = AnnotationApiAxiosParamCreator(configuration)
|
1592 |
|
|
return {
|
1593 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
1594 |
|
|
*
|
1595 |
|
|
* @param {string} annotationId
|
1596 |
|
|
* @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest]
|
1597 |
|
|
* @param {*} [options] Override http request option.
|
1598 |
|
|
* @throws {RequiredError}
|
1599 |
|
|
*/
|
1600 |
|
|
async annotationAnnotationIdDonePut(annotationId: string, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
1601 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdDonePut(annotationId, markAnnotationDoneRequest, options);
|
1602 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1603 |
|
|
},
|
1604 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1605 |
|
|
*
|
1606 |
|
|
* @param {string} annotationId
|
1607 |
|
|
* @param {*} [options] Override http request option.
|
1608 |
|
|
* @throws {RequiredError}
|
1609 |
|
|
*/
|
1610 |
|
|
async annotationAnnotationIdGet(annotationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationInfo>> {
|
1611 |
19b68a2e
|
Lukáš Vlček
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdGet(annotationId, options);
|
1612 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1613 |
3e6b15a7
|
Lukáš Vlček
|
},
|
1614 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1615 |
|
|
*
|
1616 |
|
|
* @param {string} annotationId
|
1617 |
|
|
* @param {string} instanceId
|
1618 |
|
|
* @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest]
|
1619 |
|
|
* @param {*} [options] Override http request option.
|
1620 |
|
|
* @throws {RequiredError}
|
1621 |
|
|
*/
|
1622 |
|
|
async annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
1623 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, setInstanceSentimentRequest, options);
|
1624 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1625 |
|
|
},
|
1626 |
|
|
/**
|
1627 |
|
|
*
|
1628 |
|
|
* @param {string} annotationId
|
1629 |
|
|
* @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest]
|
1630 |
|
|
* @param {*} [options] Override http request option.
|
1631 |
|
|
* @throws {RequiredError}
|
1632 |
|
|
*/
|
1633 |
|
|
async annotationAnnotationIdNotePost(annotationId: string, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
1634 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdNotePost(annotationId, addNoteToAnnotationRequest, options);
|
1635 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1636 |
|
|
},
|
1637 |
9fdb7d55
|
Lukáš Vlček
|
/**
|
1638 |
19b68a2e
|
Lukáš Vlček
|
*
|
1639 |
|
|
* @param {string} annotationId
|
1640 |
|
|
* @param {string} occurenceId
|
1641 |
9fdb7d55
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1642 |
|
|
* @throws {RequiredError}
|
1643 |
|
|
*/
|
1644 |
19b68a2e
|
Lukáš Vlček
|
async annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
1645 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, options);
|
1646 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1647 |
9fdb7d55
|
Lukáš Vlček
|
},
|
1648 |
4bc99591
|
Lukáš Vlček
|
/**
|
1649 |
19b68a2e
|
Lukáš Vlček
|
*
|
1650 |
|
|
* @param {string} annotationId
|
1651 |
|
|
* @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest]
|
1652 |
4bc99591
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1653 |
|
|
* @throws {RequiredError}
|
1654 |
|
|
*/
|
1655 |
19b68a2e
|
Lukáš Vlček
|
async annotationAnnotationIdPost(annotationId: string, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
1656 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdPost(annotationId, annotationInstanceAddRequest, options);
|
1657 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1658 |
4bc99591
|
Lukáš Vlček
|
},
|
1659 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1660 |
|
|
*
|
1661 |
|
|
* @param {string} annotationId
|
1662 |
|
|
* @param {string} occurenceId
|
1663 |
|
|
* @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest]
|
1664 |
|
|
* @param {*} [options] Override http request option.
|
1665 |
|
|
* @throws {RequiredError}
|
1666 |
|
|
*/
|
1667 |
|
|
async annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
1668 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, addNoteToTagOccurenceRequest, options);
|
1669 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1670 |
|
|
},
|
1671 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1672 |
19b68a2e
|
Lukáš Vlček
|
*
|
1673 |
|
|
* @param {AnnotationsAddRequest} [annotationsAddRequest]
|
1674 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1675 |
|
|
* @throws {RequiredError}
|
1676 |
|
|
*/
|
1677 |
19b68a2e
|
Lukáš Vlček
|
async annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
1678 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationsPost(annotationsAddRequest, options);
|
1679 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1680 |
3e6b15a7
|
Lukáš Vlček
|
},
|
1681 |
19b68a2e
|
Lukáš Vlček
|
}
|
1682 |
3e6b15a7
|
Lukáš Vlček
|
};
|
1683 |
|
|
|
1684 |
|
|
/**
|
1685 |
|
|
* AnnotationApi - factory interface
|
1686 |
|
|
* @export
|
1687 |
|
|
*/
|
1688 |
19b68a2e
|
Lukáš Vlček
|
export const AnnotationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
1689 |
|
|
const localVarFp = AnnotationApiFp(configuration)
|
1690 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
1691 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
1692 |
|
|
*
|
1693 |
|
|
* @param {string} annotationId
|
1694 |
|
|
* @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest]
|
1695 |
|
|
* @param {*} [options] Override http request option.
|
1696 |
|
|
* @throws {RequiredError}
|
1697 |
|
|
*/
|
1698 |
|
|
annotationAnnotationIdDonePut(annotationId: string, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: any): AxiosPromise<void> {
|
1699 |
|
|
return localVarFp.annotationAnnotationIdDonePut(annotationId, markAnnotationDoneRequest, options).then((request) => request(axios, basePath));
|
1700 |
|
|
},
|
1701 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1702 |
19b68a2e
|
Lukáš Vlček
|
*
|
1703 |
|
|
* @param {string} annotationId
|
1704 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1705 |
|
|
* @throws {RequiredError}
|
1706 |
|
|
*/
|
1707 |
19b68a2e
|
Lukáš Vlček
|
annotationAnnotationIdGet(annotationId: string, options?: any): AxiosPromise<AnnotationInfo> {
|
1708 |
|
|
return localVarFp.annotationAnnotationIdGet(annotationId, options).then((request) => request(axios, basePath));
|
1709 |
3e6b15a7
|
Lukáš Vlček
|
},
|
1710 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1711 |
|
|
*
|
1712 |
|
|
* @param {string} annotationId
|
1713 |
|
|
* @param {string} instanceId
|
1714 |
|
|
* @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest]
|
1715 |
|
|
* @param {*} [options] Override http request option.
|
1716 |
|
|
* @throws {RequiredError}
|
1717 |
|
|
*/
|
1718 |
|
|
annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: any): AxiosPromise<void> {
|
1719 |
|
|
return localVarFp.annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, setInstanceSentimentRequest, options).then((request) => request(axios, basePath));
|
1720 |
|
|
},
|
1721 |
|
|
/**
|
1722 |
|
|
*
|
1723 |
|
|
* @param {string} annotationId
|
1724 |
|
|
* @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest]
|
1725 |
|
|
* @param {*} [options] Override http request option.
|
1726 |
|
|
* @throws {RequiredError}
|
1727 |
|
|
*/
|
1728 |
|
|
annotationAnnotationIdNotePost(annotationId: string, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: any): AxiosPromise<void> {
|
1729 |
|
|
return localVarFp.annotationAnnotationIdNotePost(annotationId, addNoteToAnnotationRequest, options).then((request) => request(axios, basePath));
|
1730 |
|
|
},
|
1731 |
9fdb7d55
|
Lukáš Vlček
|
/**
|
1732 |
19b68a2e
|
Lukáš Vlček
|
*
|
1733 |
|
|
* @param {string} annotationId
|
1734 |
|
|
* @param {string} occurenceId
|
1735 |
9fdb7d55
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1736 |
|
|
* @throws {RequiredError}
|
1737 |
|
|
*/
|
1738 |
19b68a2e
|
Lukáš Vlček
|
annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, options?: any): AxiosPromise<void> {
|
1739 |
|
|
return localVarFp.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, options).then((request) => request(axios, basePath));
|
1740 |
9fdb7d55
|
Lukáš Vlček
|
},
|
1741 |
4bc99591
|
Lukáš Vlček
|
/**
|
1742 |
19b68a2e
|
Lukáš Vlček
|
*
|
1743 |
|
|
* @param {string} annotationId
|
1744 |
|
|
* @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest]
|
1745 |
4bc99591
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1746 |
|
|
* @throws {RequiredError}
|
1747 |
|
|
*/
|
1748 |
19b68a2e
|
Lukáš Vlček
|
annotationAnnotationIdPost(annotationId: string, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: any): AxiosPromise<void> {
|
1749 |
|
|
return localVarFp.annotationAnnotationIdPost(annotationId, annotationInstanceAddRequest, options).then((request) => request(axios, basePath));
|
1750 |
4bc99591
|
Lukáš Vlček
|
},
|
1751 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1752 |
|
|
*
|
1753 |
|
|
* @param {string} annotationId
|
1754 |
|
|
* @param {string} occurenceId
|
1755 |
|
|
* @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest]
|
1756 |
|
|
* @param {*} [options] Override http request option.
|
1757 |
|
|
* @throws {RequiredError}
|
1758 |
|
|
*/
|
1759 |
|
|
annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: any): AxiosPromise<void> {
|
1760 |
|
|
return localVarFp.annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, addNoteToTagOccurenceRequest, options).then((request) => request(axios, basePath));
|
1761 |
|
|
},
|
1762 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1763 |
19b68a2e
|
Lukáš Vlček
|
*
|
1764 |
|
|
* @param {AnnotationsAddRequest} [annotationsAddRequest]
|
1765 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1766 |
|
|
* @throws {RequiredError}
|
1767 |
|
|
*/
|
1768 |
19b68a2e
|
Lukáš Vlček
|
annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: any): AxiosPromise<void> {
|
1769 |
|
|
return localVarFp.annotationsPost(annotationsAddRequest, options).then((request) => request(axios, basePath));
|
1770 |
3e6b15a7
|
Lukáš Vlček
|
},
|
1771 |
|
|
};
|
1772 |
|
|
};
|
1773 |
|
|
|
1774 |
|
|
/**
|
1775 |
|
|
* AnnotationApi - object-oriented interface
|
1776 |
|
|
* @export
|
1777 |
|
|
* @class AnnotationApi
|
1778 |
|
|
* @extends {BaseAPI}
|
1779 |
|
|
*/
|
1780 |
|
|
export class AnnotationApi extends BaseAPI {
|
1781 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
1782 |
|
|
*
|
1783 |
|
|
* @param {string} annotationId
|
1784 |
|
|
* @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest]
|
1785 |
|
|
* @param {*} [options] Override http request option.
|
1786 |
|
|
* @throws {RequiredError}
|
1787 |
|
|
* @memberof AnnotationApi
|
1788 |
|
|
*/
|
1789 |
|
|
public annotationAnnotationIdDonePut(annotationId: string, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: AxiosRequestConfig) {
|
1790 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdDonePut(annotationId, markAnnotationDoneRequest, options).then((request) => request(this.axios, this.basePath));
|
1791 |
|
|
}
|
1792 |
|
|
|
1793 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1794 |
19b68a2e
|
Lukáš Vlček
|
*
|
1795 |
|
|
* @param {string} annotationId
|
1796 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1797 |
|
|
* @throws {RequiredError}
|
1798 |
|
|
* @memberof AnnotationApi
|
1799 |
|
|
*/
|
1800 |
dd747fc5
|
Lukáš Vlček
|
public annotationAnnotationIdGet(annotationId: string, options?: AxiosRequestConfig) {
|
1801 |
19b68a2e
|
Lukáš Vlček
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdGet(annotationId, options).then((request) => request(this.axios, this.basePath));
|
1802 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1803 |
|
|
|
1804 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1805 |
|
|
*
|
1806 |
|
|
* @param {string} annotationId
|
1807 |
|
|
* @param {string} instanceId
|
1808 |
|
|
* @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest]
|
1809 |
|
|
* @param {*} [options] Override http request option.
|
1810 |
|
|
* @throws {RequiredError}
|
1811 |
|
|
* @memberof AnnotationApi
|
1812 |
|
|
*/
|
1813 |
|
|
public annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: AxiosRequestConfig) {
|
1814 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, setInstanceSentimentRequest, options).then((request) => request(this.axios, this.basePath));
|
1815 |
|
|
}
|
1816 |
|
|
|
1817 |
|
|
/**
|
1818 |
|
|
*
|
1819 |
|
|
* @param {string} annotationId
|
1820 |
|
|
* @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest]
|
1821 |
|
|
* @param {*} [options] Override http request option.
|
1822 |
|
|
* @throws {RequiredError}
|
1823 |
|
|
* @memberof AnnotationApi
|
1824 |
|
|
*/
|
1825 |
|
|
public annotationAnnotationIdNotePost(annotationId: string, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: AxiosRequestConfig) {
|
1826 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdNotePost(annotationId, addNoteToAnnotationRequest, options).then((request) => request(this.axios, this.basePath));
|
1827 |
|
|
}
|
1828 |
|
|
|
1829 |
9fdb7d55
|
Lukáš Vlček
|
/**
|
1830 |
19b68a2e
|
Lukáš Vlček
|
*
|
1831 |
|
|
* @param {string} annotationId
|
1832 |
|
|
* @param {string} occurenceId
|
1833 |
9fdb7d55
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1834 |
|
|
* @throws {RequiredError}
|
1835 |
|
|
* @memberof AnnotationApi
|
1836 |
|
|
*/
|
1837 |
19b68a2e
|
Lukáš Vlček
|
public annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, options?: AxiosRequestConfig) {
|
1838 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, options).then((request) => request(this.axios, this.basePath));
|
1839 |
9fdb7d55
|
Lukáš Vlček
|
}
|
1840 |
|
|
|
1841 |
4bc99591
|
Lukáš Vlček
|
/**
|
1842 |
19b68a2e
|
Lukáš Vlček
|
*
|
1843 |
|
|
* @param {string} annotationId
|
1844 |
|
|
* @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest]
|
1845 |
4bc99591
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1846 |
|
|
* @throws {RequiredError}
|
1847 |
|
|
* @memberof AnnotationApi
|
1848 |
|
|
*/
|
1849 |
19b68a2e
|
Lukáš Vlček
|
public annotationAnnotationIdPost(annotationId: string, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig) {
|
1850 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdPost(annotationId, annotationInstanceAddRequest, options).then((request) => request(this.axios, this.basePath));
|
1851 |
4bc99591
|
Lukáš Vlček
|
}
|
1852 |
|
|
|
1853 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1854 |
|
|
*
|
1855 |
|
|
* @param {string} annotationId
|
1856 |
|
|
* @param {string} occurenceId
|
1857 |
|
|
* @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest]
|
1858 |
|
|
* @param {*} [options] Override http request option.
|
1859 |
|
|
* @throws {RequiredError}
|
1860 |
|
|
* @memberof AnnotationApi
|
1861 |
|
|
*/
|
1862 |
|
|
public annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: AxiosRequestConfig) {
|
1863 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, addNoteToTagOccurenceRequest, options).then((request) => request(this.axios, this.basePath));
|
1864 |
|
|
}
|
1865 |
|
|
|
1866 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1867 |
19b68a2e
|
Lukáš Vlček
|
*
|
1868 |
|
|
* @param {AnnotationsAddRequest} [annotationsAddRequest]
|
1869 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1870 |
|
|
* @throws {RequiredError}
|
1871 |
|
|
* @memberof AnnotationApi
|
1872 |
|
|
*/
|
1873 |
19b68a2e
|
Lukáš Vlček
|
public annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig) {
|
1874 |
|
|
return AnnotationApiFp(this.configuration).annotationsPost(annotationsAddRequest, options).then((request) => request(this.axios, this.basePath));
|
1875 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1876 |
|
|
}
|
1877 |
|
|
|
1878 |
19b68a2e
|
Lukáš Vlček
|
|
1879 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1880 |
|
|
* AuthApi - axios parameter creator
|
1881 |
|
|
* @export
|
1882 |
|
|
*/
|
1883 |
|
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
1884 |
|
|
return {
|
1885 |
|
|
/**
|
1886 |
19b68a2e
|
Lukáš Vlček
|
*
|
1887 |
|
|
* @param {LoginRequest} [loginRequest]
|
1888 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1889 |
|
|
* @throws {RequiredError}
|
1890 |
|
|
*/
|
1891 |
19b68a2e
|
Lukáš Vlček
|
authLoginPost: async (loginRequest?: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1892 |
3e6b15a7
|
Lukáš Vlček
|
const localVarPath = `/auth/login`;
|
1893 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1894 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1895 |
|
|
let baseOptions;
|
1896 |
|
|
if (configuration) {
|
1897 |
|
|
baseOptions = configuration.baseOptions;
|
1898 |
|
|
}
|
1899 |
|
|
|
1900 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
1901 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
1902 |
|
|
const localVarQueryParameter = {} as any;
|
1903 |
|
|
|
1904 |
19b68a2e
|
Lukáš Vlček
|
|
1905 |
|
|
|
1906 |
3e6b15a7
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1907 |
|
|
|
1908 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1909 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1910 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1911 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
|
1912 |
3e6b15a7
|
Lukáš Vlček
|
|
1913 |
|
|
return {
|
1914 |
|
|
url: toPathString(localVarUrlObj),
|
1915 |
|
|
options: localVarRequestOptions,
|
1916 |
|
|
};
|
1917 |
|
|
},
|
1918 |
|
|
/**
|
1919 |
19b68a2e
|
Lukáš Vlček
|
*
|
1920 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1921 |
|
|
* @throws {RequiredError}
|
1922 |
|
|
*/
|
1923 |
|
|
authTestAaGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1924 |
|
|
const localVarPath = `/auth/test/aa`;
|
1925 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1926 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1927 |
|
|
let baseOptions;
|
1928 |
|
|
if (configuration) {
|
1929 |
|
|
baseOptions = configuration.baseOptions;
|
1930 |
|
|
}
|
1931 |
|
|
|
1932 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
1933 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
1934 |
|
|
const localVarQueryParameter = {} as any;
|
1935 |
|
|
|
1936 |
19b68a2e
|
Lukáš Vlček
|
|
1937 |
|
|
|
1938 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1939 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1940 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1941 |
3e6b15a7
|
Lukáš Vlček
|
|
1942 |
|
|
return {
|
1943 |
|
|
url: toPathString(localVarUrlObj),
|
1944 |
|
|
options: localVarRequestOptions,
|
1945 |
|
|
};
|
1946 |
|
|
},
|
1947 |
|
|
/**
|
1948 |
19b68a2e
|
Lukáš Vlček
|
*
|
1949 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1950 |
|
|
* @throws {RequiredError}
|
1951 |
|
|
*/
|
1952 |
|
|
authTestGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1953 |
|
|
const localVarPath = `/auth/test`;
|
1954 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1955 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1956 |
|
|
let baseOptions;
|
1957 |
|
|
if (configuration) {
|
1958 |
|
|
baseOptions = configuration.baseOptions;
|
1959 |
|
|
}
|
1960 |
|
|
|
1961 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
1962 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
1963 |
|
|
const localVarQueryParameter = {} as any;
|
1964 |
|
|
|
1965 |
19b68a2e
|
Lukáš Vlček
|
|
1966 |
|
|
|
1967 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1968 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1969 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1970 |
3e6b15a7
|
Lukáš Vlček
|
|
1971 |
|
|
return {
|
1972 |
|
|
url: toPathString(localVarUrlObj),
|
1973 |
|
|
options: localVarRequestOptions,
|
1974 |
|
|
};
|
1975 |
|
|
},
|
1976 |
19b68a2e
|
Lukáš Vlček
|
}
|
1977 |
3e6b15a7
|
Lukáš Vlček
|
};
|
1978 |
|
|
|
1979 |
|
|
/**
|
1980 |
|
|
* AuthApi - functional programming interface
|
1981 |
|
|
* @export
|
1982 |
|
|
*/
|
1983 |
19b68a2e
|
Lukáš Vlček
|
export const AuthApiFp = function(configuration?: Configuration) {
|
1984 |
|
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
1985 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
1986 |
|
|
/**
|
1987 |
19b68a2e
|
Lukáš Vlček
|
*
|
1988 |
|
|
* @param {LoginRequest} [loginRequest]
|
1989 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1990 |
|
|
* @throws {RequiredError}
|
1991 |
|
|
*/
|
1992 |
19b68a2e
|
Lukáš Vlček
|
async authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
|
1993 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authLoginPost(loginRequest, options);
|
1994 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1995 |
3e6b15a7
|
Lukáš Vlček
|
},
|
1996 |
|
|
/**
|
1997 |
19b68a2e
|
Lukáš Vlček
|
*
|
1998 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1999 |
|
|
* @throws {RequiredError}
|
2000 |
|
|
*/
|
2001 |
19b68a2e
|
Lukáš Vlček
|
async authTestAaGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
|
2002 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authTestAaGet(options);
|
2003 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2004 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2005 |
|
|
/**
|
2006 |
19b68a2e
|
Lukáš Vlček
|
*
|
2007 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2008 |
|
|
* @throws {RequiredError}
|
2009 |
|
|
*/
|
2010 |
19b68a2e
|
Lukáš Vlček
|
async authTestGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
|
2011 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authTestGet(options);
|
2012 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2013 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2014 |
19b68a2e
|
Lukáš Vlček
|
}
|
2015 |
3e6b15a7
|
Lukáš Vlček
|
};
|
2016 |
|
|
|
2017 |
|
|
/**
|
2018 |
|
|
* AuthApi - factory interface
|
2019 |
|
|
* @export
|
2020 |
|
|
*/
|
2021 |
19b68a2e
|
Lukáš Vlček
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
2022 |
|
|
const localVarFp = AuthApiFp(configuration)
|
2023 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
2024 |
|
|
/**
|
2025 |
19b68a2e
|
Lukáš Vlček
|
*
|
2026 |
|
|
* @param {LoginRequest} [loginRequest]
|
2027 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2028 |
|
|
* @throws {RequiredError}
|
2029 |
|
|
*/
|
2030 |
19b68a2e
|
Lukáš Vlček
|
authLoginPost(loginRequest?: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
|
2031 |
|
|
return localVarFp.authLoginPost(loginRequest, options).then((request) => request(axios, basePath));
|
2032 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2033 |
|
|
/**
|
2034 |
19b68a2e
|
Lukáš Vlček
|
*
|
2035 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2036 |
|
|
* @throws {RequiredError}
|
2037 |
|
|
*/
|
2038 |
|
|
authTestAaGet(options?: any): AxiosPromise<ClientInfo> {
|
2039 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.authTestAaGet(options).then((request) => request(axios, basePath));
|
2040 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2041 |
|
|
/**
|
2042 |
19b68a2e
|
Lukáš Vlček
|
*
|
2043 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2044 |
|
|
* @throws {RequiredError}
|
2045 |
|
|
*/
|
2046 |
|
|
authTestGet(options?: any): AxiosPromise<ClientInfo> {
|
2047 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.authTestGet(options).then((request) => request(axios, basePath));
|
2048 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2049 |
|
|
};
|
2050 |
|
|
};
|
2051 |
|
|
|
2052 |
|
|
/**
|
2053 |
|
|
* AuthApi - object-oriented interface
|
2054 |
|
|
* @export
|
2055 |
|
|
* @class AuthApi
|
2056 |
|
|
* @extends {BaseAPI}
|
2057 |
|
|
*/
|
2058 |
|
|
export class AuthApi extends BaseAPI {
|
2059 |
|
|
/**
|
2060 |
19b68a2e
|
Lukáš Vlček
|
*
|
2061 |
|
|
* @param {LoginRequest} [loginRequest]
|
2062 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2063 |
|
|
* @throws {RequiredError}
|
2064 |
|
|
* @memberof AuthApi
|
2065 |
|
|
*/
|
2066 |
|
|
public authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig) {
|
2067 |
19b68a2e
|
Lukáš Vlček
|
return AuthApiFp(this.configuration).authLoginPost(loginRequest, options).then((request) => request(this.axios, this.basePath));
|
2068 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2069 |
|
|
|
2070 |
|
|
/**
|
2071 |
19b68a2e
|
Lukáš Vlček
|
*
|
2072 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2073 |
|
|
* @throws {RequiredError}
|
2074 |
|
|
* @memberof AuthApi
|
2075 |
|
|
*/
|
2076 |
|
|
public authTestAaGet(options?: AxiosRequestConfig) {
|
2077 |
19b68a2e
|
Lukáš Vlček
|
return AuthApiFp(this.configuration).authTestAaGet(options).then((request) => request(this.axios, this.basePath));
|
2078 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2079 |
|
|
|
2080 |
|
|
/**
|
2081 |
19b68a2e
|
Lukáš Vlček
|
*
|
2082 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2083 |
|
|
* @throws {RequiredError}
|
2084 |
|
|
* @memberof AuthApi
|
2085 |
|
|
*/
|
2086 |
|
|
public authTestGet(options?: AxiosRequestConfig) {
|
2087 |
19b68a2e
|
Lukáš Vlček
|
return AuthApiFp(this.configuration).authTestGet(options).then((request) => request(this.axios, this.basePath));
|
2088 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2089 |
|
|
}
|
2090 |
|
|
|
2091 |
19b68a2e
|
Lukáš Vlček
|
|
2092 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2093 |
|
|
* DocumentApi - axios parameter creator
|
2094 |
|
|
* @export
|
2095 |
|
|
*/
|
2096 |
|
|
export const DocumentApiAxiosParamCreator = function (configuration?: Configuration) {
|
2097 |
|
|
return {
|
2098 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2099 |
|
|
*
|
2100 |
|
|
* @param {string} documentId
|
2101 |
|
|
* @param {*} [options] Override http request option.
|
2102 |
|
|
* @throws {RequiredError}
|
2103 |
|
|
*/
|
2104 |
|
|
documentDocumentIdGet: async (documentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2105 |
|
|
// verify required parameter 'documentId' is not null or undefined
|
2106 |
|
|
assertParamExists('documentDocumentIdGet', 'documentId', documentId)
|
2107 |
|
|
const localVarPath = `/document/{documentId}`
|
2108 |
|
|
.replace(`{${"documentId"}}`, encodeURIComponent(String(documentId)));
|
2109 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2110 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2111 |
|
|
let baseOptions;
|
2112 |
|
|
if (configuration) {
|
2113 |
|
|
baseOptions = configuration.baseOptions;
|
2114 |
|
|
}
|
2115 |
|
|
|
2116 |
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
2117 |
|
|
const localVarHeaderParameter = {} as any;
|
2118 |
|
|
const localVarQueryParameter = {} as any;
|
2119 |
|
|
|
2120 |
|
|
|
2121 |
|
|
|
2122 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2123 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2124 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2125 |
|
|
|
2126 |
|
|
return {
|
2127 |
|
|
url: toPathString(localVarUrlObj),
|
2128 |
|
|
options: localVarRequestOptions,
|
2129 |
|
|
};
|
2130 |
|
|
},
|
2131 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2132 |
19b68a2e
|
Lukáš Vlček
|
*
|
2133 |
|
|
* @param {number} [pageIndex]
|
2134 |
|
|
* @param {number} [pageSize]
|
2135 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2136 |
|
|
* @throws {RequiredError}
|
2137 |
|
|
*/
|
2138 |
19b68a2e
|
Lukáš Vlček
|
documentsGet: async (pageIndex?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2139 |
3e6b15a7
|
Lukáš Vlček
|
const localVarPath = `/documents`;
|
2140 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2141 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2142 |
|
|
let baseOptions;
|
2143 |
|
|
if (configuration) {
|
2144 |
|
|
baseOptions = configuration.baseOptions;
|
2145 |
|
|
}
|
2146 |
|
|
|
2147 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
2148 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2149 |
|
|
const localVarQueryParameter = {} as any;
|
2150 |
|
|
|
2151 |
dd747fc5
|
Lukáš Vlček
|
if (pageIndex !== undefined) {
|
2152 |
|
|
localVarQueryParameter['pageIndex'] = pageIndex;
|
2153 |
|
|
}
|
2154 |
3e6b15a7
|
Lukáš Vlček
|
|
2155 |
dd747fc5
|
Lukáš Vlček
|
if (pageSize !== undefined) {
|
2156 |
|
|
localVarQueryParameter['pageSize'] = pageSize;
|
2157 |
|
|
}
|
2158 |
3e6b15a7
|
Lukáš Vlček
|
|
2159 |
19b68a2e
|
Lukáš Vlček
|
|
2160 |
|
|
|
2161 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2162 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2163 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2164 |
3e6b15a7
|
Lukáš Vlček
|
|
2165 |
|
|
return {
|
2166 |
|
|
url: toPathString(localVarUrlObj),
|
2167 |
|
|
options: localVarRequestOptions,
|
2168 |
|
|
};
|
2169 |
|
|
},
|
2170 |
|
|
/**
|
2171 |
19b68a2e
|
Lukáš Vlček
|
*
|
2172 |
|
|
* @param {DocumentAddRequest} [documentAddRequest]
|
2173 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2174 |
|
|
* @throws {RequiredError}
|
2175 |
|
|
*/
|
2176 |
19b68a2e
|
Lukáš Vlček
|
documentsPost: async (documentAddRequest?: DocumentAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2177 |
3e6b15a7
|
Lukáš Vlček
|
const localVarPath = `/documents`;
|
2178 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2179 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2180 |
|
|
let baseOptions;
|
2181 |
|
|
if (configuration) {
|
2182 |
|
|
baseOptions = configuration.baseOptions;
|
2183 |
|
|
}
|
2184 |
|
|
|
2185 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2186 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2187 |
|
|
const localVarQueryParameter = {} as any;
|
2188 |
|
|
|
2189 |
19b68a2e
|
Lukáš Vlček
|
|
2190 |
|
|
|
2191 |
3e6b15a7
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2192 |
|
|
|
2193 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2194 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2195 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2196 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(documentAddRequest, localVarRequestOptions, configuration)
|
2197 |
|
|
|
2198 |
|
|
return {
|
2199 |
|
|
url: toPathString(localVarUrlObj),
|
2200 |
|
|
options: localVarRequestOptions,
|
2201 |
9bfa1e39
|
Jaroslav Hrubý
|
};
|
2202 |
19b68a2e
|
Lukáš Vlček
|
},
|
2203 |
|
|
/**
|
2204 |
|
|
*
|
2205 |
|
|
* @param {*} [options] Override http request option.
|
2206 |
|
|
* @throws {RequiredError}
|
2207 |
|
|
*/
|
2208 |
|
|
documentsRequiredAnnotationsGlobalGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2209 |
|
|
const localVarPath = `/documents/requiredAnnotations/global`;
|
2210 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2211 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2212 |
|
|
let baseOptions;
|
2213 |
|
|
if (configuration) {
|
2214 |
|
|
baseOptions = configuration.baseOptions;
|
2215 |
|
|
}
|
2216 |
|
|
|
2217 |
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
2218 |
|
|
const localVarHeaderParameter = {} as any;
|
2219 |
|
|
const localVarQueryParameter = {} as any;
|
2220 |
|
|
|
2221 |
|
|
|
2222 |
|
|
|
2223 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2224 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2225 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2226 |
3e6b15a7
|
Lukáš Vlček
|
|
2227 |
|
|
return {
|
2228 |
|
|
url: toPathString(localVarUrlObj),
|
2229 |
|
|
options: localVarRequestOptions,
|
2230 |
|
|
};
|
2231 |
|
|
},
|
2232 |
19b68a2e
|
Lukáš Vlček
|
/**
|
2233 |
|
|
*
|
2234 |
|
|
* @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest]
|
2235 |
|
|
* @param {*} [options] Override http request option.
|
2236 |
|
|
* @throws {RequiredError}
|
2237 |
|
|
*/
|
2238 |
|
|
documentsRequiredAnnotationsGlobalPost: async (setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2239 |
|
|
const localVarPath = `/documents/requiredAnnotations/global`;
|
2240 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2241 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2242 |
|
|
let baseOptions;
|
2243 |
|
|
if (configuration) {
|
2244 |
|
|
baseOptions = configuration.baseOptions;
|
2245 |
|
|
}
|
2246 |
|
|
|
2247 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2248 |
|
|
const localVarHeaderParameter = {} as any;
|
2249 |
|
|
const localVarQueryParameter = {} as any;
|
2250 |
|
|
|
2251 |
|
|
|
2252 |
|
|
|
2253 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2254 |
|
|
|
2255 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2256 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2257 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2258 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(setRequiredAnnotationsGlobalRequest, localVarRequestOptions, configuration)
|
2259 |
|
|
|
2260 |
|
|
return {
|
2261 |
|
|
url: toPathString(localVarUrlObj),
|
2262 |
|
|
options: localVarRequestOptions,
|
2263 |
|
|
};
|
2264 |
|
|
},
|
2265 |
|
|
/**
|
2266 |
|
|
*
|
2267 |
|
|
* @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest]
|
2268 |
|
|
* @param {*} [options] Override http request option.
|
2269 |
|
|
* @throws {RequiredError}
|
2270 |
|
|
*/
|
2271 |
|
|
documentsRequiredAnnotationsPost: async (setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2272 |
|
|
const localVarPath = `/documents/requiredAnnotations`;
|
2273 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2274 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2275 |
|
|
let baseOptions;
|
2276 |
|
|
if (configuration) {
|
2277 |
|
|
baseOptions = configuration.baseOptions;
|
2278 |
|
|
}
|
2279 |
|
|
|
2280 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2281 |
|
|
const localVarHeaderParameter = {} as any;
|
2282 |
|
|
const localVarQueryParameter = {} as any;
|
2283 |
|
|
|
2284 |
|
|
|
2285 |
|
|
|
2286 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2287 |
|
|
|
2288 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2289 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2290 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2291 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(setRequiredAnnotationsRequest, localVarRequestOptions, configuration)
|
2292 |
|
|
|
2293 |
|
|
return {
|
2294 |
|
|
url: toPathString(localVarUrlObj),
|
2295 |
|
|
options: localVarRequestOptions,
|
2296 |
|
|
};
|
2297 |
|
|
},
|
2298 |
|
|
}
|
2299 |
3e6b15a7
|
Lukáš Vlček
|
};
|
2300 |
|
|
|
2301 |
|
|
/**
|
2302 |
|
|
* DocumentApi - functional programming interface
|
2303 |
|
|
* @export
|
2304 |
|
|
*/
|
2305 |
19b68a2e
|
Lukáš Vlček
|
export const DocumentApiFp = function(configuration?: Configuration) {
|
2306 |
|
|
const localVarAxiosParamCreator = DocumentApiAxiosParamCreator(configuration)
|
2307 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
2308 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2309 |
|
|
*
|
2310 |
|
|
* @param {string} documentId
|
2311 |
|
|
* @param {*} [options] Override http request option.
|
2312 |
|
|
* @throws {RequiredError}
|
2313 |
|
|
*/
|
2314 |
|
|
async documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentPreviewResponse>> {
|
2315 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentDocumentIdGet(documentId, options);
|
2316 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2317 |
|
|
},
|
2318 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2319 |
19b68a2e
|
Lukáš Vlček
|
*
|
2320 |
|
|
* @param {number} [pageIndex]
|
2321 |
|
|
* @param {number} [pageSize]
|
2322 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2323 |
|
|
* @throws {RequiredError}
|
2324 |
|
|
*/
|
2325 |
19b68a2e
|
Lukáš Vlček
|
async documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentListResponse>> {
|
2326 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsGet(pageIndex, pageSize, options);
|
2327 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2328 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2329 |
|
|
/**
|
2330 |
19b68a2e
|
Lukáš Vlček
|
*
|
2331 |
|
|
* @param {DocumentAddRequest} [documentAddRequest]
|
2332 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2333 |
|
|
* @throws {RequiredError}
|
2334 |
|
|
*/
|
2335 |
19b68a2e
|
Lukáš Vlček
|
async documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2336 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsPost(documentAddRequest, options);
|
2337 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2338 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2339 |
19b68a2e
|
Lukáš Vlček
|
/**
|
2340 |
|
|
*
|
2341 |
|
|
* @param {*} [options] Override http request option.
|
2342 |
|
|
* @throws {RequiredError}
|
2343 |
|
|
*/
|
2344 |
|
|
async documentsRequiredAnnotationsGlobalGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRequiredAnnotationsGlobalResponse>> {
|
2345 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsGlobalGet(options);
|
2346 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2347 |
|
|
},
|
2348 |
|
|
/**
|
2349 |
|
|
*
|
2350 |
|
|
* @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest]
|
2351 |
|
|
* @param {*} [options] Override http request option.
|
2352 |
|
|
* @throws {RequiredError}
|
2353 |
|
|
*/
|
2354 |
|
|
async documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2355 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options);
|
2356 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2357 |
|
|
},
|
2358 |
|
|
/**
|
2359 |
|
|
*
|
2360 |
|
|
* @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest]
|
2361 |
|
|
* @param {*} [options] Override http request option.
|
2362 |
|
|
* @throws {RequiredError}
|
2363 |
|
|
*/
|
2364 |
|
|
async documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2365 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options);
|
2366 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2367 |
|
|
},
|
2368 |
|
|
}
|
2369 |
3e6b15a7
|
Lukáš Vlček
|
};
|
2370 |
|
|
|
2371 |
|
|
/**
|
2372 |
|
|
* DocumentApi - factory interface
|
2373 |
|
|
* @export
|
2374 |
|
|
*/
|
2375 |
19b68a2e
|
Lukáš Vlček
|
export const DocumentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
2376 |
|
|
const localVarFp = DocumentApiFp(configuration)
|
2377 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
2378 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2379 |
|
|
*
|
2380 |
|
|
* @param {string} documentId
|
2381 |
|
|
* @param {*} [options] Override http request option.
|
2382 |
|
|
* @throws {RequiredError}
|
2383 |
|
|
*/
|
2384 |
|
|
documentDocumentIdGet(documentId: string, options?: any): AxiosPromise<DocumentPreviewResponse> {
|
2385 |
|
|
return localVarFp.documentDocumentIdGet(documentId, options).then((request) => request(axios, basePath));
|
2386 |
|
|
},
|
2387 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2388 |
19b68a2e
|
Lukáš Vlček
|
*
|
2389 |
|
|
* @param {number} [pageIndex]
|
2390 |
|
|
* @param {number} [pageSize]
|
2391 |
|
|
* @param {*} [options] Override http request option.
|
2392 |
|
|
* @throws {RequiredError}
|
2393 |
|
|
*/
|
2394 |
|
|
documentsGet(pageIndex?: number, pageSize?: number, options?: any): AxiosPromise<DocumentListResponse> {
|
2395 |
|
|
return localVarFp.documentsGet(pageIndex, pageSize, options).then((request) => request(axios, basePath));
|
2396 |
|
|
},
|
2397 |
|
|
/**
|
2398 |
|
|
*
|
2399 |
|
|
* @param {DocumentAddRequest} [documentAddRequest]
|
2400 |
|
|
* @param {*} [options] Override http request option.
|
2401 |
|
|
* @throws {RequiredError}
|
2402 |
|
|
*/
|
2403 |
|
|
documentsPost(documentAddRequest?: DocumentAddRequest, options?: any): AxiosPromise<void> {
|
2404 |
|
|
return localVarFp.documentsPost(documentAddRequest, options).then((request) => request(axios, basePath));
|
2405 |
|
|
},
|
2406 |
|
|
/**
|
2407 |
|
|
*
|
2408 |
|
|
* @param {*} [options] Override http request option.
|
2409 |
|
|
* @throws {RequiredError}
|
2410 |
|
|
*/
|
2411 |
|
|
documentsRequiredAnnotationsGlobalGet(options?: any): AxiosPromise<GetRequiredAnnotationsGlobalResponse> {
|
2412 |
|
|
return localVarFp.documentsRequiredAnnotationsGlobalGet(options).then((request) => request(axios, basePath));
|
2413 |
|
|
},
|
2414 |
|
|
/**
|
2415 |
|
|
*
|
2416 |
|
|
* @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest]
|
2417 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2418 |
|
|
* @throws {RequiredError}
|
2419 |
|
|
*/
|
2420 |
19b68a2e
|
Lukáš Vlček
|
documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: any): AxiosPromise<void> {
|
2421 |
|
|
return localVarFp.documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options).then((request) => request(axios, basePath));
|
2422 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2423 |
|
|
/**
|
2424 |
19b68a2e
|
Lukáš Vlček
|
*
|
2425 |
|
|
* @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest]
|
2426 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2427 |
|
|
* @throws {RequiredError}
|
2428 |
|
|
*/
|
2429 |
19b68a2e
|
Lukáš Vlček
|
documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: any): AxiosPromise<void> {
|
2430 |
|
|
return localVarFp.documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options).then((request) => request(axios, basePath));
|
2431 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2432 |
|
|
};
|
2433 |
|
|
};
|
2434 |
|
|
|
2435 |
|
|
/**
|
2436 |
|
|
* DocumentApi - object-oriented interface
|
2437 |
|
|
* @export
|
2438 |
|
|
* @class DocumentApi
|
2439 |
|
|
* @extends {BaseAPI}
|
2440 |
|
|
*/
|
2441 |
|
|
export class DocumentApi extends BaseAPI {
|
2442 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2443 |
|
|
*
|
2444 |
|
|
* @param {string} documentId
|
2445 |
|
|
* @param {*} [options] Override http request option.
|
2446 |
|
|
* @throws {RequiredError}
|
2447 |
|
|
* @memberof DocumentApi
|
2448 |
|
|
*/
|
2449 |
|
|
public documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig) {
|
2450 |
|
|
return DocumentApiFp(this.configuration).documentDocumentIdGet(documentId, options).then((request) => request(this.axios, this.basePath));
|
2451 |
|
|
}
|
2452 |
|
|
|
2453 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2454 |
19b68a2e
|
Lukáš Vlček
|
*
|
2455 |
|
|
* @param {number} [pageIndex]
|
2456 |
|
|
* @param {number} [pageSize]
|
2457 |
|
|
* @param {*} [options] Override http request option.
|
2458 |
|
|
* @throws {RequiredError}
|
2459 |
|
|
* @memberof DocumentApi
|
2460 |
|
|
*/
|
2461 |
|
|
public documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
2462 |
|
|
return DocumentApiFp(this.configuration).documentsGet(pageIndex, pageSize, options).then((request) => request(this.axios, this.basePath));
|
2463 |
|
|
}
|
2464 |
|
|
|
2465 |
|
|
/**
|
2466 |
|
|
*
|
2467 |
|
|
* @param {DocumentAddRequest} [documentAddRequest]
|
2468 |
|
|
* @param {*} [options] Override http request option.
|
2469 |
|
|
* @throws {RequiredError}
|
2470 |
|
|
* @memberof DocumentApi
|
2471 |
|
|
*/
|
2472 |
|
|
public documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig) {
|
2473 |
|
|
return DocumentApiFp(this.configuration).documentsPost(documentAddRequest, options).then((request) => request(this.axios, this.basePath));
|
2474 |
|
|
}
|
2475 |
|
|
|
2476 |
|
|
/**
|
2477 |
|
|
*
|
2478 |
|
|
* @param {*} [options] Override http request option.
|
2479 |
|
|
* @throws {RequiredError}
|
2480 |
|
|
* @memberof DocumentApi
|
2481 |
|
|
*/
|
2482 |
|
|
public documentsRequiredAnnotationsGlobalGet(options?: AxiosRequestConfig) {
|
2483 |
|
|
return DocumentApiFp(this.configuration).documentsRequiredAnnotationsGlobalGet(options).then((request) => request(this.axios, this.basePath));
|
2484 |
|
|
}
|
2485 |
|
|
|
2486 |
|
|
/**
|
2487 |
|
|
*
|
2488 |
|
|
* @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest]
|
2489 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2490 |
|
|
* @throws {RequiredError}
|
2491 |
|
|
* @memberof DocumentApi
|
2492 |
|
|
*/
|
2493 |
19b68a2e
|
Lukáš Vlček
|
public documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: AxiosRequestConfig) {
|
2494 |
|
|
return DocumentApiFp(this.configuration).documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options).then((request) => request(this.axios, this.basePath));
|
2495 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2496 |
|
|
|
2497 |
|
|
/**
|
2498 |
19b68a2e
|
Lukáš Vlček
|
*
|
2499 |
|
|
* @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest]
|
2500 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2501 |
|
|
* @throws {RequiredError}
|
2502 |
|
|
* @memberof DocumentApi
|
2503 |
|
|
*/
|
2504 |
19b68a2e
|
Lukáš Vlček
|
public documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: AxiosRequestConfig) {
|
2505 |
|
|
return DocumentApiFp(this.configuration).documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options).then((request) => request(this.axios, this.basePath));
|
2506 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2507 |
|
|
}
|
2508 |
|
|
|
2509 |
19b68a2e
|
Lukáš Vlček
|
|
2510 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2511 |
|
|
* TagApi - axios parameter creator
|
2512 |
|
|
* @export
|
2513 |
|
|
*/
|
2514 |
|
|
export const TagApiAxiosParamCreator = function (configuration?: Configuration) {
|
2515 |
|
|
return {
|
2516 |
|
|
/**
|
2517 |
19b68a2e
|
Lukáš Vlček
|
*
|
2518 |
cca0bfa0
|
Lukáš Vlček
|
* @param {CreateCategoryRequest} [createCategoryRequest]
|
2519 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2520 |
|
|
* @throws {RequiredError}
|
2521 |
|
|
*/
|
2522 |
cca0bfa0
|
Lukáš Vlček
|
categoriesPost: async (createCategoryRequest?: CreateCategoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2523 |
|
|
const localVarPath = `/categories`;
|
2524 |
3e6b15a7
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2525 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2526 |
|
|
let baseOptions;
|
2527 |
|
|
if (configuration) {
|
2528 |
|
|
baseOptions = configuration.baseOptions;
|
2529 |
|
|
}
|
2530 |
|
|
|
2531 |
cca0bfa0
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2532 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2533 |
|
|
const localVarQueryParameter = {} as any;
|
2534 |
|
|
|
2535 |
19b68a2e
|
Lukáš Vlček
|
|
2536 |
|
|
|
2537 |
cca0bfa0
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2538 |
|
|
|
2539 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2540 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2541 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2542 |
cca0bfa0
|
Lukáš Vlček
|
localVarRequestOptions.data = serializeDataIfNeeded(createCategoryRequest, localVarRequestOptions, configuration)
|
2543 |
3e6b15a7
|
Lukáš Vlček
|
|
2544 |
|
|
return {
|
2545 |
|
|
url: toPathString(localVarUrlObj),
|
2546 |
|
|
options: localVarRequestOptions,
|
2547 |
|
|
};
|
2548 |
|
|
},
|
2549 |
|
|
/**
|
2550 |
19b68a2e
|
Lukáš Vlček
|
*
|
2551 |
cca0bfa0
|
Lukáš Vlček
|
* @param {string} categoryId
|
2552 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2553 |
|
|
* @throws {RequiredError}
|
2554 |
|
|
*/
|
2555 |
cca0bfa0
|
Lukáš Vlček
|
categoryCategoryIdDelete: async (categoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2556 |
|
|
// verify required parameter 'categoryId' is not null or undefined
|
2557 |
|
|
assertParamExists('categoryCategoryIdDelete', 'categoryId', categoryId)
|
2558 |
|
|
const localVarPath = `/category/{categoryId}`
|
2559 |
|
|
.replace(`{${"categoryId"}}`, encodeURIComponent(String(categoryId)));
|
2560 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2561 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2562 |
|
|
let baseOptions;
|
2563 |
|
|
if (configuration) {
|
2564 |
|
|
baseOptions = configuration.baseOptions;
|
2565 |
|
|
}
|
2566 |
|
|
|
2567 |
|
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
2568 |
|
|
const localVarHeaderParameter = {} as any;
|
2569 |
|
|
const localVarQueryParameter = {} as any;
|
2570 |
|
|
|
2571 |
|
|
|
2572 |
|
|
|
2573 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2574 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2575 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2576 |
|
|
|
2577 |
|
|
return {
|
2578 |
|
|
url: toPathString(localVarUrlObj),
|
2579 |
|
|
options: localVarRequestOptions,
|
2580 |
|
|
};
|
2581 |
|
|
},
|
2582 |
|
|
/**
|
2583 |
|
|
*
|
2584 |
|
|
* @param {string} categoryId
|
2585 |
|
|
* @param {ModifyCategoryRequest} [modifyCategoryRequest]
|
2586 |
|
|
* @param {*} [options] Override http request option.
|
2587 |
|
|
* @throws {RequiredError}
|
2588 |
|
|
*/
|
2589 |
|
|
categoryCategoryIdPut: async (categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2590 |
|
|
// verify required parameter 'categoryId' is not null or undefined
|
2591 |
|
|
assertParamExists('categoryCategoryIdPut', 'categoryId', categoryId)
|
2592 |
|
|
const localVarPath = `/category/{categoryId}`
|
2593 |
|
|
.replace(`{${"categoryId"}}`, encodeURIComponent(String(categoryId)));
|
2594 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2595 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2596 |
|
|
let baseOptions;
|
2597 |
|
|
if (configuration) {
|
2598 |
|
|
baseOptions = configuration.baseOptions;
|
2599 |
|
|
}
|
2600 |
|
|
|
2601 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
2602 |
|
|
const localVarHeaderParameter = {} as any;
|
2603 |
|
|
const localVarQueryParameter = {} as any;
|
2604 |
|
|
|
2605 |
|
|
|
2606 |
|
|
|
2607 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2608 |
|
|
|
2609 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2610 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2611 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2612 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(modifyCategoryRequest, localVarRequestOptions, configuration)
|
2613 |
|
|
|
2614 |
|
|
return {
|
2615 |
|
|
url: toPathString(localVarUrlObj),
|
2616 |
|
|
options: localVarRequestOptions,
|
2617 |
|
|
};
|
2618 |
|
|
},
|
2619 |
|
|
/**
|
2620 |
|
|
*
|
2621 |
|
|
* @param {string} subtagId
|
2622 |
|
|
* @param {*} [options] Override http request option.
|
2623 |
|
|
* @throws {RequiredError}
|
2624 |
|
|
*/
|
2625 |
|
|
subtagSubtagIdDelete: async (subtagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2626 |
|
|
// verify required parameter 'subtagId' is not null or undefined
|
2627 |
|
|
assertParamExists('subtagSubtagIdDelete', 'subtagId', subtagId)
|
2628 |
|
|
const localVarPath = `/subtag/{subtagId}`
|
2629 |
|
|
.replace(`{${"subtagId"}}`, encodeURIComponent(String(subtagId)));
|
2630 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2631 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2632 |
|
|
let baseOptions;
|
2633 |
|
|
if (configuration) {
|
2634 |
|
|
baseOptions = configuration.baseOptions;
|
2635 |
|
|
}
|
2636 |
|
|
|
2637 |
|
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
2638 |
|
|
const localVarHeaderParameter = {} as any;
|
2639 |
|
|
const localVarQueryParameter = {} as any;
|
2640 |
|
|
|
2641 |
|
|
|
2642 |
|
|
|
2643 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2644 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2645 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2646 |
|
|
|
2647 |
|
|
return {
|
2648 |
|
|
url: toPathString(localVarUrlObj),
|
2649 |
|
|
options: localVarRequestOptions,
|
2650 |
|
|
};
|
2651 |
|
|
},
|
2652 |
|
|
/**
|
2653 |
|
|
*
|
2654 |
|
|
* @param {string} subtagId
|
2655 |
|
|
* @param {ModifySubTagRequest} [modifySubTagRequest]
|
2656 |
|
|
* @param {*} [options] Override http request option.
|
2657 |
|
|
* @throws {RequiredError}
|
2658 |
|
|
*/
|
2659 |
|
|
subtagSubtagIdPut: async (subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2660 |
|
|
// verify required parameter 'subtagId' is not null or undefined
|
2661 |
|
|
assertParamExists('subtagSubtagIdPut', 'subtagId', subtagId)
|
2662 |
|
|
const localVarPath = `/subtag/{subtagId}`
|
2663 |
|
|
.replace(`{${"subtagId"}}`, encodeURIComponent(String(subtagId)));
|
2664 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2665 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2666 |
|
|
let baseOptions;
|
2667 |
|
|
if (configuration) {
|
2668 |
|
|
baseOptions = configuration.baseOptions;
|
2669 |
|
|
}
|
2670 |
|
|
|
2671 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
2672 |
|
|
const localVarHeaderParameter = {} as any;
|
2673 |
|
|
const localVarQueryParameter = {} as any;
|
2674 |
|
|
|
2675 |
|
|
|
2676 |
|
|
|
2677 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2678 |
|
|
|
2679 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2680 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2681 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2682 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(modifySubTagRequest, localVarRequestOptions, configuration)
|
2683 |
|
|
|
2684 |
|
|
return {
|
2685 |
|
|
url: toPathString(localVarUrlObj),
|
2686 |
|
|
options: localVarRequestOptions,
|
2687 |
|
|
};
|
2688 |
|
|
},
|
2689 |
|
|
/**
|
2690 |
|
|
*
|
2691 |
|
|
* @param {CreateSubTagRequest} [createSubTagRequest]
|
2692 |
|
|
* @param {*} [options] Override http request option.
|
2693 |
|
|
* @throws {RequiredError}
|
2694 |
|
|
*/
|
2695 |
|
|
subtagsPost: async (createSubTagRequest?: CreateSubTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2696 |
|
|
const localVarPath = `/subtags`;
|
2697 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2698 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2699 |
|
|
let baseOptions;
|
2700 |
|
|
if (configuration) {
|
2701 |
|
|
baseOptions = configuration.baseOptions;
|
2702 |
|
|
}
|
2703 |
|
|
|
2704 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2705 |
|
|
const localVarHeaderParameter = {} as any;
|
2706 |
|
|
const localVarQueryParameter = {} as any;
|
2707 |
|
|
|
2708 |
|
|
|
2709 |
|
|
|
2710 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2711 |
|
|
|
2712 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2713 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2714 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2715 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(createSubTagRequest, localVarRequestOptions, configuration)
|
2716 |
|
|
|
2717 |
|
|
return {
|
2718 |
|
|
url: toPathString(localVarUrlObj),
|
2719 |
|
|
options: localVarRequestOptions,
|
2720 |
|
|
};
|
2721 |
|
|
},
|
2722 |
|
|
/**
|
2723 |
|
|
*
|
2724 |
|
|
* @param {string} tagId
|
2725 |
|
|
* @param {*} [options] Override http request option.
|
2726 |
|
|
* @throws {RequiredError}
|
2727 |
|
|
*/
|
2728 |
|
|
tagTagIdDelete: async (tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2729 |
|
|
// verify required parameter 'tagId' is not null or undefined
|
2730 |
|
|
assertParamExists('tagTagIdDelete', 'tagId', tagId)
|
2731 |
|
|
const localVarPath = `/tag/{tagId}`
|
2732 |
|
|
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
2733 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2734 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2735 |
|
|
let baseOptions;
|
2736 |
|
|
if (configuration) {
|
2737 |
|
|
baseOptions = configuration.baseOptions;
|
2738 |
|
|
}
|
2739 |
|
|
|
2740 |
|
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
2741 |
|
|
const localVarHeaderParameter = {} as any;
|
2742 |
|
|
const localVarQueryParameter = {} as any;
|
2743 |
|
|
|
2744 |
|
|
|
2745 |
|
|
|
2746 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2747 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2748 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2749 |
|
|
|
2750 |
|
|
return {
|
2751 |
|
|
url: toPathString(localVarUrlObj),
|
2752 |
|
|
options: localVarRequestOptions,
|
2753 |
|
|
};
|
2754 |
|
|
},
|
2755 |
|
|
/**
|
2756 |
|
|
*
|
2757 |
|
|
* @param {string} tagId
|
2758 |
|
|
* @param {ModifyTagRequest} [modifyTagRequest]
|
2759 |
|
|
* @param {*} [options] Override http request option.
|
2760 |
|
|
* @throws {RequiredError}
|
2761 |
|
|
*/
|
2762 |
|
|
tagTagIdPut: async (tagId: string, modifyTagRequest?: ModifyTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2763 |
|
|
// verify required parameter 'tagId' is not null or undefined
|
2764 |
|
|
assertParamExists('tagTagIdPut', 'tagId', tagId)
|
2765 |
|
|
const localVarPath = `/tag/{tagId}`
|
2766 |
|
|
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
2767 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2768 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2769 |
|
|
let baseOptions;
|
2770 |
|
|
if (configuration) {
|
2771 |
|
|
baseOptions = configuration.baseOptions;
|
2772 |
|
|
}
|
2773 |
|
|
|
2774 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
2775 |
|
|
const localVarHeaderParameter = {} as any;
|
2776 |
|
|
const localVarQueryParameter = {} as any;
|
2777 |
|
|
|
2778 |
|
|
|
2779 |
|
|
|
2780 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2781 |
|
|
|
2782 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2783 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2784 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2785 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(modifyTagRequest, localVarRequestOptions, configuration)
|
2786 |
|
|
|
2787 |
|
|
return {
|
2788 |
|
|
url: toPathString(localVarUrlObj),
|
2789 |
|
|
options: localVarRequestOptions,
|
2790 |
|
|
};
|
2791 |
|
|
},
|
2792 |
|
|
/**
|
2793 |
|
|
*
|
2794 |
|
|
* @param {*} [options] Override http request option.
|
2795 |
|
|
* @throws {RequiredError}
|
2796 |
|
|
*/
|
2797 |
|
|
tagsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2798 |
|
|
const localVarPath = `/tags`;
|
2799 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2800 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2801 |
|
|
let baseOptions;
|
2802 |
|
|
if (configuration) {
|
2803 |
|
|
baseOptions = configuration.baseOptions;
|
2804 |
|
|
}
|
2805 |
|
|
|
2806 |
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
2807 |
|
|
const localVarHeaderParameter = {} as any;
|
2808 |
|
|
const localVarQueryParameter = {} as any;
|
2809 |
|
|
|
2810 |
|
|
|
2811 |
|
|
|
2812 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2813 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2814 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2815 |
|
|
|
2816 |
|
|
return {
|
2817 |
|
|
url: toPathString(localVarUrlObj),
|
2818 |
|
|
options: localVarRequestOptions,
|
2819 |
|
|
};
|
2820 |
|
|
},
|
2821 |
|
|
/**
|
2822 |
|
|
*
|
2823 |
|
|
* @param {CreateTagRequest} [createTagRequest]
|
2824 |
|
|
* @param {*} [options] Override http request option.
|
2825 |
|
|
* @throws {RequiredError}
|
2826 |
|
|
*/
|
2827 |
|
|
tagsPost: async (createTagRequest?: CreateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2828 |
|
|
const localVarPath = `/tags`;
|
2829 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2830 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2831 |
|
|
let baseOptions;
|
2832 |
|
|
if (configuration) {
|
2833 |
|
|
baseOptions = configuration.baseOptions;
|
2834 |
|
|
}
|
2835 |
|
|
|
2836 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2837 |
|
|
const localVarHeaderParameter = {} as any;
|
2838 |
|
|
const localVarQueryParameter = {} as any;
|
2839 |
|
|
|
2840 |
|
|
|
2841 |
|
|
|
2842 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2843 |
|
|
|
2844 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2845 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2846 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2847 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(createTagRequest, localVarRequestOptions, configuration)
|
2848 |
|
|
|
2849 |
|
|
return {
|
2850 |
|
|
url: toPathString(localVarUrlObj),
|
2851 |
|
|
options: localVarRequestOptions,
|
2852 |
|
|
};
|
2853 |
|
|
},
|
2854 |
|
|
}
|
2855 |
|
|
};
|
2856 |
|
|
|
2857 |
|
|
/**
|
2858 |
|
|
* TagApi - functional programming interface
|
2859 |
|
|
* @export
|
2860 |
|
|
*/
|
2861 |
|
|
export const TagApiFp = function(configuration?: Configuration) {
|
2862 |
|
|
const localVarAxiosParamCreator = TagApiAxiosParamCreator(configuration)
|
2863 |
|
|
return {
|
2864 |
|
|
/**
|
2865 |
|
|
*
|
2866 |
|
|
* @param {CreateCategoryRequest} [createCategoryRequest]
|
2867 |
|
|
* @param {*} [options] Override http request option.
|
2868 |
|
|
* @throws {RequiredError}
|
2869 |
|
|
*/
|
2870 |
|
|
async categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2871 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.categoriesPost(createCategoryRequest, options);
|
2872 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2873 |
|
|
},
|
2874 |
|
|
/**
|
2875 |
|
|
*
|
2876 |
|
|
* @param {string} categoryId
|
2877 |
|
|
* @param {*} [options] Override http request option.
|
2878 |
|
|
* @throws {RequiredError}
|
2879 |
|
|
*/
|
2880 |
|
|
async categoryCategoryIdDelete(categoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2881 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.categoryCategoryIdDelete(categoryId, options);
|
2882 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2883 |
|
|
},
|
2884 |
|
|
/**
|
2885 |
|
|
*
|
2886 |
|
|
* @param {string} categoryId
|
2887 |
|
|
* @param {ModifyCategoryRequest} [modifyCategoryRequest]
|
2888 |
|
|
* @param {*} [options] Override http request option.
|
2889 |
|
|
* @throws {RequiredError}
|
2890 |
|
|
*/
|
2891 |
|
|
async categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2892 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.categoryCategoryIdPut(categoryId, modifyCategoryRequest, options);
|
2893 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2894 |
|
|
},
|
2895 |
|
|
/**
|
2896 |
|
|
*
|
2897 |
|
|
* @param {string} subtagId
|
2898 |
|
|
* @param {*} [options] Override http request option.
|
2899 |
|
|
* @throws {RequiredError}
|
2900 |
|
|
*/
|
2901 |
|
|
async subtagSubtagIdDelete(subtagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2902 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subtagSubtagIdDelete(subtagId, options);
|
2903 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2904 |
|
|
},
|
2905 |
|
|
/**
|
2906 |
|
|
*
|
2907 |
|
|
* @param {string} subtagId
|
2908 |
|
|
* @param {ModifySubTagRequest} [modifySubTagRequest]
|
2909 |
|
|
* @param {*} [options] Override http request option.
|
2910 |
|
|
* @throws {RequiredError}
|
2911 |
|
|
*/
|
2912 |
|
|
async subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2913 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subtagSubtagIdPut(subtagId, modifySubTagRequest, options);
|
2914 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2915 |
|
|
},
|
2916 |
|
|
/**
|
2917 |
|
|
*
|
2918 |
|
|
* @param {CreateSubTagRequest} [createSubTagRequest]
|
2919 |
|
|
* @param {*} [options] Override http request option.
|
2920 |
|
|
* @throws {RequiredError}
|
2921 |
|
|
*/
|
2922 |
|
|
async subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2923 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subtagsPost(createSubTagRequest, options);
|
2924 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2925 |
|
|
},
|
2926 |
|
|
/**
|
2927 |
|
|
*
|
2928 |
|
|
* @param {string} tagId
|
2929 |
|
|
* @param {*} [options] Override http request option.
|
2930 |
|
|
* @throws {RequiredError}
|
2931 |
|
|
*/
|
2932 |
|
|
async tagTagIdDelete(tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2933 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tagTagIdDelete(tagId, options);
|
2934 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2935 |
|
|
},
|
2936 |
|
|
/**
|
2937 |
|
|
*
|
2938 |
|
|
* @param {string} tagId
|
2939 |
|
|
* @param {ModifyTagRequest} [modifyTagRequest]
|
2940 |
|
|
* @param {*} [options] Override http request option.
|
2941 |
|
|
* @throws {RequiredError}
|
2942 |
|
|
*/
|
2943 |
|
|
async tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2944 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tagTagIdPut(tagId, modifyTagRequest, options);
|
2945 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2946 |
|
|
},
|
2947 |
|
|
/**
|
2948 |
|
|
*
|
2949 |
|
|
* @param {*} [options] Override http request option.
|
2950 |
|
|
* @throws {RequiredError}
|
2951 |
|
|
*/
|
2952 |
|
|
async tagsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagTreeResponse>> {
|
2953 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(options);
|
2954 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2955 |
|
|
},
|
2956 |
|
|
/**
|
2957 |
|
|
*
|
2958 |
|
|
* @param {CreateTagRequest} [createTagRequest]
|
2959 |
|
|
* @param {*} [options] Override http request option.
|
2960 |
|
|
* @throws {RequiredError}
|
2961 |
|
|
*/
|
2962 |
|
|
async tagsPost(createTagRequest?: CreateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2963 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsPost(createTagRequest, options);
|
2964 |
19b68a2e
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2965 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2966 |
19b68a2e
|
Lukáš Vlček
|
}
|
2967 |
3e6b15a7
|
Lukáš Vlček
|
};
|
2968 |
|
|
|
2969 |
|
|
/**
|
2970 |
|
|
* TagApi - factory interface
|
2971 |
|
|
* @export
|
2972 |
|
|
*/
|
2973 |
19b68a2e
|
Lukáš Vlček
|
export const TagApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
2974 |
|
|
const localVarFp = TagApiFp(configuration)
|
2975 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
2976 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2977 |
|
|
*
|
2978 |
|
|
* @param {CreateCategoryRequest} [createCategoryRequest]
|
2979 |
|
|
* @param {*} [options] Override http request option.
|
2980 |
|
|
* @throws {RequiredError}
|
2981 |
|
|
*/
|
2982 |
|
|
categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: any): AxiosPromise<void> {
|
2983 |
|
|
return localVarFp.categoriesPost(createCategoryRequest, options).then((request) => request(axios, basePath));
|
2984 |
|
|
},
|
2985 |
|
|
/**
|
2986 |
|
|
*
|
2987 |
|
|
* @param {string} categoryId
|
2988 |
|
|
* @param {*} [options] Override http request option.
|
2989 |
|
|
* @throws {RequiredError}
|
2990 |
|
|
*/
|
2991 |
|
|
categoryCategoryIdDelete(categoryId: string, options?: any): AxiosPromise<void> {
|
2992 |
|
|
return localVarFp.categoryCategoryIdDelete(categoryId, options).then((request) => request(axios, basePath));
|
2993 |
|
|
},
|
2994 |
|
|
/**
|
2995 |
|
|
*
|
2996 |
|
|
* @param {string} categoryId
|
2997 |
|
|
* @param {ModifyCategoryRequest} [modifyCategoryRequest]
|
2998 |
|
|
* @param {*} [options] Override http request option.
|
2999 |
|
|
* @throws {RequiredError}
|
3000 |
|
|
*/
|
3001 |
|
|
categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: any): AxiosPromise<void> {
|
3002 |
|
|
return localVarFp.categoryCategoryIdPut(categoryId, modifyCategoryRequest, options).then((request) => request(axios, basePath));
|
3003 |
|
|
},
|
3004 |
|
|
/**
|
3005 |
|
|
*
|
3006 |
|
|
* @param {string} subtagId
|
3007 |
|
|
* @param {*} [options] Override http request option.
|
3008 |
|
|
* @throws {RequiredError}
|
3009 |
|
|
*/
|
3010 |
|
|
subtagSubtagIdDelete(subtagId: string, options?: any): AxiosPromise<void> {
|
3011 |
|
|
return localVarFp.subtagSubtagIdDelete(subtagId, options).then((request) => request(axios, basePath));
|
3012 |
|
|
},
|
3013 |
|
|
/**
|
3014 |
|
|
*
|
3015 |
|
|
* @param {string} subtagId
|
3016 |
|
|
* @param {ModifySubTagRequest} [modifySubTagRequest]
|
3017 |
|
|
* @param {*} [options] Override http request option.
|
3018 |
|
|
* @throws {RequiredError}
|
3019 |
|
|
*/
|
3020 |
|
|
subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: any): AxiosPromise<void> {
|
3021 |
|
|
return localVarFp.subtagSubtagIdPut(subtagId, modifySubTagRequest, options).then((request) => request(axios, basePath));
|
3022 |
|
|
},
|
3023 |
|
|
/**
|
3024 |
|
|
*
|
3025 |
|
|
* @param {CreateSubTagRequest} [createSubTagRequest]
|
3026 |
|
|
* @param {*} [options] Override http request option.
|
3027 |
|
|
* @throws {RequiredError}
|
3028 |
|
|
*/
|
3029 |
|
|
subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: any): AxiosPromise<void> {
|
3030 |
|
|
return localVarFp.subtagsPost(createSubTagRequest, options).then((request) => request(axios, basePath));
|
3031 |
|
|
},
|
3032 |
|
|
/**
|
3033 |
|
|
*
|
3034 |
|
|
* @param {string} tagId
|
3035 |
|
|
* @param {*} [options] Override http request option.
|
3036 |
|
|
* @throws {RequiredError}
|
3037 |
|
|
*/
|
3038 |
|
|
tagTagIdDelete(tagId: string, options?: any): AxiosPromise<void> {
|
3039 |
|
|
return localVarFp.tagTagIdDelete(tagId, options).then((request) => request(axios, basePath));
|
3040 |
|
|
},
|
3041 |
|
|
/**
|
3042 |
|
|
*
|
3043 |
|
|
* @param {string} tagId
|
3044 |
|
|
* @param {ModifyTagRequest} [modifyTagRequest]
|
3045 |
|
|
* @param {*} [options] Override http request option.
|
3046 |
|
|
* @throws {RequiredError}
|
3047 |
|
|
*/
|
3048 |
|
|
tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: any): AxiosPromise<void> {
|
3049 |
|
|
return localVarFp.tagTagIdPut(tagId, modifyTagRequest, options).then((request) => request(axios, basePath));
|
3050 |
|
|
},
|
3051 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3052 |
19b68a2e
|
Lukáš Vlček
|
*
|
3053 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3054 |
|
|
* @throws {RequiredError}
|
3055 |
|
|
*/
|
3056 |
|
|
tagsGet(options?: any): AxiosPromise<TagTreeResponse> {
|
3057 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.tagsGet(options).then((request) => request(axios, basePath));
|
3058 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3059 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
3060 |
|
|
*
|
3061 |
|
|
* @param {CreateTagRequest} [createTagRequest]
|
3062 |
|
|
* @param {*} [options] Override http request option.
|
3063 |
|
|
* @throws {RequiredError}
|
3064 |
|
|
*/
|
3065 |
|
|
tagsPost(createTagRequest?: CreateTagRequest, options?: any): AxiosPromise<void> {
|
3066 |
|
|
return localVarFp.tagsPost(createTagRequest, options).then((request) => request(axios, basePath));
|
3067 |
|
|
},
|
3068 |
3e6b15a7
|
Lukáš Vlček
|
};
|
3069 |
|
|
};
|
3070 |
|
|
|
3071 |
|
|
/**
|
3072 |
|
|
* TagApi - object-oriented interface
|
3073 |
|
|
* @export
|
3074 |
|
|
* @class TagApi
|
3075 |
|
|
* @extends {BaseAPI}
|
3076 |
|
|
*/
|
3077 |
|
|
export class TagApi extends BaseAPI {
|
3078 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
3079 |
|
|
*
|
3080 |
|
|
* @param {CreateCategoryRequest} [createCategoryRequest]
|
3081 |
|
|
* @param {*} [options] Override http request option.
|
3082 |
|
|
* @throws {RequiredError}
|
3083 |
|
|
* @memberof TagApi
|
3084 |
|
|
*/
|
3085 |
|
|
public categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: AxiosRequestConfig) {
|
3086 |
|
|
return TagApiFp(this.configuration).categoriesPost(createCategoryRequest, options).then((request) => request(this.axios, this.basePath));
|
3087 |
|
|
}
|
3088 |
|
|
|
3089 |
|
|
/**
|
3090 |
|
|
*
|
3091 |
|
|
* @param {string} categoryId
|
3092 |
|
|
* @param {*} [options] Override http request option.
|
3093 |
|
|
* @throws {RequiredError}
|
3094 |
|
|
* @memberof TagApi
|
3095 |
|
|
*/
|
3096 |
|
|
public categoryCategoryIdDelete(categoryId: string, options?: AxiosRequestConfig) {
|
3097 |
|
|
return TagApiFp(this.configuration).categoryCategoryIdDelete(categoryId, options).then((request) => request(this.axios, this.basePath));
|
3098 |
|
|
}
|
3099 |
|
|
|
3100 |
|
|
/**
|
3101 |
|
|
*
|
3102 |
|
|
* @param {string} categoryId
|
3103 |
|
|
* @param {ModifyCategoryRequest} [modifyCategoryRequest]
|
3104 |
|
|
* @param {*} [options] Override http request option.
|
3105 |
|
|
* @throws {RequiredError}
|
3106 |
|
|
* @memberof TagApi
|
3107 |
|
|
*/
|
3108 |
|
|
public categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: AxiosRequestConfig) {
|
3109 |
|
|
return TagApiFp(this.configuration).categoryCategoryIdPut(categoryId, modifyCategoryRequest, options).then((request) => request(this.axios, this.basePath));
|
3110 |
|
|
}
|
3111 |
|
|
|
3112 |
|
|
/**
|
3113 |
|
|
*
|
3114 |
|
|
* @param {string} subtagId
|
3115 |
|
|
* @param {*} [options] Override http request option.
|
3116 |
|
|
* @throws {RequiredError}
|
3117 |
|
|
* @memberof TagApi
|
3118 |
|
|
*/
|
3119 |
|
|
public subtagSubtagIdDelete(subtagId: string, options?: AxiosRequestConfig) {
|
3120 |
|
|
return TagApiFp(this.configuration).subtagSubtagIdDelete(subtagId, options).then((request) => request(this.axios, this.basePath));
|
3121 |
|
|
}
|
3122 |
|
|
|
3123 |
|
|
/**
|
3124 |
|
|
*
|
3125 |
|
|
* @param {string} subtagId
|
3126 |
|
|
* @param {ModifySubTagRequest} [modifySubTagRequest]
|
3127 |
|
|
* @param {*} [options] Override http request option.
|
3128 |
|
|
* @throws {RequiredError}
|
3129 |
|
|
* @memberof TagApi
|
3130 |
|
|
*/
|
3131 |
|
|
public subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: AxiosRequestConfig) {
|
3132 |
|
|
return TagApiFp(this.configuration).subtagSubtagIdPut(subtagId, modifySubTagRequest, options).then((request) => request(this.axios, this.basePath));
|
3133 |
|
|
}
|
3134 |
|
|
|
3135 |
|
|
/**
|
3136 |
|
|
*
|
3137 |
|
|
* @param {CreateSubTagRequest} [createSubTagRequest]
|
3138 |
|
|
* @param {*} [options] Override http request option.
|
3139 |
|
|
* @throws {RequiredError}
|
3140 |
|
|
* @memberof TagApi
|
3141 |
|
|
*/
|
3142 |
|
|
public subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: AxiosRequestConfig) {
|
3143 |
|
|
return TagApiFp(this.configuration).subtagsPost(createSubTagRequest, options).then((request) => request(this.axios, this.basePath));
|
3144 |
|
|
}
|
3145 |
|
|
|
3146 |
|
|
/**
|
3147 |
|
|
*
|
3148 |
|
|
* @param {string} tagId
|
3149 |
|
|
* @param {*} [options] Override http request option.
|
3150 |
|
|
* @throws {RequiredError}
|
3151 |
|
|
* @memberof TagApi
|
3152 |
|
|
*/
|
3153 |
|
|
public tagTagIdDelete(tagId: string, options?: AxiosRequestConfig) {
|
3154 |
|
|
return TagApiFp(this.configuration).tagTagIdDelete(tagId, options).then((request) => request(this.axios, this.basePath));
|
3155 |
|
|
}
|
3156 |
|
|
|
3157 |
|
|
/**
|
3158 |
|
|
*
|
3159 |
|
|
* @param {string} tagId
|
3160 |
|
|
* @param {ModifyTagRequest} [modifyTagRequest]
|
3161 |
|
|
* @param {*} [options] Override http request option.
|
3162 |
|
|
* @throws {RequiredError}
|
3163 |
|
|
* @memberof TagApi
|
3164 |
|
|
*/
|
3165 |
|
|
public tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: AxiosRequestConfig) {
|
3166 |
|
|
return TagApiFp(this.configuration).tagTagIdPut(tagId, modifyTagRequest, options).then((request) => request(this.axios, this.basePath));
|
3167 |
|
|
}
|
3168 |
|
|
|
3169 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3170 |
19b68a2e
|
Lukáš Vlček
|
*
|
3171 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3172 |
|
|
* @throws {RequiredError}
|
3173 |
|
|
* @memberof TagApi
|
3174 |
|
|
*/
|
3175 |
|
|
public tagsGet(options?: AxiosRequestConfig) {
|
3176 |
19b68a2e
|
Lukáš Vlček
|
return TagApiFp(this.configuration).tagsGet(options).then((request) => request(this.axios, this.basePath));
|
3177 |
3e6b15a7
|
Lukáš Vlček
|
}
|
3178 |
cca0bfa0
|
Lukáš Vlček
|
|
3179 |
|
|
/**
|
3180 |
|
|
*
|
3181 |
|
|
* @param {CreateTagRequest} [createTagRequest]
|
3182 |
|
|
* @param {*} [options] Override http request option.
|
3183 |
|
|
* @throws {RequiredError}
|
3184 |
|
|
* @memberof TagApi
|
3185 |
|
|
*/
|
3186 |
|
|
public tagsPost(createTagRequest?: CreateTagRequest, options?: AxiosRequestConfig) {
|
3187 |
|
|
return TagApiFp(this.configuration).tagsPost(createTagRequest, options).then((request) => request(this.axios, this.basePath));
|
3188 |
|
|
}
|
3189 |
3e6b15a7
|
Lukáš Vlček
|
}
|
3190 |
|
|
|
3191 |
19b68a2e
|
Lukáš Vlček
|
|
3192 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3193 |
|
|
* UserApi - axios parameter creator
|
3194 |
|
|
* @export
|
3195 |
|
|
*/
|
3196 |
|
|
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
|
3197 |
|
|
return {
|
3198 |
|
|
/**
|
3199 |
19b68a2e
|
Lukáš Vlček
|
*
|
3200 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3201 |
|
|
* @throws {RequiredError}
|
3202 |
|
|
*/
|
3203 |
19b68a2e
|
Lukáš Vlček
|
userAnnotationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3204 |
3e6b15a7
|
Lukáš Vlček
|
const localVarPath = `/user/annotations`;
|
3205 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3206 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3207 |
|
|
let baseOptions;
|
3208 |
|
|
if (configuration) {
|
3209 |
|
|
baseOptions = configuration.baseOptions;
|
3210 |
|
|
}
|
3211 |
|
|
|
3212 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
3213 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
3214 |
|
|
const localVarQueryParameter = {} as any;
|
3215 |
|
|
|
3216 |
19b68a2e
|
Lukáš Vlček
|
|
3217 |
|
|
|
3218 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3219 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3220 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3221 |
3e6b15a7
|
Lukáš Vlček
|
|
3222 |
|
|
return {
|
3223 |
|
|
url: toPathString(localVarUrlObj),
|
3224 |
|
|
options: localVarRequestOptions,
|
3225 |
|
|
};
|
3226 |
|
|
},
|
3227 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
3228 |
19b68a2e
|
Lukáš Vlček
|
*
|
3229 |
|
|
* @param {string} userId
|
3230 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3231 |
|
|
* @throws {RequiredError}
|
3232 |
|
|
*/
|
3233 |
19b68a2e
|
Lukáš Vlček
|
userUserIdAnnotationsGet: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3234 |
43d49a98
|
Jaroslav Hrubý
|
// verify required parameter 'userId' is not null or undefined
|
3235 |
19b68a2e
|
Lukáš Vlček
|
assertParamExists('userUserIdAnnotationsGet', 'userId', userId)
|
3236 |
|
|
const localVarPath = `/user/{userId}/annotations`
|
3237 |
|
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
3238 |
43d49a98
|
Jaroslav Hrubý
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3239 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3240 |
|
|
let baseOptions;
|
3241 |
|
|
if (configuration) {
|
3242 |
|
|
baseOptions = configuration.baseOptions;
|
3243 |
|
|
}
|
3244 |
|
|
|
3245 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
3246 |
43d49a98
|
Jaroslav Hrubý
|
const localVarHeaderParameter = {} as any;
|
3247 |
|
|
const localVarQueryParameter = {} as any;
|
3248 |
|
|
|
3249 |
19b68a2e
|
Lukáš Vlček
|
|
3250 |
|
|
|
3251 |
43d49a98
|
Jaroslav Hrubý
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3252 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3253 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3254 |
43d49a98
|
Jaroslav Hrubý
|
|
3255 |
|
|
return {
|
3256 |
|
|
url: toPathString(localVarUrlObj),
|
3257 |
|
|
options: localVarRequestOptions,
|
3258 |
|
|
};
|
3259 |
|
|
},
|
3260 |
|
|
/**
|
3261 |
19b68a2e
|
Lukáš Vlček
|
*
|
3262 |
|
|
* @param {string} userId
|
3263 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3264 |
|
|
* @throws {RequiredError}
|
3265 |
|
|
*/
|
3266 |
19b68a2e
|
Lukáš Vlček
|
userUserIdDelete: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3267 |
43d49a98
|
Jaroslav Hrubý
|
// verify required parameter 'userId' is not null or undefined
|
3268 |
19b68a2e
|
Lukáš Vlček
|
assertParamExists('userUserIdDelete', 'userId', userId)
|
3269 |
|
|
const localVarPath = `/user/{userId}`
|
3270 |
|
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
3271 |
43d49a98
|
Jaroslav Hrubý
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3272 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3273 |
|
|
let baseOptions;
|
3274 |
|
|
if (configuration) {
|
3275 |
|
|
baseOptions = configuration.baseOptions;
|
3276 |
|
|
}
|
3277 |
|
|
|
3278 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
3279 |
43d49a98
|
Jaroslav Hrubý
|
const localVarHeaderParameter = {} as any;
|
3280 |
|
|
const localVarQueryParameter = {} as any;
|
3281 |
|
|
|
3282 |
19b68a2e
|
Lukáš Vlček
|
|
3283 |
|
|
|
3284 |
43d49a98
|
Jaroslav Hrubý
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3285 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3286 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3287 |
43d49a98
|
Jaroslav Hrubý
|
|
3288 |
|
|
return {
|
3289 |
|
|
url: toPathString(localVarUrlObj),
|
3290 |
|
|
options: localVarRequestOptions,
|
3291 |
|
|
};
|
3292 |
|
|
},
|
3293 |
|
|
/**
|
3294 |
19b68a2e
|
Lukáš Vlček
|
*
|
3295 |
|
|
* @param {string} userId
|
3296 |
|
|
* @param {ChangeUserInfoRequest} [changeUserInfoRequest]
|
3297 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3298 |
|
|
* @throws {RequiredError}
|
3299 |
|
|
*/
|
3300 |
19b68a2e
|
Lukáš Vlček
|
userUserIdPut: async (userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3301 |
43d49a98
|
Jaroslav Hrubý
|
// verify required parameter 'userId' is not null or undefined
|
3302 |
19b68a2e
|
Lukáš Vlček
|
assertParamExists('userUserIdPut', 'userId', userId)
|
3303 |
|
|
const localVarPath = `/user/{userId}`
|
3304 |
|
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
3305 |
43d49a98
|
Jaroslav Hrubý
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3306 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3307 |
|
|
let baseOptions;
|
3308 |
|
|
if (configuration) {
|
3309 |
|
|
baseOptions = configuration.baseOptions;
|
3310 |
|
|
}
|
3311 |
|
|
|
3312 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
3313 |
43d49a98
|
Jaroslav Hrubý
|
const localVarHeaderParameter = {} as any;
|
3314 |
|
|
const localVarQueryParameter = {} as any;
|
3315 |
|
|
|
3316 |
19b68a2e
|
Lukáš Vlček
|
|
3317 |
|
|
|
3318 |
43d49a98
|
Jaroslav Hrubý
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3319 |
|
|
|
3320 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3321 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3322 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3323 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(changeUserInfoRequest, localVarRequestOptions, configuration)
|
3324 |
43d49a98
|
Jaroslav Hrubý
|
|
3325 |
|
|
return {
|
3326 |
|
|
url: toPathString(localVarUrlObj),
|
3327 |
|
|
options: localVarRequestOptions,
|
3328 |
|
|
};
|
3329 |
|
|
},
|
3330 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3331 |
19b68a2e
|
Lukáš Vlček
|
*
|
3332 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3333 |
|
|
* @throws {RequiredError}
|
3334 |
|
|
*/
|
3335 |
|
|
usersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3336 |
|
|
const localVarPath = `/users`;
|
3337 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3338 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3339 |
|
|
let baseOptions;
|
3340 |
|
|
if (configuration) {
|
3341 |
|
|
baseOptions = configuration.baseOptions;
|
3342 |
|
|
}
|
3343 |
|
|
|
3344 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
3345 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
3346 |
|
|
const localVarQueryParameter = {} as any;
|
3347 |
|
|
|
3348 |
19b68a2e
|
Lukáš Vlček
|
|
3349 |
|
|
|
3350 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3351 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3352 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3353 |
3e6b15a7
|
Lukáš Vlček
|
|
3354 |
43d49a98
|
Jaroslav Hrubý
|
return {
|
3355 |
|
|
url: toPathString(localVarUrlObj),
|
3356 |
|
|
options: localVarRequestOptions,
|
3357 |
|
|
};
|
3358 |
|
|
},
|
3359 |
|
|
/**
|
3360 |
19b68a2e
|
Lukáš Vlček
|
*
|
3361 |
|
|
* @param {CreateUserRequest} [createUserRequest]
|
3362 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3363 |
|
|
* @throws {RequiredError}
|
3364 |
|
|
*/
|
3365 |
19b68a2e
|
Lukáš Vlček
|
usersPost: async (createUserRequest?: CreateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3366 |
43d49a98
|
Jaroslav Hrubý
|
const localVarPath = `/users`;
|
3367 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3368 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3369 |
|
|
let baseOptions;
|
3370 |
|
|
if (configuration) {
|
3371 |
|
|
baseOptions = configuration.baseOptions;
|
3372 |
|
|
}
|
3373 |
|
|
|
3374 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
3375 |
43d49a98
|
Jaroslav Hrubý
|
const localVarHeaderParameter = {} as any;
|
3376 |
|
|
const localVarQueryParameter = {} as any;
|
3377 |
|
|
|
3378 |
19b68a2e
|
Lukáš Vlček
|
|
3379 |
|
|
|
3380 |
43d49a98
|
Jaroslav Hrubý
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3381 |
|
|
|
3382 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3383 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3384 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3385 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(createUserRequest, localVarRequestOptions, configuration)
|
3386 |
43d49a98
|
Jaroslav Hrubý
|
|
3387 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
3388 |
|
|
url: toPathString(localVarUrlObj),
|
3389 |
|
|
options: localVarRequestOptions,
|
3390 |
|
|
};
|
3391 |
|
|
},
|
3392 |
19b68a2e
|
Lukáš Vlček
|
}
|
3393 |
3e6b15a7
|
Lukáš Vlček
|
};
|
3394 |
|
|
|
3395 |
|
|
/**
|
3396 |
|
|
* UserApi - functional programming interface
|
3397 |
|
|
* @export
|
3398 |
|
|
*/
|
3399 |
19b68a2e
|
Lukáš Vlček
|
export const UserApiFp = function(configuration?: Configuration) {
|
3400 |
|
|
const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
|
3401 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
3402 |
|
|
/**
|
3403 |
19b68a2e
|
Lukáš Vlček
|
*
|
3404 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3405 |
|
|
* @throws {RequiredError}
|
3406 |
|
|
*/
|
3407 |
19b68a2e
|
Lukáš Vlček
|
async userAnnotationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
|
3408 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userAnnotationsGet(options);
|
3409 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3410 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3411 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
3412 |
19b68a2e
|
Lukáš Vlček
|
*
|
3413 |
|
|
* @param {string} userId
|
3414 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3415 |
|
|
* @throws {RequiredError}
|
3416 |
|
|
*/
|
3417 |
19b68a2e
|
Lukáš Vlček
|
async userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
|
3418 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdAnnotationsGet(userId, options);
|
3419 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3420 |
43d49a98
|
Jaroslav Hrubý
|
},
|
3421 |
|
|
/**
|
3422 |
19b68a2e
|
Lukáš Vlček
|
*
|
3423 |
|
|
* @param {string} userId
|
3424 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3425 |
|
|
* @throws {RequiredError}
|
3426 |
|
|
*/
|
3427 |
19b68a2e
|
Lukáš Vlček
|
async userUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3428 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdDelete(userId, options);
|
3429 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3430 |
43d49a98
|
Jaroslav Hrubý
|
},
|
3431 |
|
|
/**
|
3432 |
19b68a2e
|
Lukáš Vlček
|
*
|
3433 |
|
|
* @param {string} userId
|
3434 |
|
|
* @param {ChangeUserInfoRequest} [changeUserInfoRequest]
|
3435 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3436 |
|
|
* @throws {RequiredError}
|
3437 |
|
|
*/
|
3438 |
19b68a2e
|
Lukáš Vlček
|
async userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3439 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdPut(userId, changeUserInfoRequest, options);
|
3440 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3441 |
43d49a98
|
Jaroslav Hrubý
|
},
|
3442 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3443 |
19b68a2e
|
Lukáš Vlček
|
*
|
3444 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3445 |
|
|
* @throws {RequiredError}
|
3446 |
|
|
*/
|
3447 |
19b68a2e
|
Lukáš Vlček
|
async usersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>> {
|
3448 |
3e6b15a7
|
Lukáš Vlček
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersGet(options);
|
3449 |
19b68a2e
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3450 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3451 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
3452 |
19b68a2e
|
Lukáš Vlček
|
*
|
3453 |
|
|
* @param {CreateUserRequest} [createUserRequest]
|
3454 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3455 |
|
|
* @throws {RequiredError}
|
3456 |
|
|
*/
|
3457 |
19b68a2e
|
Lukáš Vlček
|
async usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3458 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersPost(createUserRequest, options);
|
3459 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3460 |
43d49a98
|
Jaroslav Hrubý
|
},
|
3461 |
19b68a2e
|
Lukáš Vlček
|
}
|
3462 |
3e6b15a7
|
Lukáš Vlček
|
};
|
3463 |
|
|
|
3464 |
|
|
/**
|
3465 |
|
|
* UserApi - factory interface
|
3466 |
|
|
* @export
|
3467 |
|
|
*/
|
3468 |
19b68a2e
|
Lukáš Vlček
|
export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
3469 |
|
|
const localVarFp = UserApiFp(configuration)
|
3470 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
3471 |
|
|
/**
|
3472 |
19b68a2e
|
Lukáš Vlček
|
*
|
3473 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3474 |
|
|
* @throws {RequiredError}
|
3475 |
|
|
*/
|
3476 |
|
|
userAnnotationsGet(options?: any): AxiosPromise<AnnotationListResponse> {
|
3477 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.userAnnotationsGet(options).then((request) => request(axios, basePath));
|
3478 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3479 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
3480 |
19b68a2e
|
Lukáš Vlček
|
*
|
3481 |
|
|
* @param {string} userId
|
3482 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3483 |
|
|
* @throws {RequiredError}
|
3484 |
|
|
*/
|
3485 |
19b68a2e
|
Lukáš Vlček
|
userUserIdAnnotationsGet(userId: string, options?: any): AxiosPromise<AnnotationListResponse> {
|
3486 |
|
|
return localVarFp.userUserIdAnnotationsGet(userId, options).then((request) => request(axios, basePath));
|
3487 |
43d49a98
|
Jaroslav Hrubý
|
},
|
3488 |
|
|
/**
|
3489 |
19b68a2e
|
Lukáš Vlček
|
*
|
3490 |
|
|
* @param {string} userId
|
3491 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3492 |
|
|
* @throws {RequiredError}
|
3493 |
|
|
*/
|
3494 |
|
|
userUserIdDelete(userId: string, options?: any): AxiosPromise<void> {
|
3495 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.userUserIdDelete(userId, options).then((request) => request(axios, basePath));
|
3496 |
43d49a98
|
Jaroslav Hrubý
|
},
|
3497 |
|
|
/**
|
3498 |
19b68a2e
|
Lukáš Vlček
|
*
|
3499 |
|
|
* @param {string} userId
|
3500 |
|
|
* @param {ChangeUserInfoRequest} [changeUserInfoRequest]
|
3501 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3502 |
|
|
* @throws {RequiredError}
|
3503 |
|
|
*/
|
3504 |
19b68a2e
|
Lukáš Vlček
|
userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: any): AxiosPromise<void> {
|
3505 |
|
|
return localVarFp.userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(axios, basePath));
|
3506 |
43d49a98
|
Jaroslav Hrubý
|
},
|
3507 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3508 |
19b68a2e
|
Lukáš Vlček
|
*
|
3509 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3510 |
|
|
* @throws {RequiredError}
|
3511 |
|
|
*/
|
3512 |
|
|
usersGet(options?: any): AxiosPromise<UserList> {
|
3513 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.usersGet(options).then((request) => request(axios, basePath));
|
3514 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3515 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
3516 |
19b68a2e
|
Lukáš Vlček
|
*
|
3517 |
|
|
* @param {CreateUserRequest} [createUserRequest]
|
3518 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3519 |
|
|
* @throws {RequiredError}
|
3520 |
|
|
*/
|
3521 |
19b68a2e
|
Lukáš Vlček
|
usersPost(createUserRequest?: CreateUserRequest, options?: any): AxiosPromise<void> {
|
3522 |
|
|
return localVarFp.usersPost(createUserRequest, options).then((request) => request(axios, basePath));
|
3523 |
43d49a98
|
Jaroslav Hrubý
|
},
|
3524 |
3e6b15a7
|
Lukáš Vlček
|
};
|
3525 |
|
|
};
|
3526 |
|
|
|
3527 |
|
|
/**
|
3528 |
|
|
* UserApi - object-oriented interface
|
3529 |
|
|
* @export
|
3530 |
|
|
* @class UserApi
|
3531 |
|
|
* @extends {BaseAPI}
|
3532 |
|
|
*/
|
3533 |
|
|
export class UserApi extends BaseAPI {
|
3534 |
|
|
/**
|
3535 |
19b68a2e
|
Lukáš Vlček
|
*
|
3536 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3537 |
|
|
* @throws {RequiredError}
|
3538 |
|
|
* @memberof UserApi
|
3539 |
|
|
*/
|
3540 |
|
|
public userAnnotationsGet(options?: AxiosRequestConfig) {
|
3541 |
19b68a2e
|
Lukáš Vlček
|
return UserApiFp(this.configuration).userAnnotationsGet(options).then((request) => request(this.axios, this.basePath));
|
3542 |
3e6b15a7
|
Lukáš Vlček
|
}
|
3543 |
|
|
|
3544 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
3545 |
19b68a2e
|
Lukáš Vlček
|
*
|
3546 |
|
|
* @param {string} userId
|
3547 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3548 |
|
|
* @throws {RequiredError}
|
3549 |
|
|
* @memberof UserApi
|
3550 |
|
|
*/
|
3551 |
|
|
public userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig) {
|
3552 |
19b68a2e
|
Lukáš Vlček
|
return UserApiFp(this.configuration).userUserIdAnnotationsGet(userId, options).then((request) => request(this.axios, this.basePath));
|
3553 |
43d49a98
|
Jaroslav Hrubý
|
}
|
3554 |
|
|
|
3555 |
|
|
/**
|
3556 |
19b68a2e
|
Lukáš Vlček
|
*
|
3557 |
|
|
* @param {string} userId
|
3558 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3559 |
|
|
* @throws {RequiredError}
|
3560 |
|
|
* @memberof UserApi
|
3561 |
|
|
*/
|
3562 |
|
|
public userUserIdDelete(userId: string, options?: AxiosRequestConfig) {
|
3563 |
19b68a2e
|
Lukáš Vlček
|
return UserApiFp(this.configuration).userUserIdDelete(userId, options).then((request) => request(this.axios, this.basePath));
|
3564 |
43d49a98
|
Jaroslav Hrubý
|
}
|
3565 |
|
|
|
3566 |
|
|
/**
|
3567 |
19b68a2e
|
Lukáš Vlček
|
*
|
3568 |
|
|
* @param {string} userId
|
3569 |
|
|
* @param {ChangeUserInfoRequest} [changeUserInfoRequest]
|
3570 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3571 |
|
|
* @throws {RequiredError}
|
3572 |
|
|
* @memberof UserApi
|
3573 |
|
|
*/
|
3574 |
19b68a2e
|
Lukáš Vlček
|
public userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig) {
|
3575 |
|
|
return UserApiFp(this.configuration).userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(this.axios, this.basePath));
|
3576 |
43d49a98
|
Jaroslav Hrubý
|
}
|
3577 |
|
|
|
3578 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3579 |
19b68a2e
|
Lukáš Vlček
|
*
|
3580 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3581 |
|
|
* @throws {RequiredError}
|
3582 |
|
|
* @memberof UserApi
|
3583 |
|
|
*/
|
3584 |
|
|
public usersGet(options?: AxiosRequestConfig) {
|
3585 |
19b68a2e
|
Lukáš Vlček
|
return UserApiFp(this.configuration).usersGet(options).then((request) => request(this.axios, this.basePath));
|
3586 |
3e6b15a7
|
Lukáš Vlček
|
}
|
3587 |
43d49a98
|
Jaroslav Hrubý
|
|
3588 |
|
|
/**
|
3589 |
19b68a2e
|
Lukáš Vlček
|
*
|
3590 |
|
|
* @param {CreateUserRequest} [createUserRequest]
|
3591 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
3592 |
|
|
* @throws {RequiredError}
|
3593 |
|
|
* @memberof UserApi
|
3594 |
|
|
*/
|
3595 |
19b68a2e
|
Lukáš Vlček
|
public usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig) {
|
3596 |
|
|
return UserApiFp(this.configuration).usersPost(createUserRequest, options).then((request) => request(this.axios, this.basePath));
|
3597 |
43d49a98
|
Jaroslav Hrubý
|
}
|
3598 |
3e6b15a7
|
Lukáš Vlček
|
}
|
3599 |
19b68a2e
|
Lukáš Vlček
|
|