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 |
b80a6919
|
Lukáš Vlček
|
/**
|
51 |
|
|
*
|
52 |
|
|
* @export
|
53 |
|
|
* @interface Annotation
|
54 |
|
|
*/
|
55 |
|
|
export interface Annotation {
|
56 |
|
|
/**
|
57 |
|
|
*
|
58 |
|
|
* @type {string}
|
59 |
|
|
* @memberof Annotation
|
60 |
|
|
*/
|
61 |
|
|
'id'?: string;
|
62 |
|
|
/**
|
63 |
|
|
*
|
64 |
|
|
* @type {Document}
|
65 |
|
|
* @memberof Annotation
|
66 |
|
|
*/
|
67 |
|
|
'document'?: Document;
|
68 |
|
|
/**
|
69 |
|
|
*
|
70 |
|
|
* @type {User}
|
71 |
|
|
* @memberof Annotation
|
72 |
|
|
*/
|
73 |
|
|
'user'?: User;
|
74 |
|
|
/**
|
75 |
|
|
*
|
76 |
|
|
* @type {User}
|
77 |
|
|
* @memberof Annotation
|
78 |
|
|
*/
|
79 |
|
|
'userAssigned'?: User;
|
80 |
|
|
/**
|
81 |
|
|
*
|
82 |
|
|
* @type {string}
|
83 |
|
|
* @memberof Annotation
|
84 |
|
|
*/
|
85 |
|
|
'dateAssigned'?: string;
|
86 |
|
|
/**
|
87 |
|
|
*
|
88 |
|
|
* @type {EState}
|
89 |
|
|
* @memberof Annotation
|
90 |
|
|
*/
|
91 |
|
|
'state'?: EState;
|
92 |
|
|
/**
|
93 |
|
|
*
|
94 |
|
|
* @type {string}
|
95 |
|
|
* @memberof Annotation
|
96 |
|
|
*/
|
97 |
|
|
'dateLastChanged'?: string;
|
98 |
|
|
/**
|
99 |
|
|
*
|
100 |
|
|
* @type {string}
|
101 |
|
|
* @memberof Annotation
|
102 |
|
|
*/
|
103 |
|
|
'note'?: string | null;
|
104 |
|
|
/**
|
105 |
|
|
*
|
106 |
|
|
* @type {string}
|
107 |
|
|
* @memberof Annotation
|
108 |
|
|
*/
|
109 |
|
|
'cachedDocumentHTML'?: string | null;
|
110 |
|
|
/**
|
111 |
|
|
*
|
112 |
|
|
* @type {string}
|
113 |
|
|
* @memberof Annotation
|
114 |
|
|
*/
|
115 |
|
|
'cachedStartPositions'?: string | null;
|
116 |
|
|
/**
|
117 |
|
|
*
|
118 |
|
|
* @type {string}
|
119 |
|
|
* @memberof Annotation
|
120 |
|
|
*/
|
121 |
|
|
'cachedLengths'?: string | null;
|
122 |
|
|
/**
|
123 |
|
|
*
|
124 |
|
|
* @type {string}
|
125 |
|
|
* @memberof Annotation
|
126 |
|
|
*/
|
127 |
|
|
'cachedClosingPositions'?: string | null;
|
128 |
|
|
/**
|
129 |
|
|
*
|
130 |
|
|
* @type {string}
|
131 |
|
|
* @memberof Annotation
|
132 |
|
|
*/
|
133 |
|
|
'cachedClosingLengths'?: string | null;
|
134 |
|
|
/**
|
135 |
|
|
*
|
136 |
|
|
* @type {string}
|
137 |
|
|
* @memberof Annotation
|
138 |
|
|
*/
|
139 |
|
|
'cachedCSS'?: string | null;
|
140 |
|
|
/**
|
141 |
|
|
*
|
142 |
|
|
* @type {string}
|
143 |
|
|
* @memberof Annotation
|
144 |
|
|
*/
|
145 |
|
|
'lastModifiedTagId'?: string | null;
|
146 |
|
|
/**
|
147 |
|
|
*
|
148 |
|
|
* @type {EModified}
|
149 |
|
|
* @memberof Annotation
|
150 |
|
|
*/
|
151 |
|
|
'modifiedType'?: EModified;
|
152 |
|
|
/**
|
153 |
|
|
*
|
154 |
|
|
* @type {Array<Class>}
|
155 |
|
|
* @memberof Annotation
|
156 |
|
|
*/
|
157 |
|
|
'classes'?: Array<Class> | null;
|
158 |
|
|
/**
|
159 |
|
|
*
|
160 |
|
|
* @type {Array<FinalAnnotation>}
|
161 |
|
|
* @memberof Annotation
|
162 |
|
|
*/
|
163 |
|
|
'finalAnnotations'?: Array<FinalAnnotation> | null;
|
164 |
|
|
}
|
165 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
166 |
19b68a2e
|
Lukáš Vlček
|
*
|
167 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
168 |
|
|
* @interface AnnotationInfo
|
169 |
|
|
*/
|
170 |
|
|
export interface AnnotationInfo {
|
171 |
|
|
/**
|
172 |
19b68a2e
|
Lukáš Vlček
|
*
|
173 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
174 |
|
|
* @memberof AnnotationInfo
|
175 |
|
|
*/
|
176 |
19b68a2e
|
Lukáš Vlček
|
'sourceDocumentContent'?: string | null;
|
177 |
b5f60842
|
Lukáš Vlček
|
/**
|
178 |
19b68a2e
|
Lukáš Vlček
|
*
|
179 |
b5f60842
|
Lukáš Vlček
|
* @type {string}
|
180 |
|
|
* @memberof AnnotationInfo
|
181 |
|
|
*/
|
182 |
19b68a2e
|
Lukáš Vlček
|
'documentToRender'?: string | null;
|
183 |
b5f60842
|
Lukáš Vlček
|
/**
|
184 |
19b68a2e
|
Lukáš Vlček
|
*
|
185 |
b5f60842
|
Lukáš Vlček
|
* @type {Array<number>}
|
186 |
|
|
* @memberof AnnotationInfo
|
187 |
|
|
*/
|
188 |
19b68a2e
|
Lukáš Vlček
|
'tagStartPositions'?: Array<number> | null;
|
189 |
b5f60842
|
Lukáš Vlček
|
/**
|
190 |
19b68a2e
|
Lukáš Vlček
|
*
|
191 |
b5f60842
|
Lukáš Vlček
|
* @type {Array<number>}
|
192 |
|
|
* @memberof AnnotationInfo
|
193 |
|
|
*/
|
194 |
19b68a2e
|
Lukáš Vlček
|
'tagLengths'?: Array<number> | null;
|
195 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
196 |
19b68a2e
|
Lukáš Vlček
|
*
|
197 |
3e6b15a7
|
Lukáš Vlček
|
* @type {EState}
|
198 |
|
|
* @memberof AnnotationInfo
|
199 |
|
|
*/
|
200 |
19b68a2e
|
Lukáš Vlček
|
'state'?: EState;
|
201 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
202 |
19b68a2e
|
Lukáš Vlček
|
*
|
203 |
3e6b15a7
|
Lukáš Vlček
|
* @type {EDocumentType}
|
204 |
|
|
* @memberof AnnotationInfo
|
205 |
|
|
*/
|
206 |
19b68a2e
|
Lukáš Vlček
|
'type'?: EDocumentType;
|
207 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
208 |
19b68a2e
|
Lukáš Vlček
|
*
|
209 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
210 |
|
|
* @memberof AnnotationInfo
|
211 |
|
|
*/
|
212 |
19b68a2e
|
Lukáš Vlček
|
'note'?: string | null;
|
213 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
214 |
19b68a2e
|
Lukáš Vlček
|
*
|
215 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<TagInstanceInfo>}
|
216 |
|
|
* @memberof AnnotationInfo
|
217 |
|
|
*/
|
218 |
19b68a2e
|
Lukáš Vlček
|
'tagInstances'?: Array<TagInstanceInfo> | null;
|
219 |
f30a7b90
|
Lukáš Vlček
|
/**
|
220 |
|
|
*
|
221 |
|
|
* @type {Array<TagInstanceCSSInfo>}
|
222 |
|
|
* @memberof AnnotationInfo
|
223 |
|
|
*/
|
224 |
|
|
'cssInfo'?: Array<TagInstanceCSSInfo> | null;
|
225 |
3e6b15a7
|
Lukáš Vlček
|
}
|
226 |
4bc99591
|
Lukáš Vlček
|
/**
|
227 |
19b68a2e
|
Lukáš Vlček
|
*
|
228 |
4bc99591
|
Lukáš Vlček
|
* @export
|
229 |
|
|
* @interface AnnotationInstanceAddRequest
|
230 |
|
|
*/
|
231 |
|
|
export interface AnnotationInstanceAddRequest {
|
232 |
|
|
/**
|
233 |
19b68a2e
|
Lukáš Vlček
|
*
|
234 |
4bc99591
|
Lukáš Vlček
|
* @type {number}
|
235 |
|
|
* @memberof AnnotationInstanceAddRequest
|
236 |
|
|
*/
|
237 |
19b68a2e
|
Lukáš Vlček
|
'position'?: number;
|
238 |
4bc99591
|
Lukáš Vlček
|
/**
|
239 |
19b68a2e
|
Lukáš Vlček
|
*
|
240 |
4bc99591
|
Lukáš Vlček
|
* @type {number}
|
241 |
|
|
* @memberof AnnotationInstanceAddRequest
|
242 |
|
|
*/
|
243 |
19b68a2e
|
Lukáš Vlček
|
'length'?: number;
|
244 |
4bc99591
|
Lukáš Vlček
|
/**
|
245 |
19b68a2e
|
Lukáš Vlček
|
*
|
246 |
4bc99591
|
Lukáš Vlček
|
* @type {ETagType}
|
247 |
|
|
* @memberof AnnotationInstanceAddRequest
|
248 |
|
|
*/
|
249 |
19b68a2e
|
Lukáš Vlček
|
'type'?: ETagType;
|
250 |
4bc99591
|
Lukáš Vlček
|
/**
|
251 |
19b68a2e
|
Lukáš Vlček
|
*
|
252 |
4bc99591
|
Lukáš Vlček
|
* @type {string}
|
253 |
|
|
* @memberof AnnotationInstanceAddRequest
|
254 |
|
|
*/
|
255 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
256 |
4bc99591
|
Lukáš Vlček
|
/**
|
257 |
19b68a2e
|
Lukáš Vlček
|
*
|
258 |
4bc99591
|
Lukáš Vlček
|
* @type {string}
|
259 |
|
|
* @memberof AnnotationInstanceAddRequest
|
260 |
|
|
*/
|
261 |
19b68a2e
|
Lukáš Vlček
|
'instanceId'?: string | null;
|
262 |
f30a7b90
|
Lukáš Vlček
|
/**
|
263 |
|
|
*
|
264 |
|
|
* @type {string}
|
265 |
|
|
* @memberof AnnotationInstanceAddRequest
|
266 |
|
|
*/
|
267 |
|
|
'selectedText'?: string | null;
|
268 |
4bc99591
|
Lukáš Vlček
|
}
|
269 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
270 |
19b68a2e
|
Lukáš Vlček
|
*
|
271 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
272 |
|
|
* @interface AnnotationListInfo
|
273 |
|
|
*/
|
274 |
|
|
export interface AnnotationListInfo {
|
275 |
|
|
/**
|
276 |
19b68a2e
|
Lukáš Vlček
|
*
|
277 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
278 |
|
|
* @memberof AnnotationListInfo
|
279 |
|
|
*/
|
280 |
19b68a2e
|
Lukáš Vlček
|
'documentName'?: string | null;
|
281 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
282 |
19b68a2e
|
Lukáš Vlček
|
*
|
283 |
3e6b15a7
|
Lukáš Vlček
|
* @type {EState}
|
284 |
|
|
* @memberof AnnotationListInfo
|
285 |
|
|
*/
|
286 |
19b68a2e
|
Lukáš Vlček
|
'state'?: EState;
|
287 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
288 |
19b68a2e
|
Lukáš Vlček
|
*
|
289 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
290 |
|
|
* @memberof AnnotationListInfo
|
291 |
|
|
*/
|
292 |
19b68a2e
|
Lukáš Vlček
|
'annotationId'?: string;
|
293 |
3e6b15a7
|
Lukáš Vlček
|
}
|
294 |
|
|
/**
|
295 |
19b68a2e
|
Lukáš Vlček
|
*
|
296 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
297 |
|
|
* @interface AnnotationListResponse
|
298 |
|
|
*/
|
299 |
|
|
export interface AnnotationListResponse {
|
300 |
|
|
/**
|
301 |
19b68a2e
|
Lukáš Vlček
|
*
|
302 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<AnnotationListInfo>}
|
303 |
|
|
* @memberof AnnotationListResponse
|
304 |
|
|
*/
|
305 |
19b68a2e
|
Lukáš Vlček
|
'annotations'?: Array<AnnotationListInfo> | null;
|
306 |
3e6b15a7
|
Lukáš Vlček
|
}
|
307 |
|
|
/**
|
308 |
19b68a2e
|
Lukáš Vlček
|
*
|
309 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
310 |
|
|
* @interface AnnotationsAddRequest
|
311 |
|
|
*/
|
312 |
|
|
export interface AnnotationsAddRequest {
|
313 |
|
|
/**
|
314 |
19b68a2e
|
Lukáš Vlček
|
*
|
315 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<string>}
|
316 |
|
|
* @memberof AnnotationsAddRequest
|
317 |
|
|
*/
|
318 |
19b68a2e
|
Lukáš Vlček
|
'userIdList'?: Array<string> | null;
|
319 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
320 |
19b68a2e
|
Lukáš Vlček
|
*
|
321 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<string>}
|
322 |
|
|
* @memberof AnnotationsAddRequest
|
323 |
|
|
*/
|
324 |
19b68a2e
|
Lukáš Vlček
|
'documentIdList'?: Array<string> | null;
|
325 |
3e6b15a7
|
Lukáš Vlček
|
}
|
326 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
327 |
19b68a2e
|
Lukáš Vlček
|
*
|
328 |
43d49a98
|
Jaroslav Hrubý
|
* @export
|
329 |
|
|
* @interface ChangeUserInfoRequest
|
330 |
|
|
*/
|
331 |
|
|
export interface ChangeUserInfoRequest {
|
332 |
|
|
/**
|
333 |
19b68a2e
|
Lukáš Vlček
|
*
|
334 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
335 |
|
|
* @memberof ChangeUserInfoRequest
|
336 |
|
|
*/
|
337 |
19b68a2e
|
Lukáš Vlček
|
'password'?: string | null;
|
338 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
339 |
19b68a2e
|
Lukáš Vlček
|
*
|
340 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
341 |
|
|
* @memberof ChangeUserInfoRequest
|
342 |
|
|
*/
|
343 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
344 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
345 |
19b68a2e
|
Lukáš Vlček
|
*
|
346 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
347 |
|
|
* @memberof ChangeUserInfoRequest
|
348 |
|
|
*/
|
349 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
350 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
351 |
19b68a2e
|
Lukáš Vlček
|
*
|
352 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
353 |
|
|
* @memberof ChangeUserInfoRequest
|
354 |
|
|
*/
|
355 |
19b68a2e
|
Lukáš Vlček
|
'surname'?: string | null;
|
356 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
357 |
19b68a2e
|
Lukáš Vlček
|
*
|
358 |
43d49a98
|
Jaroslav Hrubý
|
* @type {ERole}
|
359 |
|
|
* @memberof ChangeUserInfoRequest
|
360 |
|
|
*/
|
361 |
19b68a2e
|
Lukáš Vlček
|
'role'?: ERole;
|
362 |
43d49a98
|
Jaroslav Hrubý
|
}
|
363 |
b80a6919
|
Lukáš Vlček
|
/**
|
364 |
|
|
*
|
365 |
|
|
* @export
|
366 |
|
|
* @interface Class
|
367 |
|
|
*/
|
368 |
|
|
export interface Class {
|
369 |
|
|
/**
|
370 |
|
|
*
|
371 |
|
|
* @type {string}
|
372 |
|
|
* @memberof Class
|
373 |
|
|
*/
|
374 |
|
|
'id'?: string;
|
375 |
|
|
/**
|
376 |
|
|
*
|
377 |
|
|
* @type {string}
|
378 |
|
|
* @memberof Class
|
379 |
|
|
*/
|
380 |
|
|
'name'?: string | null;
|
381 |
|
|
/**
|
382 |
|
|
*
|
383 |
|
|
* @type {string}
|
384 |
|
|
* @memberof Class
|
385 |
|
|
*/
|
386 |
|
|
'description'?: string | null;
|
387 |
|
|
/**
|
388 |
|
|
*
|
389 |
|
|
* @type {string}
|
390 |
|
|
* @memberof Class
|
391 |
|
|
*/
|
392 |
|
|
'color'?: string | null;
|
393 |
|
|
/**
|
394 |
|
|
*
|
395 |
|
|
* @type {Array<Annotation>}
|
396 |
|
|
* @memberof Class
|
397 |
|
|
*/
|
398 |
|
|
'annotations'?: Array<Annotation> | null;
|
399 |
|
|
}
|
400 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
401 |
19b68a2e
|
Lukáš Vlček
|
*
|
402 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
403 |
|
|
* @interface ClientInfo
|
404 |
|
|
*/
|
405 |
|
|
export interface ClientInfo {
|
406 |
|
|
/**
|
407 |
19b68a2e
|
Lukáš Vlček
|
*
|
408 |
3e6b15a7
|
Lukáš Vlček
|
* @type {boolean}
|
409 |
|
|
* @memberof ClientInfo
|
410 |
|
|
*/
|
411 |
19b68a2e
|
Lukáš Vlček
|
'isLogged'?: boolean;
|
412 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
413 |
19b68a2e
|
Lukáš Vlček
|
*
|
414 |
3e6b15a7
|
Lukáš Vlček
|
* @type {User}
|
415 |
|
|
* @memberof ClientInfo
|
416 |
|
|
*/
|
417 |
19b68a2e
|
Lukáš Vlček
|
'loggedUser'?: User;
|
418 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
419 |
19b68a2e
|
Lukáš Vlček
|
*
|
420 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
421 |
|
|
* @memberof ClientInfo
|
422 |
|
|
*/
|
423 |
19b68a2e
|
Lukáš Vlček
|
'ip'?: string | null;
|
424 |
3e6b15a7
|
Lukáš Vlček
|
}
|
425 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
426 |
|
|
*
|
427 |
|
|
* @export
|
428 |
|
|
* @interface CreateCategoryRequest
|
429 |
|
|
*/
|
430 |
|
|
export interface CreateCategoryRequest {
|
431 |
|
|
/**
|
432 |
|
|
*
|
433 |
|
|
* @type {string}
|
434 |
|
|
* @memberof CreateCategoryRequest
|
435 |
|
|
*/
|
436 |
|
|
'name'?: string | null;
|
437 |
|
|
/**
|
438 |
|
|
*
|
439 |
|
|
* @type {string}
|
440 |
|
|
* @memberof CreateCategoryRequest
|
441 |
|
|
*/
|
442 |
|
|
'description'?: string | null;
|
443 |
|
|
/**
|
444 |
|
|
*
|
445 |
|
|
* @type {string}
|
446 |
|
|
* @memberof CreateCategoryRequest
|
447 |
|
|
*/
|
448 |
|
|
'color'?: string | null;
|
449 |
|
|
/**
|
450 |
|
|
*
|
451 |
|
|
* @type {boolean}
|
452 |
|
|
* @memberof CreateCategoryRequest
|
453 |
|
|
*/
|
454 |
|
|
'disabledForAnnotators'?: boolean;
|
455 |
|
|
}
|
456 |
048b4bc0
|
Lukáš Vlček
|
/**
|
457 |
|
|
*
|
458 |
|
|
* @export
|
459 |
|
|
* @interface CreateFinalAnnotationResponse
|
460 |
|
|
*/
|
461 |
|
|
export interface CreateFinalAnnotationResponse {
|
462 |
|
|
/**
|
463 |
|
|
*
|
464 |
|
|
* @type {string}
|
465 |
|
|
* @memberof CreateFinalAnnotationResponse
|
466 |
|
|
*/
|
467 |
|
|
'finalAnnotationId'?: string;
|
468 |
|
|
}
|
469 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
470 |
|
|
*
|
471 |
|
|
* @export
|
472 |
|
|
* @interface CreateSubTagRequest
|
473 |
|
|
*/
|
474 |
|
|
export interface CreateSubTagRequest {
|
475 |
|
|
/**
|
476 |
|
|
*
|
477 |
|
|
* @type {string}
|
478 |
|
|
* @memberof CreateSubTagRequest
|
479 |
|
|
*/
|
480 |
|
|
'name'?: string | null;
|
481 |
|
|
/**
|
482 |
|
|
*
|
483 |
|
|
* @type {string}
|
484 |
|
|
* @memberof CreateSubTagRequest
|
485 |
|
|
*/
|
486 |
|
|
'description'?: string | null;
|
487 |
|
|
/**
|
488 |
|
|
*
|
489 |
|
|
* @type {string}
|
490 |
|
|
* @memberof CreateSubTagRequest
|
491 |
|
|
*/
|
492 |
|
|
'tagId'?: string;
|
493 |
|
|
/**
|
494 |
|
|
*
|
495 |
|
|
* @type {boolean}
|
496 |
|
|
* @memberof CreateSubTagRequest
|
497 |
|
|
*/
|
498 |
|
|
'sentimentEnabled'?: boolean;
|
499 |
|
|
}
|
500 |
|
|
/**
|
501 |
|
|
*
|
502 |
|
|
* @export
|
503 |
|
|
* @interface CreateTagRequest
|
504 |
|
|
*/
|
505 |
|
|
export interface CreateTagRequest {
|
506 |
|
|
/**
|
507 |
|
|
*
|
508 |
|
|
* @type {string}
|
509 |
|
|
* @memberof CreateTagRequest
|
510 |
|
|
*/
|
511 |
|
|
'categoryId'?: string;
|
512 |
|
|
/**
|
513 |
|
|
*
|
514 |
|
|
* @type {string}
|
515 |
|
|
* @memberof CreateTagRequest
|
516 |
|
|
*/
|
517 |
|
|
'name'?: string | null;
|
518 |
|
|
/**
|
519 |
|
|
*
|
520 |
|
|
* @type {string}
|
521 |
|
|
* @memberof CreateTagRequest
|
522 |
|
|
*/
|
523 |
|
|
'description'?: string | null;
|
524 |
|
|
/**
|
525 |
|
|
*
|
526 |
|
|
* @type {string}
|
527 |
|
|
* @memberof CreateTagRequest
|
528 |
|
|
*/
|
529 |
|
|
'color'?: string | null;
|
530 |
|
|
/**
|
531 |
|
|
*
|
532 |
|
|
* @type {boolean}
|
533 |
|
|
* @memberof CreateTagRequest
|
534 |
|
|
*/
|
535 |
|
|
'sentimentEnabled'?: boolean;
|
536 |
|
|
}
|
537 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
538 |
19b68a2e
|
Lukáš Vlček
|
*
|
539 |
43d49a98
|
Jaroslav Hrubý
|
* @export
|
540 |
|
|
* @interface CreateUserRequest
|
541 |
|
|
*/
|
542 |
|
|
export interface CreateUserRequest {
|
543 |
|
|
/**
|
544 |
19b68a2e
|
Lukáš Vlček
|
*
|
545 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
546 |
|
|
* @memberof CreateUserRequest
|
547 |
|
|
*/
|
548 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
549 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
550 |
19b68a2e
|
Lukáš Vlček
|
*
|
551 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
552 |
|
|
* @memberof CreateUserRequest
|
553 |
|
|
*/
|
554 |
19b68a2e
|
Lukáš Vlček
|
'password'?: string | null;
|
555 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
556 |
19b68a2e
|
Lukáš Vlček
|
*
|
557 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
558 |
|
|
* @memberof CreateUserRequest
|
559 |
|
|
*/
|
560 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
561 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
562 |
19b68a2e
|
Lukáš Vlček
|
*
|
563 |
43d49a98
|
Jaroslav Hrubý
|
* @type {string}
|
564 |
|
|
* @memberof CreateUserRequest
|
565 |
|
|
*/
|
566 |
19b68a2e
|
Lukáš Vlček
|
'surname'?: string | null;
|
567 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
568 |
19b68a2e
|
Lukáš Vlček
|
*
|
569 |
43d49a98
|
Jaroslav Hrubý
|
* @type {ERole}
|
570 |
|
|
* @memberof CreateUserRequest
|
571 |
|
|
*/
|
572 |
19b68a2e
|
Lukáš Vlček
|
'role'?: ERole;
|
573 |
43d49a98
|
Jaroslav Hrubý
|
}
|
574 |
ef5792a8
|
Lukáš Vlček
|
/**
|
575 |
|
|
*
|
576 |
|
|
* @export
|
577 |
|
|
* @interface DeleteDocumentsRequest
|
578 |
|
|
*/
|
579 |
|
|
export interface DeleteDocumentsRequest {
|
580 |
|
|
/**
|
581 |
|
|
*
|
582 |
|
|
* @type {Array<string>}
|
583 |
|
|
* @memberof DeleteDocumentsRequest
|
584 |
|
|
*/
|
585 |
|
|
'documentIds'?: Array<string> | null;
|
586 |
|
|
}
|
587 |
b80a6919
|
Lukáš Vlček
|
/**
|
588 |
|
|
*
|
589 |
|
|
* @export
|
590 |
|
|
* @interface Document
|
591 |
|
|
*/
|
592 |
|
|
export interface Document {
|
593 |
|
|
/**
|
594 |
|
|
*
|
595 |
|
|
* @type {string}
|
596 |
|
|
* @memberof Document
|
597 |
|
|
*/
|
598 |
|
|
'id'?: string;
|
599 |
|
|
/**
|
600 |
|
|
*
|
601 |
|
|
* @type {string}
|
602 |
|
|
* @memberof Document
|
603 |
|
|
*/
|
604 |
|
|
'name'?: string | null;
|
605 |
|
|
/**
|
606 |
|
|
*
|
607 |
|
|
* @type {number}
|
608 |
|
|
* @memberof Document
|
609 |
|
|
*/
|
610 |
|
|
'length'?: number;
|
611 |
|
|
/**
|
612 |
|
|
*
|
613 |
|
|
* @type {DocumentContent}
|
614 |
|
|
* @memberof Document
|
615 |
|
|
*/
|
616 |
|
|
'content'?: DocumentContent;
|
617 |
|
|
/**
|
618 |
|
|
*
|
619 |
|
|
* @type {string}
|
620 |
|
|
* @memberof Document
|
621 |
|
|
*/
|
622 |
|
|
'dateAdded'?: string;
|
623 |
|
|
/**
|
624 |
|
|
*
|
625 |
|
|
* @type {User}
|
626 |
|
|
* @memberof Document
|
627 |
|
|
*/
|
628 |
|
|
'userAdded'?: User;
|
629 |
|
|
/**
|
630 |
|
|
*
|
631 |
|
|
* @type {number}
|
632 |
|
|
* @memberof Document
|
633 |
|
|
*/
|
634 |
|
|
'requiredAnnotations'?: number;
|
635 |
|
|
}
|
636 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
637 |
19b68a2e
|
Lukáš Vlček
|
*
|
638 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
639 |
|
|
* @interface DocumentAddInfo
|
640 |
|
|
*/
|
641 |
|
|
export interface DocumentAddInfo {
|
642 |
|
|
/**
|
643 |
19b68a2e
|
Lukáš Vlček
|
*
|
644 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
645 |
|
|
* @memberof DocumentAddInfo
|
646 |
|
|
*/
|
647 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
648 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
649 |
19b68a2e
|
Lukáš Vlček
|
*
|
650 |
3e6b15a7
|
Lukáš Vlček
|
* @type {EAddDocumentFormat}
|
651 |
|
|
* @memberof DocumentAddInfo
|
652 |
|
|
*/
|
653 |
19b68a2e
|
Lukáš Vlček
|
'format'?: EAddDocumentFormat;
|
654 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
655 |
19b68a2e
|
Lukáš Vlček
|
*
|
656 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
657 |
|
|
* @memberof DocumentAddInfo
|
658 |
|
|
*/
|
659 |
19b68a2e
|
Lukáš Vlček
|
'content'?: string | null;
|
660 |
3e6b15a7
|
Lukáš Vlček
|
}
|
661 |
|
|
/**
|
662 |
19b68a2e
|
Lukáš Vlček
|
*
|
663 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
664 |
|
|
* @interface DocumentAddRequest
|
665 |
|
|
*/
|
666 |
|
|
export interface DocumentAddRequest {
|
667 |
|
|
/**
|
668 |
19b68a2e
|
Lukáš Vlček
|
*
|
669 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<DocumentAddInfo>}
|
670 |
|
|
* @memberof DocumentAddRequest
|
671 |
|
|
*/
|
672 |
19b68a2e
|
Lukáš Vlček
|
'documents'?: Array<DocumentAddInfo> | null;
|
673 |
3e6b15a7
|
Lukáš Vlček
|
}
|
674 |
f30a7b90
|
Lukáš Vlček
|
/**
|
675 |
|
|
*
|
676 |
|
|
* @export
|
677 |
|
|
* @interface DocumentAnnotationInfo
|
678 |
|
|
*/
|
679 |
|
|
export interface DocumentAnnotationInfo {
|
680 |
|
|
/**
|
681 |
|
|
*
|
682 |
|
|
* @type {string}
|
683 |
|
|
* @memberof DocumentAnnotationInfo
|
684 |
|
|
*/
|
685 |
|
|
'annotationId'?: string;
|
686 |
|
|
/**
|
687 |
|
|
*
|
688 |
|
|
* @type {string}
|
689 |
|
|
* @memberof DocumentAnnotationInfo
|
690 |
|
|
*/
|
691 |
|
|
'userId'?: string;
|
692 |
|
|
/**
|
693 |
|
|
*
|
694 |
|
|
* @type {string}
|
695 |
|
|
* @memberof DocumentAnnotationInfo
|
696 |
|
|
*/
|
697 |
|
|
'userFirstName'?: string | null;
|
698 |
|
|
/**
|
699 |
|
|
*
|
700 |
|
|
* @type {string}
|
701 |
|
|
* @memberof DocumentAnnotationInfo
|
702 |
|
|
*/
|
703 |
|
|
'userSurname'?: string | null;
|
704 |
|
|
/**
|
705 |
|
|
*
|
706 |
|
|
* @type {string}
|
707 |
|
|
* @memberof DocumentAnnotationInfo
|
708 |
|
|
*/
|
709 |
|
|
'username'?: string | null;
|
710 |
|
|
}
|
711 |
b80a6919
|
Lukáš Vlček
|
/**
|
712 |
|
|
*
|
713 |
|
|
* @export
|
714 |
|
|
* @interface DocumentContent
|
715 |
|
|
*/
|
716 |
|
|
export interface DocumentContent {
|
717 |
|
|
/**
|
718 |
|
|
*
|
719 |
|
|
* @type {string}
|
720 |
|
|
* @memberof DocumentContent
|
721 |
|
|
*/
|
722 |
|
|
'id'?: string;
|
723 |
|
|
/**
|
724 |
|
|
*
|
725 |
|
|
* @type {string}
|
726 |
|
|
* @memberof DocumentContent
|
727 |
|
|
*/
|
728 |
|
|
'content'?: string | null;
|
729 |
|
|
}
|
730 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
731 |
19b68a2e
|
Lukáš Vlček
|
*
|
732 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
733 |
|
|
* @interface DocumentListInfo
|
734 |
|
|
*/
|
735 |
|
|
export interface DocumentListInfo {
|
736 |
|
|
/**
|
737 |
19b68a2e
|
Lukáš Vlček
|
*
|
738 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
739 |
|
|
* @memberof DocumentListInfo
|
740 |
|
|
*/
|
741 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
742 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
743 |
19b68a2e
|
Lukáš Vlček
|
*
|
744 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
745 |
|
|
* @memberof DocumentListInfo
|
746 |
|
|
*/
|
747 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
748 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
749 |
19b68a2e
|
Lukáš Vlček
|
*
|
750 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
751 |
|
|
* @memberof DocumentListInfo
|
752 |
|
|
*/
|
753 |
19b68a2e
|
Lukáš Vlček
|
'length'?: number;
|
754 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
755 |
19b68a2e
|
Lukáš Vlček
|
*
|
756 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
757 |
|
|
* @memberof DocumentListInfo
|
758 |
|
|
*/
|
759 |
19b68a2e
|
Lukáš Vlček
|
'requiredAnnotations'?: number;
|
760 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
761 |
19b68a2e
|
Lukáš Vlček
|
*
|
762 |
|
|
* @type {Array<DocumentUserInfo>}
|
763 |
3e6b15a7
|
Lukáš Vlček
|
* @memberof DocumentListInfo
|
764 |
|
|
*/
|
765 |
19b68a2e
|
Lukáš Vlček
|
'annotatingUsers'?: Array<DocumentUserInfo> | null;
|
766 |
f30a7b90
|
Lukáš Vlček
|
/**
|
767 |
|
|
*
|
768 |
|
|
* @type {boolean}
|
769 |
|
|
* @memberof DocumentListInfo
|
770 |
|
|
*/
|
771 |
|
|
'finalizedExists'?: boolean;
|
772 |
|
|
/**
|
773 |
|
|
*
|
774 |
|
|
* @type {string}
|
775 |
|
|
* @memberof DocumentListInfo
|
776 |
|
|
*/
|
777 |
|
|
'finalizedAnnotationId'?: string | null;
|
778 |
|
|
/**
|
779 |
|
|
*
|
780 |
|
|
* @type {EState}
|
781 |
|
|
* @memberof DocumentListInfo
|
782 |
|
|
*/
|
783 |
|
|
'finalizedState'?: EState;
|
784 |
|
|
/**
|
785 |
|
|
*
|
786 |
|
|
* @type {Array<DocumentAnnotationInfo>}
|
787 |
|
|
* @memberof DocumentListInfo
|
788 |
|
|
*/
|
789 |
|
|
'finalAnnotations'?: Array<DocumentAnnotationInfo> | null;
|
790 |
3e6b15a7
|
Lukáš Vlček
|
}
|
791 |
|
|
/**
|
792 |
19b68a2e
|
Lukáš Vlček
|
*
|
793 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
794 |
|
|
* @interface DocumentListResponse
|
795 |
|
|
*/
|
796 |
|
|
export interface DocumentListResponse {
|
797 |
|
|
/**
|
798 |
19b68a2e
|
Lukáš Vlček
|
*
|
799 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<DocumentListInfo>}
|
800 |
|
|
* @memberof DocumentListResponse
|
801 |
|
|
*/
|
802 |
19b68a2e
|
Lukáš Vlček
|
'documents'?: Array<DocumentListInfo> | null;
|
803 |
3e6b15a7
|
Lukáš Vlček
|
}
|
804 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
805 |
|
|
*
|
806 |
|
|
* @export
|
807 |
|
|
* @interface DocumentPreviewResponse
|
808 |
|
|
*/
|
809 |
|
|
export interface DocumentPreviewResponse {
|
810 |
|
|
/**
|
811 |
|
|
*
|
812 |
|
|
* @type {string}
|
813 |
|
|
* @memberof DocumentPreviewResponse
|
814 |
|
|
*/
|
815 |
|
|
'content'?: string | null;
|
816 |
|
|
}
|
817 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
818 |
19b68a2e
|
Lukáš Vlček
|
*
|
819 |
|
|
* @export
|
820 |
|
|
* @interface DocumentUserInfo
|
821 |
|
|
*/
|
822 |
|
|
export interface DocumentUserInfo {
|
823 |
|
|
/**
|
824 |
|
|
*
|
825 |
|
|
* @type {string}
|
826 |
|
|
* @memberof DocumentUserInfo
|
827 |
|
|
*/
|
828 |
|
|
'id'?: string;
|
829 |
|
|
/**
|
830 |
|
|
*
|
831 |
|
|
* @type {string}
|
832 |
|
|
* @memberof DocumentUserInfo
|
833 |
|
|
*/
|
834 |
|
|
'username'?: string | null;
|
835 |
|
|
/**
|
836 |
|
|
*
|
837 |
|
|
* @type {string}
|
838 |
|
|
* @memberof DocumentUserInfo
|
839 |
|
|
*/
|
840 |
|
|
'name'?: string | null;
|
841 |
|
|
/**
|
842 |
|
|
*
|
843 |
|
|
* @type {string}
|
844 |
|
|
* @memberof DocumentUserInfo
|
845 |
|
|
*/
|
846 |
|
|
'surname'?: string | null;
|
847 |
|
|
/**
|
848 |
|
|
*
|
849 |
|
|
* @type {EState}
|
850 |
|
|
* @memberof DocumentUserInfo
|
851 |
|
|
*/
|
852 |
|
|
'state'?: EState;
|
853 |
|
|
}
|
854 |
|
|
/**
|
855 |
|
|
*
|
856 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
857 |
|
|
* @enum {string}
|
858 |
|
|
*/
|
859 |
|
|
|
860 |
|
|
export const EAddDocumentFormat = {
|
861 |
|
|
Zip: 'ZIP',
|
862 |
19b68a2e
|
Lukáš Vlček
|
Textfile: 'TEXTFILE'
|
863 |
3e6b15a7
|
Lukáš Vlček
|
} as const;
|
864 |
|
|
|
865 |
19b68a2e
|
Lukáš Vlček
|
export type EAddDocumentFormat = typeof EAddDocumentFormat[keyof typeof EAddDocumentFormat];
|
866 |
|
|
|
867 |
3e6b15a7
|
Lukáš Vlček
|
|
868 |
|
|
/**
|
869 |
19b68a2e
|
Lukáš Vlček
|
*
|
870 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
871 |
|
|
* @enum {string}
|
872 |
|
|
*/
|
873 |
|
|
|
874 |
|
|
export const EDocumentType = {
|
875 |
|
|
Html: 'HTML',
|
876 |
19b68a2e
|
Lukáš Vlček
|
Text: 'TEXT'
|
877 |
3e6b15a7
|
Lukáš Vlček
|
} as const;
|
878 |
|
|
|
879 |
|
|
export type EDocumentType = typeof EDocumentType[keyof typeof EDocumentType];
|
880 |
|
|
|
881 |
19b68a2e
|
Lukáš Vlček
|
|
882 |
b80a6919
|
Lukáš Vlček
|
/**
|
883 |
|
|
*
|
884 |
|
|
* @export
|
885 |
|
|
* @enum {string}
|
886 |
|
|
*/
|
887 |
|
|
|
888 |
|
|
export const EModified = {
|
889 |
|
|
Added: 'ADDED',
|
890 |
|
|
Removed: 'REMOVED',
|
891 |
|
|
None: 'NONE'
|
892 |
|
|
} as const;
|
893 |
|
|
|
894 |
|
|
export type EModified = typeof EModified[keyof typeof EModified];
|
895 |
|
|
|
896 |
|
|
|
897 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
898 |
19b68a2e
|
Lukáš Vlček
|
*
|
899 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
900 |
|
|
* @enum {string}
|
901 |
|
|
*/
|
902 |
|
|
|
903 |
|
|
export const ERole = {
|
904 |
|
|
Annotator: 'ANNOTATOR',
|
905 |
19b68a2e
|
Lukáš Vlček
|
Administrator: 'ADMINISTRATOR'
|
906 |
3e6b15a7
|
Lukáš Vlček
|
} as const;
|
907 |
|
|
|
908 |
|
|
export type ERole = typeof ERole[keyof typeof ERole];
|
909 |
|
|
|
910 |
19b68a2e
|
Lukáš Vlček
|
|
911 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
912 |
19b68a2e
|
Lukáš Vlček
|
*
|
913 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
914 |
|
|
* @enum {string}
|
915 |
|
|
*/
|
916 |
|
|
|
917 |
|
|
export const EState = {
|
918 |
|
|
Done: 'DONE',
|
919 |
|
|
InProgress: 'IN_PROGRESS',
|
920 |
19b68a2e
|
Lukáš Vlček
|
New: 'NEW'
|
921 |
3e6b15a7
|
Lukáš Vlček
|
} as const;
|
922 |
|
|
|
923 |
|
|
export type EState = typeof EState[keyof typeof EState];
|
924 |
|
|
|
925 |
19b68a2e
|
Lukáš Vlček
|
|
926 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
927 |
|
|
*
|
928 |
|
|
* @export
|
929 |
|
|
* @enum {string}
|
930 |
|
|
*/
|
931 |
|
|
|
932 |
|
|
export const ETagSentiment = {
|
933 |
|
|
Neutral: 'NEUTRAL',
|
934 |
|
|
Positive: 'POSITIVE',
|
935 |
|
|
Negative: 'NEGATIVE'
|
936 |
|
|
} as const;
|
937 |
|
|
|
938 |
|
|
export type ETagSentiment = typeof ETagSentiment[keyof typeof ETagSentiment];
|
939 |
|
|
|
940 |
|
|
|
941 |
4bc99591
|
Lukáš Vlček
|
/**
|
942 |
19b68a2e
|
Lukáš Vlček
|
*
|
943 |
4bc99591
|
Lukáš Vlček
|
* @export
|
944 |
|
|
* @enum {string}
|
945 |
|
|
*/
|
946 |
|
|
|
947 |
|
|
export const ETagType = {
|
948 |
|
|
Tag: 'TAG',
|
949 |
19b68a2e
|
Lukáš Vlček
|
Subtag: 'SUBTAG'
|
950 |
4bc99591
|
Lukáš Vlček
|
} as const;
|
951 |
|
|
|
952 |
|
|
export type ETagType = typeof ETagType[keyof typeof ETagType];
|
953 |
|
|
|
954 |
19b68a2e
|
Lukáš Vlček
|
|
955 |
ef5792a8
|
Lukáš Vlček
|
/**
|
956 |
|
|
*
|
957 |
|
|
* @export
|
958 |
|
|
* @interface ExportRequest
|
959 |
|
|
*/
|
960 |
|
|
export interface ExportRequest {
|
961 |
|
|
/**
|
962 |
|
|
*
|
963 |
|
|
* @type {Array<string>}
|
964 |
|
|
* @memberof ExportRequest
|
965 |
|
|
*/
|
966 |
|
|
'documentIds'?: Array<string> | null;
|
967 |
|
|
}
|
968 |
b80a6919
|
Lukáš Vlček
|
/**
|
969 |
|
|
*
|
970 |
|
|
* @export
|
971 |
|
|
* @interface FinalAnnotation
|
972 |
|
|
*/
|
973 |
|
|
export interface FinalAnnotation {
|
974 |
|
|
/**
|
975 |
|
|
*
|
976 |
|
|
* @type {string}
|
977 |
|
|
* @memberof FinalAnnotation
|
978 |
|
|
*/
|
979 |
|
|
'id'?: string;
|
980 |
|
|
/**
|
981 |
|
|
*
|
982 |
|
|
* @type {Document}
|
983 |
|
|
* @memberof FinalAnnotation
|
984 |
|
|
*/
|
985 |
|
|
'document'?: Document;
|
986 |
|
|
/**
|
987 |
|
|
*
|
988 |
|
|
* @type {User}
|
989 |
|
|
* @memberof FinalAnnotation
|
990 |
|
|
*/
|
991 |
|
|
'user'?: User;
|
992 |
|
|
/**
|
993 |
|
|
*
|
994 |
|
|
* @type {User}
|
995 |
|
|
* @memberof FinalAnnotation
|
996 |
|
|
*/
|
997 |
|
|
'userAssigned'?: User;
|
998 |
|
|
/**
|
999 |
|
|
*
|
1000 |
|
|
* @type {string}
|
1001 |
|
|
* @memberof FinalAnnotation
|
1002 |
|
|
*/
|
1003 |
|
|
'dateAssigned'?: string;
|
1004 |
|
|
/**
|
1005 |
|
|
*
|
1006 |
|
|
* @type {EState}
|
1007 |
|
|
* @memberof FinalAnnotation
|
1008 |
|
|
*/
|
1009 |
|
|
'state'?: EState;
|
1010 |
|
|
/**
|
1011 |
|
|
*
|
1012 |
|
|
* @type {string}
|
1013 |
|
|
* @memberof FinalAnnotation
|
1014 |
|
|
*/
|
1015 |
|
|
'dateLastChanged'?: string;
|
1016 |
|
|
/**
|
1017 |
|
|
*
|
1018 |
|
|
* @type {string}
|
1019 |
|
|
* @memberof FinalAnnotation
|
1020 |
|
|
*/
|
1021 |
|
|
'note'?: string | null;
|
1022 |
|
|
/**
|
1023 |
|
|
*
|
1024 |
|
|
* @type {string}
|
1025 |
|
|
* @memberof FinalAnnotation
|
1026 |
|
|
*/
|
1027 |
|
|
'cachedDocumentHTML'?: string | null;
|
1028 |
|
|
/**
|
1029 |
|
|
*
|
1030 |
|
|
* @type {string}
|
1031 |
|
|
* @memberof FinalAnnotation
|
1032 |
|
|
*/
|
1033 |
|
|
'cachedStartPositions'?: string | null;
|
1034 |
|
|
/**
|
1035 |
|
|
*
|
1036 |
|
|
* @type {string}
|
1037 |
|
|
* @memberof FinalAnnotation
|
1038 |
|
|
*/
|
1039 |
|
|
'cachedLengths'?: string | null;
|
1040 |
|
|
/**
|
1041 |
|
|
*
|
1042 |
|
|
* @type {string}
|
1043 |
|
|
* @memberof FinalAnnotation
|
1044 |
|
|
*/
|
1045 |
|
|
'cachedClosingPositions'?: string | null;
|
1046 |
|
|
/**
|
1047 |
|
|
*
|
1048 |
|
|
* @type {string}
|
1049 |
|
|
* @memberof FinalAnnotation
|
1050 |
|
|
*/
|
1051 |
|
|
'cachedClosingLengths'?: string | null;
|
1052 |
|
|
/**
|
1053 |
|
|
*
|
1054 |
|
|
* @type {string}
|
1055 |
|
|
* @memberof FinalAnnotation
|
1056 |
|
|
*/
|
1057 |
|
|
'cachedCSS'?: string | null;
|
1058 |
|
|
/**
|
1059 |
|
|
*
|
1060 |
|
|
* @type {string}
|
1061 |
|
|
* @memberof FinalAnnotation
|
1062 |
|
|
*/
|
1063 |
|
|
'lastModifiedTagId'?: string | null;
|
1064 |
|
|
/**
|
1065 |
|
|
*
|
1066 |
|
|
* @type {EModified}
|
1067 |
|
|
* @memberof FinalAnnotation
|
1068 |
|
|
*/
|
1069 |
|
|
'modifiedType'?: EModified;
|
1070 |
|
|
/**
|
1071 |
|
|
*
|
1072 |
|
|
* @type {Array<Class>}
|
1073 |
|
|
* @memberof FinalAnnotation
|
1074 |
|
|
*/
|
1075 |
|
|
'classes'?: Array<Class> | null;
|
1076 |
|
|
/**
|
1077 |
|
|
*
|
1078 |
|
|
* @type {Array<FinalAnnotation>}
|
1079 |
|
|
* @memberof FinalAnnotation
|
1080 |
|
|
*/
|
1081 |
|
|
'finalAnnotations'?: Array<FinalAnnotation> | null;
|
1082 |
|
|
/**
|
1083 |
|
|
*
|
1084 |
|
|
* @type {Array<Annotation>}
|
1085 |
|
|
* @memberof FinalAnnotation
|
1086 |
|
|
*/
|
1087 |
|
|
'annotations'?: Array<Annotation> | null;
|
1088 |
|
|
}
|
1089 |
|
|
/**
|
1090 |
|
|
*
|
1091 |
|
|
* @export
|
1092 |
|
|
* @interface FinalAnnotationTag
|
1093 |
|
|
*/
|
1094 |
|
|
export interface FinalAnnotationTag {
|
1095 |
|
|
/**
|
1096 |
|
|
*
|
1097 |
|
|
* @type {string}
|
1098 |
|
|
* @memberof FinalAnnotationTag
|
1099 |
|
|
*/
|
1100 |
|
|
'id'?: string;
|
1101 |
|
|
/**
|
1102 |
|
|
*
|
1103 |
|
|
* @type {Tag}
|
1104 |
|
|
* @memberof FinalAnnotationTag
|
1105 |
|
|
*/
|
1106 |
|
|
'tag'?: Tag;
|
1107 |
|
|
/**
|
1108 |
|
|
*
|
1109 |
|
|
* @type {SubTag}
|
1110 |
|
|
* @memberof FinalAnnotationTag
|
1111 |
|
|
*/
|
1112 |
|
|
'subTag'?: SubTag;
|
1113 |
|
|
/**
|
1114 |
|
|
*
|
1115 |
|
|
* @type {string}
|
1116 |
|
|
* @memberof FinalAnnotationTag
|
1117 |
|
|
*/
|
1118 |
|
|
'instance'?: string;
|
1119 |
|
|
/**
|
1120 |
|
|
*
|
1121 |
|
|
* @type {string}
|
1122 |
|
|
* @memberof FinalAnnotationTag
|
1123 |
|
|
*/
|
1124 |
|
|
'note'?: string | null;
|
1125 |
|
|
/**
|
1126 |
|
|
*
|
1127 |
|
|
* @type {number}
|
1128 |
|
|
* @memberof FinalAnnotationTag
|
1129 |
|
|
*/
|
1130 |
|
|
'position'?: number;
|
1131 |
|
|
/**
|
1132 |
|
|
*
|
1133 |
|
|
* @type {number}
|
1134 |
|
|
* @memberof FinalAnnotationTag
|
1135 |
|
|
*/
|
1136 |
|
|
'length'?: number;
|
1137 |
|
|
/**
|
1138 |
|
|
*
|
1139 |
|
|
* @type {ETagSentiment}
|
1140 |
|
|
* @memberof FinalAnnotationTag
|
1141 |
|
|
*/
|
1142 |
|
|
'sentiment'?: ETagSentiment;
|
1143 |
|
|
/**
|
1144 |
|
|
*
|
1145 |
|
|
* @type {string}
|
1146 |
|
|
* @memberof FinalAnnotationTag
|
1147 |
|
|
*/
|
1148 |
|
|
'selectedText'?: string | null;
|
1149 |
|
|
/**
|
1150 |
|
|
*
|
1151 |
|
|
* @type {FinalAnnotation}
|
1152 |
|
|
* @memberof FinalAnnotationTag
|
1153 |
|
|
*/
|
1154 |
|
|
'annotation'?: FinalAnnotation;
|
1155 |
|
|
/**
|
1156 |
|
|
*
|
1157 |
|
|
* @type {boolean}
|
1158 |
|
|
* @memberof FinalAnnotationTag
|
1159 |
|
|
*/
|
1160 |
|
|
'isFinal'?: boolean;
|
1161 |
|
|
/**
|
1162 |
|
|
*
|
1163 |
|
|
* @type {Array<User>}
|
1164 |
|
|
* @memberof FinalAnnotationTag
|
1165 |
|
|
*/
|
1166 |
|
|
'users'?: Array<User> | null;
|
1167 |
|
|
}
|
1168 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1169 |
19b68a2e
|
Lukáš Vlček
|
*
|
1170 |
|
|
* @export
|
1171 |
|
|
* @interface GetRequiredAnnotationsGlobalResponse
|
1172 |
|
|
*/
|
1173 |
|
|
export interface GetRequiredAnnotationsGlobalResponse {
|
1174 |
|
|
/**
|
1175 |
|
|
*
|
1176 |
|
|
* @type {number}
|
1177 |
|
|
* @memberof GetRequiredAnnotationsGlobalResponse
|
1178 |
|
|
*/
|
1179 |
|
|
'requiredAnnotationsGlobal'?: number;
|
1180 |
|
|
}
|
1181 |
|
|
/**
|
1182 |
|
|
*
|
1183 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1184 |
|
|
* @interface LoginRequest
|
1185 |
|
|
*/
|
1186 |
|
|
export interface LoginRequest {
|
1187 |
|
|
/**
|
1188 |
19b68a2e
|
Lukáš Vlček
|
*
|
1189 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1190 |
|
|
* @memberof LoginRequest
|
1191 |
|
|
*/
|
1192 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
1193 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1194 |
19b68a2e
|
Lukáš Vlček
|
*
|
1195 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1196 |
|
|
* @memberof LoginRequest
|
1197 |
|
|
*/
|
1198 |
19b68a2e
|
Lukáš Vlček
|
'password'?: string | null;
|
1199 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1200 |
|
|
/**
|
1201 |
19b68a2e
|
Lukáš Vlček
|
*
|
1202 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1203 |
|
|
* @interface LoginResponse
|
1204 |
|
|
*/
|
1205 |
|
|
export interface LoginResponse {
|
1206 |
|
|
/**
|
1207 |
19b68a2e
|
Lukáš Vlček
|
*
|
1208 |
3e6b15a7
|
Lukáš Vlček
|
* @type {boolean}
|
1209 |
|
|
* @memberof LoginResponse
|
1210 |
|
|
*/
|
1211 |
19b68a2e
|
Lukáš Vlček
|
'ok'?: boolean;
|
1212 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1213 |
19b68a2e
|
Lukáš Vlček
|
*
|
1214 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1215 |
|
|
* @memberof LoginResponse
|
1216 |
|
|
*/
|
1217 |
19b68a2e
|
Lukáš Vlček
|
'token'?: string | null;
|
1218 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1219 |
19b68a2e
|
Lukáš Vlček
|
*
|
1220 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1221 |
|
|
* @memberof LoginResponse
|
1222 |
|
|
*/
|
1223 |
19b68a2e
|
Lukáš Vlček
|
'expiration'?: string;
|
1224 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1225 |
19b68a2e
|
Lukáš Vlček
|
*
|
1226 |
3e6b15a7
|
Lukáš Vlček
|
* @type {ERole}
|
1227 |
|
|
* @memberof LoginResponse
|
1228 |
|
|
*/
|
1229 |
19b68a2e
|
Lukáš Vlček
|
'role'?: ERole;
|
1230 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1231 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
1232 |
|
|
*
|
1233 |
|
|
* @export
|
1234 |
|
|
* @interface MarkAnnotationDoneRequest
|
1235 |
|
|
*/
|
1236 |
|
|
export interface MarkAnnotationDoneRequest {
|
1237 |
|
|
/**
|
1238 |
|
|
*
|
1239 |
|
|
* @type {boolean}
|
1240 |
|
|
* @memberof MarkAnnotationDoneRequest
|
1241 |
|
|
*/
|
1242 |
|
|
'done'?: boolean;
|
1243 |
|
|
}
|
1244 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1245 |
|
|
*
|
1246 |
|
|
* @export
|
1247 |
|
|
* @interface ModifyCategoryRequest
|
1248 |
|
|
*/
|
1249 |
|
|
export interface ModifyCategoryRequest {
|
1250 |
|
|
/**
|
1251 |
|
|
*
|
1252 |
|
|
* @type {string}
|
1253 |
|
|
* @memberof ModifyCategoryRequest
|
1254 |
|
|
*/
|
1255 |
|
|
'name'?: string | null;
|
1256 |
|
|
/**
|
1257 |
|
|
*
|
1258 |
|
|
* @type {string}
|
1259 |
|
|
* @memberof ModifyCategoryRequest
|
1260 |
|
|
*/
|
1261 |
|
|
'description'?: string | null;
|
1262 |
|
|
/**
|
1263 |
|
|
*
|
1264 |
|
|
* @type {string}
|
1265 |
|
|
* @memberof ModifyCategoryRequest
|
1266 |
|
|
*/
|
1267 |
|
|
'color'?: string | null;
|
1268 |
|
|
/**
|
1269 |
|
|
*
|
1270 |
|
|
* @type {boolean}
|
1271 |
|
|
* @memberof ModifyCategoryRequest
|
1272 |
|
|
*/
|
1273 |
|
|
'disabledForAnnotators'?: boolean | null;
|
1274 |
|
|
}
|
1275 |
|
|
/**
|
1276 |
|
|
*
|
1277 |
|
|
* @export
|
1278 |
|
|
* @interface ModifySubTagRequest
|
1279 |
|
|
*/
|
1280 |
|
|
export interface ModifySubTagRequest {
|
1281 |
|
|
/**
|
1282 |
|
|
*
|
1283 |
|
|
* @type {string}
|
1284 |
|
|
* @memberof ModifySubTagRequest
|
1285 |
|
|
*/
|
1286 |
|
|
'name'?: string | null;
|
1287 |
|
|
/**
|
1288 |
|
|
*
|
1289 |
|
|
* @type {string}
|
1290 |
|
|
* @memberof ModifySubTagRequest
|
1291 |
|
|
*/
|
1292 |
|
|
'description'?: string | null;
|
1293 |
|
|
/**
|
1294 |
|
|
*
|
1295 |
|
|
* @type {boolean}
|
1296 |
|
|
* @memberof ModifySubTagRequest
|
1297 |
|
|
*/
|
1298 |
|
|
'sentimentEnabled'?: boolean | null;
|
1299 |
|
|
}
|
1300 |
|
|
/**
|
1301 |
|
|
*
|
1302 |
|
|
* @export
|
1303 |
|
|
* @interface ModifyTagRequest
|
1304 |
|
|
*/
|
1305 |
|
|
export interface ModifyTagRequest {
|
1306 |
|
|
/**
|
1307 |
|
|
*
|
1308 |
|
|
* @type {string}
|
1309 |
|
|
* @memberof ModifyTagRequest
|
1310 |
|
|
*/
|
1311 |
|
|
'name'?: string | null;
|
1312 |
|
|
/**
|
1313 |
|
|
*
|
1314 |
|
|
* @type {string}
|
1315 |
|
|
* @memberof ModifyTagRequest
|
1316 |
|
|
*/
|
1317 |
|
|
'description'?: string | null;
|
1318 |
|
|
/**
|
1319 |
|
|
*
|
1320 |
|
|
* @type {string}
|
1321 |
|
|
* @memberof ModifyTagRequest
|
1322 |
|
|
*/
|
1323 |
|
|
'color'?: string | null;
|
1324 |
|
|
/**
|
1325 |
|
|
*
|
1326 |
|
|
* @type {boolean}
|
1327 |
|
|
* @memberof ModifyTagRequest
|
1328 |
|
|
*/
|
1329 |
|
|
'sentimentEnabled'?: boolean | null;
|
1330 |
|
|
}
|
1331 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1332 |
19b68a2e
|
Lukáš Vlček
|
*
|
1333 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1334 |
|
|
* @interface ProblemDetails
|
1335 |
|
|
*/
|
1336 |
|
|
export interface ProblemDetails {
|
1337 |
|
|
[key: string]: any | any;
|
1338 |
|
|
|
1339 |
|
|
/**
|
1340 |
19b68a2e
|
Lukáš Vlček
|
*
|
1341 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1342 |
|
|
* @memberof ProblemDetails
|
1343 |
|
|
*/
|
1344 |
19b68a2e
|
Lukáš Vlček
|
'type'?: string | null;
|
1345 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1346 |
19b68a2e
|
Lukáš Vlček
|
*
|
1347 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1348 |
|
|
* @memberof ProblemDetails
|
1349 |
|
|
*/
|
1350 |
19b68a2e
|
Lukáš Vlček
|
'title'?: string | null;
|
1351 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1352 |
19b68a2e
|
Lukáš Vlček
|
*
|
1353 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
1354 |
|
|
* @memberof ProblemDetails
|
1355 |
|
|
*/
|
1356 |
19b68a2e
|
Lukáš Vlček
|
'status'?: number | null;
|
1357 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1358 |
19b68a2e
|
Lukáš Vlček
|
*
|
1359 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1360 |
|
|
* @memberof ProblemDetails
|
1361 |
|
|
*/
|
1362 |
19b68a2e
|
Lukáš Vlček
|
'detail'?: string | null;
|
1363 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1364 |
19b68a2e
|
Lukáš Vlček
|
*
|
1365 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1366 |
|
|
* @memberof ProblemDetails
|
1367 |
|
|
*/
|
1368 |
19b68a2e
|
Lukáš Vlček
|
'instance'?: string | null;
|
1369 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1370 |
b80a6919
|
Lukáš Vlček
|
/**
|
1371 |
|
|
*
|
1372 |
|
|
* @export
|
1373 |
|
|
* @interface SetInstanceIsFinalRequest
|
1374 |
|
|
*/
|
1375 |
|
|
export interface SetInstanceIsFinalRequest {
|
1376 |
|
|
/**
|
1377 |
|
|
*
|
1378 |
|
|
* @type {boolean}
|
1379 |
|
|
* @memberof SetInstanceIsFinalRequest
|
1380 |
|
|
*/
|
1381 |
|
|
'isFinal'?: boolean;
|
1382 |
|
|
}
|
1383 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1384 |
|
|
*
|
1385 |
|
|
* @export
|
1386 |
|
|
* @interface SetInstanceSentimentRequest
|
1387 |
|
|
*/
|
1388 |
|
|
export interface SetInstanceSentimentRequest {
|
1389 |
|
|
/**
|
1390 |
|
|
*
|
1391 |
|
|
* @type {ETagSentiment}
|
1392 |
|
|
* @memberof SetInstanceSentimentRequest
|
1393 |
|
|
*/
|
1394 |
|
|
'sentiment'?: ETagSentiment;
|
1395 |
|
|
}
|
1396 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1397 |
19b68a2e
|
Lukáš Vlček
|
*
|
1398 |
|
|
* @export
|
1399 |
|
|
* @interface SetRequiredAnnotationsGlobalRequest
|
1400 |
|
|
*/
|
1401 |
|
|
export interface SetRequiredAnnotationsGlobalRequest {
|
1402 |
|
|
/**
|
1403 |
|
|
*
|
1404 |
|
|
* @type {number}
|
1405 |
|
|
* @memberof SetRequiredAnnotationsGlobalRequest
|
1406 |
|
|
*/
|
1407 |
|
|
'requiredAnnotations'?: number;
|
1408 |
|
|
}
|
1409 |
|
|
/**
|
1410 |
|
|
*
|
1411 |
|
|
* @export
|
1412 |
|
|
* @interface SetRequiredAnnotationsRequest
|
1413 |
|
|
*/
|
1414 |
|
|
export interface SetRequiredAnnotationsRequest {
|
1415 |
|
|
/**
|
1416 |
|
|
*
|
1417 |
|
|
* @type {number}
|
1418 |
|
|
* @memberof SetRequiredAnnotationsRequest
|
1419 |
|
|
*/
|
1420 |
|
|
'requiredAnnotations'?: number;
|
1421 |
|
|
/**
|
1422 |
|
|
*
|
1423 |
|
|
* @type {Array<string>}
|
1424 |
|
|
* @memberof SetRequiredAnnotationsRequest
|
1425 |
|
|
*/
|
1426 |
|
|
'documentIds'?: Array<string> | null;
|
1427 |
|
|
}
|
1428 |
b80a6919
|
Lukáš Vlček
|
/**
|
1429 |
|
|
*
|
1430 |
|
|
* @export
|
1431 |
|
|
* @interface SubTag
|
1432 |
|
|
*/
|
1433 |
|
|
export interface SubTag {
|
1434 |
|
|
/**
|
1435 |
|
|
*
|
1436 |
|
|
* @type {string}
|
1437 |
|
|
* @memberof SubTag
|
1438 |
|
|
*/
|
1439 |
|
|
'id'?: string;
|
1440 |
|
|
/**
|
1441 |
|
|
*
|
1442 |
|
|
* @type {string}
|
1443 |
|
|
* @memberof SubTag
|
1444 |
|
|
*/
|
1445 |
|
|
'name'?: string | null;
|
1446 |
|
|
/**
|
1447 |
|
|
*
|
1448 |
|
|
* @type {string}
|
1449 |
|
|
* @memberof SubTag
|
1450 |
|
|
*/
|
1451 |
|
|
'description'?: string | null;
|
1452 |
|
|
/**
|
1453 |
|
|
*
|
1454 |
|
|
* @type {Tag}
|
1455 |
|
|
* @memberof SubTag
|
1456 |
|
|
*/
|
1457 |
|
|
'tag'?: Tag;
|
1458 |
|
|
/**
|
1459 |
|
|
*
|
1460 |
|
|
* @type {boolean}
|
1461 |
|
|
* @memberof SubTag
|
1462 |
|
|
*/
|
1463 |
|
|
'sentimentEnabled'?: boolean;
|
1464 |
|
|
}
|
1465 |
19b68a2e
|
Lukáš Vlček
|
/**
|
1466 |
|
|
*
|
1467 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1468 |
|
|
* @interface SubTagInfo
|
1469 |
|
|
*/
|
1470 |
|
|
export interface SubTagInfo {
|
1471 |
|
|
/**
|
1472 |
19b68a2e
|
Lukáš Vlček
|
*
|
1473 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1474 |
|
|
* @memberof SubTagInfo
|
1475 |
|
|
*/
|
1476 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
1477 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1478 |
19b68a2e
|
Lukáš Vlček
|
*
|
1479 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1480 |
|
|
* @memberof SubTagInfo
|
1481 |
|
|
*/
|
1482 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1483 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1484 |
19b68a2e
|
Lukáš Vlček
|
*
|
1485 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1486 |
|
|
* @memberof SubTagInfo
|
1487 |
|
|
*/
|
1488 |
19b68a2e
|
Lukáš Vlček
|
'description'?: string | null;
|
1489 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1490 |
b80a6919
|
Lukáš Vlček
|
/**
|
1491 |
|
|
*
|
1492 |
|
|
* @export
|
1493 |
|
|
* @interface Tag
|
1494 |
|
|
*/
|
1495 |
|
|
export interface Tag {
|
1496 |
|
|
/**
|
1497 |
|
|
*
|
1498 |
|
|
* @type {string}
|
1499 |
|
|
* @memberof Tag
|
1500 |
|
|
*/
|
1501 |
|
|
'id'?: string;
|
1502 |
|
|
/**
|
1503 |
|
|
*
|
1504 |
|
|
* @type {TagCategory}
|
1505 |
|
|
* @memberof Tag
|
1506 |
|
|
*/
|
1507 |
|
|
'category'?: TagCategory;
|
1508 |
|
|
/**
|
1509 |
|
|
*
|
1510 |
|
|
* @type {string}
|
1511 |
|
|
* @memberof Tag
|
1512 |
|
|
*/
|
1513 |
|
|
'name'?: string | null;
|
1514 |
|
|
/**
|
1515 |
|
|
*
|
1516 |
|
|
* @type {string}
|
1517 |
|
|
* @memberof Tag
|
1518 |
|
|
*/
|
1519 |
|
|
'description'?: string | null;
|
1520 |
|
|
/**
|
1521 |
|
|
*
|
1522 |
|
|
* @type {string}
|
1523 |
|
|
* @memberof Tag
|
1524 |
|
|
*/
|
1525 |
|
|
'color'?: string | null;
|
1526 |
|
|
/**
|
1527 |
|
|
*
|
1528 |
|
|
* @type {boolean}
|
1529 |
|
|
* @memberof Tag
|
1530 |
|
|
*/
|
1531 |
|
|
'sentimentEnabled'?: boolean;
|
1532 |
|
|
}
|
1533 |
|
|
/**
|
1534 |
|
|
*
|
1535 |
|
|
* @export
|
1536 |
|
|
* @interface TagCategory
|
1537 |
|
|
*/
|
1538 |
|
|
export interface TagCategory {
|
1539 |
|
|
/**
|
1540 |
|
|
*
|
1541 |
|
|
* @type {string}
|
1542 |
|
|
* @memberof TagCategory
|
1543 |
|
|
*/
|
1544 |
|
|
'id'?: string;
|
1545 |
|
|
/**
|
1546 |
|
|
*
|
1547 |
|
|
* @type {string}
|
1548 |
|
|
* @memberof TagCategory
|
1549 |
|
|
*/
|
1550 |
|
|
'name'?: string | null;
|
1551 |
|
|
/**
|
1552 |
|
|
*
|
1553 |
|
|
* @type {string}
|
1554 |
|
|
* @memberof TagCategory
|
1555 |
|
|
*/
|
1556 |
|
|
'color'?: string | null;
|
1557 |
|
|
/**
|
1558 |
|
|
*
|
1559 |
|
|
* @type {string}
|
1560 |
|
|
* @memberof TagCategory
|
1561 |
|
|
*/
|
1562 |
|
|
'description'?: string | null;
|
1563 |
|
|
/**
|
1564 |
|
|
*
|
1565 |
|
|
* @type {boolean}
|
1566 |
|
|
* @memberof TagCategory
|
1567 |
|
|
*/
|
1568 |
|
|
'disabledForAnnotators'?: boolean;
|
1569 |
|
|
}
|
1570 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1571 |
19b68a2e
|
Lukáš Vlček
|
*
|
1572 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1573 |
|
|
* @interface TagCategoryInfo
|
1574 |
|
|
*/
|
1575 |
|
|
export interface TagCategoryInfo {
|
1576 |
|
|
/**
|
1577 |
19b68a2e
|
Lukáš Vlček
|
*
|
1578 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1579 |
|
|
* @memberof TagCategoryInfo
|
1580 |
|
|
*/
|
1581 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
1582 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1583 |
19b68a2e
|
Lukáš Vlček
|
*
|
1584 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1585 |
|
|
* @memberof TagCategoryInfo
|
1586 |
|
|
*/
|
1587 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1588 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1589 |
19b68a2e
|
Lukáš Vlček
|
*
|
1590 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1591 |
|
|
* @memberof TagCategoryInfo
|
1592 |
|
|
*/
|
1593 |
19b68a2e
|
Lukáš Vlček
|
'description'?: string | null;
|
1594 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1595 |
19b68a2e
|
Lukáš Vlček
|
*
|
1596 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1597 |
|
|
* @memberof TagCategoryInfo
|
1598 |
|
|
*/
|
1599 |
19b68a2e
|
Lukáš Vlček
|
'color'?: string | null;
|
1600 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1601 |
19b68a2e
|
Lukáš Vlček
|
*
|
1602 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<TagInfo>}
|
1603 |
|
|
* @memberof TagCategoryInfo
|
1604 |
|
|
*/
|
1605 |
19b68a2e
|
Lukáš Vlček
|
'tags'?: Array<TagInfo> | null;
|
1606 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1607 |
|
|
*
|
1608 |
|
|
* @type {boolean}
|
1609 |
|
|
* @memberof TagCategoryInfo
|
1610 |
|
|
*/
|
1611 |
|
|
'disabledForAnnotators'?: boolean;
|
1612 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1613 |
|
|
/**
|
1614 |
19b68a2e
|
Lukáš Vlček
|
*
|
1615 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1616 |
|
|
* @interface TagInfo
|
1617 |
|
|
*/
|
1618 |
|
|
export interface TagInfo {
|
1619 |
|
|
/**
|
1620 |
19b68a2e
|
Lukáš Vlček
|
*
|
1621 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1622 |
|
|
* @memberof TagInfo
|
1623 |
|
|
*/
|
1624 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
1625 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1626 |
19b68a2e
|
Lukáš Vlček
|
*
|
1627 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1628 |
|
|
* @memberof TagInfo
|
1629 |
|
|
*/
|
1630 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1631 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1632 |
19b68a2e
|
Lukáš Vlček
|
*
|
1633 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1634 |
|
|
* @memberof TagInfo
|
1635 |
|
|
*/
|
1636 |
19b68a2e
|
Lukáš Vlček
|
'description'?: string | null;
|
1637 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1638 |
19b68a2e
|
Lukáš Vlček
|
*
|
1639 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1640 |
|
|
* @memberof TagInfo
|
1641 |
|
|
*/
|
1642 |
19b68a2e
|
Lukáš Vlček
|
'color'?: string | null;
|
1643 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1644 |
19b68a2e
|
Lukáš Vlček
|
*
|
1645 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<SubTagInfo>}
|
1646 |
|
|
* @memberof TagInfo
|
1647 |
|
|
*/
|
1648 |
19b68a2e
|
Lukáš Vlček
|
'subTags'?: Array<SubTagInfo> | null;
|
1649 |
0e4d7bd0
|
Dominik Poch
|
/**
|
1650 |
|
|
*
|
1651 |
|
|
* @type {boolean}
|
1652 |
|
|
* @memberof TagInfo
|
1653 |
|
|
*/
|
1654 |
|
|
'sentimentEnabled'?: boolean;
|
1655 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1656 |
f30a7b90
|
Lukáš Vlček
|
/**
|
1657 |
|
|
*
|
1658 |
|
|
* @export
|
1659 |
|
|
* @interface TagInstanceCSSInfo
|
1660 |
|
|
*/
|
1661 |
|
|
export interface TagInstanceCSSInfo {
|
1662 |
|
|
/**
|
1663 |
|
|
*
|
1664 |
|
|
* @type {string}
|
1665 |
|
|
* @memberof TagInstanceCSSInfo
|
1666 |
|
|
*/
|
1667 |
|
|
'instanceId'?: string;
|
1668 |
|
|
/**
|
1669 |
|
|
*
|
1670 |
|
|
* @type {string}
|
1671 |
|
|
* @memberof TagInstanceCSSInfo
|
1672 |
|
|
*/
|
1673 |
|
|
'color'?: string | null;
|
1674 |
|
|
/**
|
1675 |
|
|
*
|
1676 |
|
|
* @type {number}
|
1677 |
|
|
* @memberof TagInstanceCSSInfo
|
1678 |
|
|
*/
|
1679 |
|
|
'padding'?: number;
|
1680 |
|
|
}
|
1681 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1682 |
19b68a2e
|
Lukáš Vlček
|
*
|
1683 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1684 |
|
|
* @interface TagInstanceInfo
|
1685 |
|
|
*/
|
1686 |
|
|
export interface TagInstanceInfo {
|
1687 |
9fdb7d55
|
Lukáš Vlček
|
/**
|
1688 |
19b68a2e
|
Lukáš Vlček
|
*
|
1689 |
9fdb7d55
|
Lukáš Vlček
|
* @type {string}
|
1690 |
|
|
* @memberof TagInstanceInfo
|
1691 |
|
|
*/
|
1692 |
19b68a2e
|
Lukáš Vlček
|
'occurenceId'?: string;
|
1693 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1694 |
19b68a2e
|
Lukáš Vlček
|
*
|
1695 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1696 |
|
|
* @memberof TagInstanceInfo
|
1697 |
|
|
*/
|
1698 |
19b68a2e
|
Lukáš Vlček
|
'tagName'?: string | null;
|
1699 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1700 |
19b68a2e
|
Lukáš Vlček
|
*
|
1701 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1702 |
|
|
* @memberof TagInstanceInfo
|
1703 |
|
|
*/
|
1704 |
19b68a2e
|
Lukáš Vlček
|
'tagId'?: string;
|
1705 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1706 |
19b68a2e
|
Lukáš Vlček
|
*
|
1707 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1708 |
|
|
* @memberof TagInstanceInfo
|
1709 |
|
|
*/
|
1710 |
19b68a2e
|
Lukáš Vlček
|
'tagCategoryName'?: string | null;
|
1711 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1712 |
19b68a2e
|
Lukáš Vlček
|
*
|
1713 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1714 |
|
|
* @memberof TagInstanceInfo
|
1715 |
|
|
*/
|
1716 |
19b68a2e
|
Lukáš Vlček
|
'tagCategoryId'?: string;
|
1717 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1718 |
19b68a2e
|
Lukáš Vlček
|
*
|
1719 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1720 |
|
|
* @memberof TagInstanceInfo
|
1721 |
|
|
*/
|
1722 |
19b68a2e
|
Lukáš Vlček
|
'subTagName'?: string | null;
|
1723 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1724 |
19b68a2e
|
Lukáš Vlček
|
*
|
1725 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1726 |
|
|
* @memberof TagInstanceInfo
|
1727 |
|
|
*/
|
1728 |
19b68a2e
|
Lukáš Vlček
|
'subTagId'?: string | null;
|
1729 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1730 |
19b68a2e
|
Lukáš Vlček
|
*
|
1731 |
4bc99591
|
Lukáš Vlček
|
* @type {string}
|
1732 |
3e6b15a7
|
Lukáš Vlček
|
* @memberof TagInstanceInfo
|
1733 |
|
|
*/
|
1734 |
19b68a2e
|
Lukáš Vlček
|
'instance'?: string;
|
1735 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1736 |
19b68a2e
|
Lukáš Vlček
|
*
|
1737 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
1738 |
|
|
* @memberof TagInstanceInfo
|
1739 |
|
|
*/
|
1740 |
19b68a2e
|
Lukáš Vlček
|
'position'?: number;
|
1741 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1742 |
19b68a2e
|
Lukáš Vlček
|
*
|
1743 |
3e6b15a7
|
Lukáš Vlček
|
* @type {number}
|
1744 |
|
|
* @memberof TagInstanceInfo
|
1745 |
|
|
*/
|
1746 |
19b68a2e
|
Lukáš Vlček
|
'length'?: number;
|
1747 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1748 |
19b68a2e
|
Lukáš Vlček
|
*
|
1749 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1750 |
|
|
* @memberof TagInstanceInfo
|
1751 |
|
|
*/
|
1752 |
19b68a2e
|
Lukáš Vlček
|
'note'?: string | null;
|
1753 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1754 |
|
|
*
|
1755 |
|
|
* @type {ETagSentiment}
|
1756 |
|
|
* @memberof TagInstanceInfo
|
1757 |
|
|
*/
|
1758 |
|
|
'sentiment'?: ETagSentiment;
|
1759 |
f30a7b90
|
Lukáš Vlček
|
/**
|
1760 |
|
|
*
|
1761 |
|
|
* @type {string}
|
1762 |
|
|
* @memberof TagInstanceInfo
|
1763 |
|
|
*/
|
1764 |
|
|
'selectedText'?: string | null;
|
1765 |
b80a6919
|
Lukáš Vlček
|
/**
|
1766 |
|
|
*
|
1767 |
|
|
* @type {Array<UserInfo>}
|
1768 |
|
|
* @memberof TagInstanceInfo
|
1769 |
|
|
*/
|
1770 |
|
|
'users'?: Array<UserInfo> | null;
|
1771 |
|
|
/**
|
1772 |
|
|
*
|
1773 |
|
|
* @type {boolean}
|
1774 |
|
|
* @memberof TagInstanceInfo
|
1775 |
|
|
*/
|
1776 |
|
|
'isFinal'?: boolean | null;
|
1777 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1778 |
|
|
/**
|
1779 |
19b68a2e
|
Lukáš Vlček
|
*
|
1780 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1781 |
|
|
* @interface TagTreeResponse
|
1782 |
|
|
*/
|
1783 |
|
|
export interface TagTreeResponse {
|
1784 |
|
|
/**
|
1785 |
19b68a2e
|
Lukáš Vlček
|
*
|
1786 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<TagCategoryInfo>}
|
1787 |
|
|
* @memberof TagTreeResponse
|
1788 |
|
|
*/
|
1789 |
19b68a2e
|
Lukáš Vlček
|
'tagCategories'?: Array<TagCategoryInfo> | null;
|
1790 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1791 |
|
|
/**
|
1792 |
19b68a2e
|
Lukáš Vlček
|
*
|
1793 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1794 |
|
|
* @interface User
|
1795 |
|
|
*/
|
1796 |
|
|
export interface User {
|
1797 |
|
|
/**
|
1798 |
19b68a2e
|
Lukáš Vlček
|
*
|
1799 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1800 |
|
|
* @memberof User
|
1801 |
|
|
*/
|
1802 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
1803 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1804 |
19b68a2e
|
Lukáš Vlček
|
*
|
1805 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1806 |
|
|
* @memberof User
|
1807 |
|
|
*/
|
1808 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
1809 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1810 |
19b68a2e
|
Lukáš Vlček
|
*
|
1811 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1812 |
|
|
* @memberof User
|
1813 |
|
|
*/
|
1814 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1815 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1816 |
19b68a2e
|
Lukáš Vlček
|
*
|
1817 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1818 |
|
|
* @memberof User
|
1819 |
|
|
*/
|
1820 |
19b68a2e
|
Lukáš Vlček
|
'surname'?: string | null;
|
1821 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1822 |
19b68a2e
|
Lukáš Vlček
|
*
|
1823 |
3e6b15a7
|
Lukáš Vlček
|
* @type {ERole}
|
1824 |
|
|
* @memberof User
|
1825 |
|
|
*/
|
1826 |
19b68a2e
|
Lukáš Vlček
|
'role'?: ERole;
|
1827 |
b80a6919
|
Lukáš Vlček
|
/**
|
1828 |
|
|
*
|
1829 |
|
|
* @type {Array<FinalAnnotationTag>}
|
1830 |
|
|
* @memberof User
|
1831 |
|
|
*/
|
1832 |
|
|
'finalAnnotationTags'?: Array<FinalAnnotationTag> | null;
|
1833 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1834 |
|
|
/**
|
1835 |
19b68a2e
|
Lukáš Vlček
|
*
|
1836 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1837 |
|
|
* @interface UserInfo
|
1838 |
|
|
*/
|
1839 |
|
|
export interface UserInfo {
|
1840 |
|
|
/**
|
1841 |
19b68a2e
|
Lukáš Vlček
|
*
|
1842 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1843 |
|
|
* @memberof UserInfo
|
1844 |
|
|
*/
|
1845 |
19b68a2e
|
Lukáš Vlček
|
'id'?: string;
|
1846 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1847 |
19b68a2e
|
Lukáš Vlček
|
*
|
1848 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1849 |
|
|
* @memberof UserInfo
|
1850 |
|
|
*/
|
1851 |
19b68a2e
|
Lukáš Vlček
|
'username'?: string | null;
|
1852 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1853 |
19b68a2e
|
Lukáš Vlček
|
*
|
1854 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1855 |
|
|
* @memberof UserInfo
|
1856 |
|
|
*/
|
1857 |
19b68a2e
|
Lukáš Vlček
|
'name'?: string | null;
|
1858 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1859 |
19b68a2e
|
Lukáš Vlček
|
*
|
1860 |
3e6b15a7
|
Lukáš Vlček
|
* @type {string}
|
1861 |
|
|
* @memberof UserInfo
|
1862 |
|
|
*/
|
1863 |
19b68a2e
|
Lukáš Vlček
|
'surname'?: string | null;
|
1864 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
1865 |
|
|
*
|
1866 |
|
|
* @type {number}
|
1867 |
|
|
* @memberof UserInfo
|
1868 |
|
|
*/
|
1869 |
|
|
'assignedDocumentsCount'?: number;
|
1870 |
|
|
/**
|
1871 |
|
|
*
|
1872 |
|
|
* @type {ERole}
|
1873 |
|
|
* @memberof UserInfo
|
1874 |
|
|
*/
|
1875 |
|
|
'role'?: ERole;
|
1876 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1877 |
|
|
/**
|
1878 |
19b68a2e
|
Lukáš Vlček
|
*
|
1879 |
3e6b15a7
|
Lukáš Vlček
|
* @export
|
1880 |
|
|
* @interface UserList
|
1881 |
|
|
*/
|
1882 |
|
|
export interface UserList {
|
1883 |
|
|
/**
|
1884 |
19b68a2e
|
Lukáš Vlček
|
*
|
1885 |
3e6b15a7
|
Lukáš Vlček
|
* @type {Array<UserInfo>}
|
1886 |
|
|
* @memberof UserList
|
1887 |
|
|
*/
|
1888 |
19b68a2e
|
Lukáš Vlček
|
'users'?: Array<UserInfo> | null;
|
1889 |
3e6b15a7
|
Lukáš Vlček
|
}
|
1890 |
db0f300f
|
Jaroslav Hrubý
|
/**
|
1891 |
|
|
*
|
1892 |
|
|
* @export
|
1893 |
|
|
* @interface UserMeResponse
|
1894 |
|
|
*/
|
1895 |
|
|
export interface UserMeResponse {
|
1896 |
|
|
/**
|
1897 |
|
|
*
|
1898 |
|
|
* @type {string}
|
1899 |
|
|
* @memberof UserMeResponse
|
1900 |
|
|
*/
|
1901 |
|
|
'name'?: string | null;
|
1902 |
|
|
/**
|
1903 |
|
|
*
|
1904 |
|
|
* @type {ERole}
|
1905 |
|
|
* @memberof UserMeResponse
|
1906 |
|
|
*/
|
1907 |
|
|
'role'?: ERole;
|
1908 |
|
|
}
|
1909 |
3e6b15a7
|
Lukáš Vlček
|
|
1910 |
|
|
/**
|
1911 |
|
|
* AnnotationApi - axios parameter creator
|
1912 |
|
|
* @export
|
1913 |
|
|
*/
|
1914 |
|
|
export const AnnotationApiAxiosParamCreator = function (configuration?: Configuration) {
|
1915 |
|
|
return {
|
1916 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
1917 |
|
|
*
|
1918 |
|
|
* @param {string} annotationId
|
1919 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
1920 |
b51488cd
|
Jaroslav Hrubý
|
* @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest]
|
1921 |
|
|
* @param {*} [options] Override http request option.
|
1922 |
|
|
* @throws {RequiredError}
|
1923 |
|
|
*/
|
1924 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdDonePut: async (annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1925 |
b51488cd
|
Jaroslav Hrubý
|
// verify required parameter 'annotationId' is not null or undefined
|
1926 |
|
|
assertParamExists('annotationAnnotationIdDonePut', 'annotationId', annotationId)
|
1927 |
|
|
const localVarPath = `/annotation/{annotationId}/done`
|
1928 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
|
1929 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1930 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1931 |
|
|
let baseOptions;
|
1932 |
|
|
if (configuration) {
|
1933 |
|
|
baseOptions = configuration.baseOptions;
|
1934 |
|
|
}
|
1935 |
|
|
|
1936 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
1937 |
|
|
const localVarHeaderParameter = {} as any;
|
1938 |
|
|
const localVarQueryParameter = {} as any;
|
1939 |
|
|
|
1940 |
048b4bc0
|
Lukáš Vlček
|
if (isFinal !== undefined) {
|
1941 |
|
|
localVarQueryParameter['isFinal'] = isFinal;
|
1942 |
|
|
}
|
1943 |
|
|
|
1944 |
b51488cd
|
Jaroslav Hrubý
|
|
1945 |
|
|
|
1946 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1947 |
|
|
|
1948 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1949 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1950 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1951 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(markAnnotationDoneRequest, localVarRequestOptions, configuration)
|
1952 |
|
|
|
1953 |
|
|
return {
|
1954 |
|
|
url: toPathString(localVarUrlObj),
|
1955 |
|
|
options: localVarRequestOptions,
|
1956 |
|
|
};
|
1957 |
|
|
},
|
1958 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
1959 |
19b68a2e
|
Lukáš Vlček
|
*
|
1960 |
|
|
* @param {string} annotationId
|
1961 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
1962 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
1963 |
|
|
* @throws {RequiredError}
|
1964 |
|
|
*/
|
1965 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdGet: async (annotationId: string, isFinal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
1966 |
dd747fc5
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
1967 |
19b68a2e
|
Lukáš Vlček
|
assertParamExists('annotationAnnotationIdGet', 'annotationId', annotationId)
|
1968 |
|
|
const localVarPath = `/annotation/{annotationId}`
|
1969 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
|
1970 |
3e6b15a7
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1971 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
1972 |
|
|
let baseOptions;
|
1973 |
|
|
if (configuration) {
|
1974 |
|
|
baseOptions = configuration.baseOptions;
|
1975 |
|
|
}
|
1976 |
|
|
|
1977 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
1978 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
1979 |
|
|
const localVarQueryParameter = {} as any;
|
1980 |
|
|
|
1981 |
048b4bc0
|
Lukáš Vlček
|
if (isFinal !== undefined) {
|
1982 |
|
|
localVarQueryParameter['isFinal'] = isFinal;
|
1983 |
|
|
}
|
1984 |
|
|
|
1985 |
19b68a2e
|
Lukáš Vlček
|
|
1986 |
|
|
|
1987 |
9fdb7d55
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
1988 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
1989 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
1990 |
9fdb7d55
|
Lukáš Vlček
|
|
1991 |
|
|
return {
|
1992 |
|
|
url: toPathString(localVarUrlObj),
|
1993 |
|
|
options: localVarRequestOptions,
|
1994 |
|
|
};
|
1995 |
|
|
},
|
1996 |
|
|
/**
|
1997 |
19b68a2e
|
Lukáš Vlček
|
*
|
1998 |
|
|
* @param {string} annotationId
|
1999 |
cca0bfa0
|
Lukáš Vlček
|
* @param {string} instanceId
|
2000 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2001 |
cca0bfa0
|
Lukáš Vlček
|
* @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest]
|
2002 |
9fdb7d55
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2003 |
|
|
* @throws {RequiredError}
|
2004 |
|
|
*/
|
2005 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdInstanceIdSentimentPut: async (annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2006 |
9fdb7d55
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
2007 |
cca0bfa0
|
Lukáš Vlček
|
assertParamExists('annotationAnnotationIdInstanceIdSentimentPut', 'annotationId', annotationId)
|
2008 |
|
|
// verify required parameter 'instanceId' is not null or undefined
|
2009 |
|
|
assertParamExists('annotationAnnotationIdInstanceIdSentimentPut', 'instanceId', instanceId)
|
2010 |
|
|
const localVarPath = `/annotation/{annotationId}/{instanceId}/sentiment`
|
2011 |
19b68a2e
|
Lukáš Vlček
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
|
2012 |
cca0bfa0
|
Lukáš Vlček
|
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
2013 |
9fdb7d55
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2014 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2015 |
|
|
let baseOptions;
|
2016 |
|
|
if (configuration) {
|
2017 |
|
|
baseOptions = configuration.baseOptions;
|
2018 |
|
|
}
|
2019 |
|
|
|
2020 |
cca0bfa0
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
2021 |
9fdb7d55
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2022 |
|
|
const localVarQueryParameter = {} as any;
|
2023 |
|
|
|
2024 |
048b4bc0
|
Lukáš Vlček
|
if (isFinal !== undefined) {
|
2025 |
|
|
localVarQueryParameter['isFinal'] = isFinal;
|
2026 |
|
|
}
|
2027 |
|
|
|
2028 |
19b68a2e
|
Lukáš Vlček
|
|
2029 |
|
|
|
2030 |
cca0bfa0
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2031 |
|
|
|
2032 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2033 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2034 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2035 |
cca0bfa0
|
Lukáš Vlček
|
localVarRequestOptions.data = serializeDataIfNeeded(setInstanceSentimentRequest, localVarRequestOptions, configuration)
|
2036 |
3e6b15a7
|
Lukáš Vlček
|
|
2037 |
|
|
return {
|
2038 |
|
|
url: toPathString(localVarUrlObj),
|
2039 |
|
|
options: localVarRequestOptions,
|
2040 |
|
|
};
|
2041 |
|
|
},
|
2042 |
4bc99591
|
Lukáš Vlček
|
/**
|
2043 |
19b68a2e
|
Lukáš Vlček
|
*
|
2044 |
|
|
* @param {string} annotationId
|
2045 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2046 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest]
|
2047 |
4bc99591
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2048 |
|
|
* @throws {RequiredError}
|
2049 |
|
|
*/
|
2050 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdNotePost: async (annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2051 |
4bc99591
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
2052 |
cca0bfa0
|
Lukáš Vlček
|
assertParamExists('annotationAnnotationIdNotePost', 'annotationId', annotationId)
|
2053 |
|
|
const localVarPath = `/annotation/{annotationId}/note`
|
2054 |
19b68a2e
|
Lukáš Vlček
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
|
2055 |
4bc99591
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2056 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2057 |
|
|
let baseOptions;
|
2058 |
|
|
if (configuration) {
|
2059 |
|
|
baseOptions = configuration.baseOptions;
|
2060 |
|
|
}
|
2061 |
|
|
|
2062 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2063 |
4bc99591
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2064 |
|
|
const localVarQueryParameter = {} as any;
|
2065 |
|
|
|
2066 |
048b4bc0
|
Lukáš Vlček
|
if (isFinal !== undefined) {
|
2067 |
|
|
localVarQueryParameter['isFinal'] = isFinal;
|
2068 |
|
|
}
|
2069 |
|
|
|
2070 |
19b68a2e
|
Lukáš Vlček
|
|
2071 |
|
|
|
2072 |
4bc99591
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2073 |
|
|
|
2074 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2075 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2076 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2077 |
cca0bfa0
|
Lukáš Vlček
|
localVarRequestOptions.data = serializeDataIfNeeded(addNoteToAnnotationRequest, localVarRequestOptions, configuration)
|
2078 |
4bc99591
|
Lukáš Vlček
|
|
2079 |
|
|
return {
|
2080 |
|
|
url: toPathString(localVarUrlObj),
|
2081 |
|
|
options: localVarRequestOptions,
|
2082 |
|
|
};
|
2083 |
|
|
},
|
2084 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2085 |
19b68a2e
|
Lukáš Vlček
|
*
|
2086 |
cca0bfa0
|
Lukáš Vlček
|
* @param {string} annotationId
|
2087 |
|
|
* @param {string} occurenceId
|
2088 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2089 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2090 |
|
|
* @throws {RequiredError}
|
2091 |
|
|
*/
|
2092 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdOccurenceIdDelete: async (annotationId: string, occurenceId: string, isFinal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2093 |
cca0bfa0
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
2094 |
|
|
assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'annotationId', annotationId)
|
2095 |
|
|
// verify required parameter 'occurenceId' is not null or undefined
|
2096 |
|
|
assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'occurenceId', occurenceId)
|
2097 |
|
|
const localVarPath = `/annotation/{annotationId}/{occurenceId}`
|
2098 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
|
2099 |
|
|
.replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
|
2100 |
3e6b15a7
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2101 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2102 |
|
|
let baseOptions;
|
2103 |
|
|
if (configuration) {
|
2104 |
|
|
baseOptions = configuration.baseOptions;
|
2105 |
|
|
}
|
2106 |
|
|
|
2107 |
cca0bfa0
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
2108 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2109 |
|
|
const localVarQueryParameter = {} as any;
|
2110 |
|
|
|
2111 |
048b4bc0
|
Lukáš Vlček
|
if (isFinal !== undefined) {
|
2112 |
|
|
localVarQueryParameter['isFinal'] = isFinal;
|
2113 |
|
|
}
|
2114 |
|
|
|
2115 |
19b68a2e
|
Lukáš Vlček
|
|
2116 |
|
|
|
2117 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2118 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2119 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2120 |
3e6b15a7
|
Lukáš Vlček
|
|
2121 |
|
|
return {
|
2122 |
|
|
url: toPathString(localVarUrlObj),
|
2123 |
|
|
options: localVarRequestOptions,
|
2124 |
|
|
};
|
2125 |
|
|
},
|
2126 |
b80a6919
|
Lukáš Vlček
|
/**
|
2127 |
|
|
*
|
2128 |
|
|
* @param {string} annotationId
|
2129 |
|
|
* @param {string} occurenceId
|
2130 |
|
|
* @param {SetInstanceIsFinalRequest} [setInstanceIsFinalRequest]
|
2131 |
|
|
* @param {*} [options] Override http request option.
|
2132 |
|
|
* @throws {RequiredError}
|
2133 |
|
|
*/
|
2134 |
|
|
annotationAnnotationIdOccurenceIdFinalPut: async (annotationId: string, occurenceId: string, setInstanceIsFinalRequest?: SetInstanceIsFinalRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2135 |
|
|
// verify required parameter 'annotationId' is not null or undefined
|
2136 |
|
|
assertParamExists('annotationAnnotationIdOccurenceIdFinalPut', 'annotationId', annotationId)
|
2137 |
|
|
// verify required parameter 'occurenceId' is not null or undefined
|
2138 |
|
|
assertParamExists('annotationAnnotationIdOccurenceIdFinalPut', 'occurenceId', occurenceId)
|
2139 |
|
|
const localVarPath = `/annotation/{annotationId}/{occurenceId}/final`
|
2140 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
|
2141 |
|
|
.replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
|
2142 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2143 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2144 |
|
|
let baseOptions;
|
2145 |
|
|
if (configuration) {
|
2146 |
|
|
baseOptions = configuration.baseOptions;
|
2147 |
|
|
}
|
2148 |
|
|
|
2149 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
2150 |
|
|
const localVarHeaderParameter = {} as any;
|
2151 |
|
|
const localVarQueryParameter = {} as any;
|
2152 |
|
|
|
2153 |
|
|
|
2154 |
|
|
|
2155 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2156 |
|
|
|
2157 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2158 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2159 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2160 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(setInstanceIsFinalRequest, localVarRequestOptions, configuration)
|
2161 |
|
|
|
2162 |
|
|
return {
|
2163 |
|
|
url: toPathString(localVarUrlObj),
|
2164 |
|
|
options: localVarRequestOptions,
|
2165 |
|
|
};
|
2166 |
|
|
},
|
2167 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2168 |
19b68a2e
|
Lukáš Vlček
|
*
|
2169 |
|
|
* @param {string} annotationId
|
2170 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2171 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest]
|
2172 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2173 |
|
|
* @throws {RequiredError}
|
2174 |
|
|
*/
|
2175 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdPost: async (annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2176 |
cca0bfa0
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
2177 |
|
|
assertParamExists('annotationAnnotationIdPost', 'annotationId', annotationId)
|
2178 |
|
|
const localVarPath = `/annotation/{annotationId}`
|
2179 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
|
2180 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2181 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2182 |
|
|
let baseOptions;
|
2183 |
|
|
if (configuration) {
|
2184 |
|
|
baseOptions = configuration.baseOptions;
|
2185 |
|
|
}
|
2186 |
|
|
|
2187 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2188 |
|
|
const localVarHeaderParameter = {} as any;
|
2189 |
|
|
const localVarQueryParameter = {} as any;
|
2190 |
|
|
|
2191 |
048b4bc0
|
Lukáš Vlček
|
if (isFinal !== undefined) {
|
2192 |
|
|
localVarQueryParameter['isFinal'] = isFinal;
|
2193 |
|
|
}
|
2194 |
|
|
|
2195 |
cca0bfa0
|
Lukáš Vlček
|
|
2196 |
|
|
|
2197 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2198 |
|
|
|
2199 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2200 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2201 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2202 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(annotationInstanceAddRequest, localVarRequestOptions, configuration)
|
2203 |
|
|
|
2204 |
|
|
return {
|
2205 |
|
|
url: toPathString(localVarUrlObj),
|
2206 |
|
|
options: localVarRequestOptions,
|
2207 |
|
|
};
|
2208 |
|
|
},
|
2209 |
|
|
/**
|
2210 |
|
|
*
|
2211 |
|
|
* @param {string} annotationId
|
2212 |
|
|
* @param {string} occurenceId
|
2213 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2214 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest]
|
2215 |
|
|
* @param {*} [options] Override http request option.
|
2216 |
|
|
* @throws {RequiredError}
|
2217 |
|
|
*/
|
2218 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdTagOccurenceIdNotePost: async (annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2219 |
cca0bfa0
|
Lukáš Vlček
|
// verify required parameter 'annotationId' is not null or undefined
|
2220 |
|
|
assertParamExists('annotationAnnotationIdTagOccurenceIdNotePost', 'annotationId', annotationId)
|
2221 |
|
|
// verify required parameter 'occurenceId' is not null or undefined
|
2222 |
|
|
assertParamExists('annotationAnnotationIdTagOccurenceIdNotePost', 'occurenceId', occurenceId)
|
2223 |
|
|
const localVarPath = `/annotation/{annotationId}/tag/{occurenceId}/note`
|
2224 |
|
|
.replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
|
2225 |
|
|
.replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
|
2226 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2227 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2228 |
|
|
let baseOptions;
|
2229 |
|
|
if (configuration) {
|
2230 |
|
|
baseOptions = configuration.baseOptions;
|
2231 |
|
|
}
|
2232 |
|
|
|
2233 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2234 |
|
|
const localVarHeaderParameter = {} as any;
|
2235 |
|
|
const localVarQueryParameter = {} as any;
|
2236 |
|
|
|
2237 |
048b4bc0
|
Lukáš Vlček
|
if (isFinal !== undefined) {
|
2238 |
|
|
localVarQueryParameter['isFinal'] = isFinal;
|
2239 |
|
|
}
|
2240 |
|
|
|
2241 |
cca0bfa0
|
Lukáš Vlček
|
|
2242 |
|
|
|
2243 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2244 |
|
|
|
2245 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2246 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2247 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2248 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(addNoteToTagOccurenceRequest, localVarRequestOptions, configuration)
|
2249 |
|
|
|
2250 |
|
|
return {
|
2251 |
|
|
url: toPathString(localVarUrlObj),
|
2252 |
|
|
options: localVarRequestOptions,
|
2253 |
|
|
};
|
2254 |
|
|
},
|
2255 |
|
|
/**
|
2256 |
|
|
*
|
2257 |
|
|
* @param {AnnotationsAddRequest} [annotationsAddRequest]
|
2258 |
|
|
* @param {*} [options] Override http request option.
|
2259 |
|
|
* @throws {RequiredError}
|
2260 |
|
|
*/
|
2261 |
|
|
annotationsPost: async (annotationsAddRequest?: AnnotationsAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2262 |
|
|
const localVarPath = `/annotations`;
|
2263 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2264 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2265 |
|
|
let baseOptions;
|
2266 |
|
|
if (configuration) {
|
2267 |
|
|
baseOptions = configuration.baseOptions;
|
2268 |
|
|
}
|
2269 |
|
|
|
2270 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2271 |
|
|
const localVarHeaderParameter = {} as any;
|
2272 |
|
|
const localVarQueryParameter = {} as any;
|
2273 |
|
|
|
2274 |
|
|
|
2275 |
|
|
|
2276 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2277 |
|
|
|
2278 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2279 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2280 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2281 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(annotationsAddRequest, localVarRequestOptions, configuration)
|
2282 |
|
|
|
2283 |
|
|
return {
|
2284 |
|
|
url: toPathString(localVarUrlObj),
|
2285 |
|
|
options: localVarRequestOptions,
|
2286 |
|
|
};
|
2287 |
|
|
},
|
2288 |
|
|
}
|
2289 |
|
|
};
|
2290 |
|
|
|
2291 |
|
|
/**
|
2292 |
|
|
* AnnotationApi - functional programming interface
|
2293 |
|
|
* @export
|
2294 |
|
|
*/
|
2295 |
|
|
export const AnnotationApiFp = function(configuration?: Configuration) {
|
2296 |
|
|
const localVarAxiosParamCreator = AnnotationApiAxiosParamCreator(configuration)
|
2297 |
|
|
return {
|
2298 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
2299 |
|
|
*
|
2300 |
|
|
* @param {string} annotationId
|
2301 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2302 |
b51488cd
|
Jaroslav Hrubý
|
* @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest]
|
2303 |
|
|
* @param {*} [options] Override http request option.
|
2304 |
|
|
* @throws {RequiredError}
|
2305 |
|
|
*/
|
2306 |
048b4bc0
|
Lukáš Vlček
|
async annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2307 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options);
|
2308 |
b51488cd
|
Jaroslav Hrubý
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2309 |
|
|
},
|
2310 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2311 |
|
|
*
|
2312 |
|
|
* @param {string} annotationId
|
2313 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2314 |
cca0bfa0
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2315 |
|
|
* @throws {RequiredError}
|
2316 |
|
|
*/
|
2317 |
048b4bc0
|
Lukáš Vlček
|
async annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationInfo>> {
|
2318 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdGet(annotationId, isFinal, options);
|
2319 |
19b68a2e
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2320 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2321 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2322 |
|
|
*
|
2323 |
|
|
* @param {string} annotationId
|
2324 |
|
|
* @param {string} instanceId
|
2325 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2326 |
cca0bfa0
|
Lukáš Vlček
|
* @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest]
|
2327 |
|
|
* @param {*} [options] Override http request option.
|
2328 |
|
|
* @throws {RequiredError}
|
2329 |
|
|
*/
|
2330 |
048b4bc0
|
Lukáš Vlček
|
async annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2331 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options);
|
2332 |
cca0bfa0
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2333 |
|
|
},
|
2334 |
|
|
/**
|
2335 |
|
|
*
|
2336 |
|
|
* @param {string} annotationId
|
2337 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2338 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest]
|
2339 |
|
|
* @param {*} [options] Override http request option.
|
2340 |
|
|
* @throws {RequiredError}
|
2341 |
|
|
*/
|
2342 |
048b4bc0
|
Lukáš Vlček
|
async annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2343 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options);
|
2344 |
cca0bfa0
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2345 |
|
|
},
|
2346 |
9fdb7d55
|
Lukáš Vlček
|
/**
|
2347 |
19b68a2e
|
Lukáš Vlček
|
*
|
2348 |
|
|
* @param {string} annotationId
|
2349 |
|
|
* @param {string} occurenceId
|
2350 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2351 |
9fdb7d55
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2352 |
|
|
* @throws {RequiredError}
|
2353 |
|
|
*/
|
2354 |
048b4bc0
|
Lukáš Vlček
|
async annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2355 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options);
|
2356 |
19b68a2e
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2357 |
9fdb7d55
|
Lukáš Vlček
|
},
|
2358 |
b80a6919
|
Lukáš Vlček
|
/**
|
2359 |
|
|
*
|
2360 |
|
|
* @param {string} annotationId
|
2361 |
|
|
* @param {string} occurenceId
|
2362 |
|
|
* @param {SetInstanceIsFinalRequest} [setInstanceIsFinalRequest]
|
2363 |
|
|
* @param {*} [options] Override http request option.
|
2364 |
|
|
* @throws {RequiredError}
|
2365 |
|
|
*/
|
2366 |
|
|
async annotationAnnotationIdOccurenceIdFinalPut(annotationId: string, occurenceId: string, setInstanceIsFinalRequest?: SetInstanceIsFinalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2367 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdOccurenceIdFinalPut(annotationId, occurenceId, setInstanceIsFinalRequest, options);
|
2368 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2369 |
|
|
},
|
2370 |
4bc99591
|
Lukáš Vlček
|
/**
|
2371 |
19b68a2e
|
Lukáš Vlček
|
*
|
2372 |
|
|
* @param {string} annotationId
|
2373 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2374 |
19b68a2e
|
Lukáš Vlček
|
* @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest]
|
2375 |
4bc99591
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2376 |
|
|
* @throws {RequiredError}
|
2377 |
|
|
*/
|
2378 |
048b4bc0
|
Lukáš Vlček
|
async annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2379 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options);
|
2380 |
19b68a2e
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2381 |
4bc99591
|
Lukáš Vlček
|
},
|
2382 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2383 |
|
|
*
|
2384 |
|
|
* @param {string} annotationId
|
2385 |
|
|
* @param {string} occurenceId
|
2386 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2387 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest]
|
2388 |
|
|
* @param {*} [options] Override http request option.
|
2389 |
|
|
* @throws {RequiredError}
|
2390 |
|
|
*/
|
2391 |
048b4bc0
|
Lukáš Vlček
|
async annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2392 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options);
|
2393 |
cca0bfa0
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2394 |
|
|
},
|
2395 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2396 |
19b68a2e
|
Lukáš Vlček
|
*
|
2397 |
|
|
* @param {AnnotationsAddRequest} [annotationsAddRequest]
|
2398 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2399 |
|
|
* @throws {RequiredError}
|
2400 |
|
|
*/
|
2401 |
19b68a2e
|
Lukáš Vlček
|
async annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
2402 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.annotationsPost(annotationsAddRequest, options);
|
2403 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2404 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2405 |
19b68a2e
|
Lukáš Vlček
|
}
|
2406 |
3e6b15a7
|
Lukáš Vlček
|
};
|
2407 |
|
|
|
2408 |
|
|
/**
|
2409 |
|
|
* AnnotationApi - factory interface
|
2410 |
|
|
* @export
|
2411 |
|
|
*/
|
2412 |
19b68a2e
|
Lukáš Vlček
|
export const AnnotationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
2413 |
|
|
const localVarFp = AnnotationApiFp(configuration)
|
2414 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
2415 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
2416 |
|
|
*
|
2417 |
|
|
* @param {string} annotationId
|
2418 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2419 |
b51488cd
|
Jaroslav Hrubý
|
* @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest]
|
2420 |
|
|
* @param {*} [options] Override http request option.
|
2421 |
|
|
* @throws {RequiredError}
|
2422 |
|
|
*/
|
2423 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: any): AxiosPromise<void> {
|
2424 |
|
|
return localVarFp.annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options).then((request) => request(axios, basePath));
|
2425 |
b51488cd
|
Jaroslav Hrubý
|
},
|
2426 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2427 |
19b68a2e
|
Lukáš Vlček
|
*
|
2428 |
|
|
* @param {string} annotationId
|
2429 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2430 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2431 |
|
|
* @throws {RequiredError}
|
2432 |
|
|
*/
|
2433 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: any): AxiosPromise<AnnotationInfo> {
|
2434 |
|
|
return localVarFp.annotationAnnotationIdGet(annotationId, isFinal, options).then((request) => request(axios, basePath));
|
2435 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2436 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2437 |
|
|
*
|
2438 |
|
|
* @param {string} annotationId
|
2439 |
|
|
* @param {string} instanceId
|
2440 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2441 |
cca0bfa0
|
Lukáš Vlček
|
* @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest]
|
2442 |
|
|
* @param {*} [options] Override http request option.
|
2443 |
|
|
* @throws {RequiredError}
|
2444 |
|
|
*/
|
2445 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: any): AxiosPromise<void> {
|
2446 |
|
|
return localVarFp.annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options).then((request) => request(axios, basePath));
|
2447 |
cca0bfa0
|
Lukáš Vlček
|
},
|
2448 |
|
|
/**
|
2449 |
|
|
*
|
2450 |
|
|
* @param {string} annotationId
|
2451 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2452 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest]
|
2453 |
|
|
* @param {*} [options] Override http request option.
|
2454 |
|
|
* @throws {RequiredError}
|
2455 |
|
|
*/
|
2456 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: any): AxiosPromise<void> {
|
2457 |
|
|
return localVarFp.annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options).then((request) => request(axios, basePath));
|
2458 |
cca0bfa0
|
Lukáš Vlček
|
},
|
2459 |
9fdb7d55
|
Lukáš Vlček
|
/**
|
2460 |
19b68a2e
|
Lukáš Vlček
|
*
|
2461 |
|
|
* @param {string} annotationId
|
2462 |
|
|
* @param {string} occurenceId
|
2463 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2464 |
9fdb7d55
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2465 |
|
|
* @throws {RequiredError}
|
2466 |
|
|
*/
|
2467 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: any): AxiosPromise<void> {
|
2468 |
|
|
return localVarFp.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options).then((request) => request(axios, basePath));
|
2469 |
9fdb7d55
|
Lukáš Vlček
|
},
|
2470 |
b80a6919
|
Lukáš Vlček
|
/**
|
2471 |
|
|
*
|
2472 |
|
|
* @param {string} annotationId
|
2473 |
|
|
* @param {string} occurenceId
|
2474 |
|
|
* @param {SetInstanceIsFinalRequest} [setInstanceIsFinalRequest]
|
2475 |
|
|
* @param {*} [options] Override http request option.
|
2476 |
|
|
* @throws {RequiredError}
|
2477 |
|
|
*/
|
2478 |
|
|
annotationAnnotationIdOccurenceIdFinalPut(annotationId: string, occurenceId: string, setInstanceIsFinalRequest?: SetInstanceIsFinalRequest, options?: any): AxiosPromise<void> {
|
2479 |
|
|
return localVarFp.annotationAnnotationIdOccurenceIdFinalPut(annotationId, occurenceId, setInstanceIsFinalRequest, options).then((request) => request(axios, basePath));
|
2480 |
|
|
},
|
2481 |
4bc99591
|
Lukáš Vlček
|
/**
|
2482 |
19b68a2e
|
Lukáš Vlček
|
*
|
2483 |
|
|
* @param {string} annotationId
|
2484 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2485 |
19b68a2e
|
Lukáš Vlček
|
* @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest]
|
2486 |
4bc99591
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2487 |
|
|
* @throws {RequiredError}
|
2488 |
|
|
*/
|
2489 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: any): AxiosPromise<void> {
|
2490 |
|
|
return localVarFp.annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options).then((request) => request(axios, basePath));
|
2491 |
4bc99591
|
Lukáš Vlček
|
},
|
2492 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2493 |
|
|
*
|
2494 |
|
|
* @param {string} annotationId
|
2495 |
|
|
* @param {string} occurenceId
|
2496 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2497 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest]
|
2498 |
|
|
* @param {*} [options] Override http request option.
|
2499 |
|
|
* @throws {RequiredError}
|
2500 |
|
|
*/
|
2501 |
048b4bc0
|
Lukáš Vlček
|
annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: any): AxiosPromise<void> {
|
2502 |
|
|
return localVarFp.annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options).then((request) => request(axios, basePath));
|
2503 |
cca0bfa0
|
Lukáš Vlček
|
},
|
2504 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2505 |
19b68a2e
|
Lukáš Vlček
|
*
|
2506 |
|
|
* @param {AnnotationsAddRequest} [annotationsAddRequest]
|
2507 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2508 |
|
|
* @throws {RequiredError}
|
2509 |
|
|
*/
|
2510 |
19b68a2e
|
Lukáš Vlček
|
annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: any): AxiosPromise<void> {
|
2511 |
|
|
return localVarFp.annotationsPost(annotationsAddRequest, options).then((request) => request(axios, basePath));
|
2512 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2513 |
|
|
};
|
2514 |
|
|
};
|
2515 |
|
|
|
2516 |
|
|
/**
|
2517 |
|
|
* AnnotationApi - object-oriented interface
|
2518 |
|
|
* @export
|
2519 |
|
|
* @class AnnotationApi
|
2520 |
|
|
* @extends {BaseAPI}
|
2521 |
|
|
*/
|
2522 |
|
|
export class AnnotationApi extends BaseAPI {
|
2523 |
b51488cd
|
Jaroslav Hrubý
|
/**
|
2524 |
|
|
*
|
2525 |
|
|
* @param {string} annotationId
|
2526 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2527 |
b51488cd
|
Jaroslav Hrubý
|
* @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest]
|
2528 |
|
|
* @param {*} [options] Override http request option.
|
2529 |
|
|
* @throws {RequiredError}
|
2530 |
|
|
* @memberof AnnotationApi
|
2531 |
|
|
*/
|
2532 |
048b4bc0
|
Lukáš Vlček
|
public annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: AxiosRequestConfig) {
|
2533 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options).then((request) => request(this.axios, this.basePath));
|
2534 |
b51488cd
|
Jaroslav Hrubý
|
}
|
2535 |
|
|
|
2536 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2537 |
19b68a2e
|
Lukáš Vlček
|
*
|
2538 |
|
|
* @param {string} annotationId
|
2539 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2540 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2541 |
|
|
* @throws {RequiredError}
|
2542 |
|
|
* @memberof AnnotationApi
|
2543 |
|
|
*/
|
2544 |
048b4bc0
|
Lukáš Vlček
|
public annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: AxiosRequestConfig) {
|
2545 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdGet(annotationId, isFinal, options).then((request) => request(this.axios, this.basePath));
|
2546 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2547 |
|
|
|
2548 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2549 |
|
|
*
|
2550 |
|
|
* @param {string} annotationId
|
2551 |
|
|
* @param {string} instanceId
|
2552 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2553 |
cca0bfa0
|
Lukáš Vlček
|
* @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest]
|
2554 |
|
|
* @param {*} [options] Override http request option.
|
2555 |
|
|
* @throws {RequiredError}
|
2556 |
|
|
* @memberof AnnotationApi
|
2557 |
|
|
*/
|
2558 |
048b4bc0
|
Lukáš Vlček
|
public annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: AxiosRequestConfig) {
|
2559 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options).then((request) => request(this.axios, this.basePath));
|
2560 |
cca0bfa0
|
Lukáš Vlček
|
}
|
2561 |
|
|
|
2562 |
|
|
/**
|
2563 |
|
|
*
|
2564 |
|
|
* @param {string} annotationId
|
2565 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2566 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest]
|
2567 |
|
|
* @param {*} [options] Override http request option.
|
2568 |
|
|
* @throws {RequiredError}
|
2569 |
|
|
* @memberof AnnotationApi
|
2570 |
|
|
*/
|
2571 |
048b4bc0
|
Lukáš Vlček
|
public annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: AxiosRequestConfig) {
|
2572 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options).then((request) => request(this.axios, this.basePath));
|
2573 |
cca0bfa0
|
Lukáš Vlček
|
}
|
2574 |
|
|
|
2575 |
9fdb7d55
|
Lukáš Vlček
|
/**
|
2576 |
19b68a2e
|
Lukáš Vlček
|
*
|
2577 |
|
|
* @param {string} annotationId
|
2578 |
|
|
* @param {string} occurenceId
|
2579 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2580 |
9fdb7d55
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2581 |
|
|
* @throws {RequiredError}
|
2582 |
|
|
* @memberof AnnotationApi
|
2583 |
|
|
*/
|
2584 |
048b4bc0
|
Lukáš Vlček
|
public annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: AxiosRequestConfig) {
|
2585 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options).then((request) => request(this.axios, this.basePath));
|
2586 |
9fdb7d55
|
Lukáš Vlček
|
}
|
2587 |
|
|
|
2588 |
b80a6919
|
Lukáš Vlček
|
/**
|
2589 |
|
|
*
|
2590 |
|
|
* @param {string} annotationId
|
2591 |
|
|
* @param {string} occurenceId
|
2592 |
|
|
* @param {SetInstanceIsFinalRequest} [setInstanceIsFinalRequest]
|
2593 |
|
|
* @param {*} [options] Override http request option.
|
2594 |
|
|
* @throws {RequiredError}
|
2595 |
|
|
* @memberof AnnotationApi
|
2596 |
|
|
*/
|
2597 |
|
|
public annotationAnnotationIdOccurenceIdFinalPut(annotationId: string, occurenceId: string, setInstanceIsFinalRequest?: SetInstanceIsFinalRequest, options?: AxiosRequestConfig) {
|
2598 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdOccurenceIdFinalPut(annotationId, occurenceId, setInstanceIsFinalRequest, options).then((request) => request(this.axios, this.basePath));
|
2599 |
|
|
}
|
2600 |
|
|
|
2601 |
4bc99591
|
Lukáš Vlček
|
/**
|
2602 |
19b68a2e
|
Lukáš Vlček
|
*
|
2603 |
|
|
* @param {string} annotationId
|
2604 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2605 |
19b68a2e
|
Lukáš Vlček
|
* @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest]
|
2606 |
4bc99591
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2607 |
|
|
* @throws {RequiredError}
|
2608 |
|
|
* @memberof AnnotationApi
|
2609 |
|
|
*/
|
2610 |
048b4bc0
|
Lukáš Vlček
|
public annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig) {
|
2611 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options).then((request) => request(this.axios, this.basePath));
|
2612 |
4bc99591
|
Lukáš Vlček
|
}
|
2613 |
|
|
|
2614 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2615 |
|
|
*
|
2616 |
|
|
* @param {string} annotationId
|
2617 |
|
|
* @param {string} occurenceId
|
2618 |
048b4bc0
|
Lukáš Vlček
|
* @param {boolean} [isFinal]
|
2619 |
cca0bfa0
|
Lukáš Vlček
|
* @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest]
|
2620 |
|
|
* @param {*} [options] Override http request option.
|
2621 |
|
|
* @throws {RequiredError}
|
2622 |
|
|
* @memberof AnnotationApi
|
2623 |
|
|
*/
|
2624 |
048b4bc0
|
Lukáš Vlček
|
public annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: AxiosRequestConfig) {
|
2625 |
|
|
return AnnotationApiFp(this.configuration).annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options).then((request) => request(this.axios, this.basePath));
|
2626 |
cca0bfa0
|
Lukáš Vlček
|
}
|
2627 |
|
|
|
2628 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2629 |
19b68a2e
|
Lukáš Vlček
|
*
|
2630 |
|
|
* @param {AnnotationsAddRequest} [annotationsAddRequest]
|
2631 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2632 |
|
|
* @throws {RequiredError}
|
2633 |
|
|
* @memberof AnnotationApi
|
2634 |
|
|
*/
|
2635 |
19b68a2e
|
Lukáš Vlček
|
public annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig) {
|
2636 |
|
|
return AnnotationApiFp(this.configuration).annotationsPost(annotationsAddRequest, options).then((request) => request(this.axios, this.basePath));
|
2637 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2638 |
|
|
}
|
2639 |
|
|
|
2640 |
19b68a2e
|
Lukáš Vlček
|
|
2641 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2642 |
|
|
* AuthApi - axios parameter creator
|
2643 |
|
|
* @export
|
2644 |
|
|
*/
|
2645 |
|
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
2646 |
|
|
return {
|
2647 |
|
|
/**
|
2648 |
19b68a2e
|
Lukáš Vlček
|
*
|
2649 |
|
|
* @param {LoginRequest} [loginRequest]
|
2650 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2651 |
|
|
* @throws {RequiredError}
|
2652 |
|
|
*/
|
2653 |
19b68a2e
|
Lukáš Vlček
|
authLoginPost: async (loginRequest?: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2654 |
3e6b15a7
|
Lukáš Vlček
|
const localVarPath = `/auth/login`;
|
2655 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2656 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2657 |
|
|
let baseOptions;
|
2658 |
|
|
if (configuration) {
|
2659 |
|
|
baseOptions = configuration.baseOptions;
|
2660 |
|
|
}
|
2661 |
|
|
|
2662 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2663 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2664 |
|
|
const localVarQueryParameter = {} as any;
|
2665 |
|
|
|
2666 |
19b68a2e
|
Lukáš Vlček
|
|
2667 |
|
|
|
2668 |
3e6b15a7
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2669 |
|
|
|
2670 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2671 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2672 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2673 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
|
2674 |
3e6b15a7
|
Lukáš Vlček
|
|
2675 |
|
|
return {
|
2676 |
|
|
url: toPathString(localVarUrlObj),
|
2677 |
|
|
options: localVarRequestOptions,
|
2678 |
|
|
};
|
2679 |
|
|
},
|
2680 |
|
|
/**
|
2681 |
19b68a2e
|
Lukáš Vlček
|
*
|
2682 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2683 |
|
|
* @throws {RequiredError}
|
2684 |
|
|
*/
|
2685 |
|
|
authTestAaGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2686 |
|
|
const localVarPath = `/auth/test/aa`;
|
2687 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2688 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2689 |
|
|
let baseOptions;
|
2690 |
|
|
if (configuration) {
|
2691 |
|
|
baseOptions = configuration.baseOptions;
|
2692 |
|
|
}
|
2693 |
|
|
|
2694 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
2695 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2696 |
|
|
const localVarQueryParameter = {} as any;
|
2697 |
|
|
|
2698 |
19b68a2e
|
Lukáš Vlček
|
|
2699 |
|
|
|
2700 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2701 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2702 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2703 |
3e6b15a7
|
Lukáš Vlček
|
|
2704 |
|
|
return {
|
2705 |
|
|
url: toPathString(localVarUrlObj),
|
2706 |
|
|
options: localVarRequestOptions,
|
2707 |
|
|
};
|
2708 |
|
|
},
|
2709 |
|
|
/**
|
2710 |
19b68a2e
|
Lukáš Vlček
|
*
|
2711 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2712 |
|
|
* @throws {RequiredError}
|
2713 |
|
|
*/
|
2714 |
|
|
authTestGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2715 |
|
|
const localVarPath = `/auth/test`;
|
2716 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2717 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2718 |
|
|
let baseOptions;
|
2719 |
|
|
if (configuration) {
|
2720 |
|
|
baseOptions = configuration.baseOptions;
|
2721 |
|
|
}
|
2722 |
|
|
|
2723 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
2724 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2725 |
|
|
const localVarQueryParameter = {} as any;
|
2726 |
|
|
|
2727 |
19b68a2e
|
Lukáš Vlček
|
|
2728 |
|
|
|
2729 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2730 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2731 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2732 |
3e6b15a7
|
Lukáš Vlček
|
|
2733 |
|
|
return {
|
2734 |
|
|
url: toPathString(localVarUrlObj),
|
2735 |
|
|
options: localVarRequestOptions,
|
2736 |
|
|
};
|
2737 |
|
|
},
|
2738 |
19b68a2e
|
Lukáš Vlček
|
}
|
2739 |
3e6b15a7
|
Lukáš Vlček
|
};
|
2740 |
|
|
|
2741 |
|
|
/**
|
2742 |
|
|
* AuthApi - functional programming interface
|
2743 |
|
|
* @export
|
2744 |
|
|
*/
|
2745 |
19b68a2e
|
Lukáš Vlček
|
export const AuthApiFp = function(configuration?: Configuration) {
|
2746 |
|
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
2747 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
2748 |
|
|
/**
|
2749 |
19b68a2e
|
Lukáš Vlček
|
*
|
2750 |
|
|
* @param {LoginRequest} [loginRequest]
|
2751 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2752 |
|
|
* @throws {RequiredError}
|
2753 |
|
|
*/
|
2754 |
19b68a2e
|
Lukáš Vlček
|
async authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
|
2755 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authLoginPost(loginRequest, options);
|
2756 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2757 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2758 |
|
|
/**
|
2759 |
19b68a2e
|
Lukáš Vlček
|
*
|
2760 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2761 |
|
|
* @throws {RequiredError}
|
2762 |
|
|
*/
|
2763 |
19b68a2e
|
Lukáš Vlček
|
async authTestAaGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
|
2764 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authTestAaGet(options);
|
2765 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2766 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2767 |
|
|
/**
|
2768 |
19b68a2e
|
Lukáš Vlček
|
*
|
2769 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2770 |
|
|
* @throws {RequiredError}
|
2771 |
|
|
*/
|
2772 |
19b68a2e
|
Lukáš Vlček
|
async authTestGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
|
2773 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authTestGet(options);
|
2774 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
2775 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2776 |
19b68a2e
|
Lukáš Vlček
|
}
|
2777 |
3e6b15a7
|
Lukáš Vlček
|
};
|
2778 |
|
|
|
2779 |
|
|
/**
|
2780 |
|
|
* AuthApi - factory interface
|
2781 |
|
|
* @export
|
2782 |
|
|
*/
|
2783 |
19b68a2e
|
Lukáš Vlček
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
2784 |
|
|
const localVarFp = AuthApiFp(configuration)
|
2785 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
2786 |
|
|
/**
|
2787 |
19b68a2e
|
Lukáš Vlček
|
*
|
2788 |
|
|
* @param {LoginRequest} [loginRequest]
|
2789 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2790 |
|
|
* @throws {RequiredError}
|
2791 |
|
|
*/
|
2792 |
19b68a2e
|
Lukáš Vlček
|
authLoginPost(loginRequest?: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
|
2793 |
|
|
return localVarFp.authLoginPost(loginRequest, options).then((request) => request(axios, basePath));
|
2794 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2795 |
|
|
/**
|
2796 |
19b68a2e
|
Lukáš Vlček
|
*
|
2797 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2798 |
|
|
* @throws {RequiredError}
|
2799 |
|
|
*/
|
2800 |
|
|
authTestAaGet(options?: any): AxiosPromise<ClientInfo> {
|
2801 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.authTestAaGet(options).then((request) => request(axios, basePath));
|
2802 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2803 |
|
|
/**
|
2804 |
19b68a2e
|
Lukáš Vlček
|
*
|
2805 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2806 |
|
|
* @throws {RequiredError}
|
2807 |
|
|
*/
|
2808 |
|
|
authTestGet(options?: any): AxiosPromise<ClientInfo> {
|
2809 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.authTestGet(options).then((request) => request(axios, basePath));
|
2810 |
3e6b15a7
|
Lukáš Vlček
|
},
|
2811 |
|
|
};
|
2812 |
|
|
};
|
2813 |
|
|
|
2814 |
|
|
/**
|
2815 |
|
|
* AuthApi - object-oriented interface
|
2816 |
|
|
* @export
|
2817 |
|
|
* @class AuthApi
|
2818 |
|
|
* @extends {BaseAPI}
|
2819 |
|
|
*/
|
2820 |
|
|
export class AuthApi extends BaseAPI {
|
2821 |
|
|
/**
|
2822 |
19b68a2e
|
Lukáš Vlček
|
*
|
2823 |
|
|
* @param {LoginRequest} [loginRequest]
|
2824 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2825 |
|
|
* @throws {RequiredError}
|
2826 |
|
|
* @memberof AuthApi
|
2827 |
|
|
*/
|
2828 |
|
|
public authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig) {
|
2829 |
19b68a2e
|
Lukáš Vlček
|
return AuthApiFp(this.configuration).authLoginPost(loginRequest, options).then((request) => request(this.axios, this.basePath));
|
2830 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2831 |
|
|
|
2832 |
|
|
/**
|
2833 |
19b68a2e
|
Lukáš Vlček
|
*
|
2834 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2835 |
|
|
* @throws {RequiredError}
|
2836 |
|
|
* @memberof AuthApi
|
2837 |
|
|
*/
|
2838 |
|
|
public authTestAaGet(options?: AxiosRequestConfig) {
|
2839 |
19b68a2e
|
Lukáš Vlček
|
return AuthApiFp(this.configuration).authTestAaGet(options).then((request) => request(this.axios, this.basePath));
|
2840 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2841 |
|
|
|
2842 |
|
|
/**
|
2843 |
19b68a2e
|
Lukáš Vlček
|
*
|
2844 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2845 |
|
|
* @throws {RequiredError}
|
2846 |
|
|
* @memberof AuthApi
|
2847 |
|
|
*/
|
2848 |
|
|
public authTestGet(options?: AxiosRequestConfig) {
|
2849 |
19b68a2e
|
Lukáš Vlček
|
return AuthApiFp(this.configuration).authTestGet(options).then((request) => request(this.axios, this.basePath));
|
2850 |
3e6b15a7
|
Lukáš Vlček
|
}
|
2851 |
|
|
}
|
2852 |
|
|
|
2853 |
19b68a2e
|
Lukáš Vlček
|
|
2854 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2855 |
|
|
* DocumentApi - axios parameter creator
|
2856 |
|
|
* @export
|
2857 |
|
|
*/
|
2858 |
|
|
export const DocumentApiAxiosParamCreator = function (configuration?: Configuration) {
|
2859 |
|
|
return {
|
2860 |
048b4bc0
|
Lukáš Vlček
|
/**
|
2861 |
|
|
*
|
2862 |
|
|
* @param {string} documentId
|
2863 |
|
|
* @param {*} [options] Override http request option.
|
2864 |
|
|
* @throws {RequiredError}
|
2865 |
|
|
*/
|
2866 |
|
|
documentDocumentIdFinalPost: async (documentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2867 |
|
|
// verify required parameter 'documentId' is not null or undefined
|
2868 |
|
|
assertParamExists('documentDocumentIdFinalPost', 'documentId', documentId)
|
2869 |
|
|
const localVarPath = `/document/{documentId}/final`
|
2870 |
|
|
.replace(`{${"documentId"}}`, encodeURIComponent(String(documentId)));
|
2871 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2872 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2873 |
|
|
let baseOptions;
|
2874 |
|
|
if (configuration) {
|
2875 |
|
|
baseOptions = configuration.baseOptions;
|
2876 |
|
|
}
|
2877 |
|
|
|
2878 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
2879 |
|
|
const localVarHeaderParameter = {} as any;
|
2880 |
|
|
const localVarQueryParameter = {} as any;
|
2881 |
|
|
|
2882 |
|
|
|
2883 |
|
|
|
2884 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2885 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2886 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2887 |
|
|
|
2888 |
|
|
return {
|
2889 |
|
|
url: toPathString(localVarUrlObj),
|
2890 |
|
|
options: localVarRequestOptions,
|
2891 |
|
|
};
|
2892 |
|
|
},
|
2893 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
2894 |
|
|
*
|
2895 |
|
|
* @param {string} documentId
|
2896 |
|
|
* @param {*} [options] Override http request option.
|
2897 |
|
|
* @throws {RequiredError}
|
2898 |
|
|
*/
|
2899 |
|
|
documentDocumentIdGet: async (documentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2900 |
|
|
// verify required parameter 'documentId' is not null or undefined
|
2901 |
|
|
assertParamExists('documentDocumentIdGet', 'documentId', documentId)
|
2902 |
|
|
const localVarPath = `/document/{documentId}`
|
2903 |
|
|
.replace(`{${"documentId"}}`, encodeURIComponent(String(documentId)));
|
2904 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2905 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2906 |
|
|
let baseOptions;
|
2907 |
|
|
if (configuration) {
|
2908 |
|
|
baseOptions = configuration.baseOptions;
|
2909 |
|
|
}
|
2910 |
|
|
|
2911 |
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
2912 |
|
|
const localVarHeaderParameter = {} as any;
|
2913 |
|
|
const localVarQueryParameter = {} as any;
|
2914 |
|
|
|
2915 |
|
|
|
2916 |
|
|
|
2917 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2918 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2919 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2920 |
|
|
|
2921 |
|
|
return {
|
2922 |
|
|
url: toPathString(localVarUrlObj),
|
2923 |
|
|
options: localVarRequestOptions,
|
2924 |
|
|
};
|
2925 |
|
|
},
|
2926 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
2927 |
19b68a2e
|
Lukáš Vlček
|
*
|
2928 |
ef5792a8
|
Lukáš Vlček
|
* @param {DeleteDocumentsRequest} [deleteDocumentsRequest]
|
2929 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
2930 |
|
|
* @throws {RequiredError}
|
2931 |
|
|
*/
|
2932 |
ef5792a8
|
Lukáš Vlček
|
documentsDelete: async (deleteDocumentsRequest?: DeleteDocumentsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2933 |
3e6b15a7
|
Lukáš Vlček
|
const localVarPath = `/documents`;
|
2934 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2935 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2936 |
|
|
let baseOptions;
|
2937 |
|
|
if (configuration) {
|
2938 |
|
|
baseOptions = configuration.baseOptions;
|
2939 |
|
|
}
|
2940 |
|
|
|
2941 |
ef5792a8
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
2942 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
2943 |
|
|
const localVarQueryParameter = {} as any;
|
2944 |
|
|
|
2945 |
ef5792a8
|
Lukáš Vlček
|
|
2946 |
|
|
|
2947 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2948 |
|
|
|
2949 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2950 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2951 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2952 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(deleteDocumentsRequest, localVarRequestOptions, configuration)
|
2953 |
|
|
|
2954 |
|
|
return {
|
2955 |
|
|
url: toPathString(localVarUrlObj),
|
2956 |
|
|
options: localVarRequestOptions,
|
2957 |
|
|
};
|
2958 |
|
|
},
|
2959 |
|
|
/**
|
2960 |
|
|
*
|
2961 |
|
|
* @param {string} documentId
|
2962 |
|
|
* @param {string} annotatorId
|
2963 |
|
|
* @param {*} [options] Override http request option.
|
2964 |
|
|
* @throws {RequiredError}
|
2965 |
|
|
*/
|
2966 |
|
|
documentsDocumentIdAnnotatorsAnnotatorIdDelete: async (documentId: string, annotatorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
2967 |
|
|
// verify required parameter 'documentId' is not null or undefined
|
2968 |
|
|
assertParamExists('documentsDocumentIdAnnotatorsAnnotatorIdDelete', 'documentId', documentId)
|
2969 |
|
|
// verify required parameter 'annotatorId' is not null or undefined
|
2970 |
|
|
assertParamExists('documentsDocumentIdAnnotatorsAnnotatorIdDelete', 'annotatorId', annotatorId)
|
2971 |
|
|
const localVarPath = `/documents/{documentId}/annotators/{annotatorId}`
|
2972 |
|
|
.replace(`{${"documentId"}}`, encodeURIComponent(String(documentId)))
|
2973 |
|
|
.replace(`{${"annotatorId"}}`, encodeURIComponent(String(annotatorId)));
|
2974 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
2975 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
2976 |
|
|
let baseOptions;
|
2977 |
|
|
if (configuration) {
|
2978 |
|
|
baseOptions = configuration.baseOptions;
|
2979 |
dd747fc5
|
Lukáš Vlček
|
}
|
2980 |
3e6b15a7
|
Lukáš Vlček
|
|
2981 |
ef5792a8
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
2982 |
|
|
const localVarHeaderParameter = {} as any;
|
2983 |
|
|
const localVarQueryParameter = {} as any;
|
2984 |
|
|
|
2985 |
|
|
|
2986 |
|
|
|
2987 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
2988 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
2989 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
2990 |
|
|
|
2991 |
|
|
return {
|
2992 |
|
|
url: toPathString(localVarUrlObj),
|
2993 |
|
|
options: localVarRequestOptions,
|
2994 |
|
|
};
|
2995 |
|
|
},
|
2996 |
|
|
/**
|
2997 |
|
|
*
|
2998 |
|
|
* @param {ExportRequest} [exportRequest]
|
2999 |
|
|
* @param {*} [options] Override http request option.
|
3000 |
|
|
* @throws {RequiredError}
|
3001 |
|
|
*/
|
3002 |
|
|
documentsExportPost: async (exportRequest?: ExportRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3003 |
|
|
const localVarPath = `/documents/export`;
|
3004 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3005 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3006 |
|
|
let baseOptions;
|
3007 |
|
|
if (configuration) {
|
3008 |
|
|
baseOptions = configuration.baseOptions;
|
3009 |
dd747fc5
|
Lukáš Vlček
|
}
|
3010 |
3e6b15a7
|
Lukáš Vlček
|
|
3011 |
ef5792a8
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
3012 |
|
|
const localVarHeaderParameter = {} as any;
|
3013 |
|
|
const localVarQueryParameter = {} as any;
|
3014 |
|
|
|
3015 |
|
|
|
3016 |
|
|
|
3017 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3018 |
|
|
|
3019 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3020 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3021 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3022 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(exportRequest, localVarRequestOptions, configuration)
|
3023 |
|
|
|
3024 |
|
|
return {
|
3025 |
|
|
url: toPathString(localVarUrlObj),
|
3026 |
|
|
options: localVarRequestOptions,
|
3027 |
|
|
};
|
3028 |
|
|
},
|
3029 |
|
|
/**
|
3030 |
|
|
*
|
3031 |
|
|
* @param {*} [options] Override http request option.
|
3032 |
|
|
* @throws {RequiredError}
|
3033 |
|
|
*/
|
3034 |
|
|
documentsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3035 |
|
|
const localVarPath = `/documents`;
|
3036 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3037 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3038 |
|
|
let baseOptions;
|
3039 |
|
|
if (configuration) {
|
3040 |
|
|
baseOptions = configuration.baseOptions;
|
3041 |
|
|
}
|
3042 |
|
|
|
3043 |
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
3044 |
|
|
const localVarHeaderParameter = {} as any;
|
3045 |
|
|
const localVarQueryParameter = {} as any;
|
3046 |
|
|
|
3047 |
19b68a2e
|
Lukáš Vlček
|
|
3048 |
|
|
|
3049 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3050 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3051 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3052 |
3e6b15a7
|
Lukáš Vlček
|
|
3053 |
|
|
return {
|
3054 |
|
|
url: toPathString(localVarUrlObj),
|
3055 |
|
|
options: localVarRequestOptions,
|
3056 |
|
|
};
|
3057 |
|
|
},
|
3058 |
|
|
/**
|
3059 |
19b68a2e
|
Lukáš Vlček
|
*
|
3060 |
|
|
* @param {DocumentAddRequest} [documentAddRequest]
|
3061 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3062 |
|
|
* @throws {RequiredError}
|
3063 |
|
|
*/
|
3064 |
19b68a2e
|
Lukáš Vlček
|
documentsPost: async (documentAddRequest?: DocumentAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3065 |
3e6b15a7
|
Lukáš Vlček
|
const localVarPath = `/documents`;
|
3066 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3067 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3068 |
|
|
let baseOptions;
|
3069 |
|
|
if (configuration) {
|
3070 |
|
|
baseOptions = configuration.baseOptions;
|
3071 |
|
|
}
|
3072 |
|
|
|
3073 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
3074 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
3075 |
|
|
const localVarQueryParameter = {} as any;
|
3076 |
|
|
|
3077 |
19b68a2e
|
Lukáš Vlček
|
|
3078 |
|
|
|
3079 |
3e6b15a7
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3080 |
|
|
|
3081 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3082 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3083 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3084 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(documentAddRequest, localVarRequestOptions, configuration)
|
3085 |
|
|
|
3086 |
|
|
return {
|
3087 |
|
|
url: toPathString(localVarUrlObj),
|
3088 |
|
|
options: localVarRequestOptions,
|
3089 |
9bfa1e39
|
Jaroslav Hrubý
|
};
|
3090 |
19b68a2e
|
Lukáš Vlček
|
},
|
3091 |
|
|
/**
|
3092 |
|
|
*
|
3093 |
|
|
* @param {*} [options] Override http request option.
|
3094 |
|
|
* @throws {RequiredError}
|
3095 |
|
|
*/
|
3096 |
|
|
documentsRequiredAnnotationsGlobalGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3097 |
|
|
const localVarPath = `/documents/requiredAnnotations/global`;
|
3098 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3099 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3100 |
|
|
let baseOptions;
|
3101 |
|
|
if (configuration) {
|
3102 |
|
|
baseOptions = configuration.baseOptions;
|
3103 |
|
|
}
|
3104 |
|
|
|
3105 |
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
3106 |
|
|
const localVarHeaderParameter = {} as any;
|
3107 |
|
|
const localVarQueryParameter = {} as any;
|
3108 |
|
|
|
3109 |
|
|
|
3110 |
|
|
|
3111 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3112 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3113 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3114 |
3e6b15a7
|
Lukáš Vlček
|
|
3115 |
|
|
return {
|
3116 |
|
|
url: toPathString(localVarUrlObj),
|
3117 |
|
|
options: localVarRequestOptions,
|
3118 |
|
|
};
|
3119 |
|
|
},
|
3120 |
19b68a2e
|
Lukáš Vlček
|
/**
|
3121 |
|
|
*
|
3122 |
|
|
* @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest]
|
3123 |
|
|
* @param {*} [options] Override http request option.
|
3124 |
|
|
* @throws {RequiredError}
|
3125 |
|
|
*/
|
3126 |
|
|
documentsRequiredAnnotationsGlobalPost: async (setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3127 |
|
|
const localVarPath = `/documents/requiredAnnotations/global`;
|
3128 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3129 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3130 |
|
|
let baseOptions;
|
3131 |
|
|
if (configuration) {
|
3132 |
|
|
baseOptions = configuration.baseOptions;
|
3133 |
|
|
}
|
3134 |
|
|
|
3135 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
3136 |
|
|
const localVarHeaderParameter = {} as any;
|
3137 |
|
|
const localVarQueryParameter = {} as any;
|
3138 |
|
|
|
3139 |
|
|
|
3140 |
|
|
|
3141 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3142 |
|
|
|
3143 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3144 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3145 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3146 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(setRequiredAnnotationsGlobalRequest, localVarRequestOptions, configuration)
|
3147 |
|
|
|
3148 |
|
|
return {
|
3149 |
|
|
url: toPathString(localVarUrlObj),
|
3150 |
|
|
options: localVarRequestOptions,
|
3151 |
|
|
};
|
3152 |
|
|
},
|
3153 |
|
|
/**
|
3154 |
|
|
*
|
3155 |
|
|
* @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest]
|
3156 |
|
|
* @param {*} [options] Override http request option.
|
3157 |
|
|
* @throws {RequiredError}
|
3158 |
|
|
*/
|
3159 |
|
|
documentsRequiredAnnotationsPost: async (setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3160 |
|
|
const localVarPath = `/documents/requiredAnnotations`;
|
3161 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3162 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3163 |
|
|
let baseOptions;
|
3164 |
|
|
if (configuration) {
|
3165 |
|
|
baseOptions = configuration.baseOptions;
|
3166 |
|
|
}
|
3167 |
|
|
|
3168 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
3169 |
|
|
const localVarHeaderParameter = {} as any;
|
3170 |
|
|
const localVarQueryParameter = {} as any;
|
3171 |
|
|
|
3172 |
|
|
|
3173 |
|
|
|
3174 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3175 |
|
|
|
3176 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3177 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3178 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3179 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(setRequiredAnnotationsRequest, localVarRequestOptions, configuration)
|
3180 |
|
|
|
3181 |
|
|
return {
|
3182 |
|
|
url: toPathString(localVarUrlObj),
|
3183 |
|
|
options: localVarRequestOptions,
|
3184 |
|
|
};
|
3185 |
|
|
},
|
3186 |
|
|
}
|
3187 |
3e6b15a7
|
Lukáš Vlček
|
};
|
3188 |
|
|
|
3189 |
|
|
/**
|
3190 |
|
|
* DocumentApi - functional programming interface
|
3191 |
|
|
* @export
|
3192 |
|
|
*/
|
3193 |
19b68a2e
|
Lukáš Vlček
|
export const DocumentApiFp = function(configuration?: Configuration) {
|
3194 |
|
|
const localVarAxiosParamCreator = DocumentApiAxiosParamCreator(configuration)
|
3195 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
3196 |
048b4bc0
|
Lukáš Vlček
|
/**
|
3197 |
|
|
*
|
3198 |
|
|
* @param {string} documentId
|
3199 |
|
|
* @param {*} [options] Override http request option.
|
3200 |
|
|
* @throws {RequiredError}
|
3201 |
|
|
*/
|
3202 |
|
|
async documentDocumentIdFinalPost(documentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFinalAnnotationResponse>> {
|
3203 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentDocumentIdFinalPost(documentId, options);
|
3204 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3205 |
|
|
},
|
3206 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
3207 |
|
|
*
|
3208 |
|
|
* @param {string} documentId
|
3209 |
|
|
* @param {*} [options] Override http request option.
|
3210 |
|
|
* @throws {RequiredError}
|
3211 |
|
|
*/
|
3212 |
|
|
async documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentPreviewResponse>> {
|
3213 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentDocumentIdGet(documentId, options);
|
3214 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3215 |
|
|
},
|
3216 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3217 |
19b68a2e
|
Lukáš Vlček
|
*
|
3218 |
ef5792a8
|
Lukáš Vlček
|
* @param {DeleteDocumentsRequest} [deleteDocumentsRequest]
|
3219 |
|
|
* @param {*} [options] Override http request option.
|
3220 |
|
|
* @throws {RequiredError}
|
3221 |
|
|
*/
|
3222 |
|
|
async documentsDelete(deleteDocumentsRequest?: DeleteDocumentsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3223 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsDelete(deleteDocumentsRequest, options);
|
3224 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3225 |
|
|
},
|
3226 |
|
|
/**
|
3227 |
|
|
*
|
3228 |
|
|
* @param {string} documentId
|
3229 |
|
|
* @param {string} annotatorId
|
3230 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3231 |
|
|
* @throws {RequiredError}
|
3232 |
|
|
*/
|
3233 |
ef5792a8
|
Lukáš Vlček
|
async documentsDocumentIdAnnotatorsAnnotatorIdDelete(documentId: string, annotatorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3234 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsDocumentIdAnnotatorsAnnotatorIdDelete(documentId, annotatorId, options);
|
3235 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3236 |
|
|
},
|
3237 |
|
|
/**
|
3238 |
|
|
*
|
3239 |
|
|
* @param {ExportRequest} [exportRequest]
|
3240 |
|
|
* @param {*} [options] Override http request option.
|
3241 |
|
|
* @throws {RequiredError}
|
3242 |
|
|
*/
|
3243 |
9e60bee1
|
Lukáš Vlček
|
async documentsExportPost(exportRequest?: ExportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
3244 |
ef5792a8
|
Lukáš Vlček
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsExportPost(exportRequest, options);
|
3245 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3246 |
|
|
},
|
3247 |
|
|
/**
|
3248 |
|
|
*
|
3249 |
|
|
* @param {*} [options] Override http request option.
|
3250 |
|
|
* @throws {RequiredError}
|
3251 |
|
|
*/
|
3252 |
|
|
async documentsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentListResponse>> {
|
3253 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsGet(options);
|
3254 |
19b68a2e
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3255 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3256 |
|
|
/**
|
3257 |
19b68a2e
|
Lukáš Vlček
|
*
|
3258 |
|
|
* @param {DocumentAddRequest} [documentAddRequest]
|
3259 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3260 |
|
|
* @throws {RequiredError}
|
3261 |
|
|
*/
|
3262 |
19b68a2e
|
Lukáš Vlček
|
async documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3263 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsPost(documentAddRequest, options);
|
3264 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3265 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3266 |
19b68a2e
|
Lukáš Vlček
|
/**
|
3267 |
|
|
*
|
3268 |
|
|
* @param {*} [options] Override http request option.
|
3269 |
|
|
* @throws {RequiredError}
|
3270 |
|
|
*/
|
3271 |
|
|
async documentsRequiredAnnotationsGlobalGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRequiredAnnotationsGlobalResponse>> {
|
3272 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsGlobalGet(options);
|
3273 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3274 |
|
|
},
|
3275 |
|
|
/**
|
3276 |
|
|
*
|
3277 |
|
|
* @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest]
|
3278 |
|
|
* @param {*} [options] Override http request option.
|
3279 |
|
|
* @throws {RequiredError}
|
3280 |
|
|
*/
|
3281 |
|
|
async documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3282 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options);
|
3283 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3284 |
|
|
},
|
3285 |
|
|
/**
|
3286 |
|
|
*
|
3287 |
|
|
* @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest]
|
3288 |
|
|
* @param {*} [options] Override http request option.
|
3289 |
|
|
* @throws {RequiredError}
|
3290 |
|
|
*/
|
3291 |
|
|
async documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3292 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options);
|
3293 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3294 |
|
|
},
|
3295 |
|
|
}
|
3296 |
3e6b15a7
|
Lukáš Vlček
|
};
|
3297 |
|
|
|
3298 |
|
|
/**
|
3299 |
|
|
* DocumentApi - factory interface
|
3300 |
|
|
* @export
|
3301 |
|
|
*/
|
3302 |
19b68a2e
|
Lukáš Vlček
|
export const DocumentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
3303 |
|
|
const localVarFp = DocumentApiFp(configuration)
|
3304 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
3305 |
048b4bc0
|
Lukáš Vlček
|
/**
|
3306 |
|
|
*
|
3307 |
|
|
* @param {string} documentId
|
3308 |
|
|
* @param {*} [options] Override http request option.
|
3309 |
|
|
* @throws {RequiredError}
|
3310 |
|
|
*/
|
3311 |
|
|
documentDocumentIdFinalPost(documentId: string, options?: any): AxiosPromise<CreateFinalAnnotationResponse> {
|
3312 |
|
|
return localVarFp.documentDocumentIdFinalPost(documentId, options).then((request) => request(axios, basePath));
|
3313 |
|
|
},
|
3314 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
3315 |
|
|
*
|
3316 |
|
|
* @param {string} documentId
|
3317 |
|
|
* @param {*} [options] Override http request option.
|
3318 |
|
|
* @throws {RequiredError}
|
3319 |
|
|
*/
|
3320 |
|
|
documentDocumentIdGet(documentId: string, options?: any): AxiosPromise<DocumentPreviewResponse> {
|
3321 |
|
|
return localVarFp.documentDocumentIdGet(documentId, options).then((request) => request(axios, basePath));
|
3322 |
|
|
},
|
3323 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3324 |
19b68a2e
|
Lukáš Vlček
|
*
|
3325 |
ef5792a8
|
Lukáš Vlček
|
* @param {DeleteDocumentsRequest} [deleteDocumentsRequest]
|
3326 |
|
|
* @param {*} [options] Override http request option.
|
3327 |
|
|
* @throws {RequiredError}
|
3328 |
|
|
*/
|
3329 |
|
|
documentsDelete(deleteDocumentsRequest?: DeleteDocumentsRequest, options?: any): AxiosPromise<void> {
|
3330 |
|
|
return localVarFp.documentsDelete(deleteDocumentsRequest, options).then((request) => request(axios, basePath));
|
3331 |
|
|
},
|
3332 |
|
|
/**
|
3333 |
|
|
*
|
3334 |
|
|
* @param {string} documentId
|
3335 |
|
|
* @param {string} annotatorId
|
3336 |
19b68a2e
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3337 |
|
|
* @throws {RequiredError}
|
3338 |
|
|
*/
|
3339 |
ef5792a8
|
Lukáš Vlček
|
documentsDocumentIdAnnotatorsAnnotatorIdDelete(documentId: string, annotatorId: string, options?: any): AxiosPromise<void> {
|
3340 |
|
|
return localVarFp.documentsDocumentIdAnnotatorsAnnotatorIdDelete(documentId, annotatorId, options).then((request) => request(axios, basePath));
|
3341 |
|
|
},
|
3342 |
|
|
/**
|
3343 |
|
|
*
|
3344 |
|
|
* @param {ExportRequest} [exportRequest]
|
3345 |
|
|
* @param {*} [options] Override http request option.
|
3346 |
|
|
* @throws {RequiredError}
|
3347 |
|
|
*/
|
3348 |
9e60bee1
|
Lukáš Vlček
|
documentsExportPost(exportRequest?: ExportRequest, options?: any): AxiosPromise<string> {
|
3349 |
ef5792a8
|
Lukáš Vlček
|
return localVarFp.documentsExportPost(exportRequest, options).then((request) => request(axios, basePath));
|
3350 |
|
|
},
|
3351 |
|
|
/**
|
3352 |
|
|
*
|
3353 |
|
|
* @param {*} [options] Override http request option.
|
3354 |
|
|
* @throws {RequiredError}
|
3355 |
|
|
*/
|
3356 |
|
|
documentsGet(options?: any): AxiosPromise<DocumentListResponse> {
|
3357 |
|
|
return localVarFp.documentsGet(options).then((request) => request(axios, basePath));
|
3358 |
19b68a2e
|
Lukáš Vlček
|
},
|
3359 |
|
|
/**
|
3360 |
|
|
*
|
3361 |
|
|
* @param {DocumentAddRequest} [documentAddRequest]
|
3362 |
|
|
* @param {*} [options] Override http request option.
|
3363 |
|
|
* @throws {RequiredError}
|
3364 |
|
|
*/
|
3365 |
|
|
documentsPost(documentAddRequest?: DocumentAddRequest, options?: any): AxiosPromise<void> {
|
3366 |
|
|
return localVarFp.documentsPost(documentAddRequest, options).then((request) => request(axios, basePath));
|
3367 |
|
|
},
|
3368 |
|
|
/**
|
3369 |
|
|
*
|
3370 |
|
|
* @param {*} [options] Override http request option.
|
3371 |
|
|
* @throws {RequiredError}
|
3372 |
|
|
*/
|
3373 |
|
|
documentsRequiredAnnotationsGlobalGet(options?: any): AxiosPromise<GetRequiredAnnotationsGlobalResponse> {
|
3374 |
|
|
return localVarFp.documentsRequiredAnnotationsGlobalGet(options).then((request) => request(axios, basePath));
|
3375 |
|
|
},
|
3376 |
|
|
/**
|
3377 |
|
|
*
|
3378 |
|
|
* @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest]
|
3379 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3380 |
|
|
* @throws {RequiredError}
|
3381 |
|
|
*/
|
3382 |
19b68a2e
|
Lukáš Vlček
|
documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: any): AxiosPromise<void> {
|
3383 |
|
|
return localVarFp.documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options).then((request) => request(axios, basePath));
|
3384 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3385 |
|
|
/**
|
3386 |
19b68a2e
|
Lukáš Vlček
|
*
|
3387 |
|
|
* @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest]
|
3388 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3389 |
|
|
* @throws {RequiredError}
|
3390 |
|
|
*/
|
3391 |
19b68a2e
|
Lukáš Vlček
|
documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: any): AxiosPromise<void> {
|
3392 |
|
|
return localVarFp.documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options).then((request) => request(axios, basePath));
|
3393 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3394 |
|
|
};
|
3395 |
|
|
};
|
3396 |
|
|
|
3397 |
|
|
/**
|
3398 |
|
|
* DocumentApi - object-oriented interface
|
3399 |
|
|
* @export
|
3400 |
|
|
* @class DocumentApi
|
3401 |
|
|
* @extends {BaseAPI}
|
3402 |
|
|
*/
|
3403 |
|
|
export class DocumentApi extends BaseAPI {
|
3404 |
048b4bc0
|
Lukáš Vlček
|
/**
|
3405 |
|
|
*
|
3406 |
|
|
* @param {string} documentId
|
3407 |
|
|
* @param {*} [options] Override http request option.
|
3408 |
|
|
* @throws {RequiredError}
|
3409 |
|
|
* @memberof DocumentApi
|
3410 |
|
|
*/
|
3411 |
|
|
public documentDocumentIdFinalPost(documentId: string, options?: AxiosRequestConfig) {
|
3412 |
|
|
return DocumentApiFp(this.configuration).documentDocumentIdFinalPost(documentId, options).then((request) => request(this.axios, this.basePath));
|
3413 |
|
|
}
|
3414 |
|
|
|
3415 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
3416 |
|
|
*
|
3417 |
|
|
* @param {string} documentId
|
3418 |
|
|
* @param {*} [options] Override http request option.
|
3419 |
|
|
* @throws {RequiredError}
|
3420 |
|
|
* @memberof DocumentApi
|
3421 |
|
|
*/
|
3422 |
|
|
public documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig) {
|
3423 |
|
|
return DocumentApiFp(this.configuration).documentDocumentIdGet(documentId, options).then((request) => request(this.axios, this.basePath));
|
3424 |
|
|
}
|
3425 |
|
|
|
3426 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3427 |
19b68a2e
|
Lukáš Vlček
|
*
|
3428 |
ef5792a8
|
Lukáš Vlček
|
* @param {DeleteDocumentsRequest} [deleteDocumentsRequest]
|
3429 |
|
|
* @param {*} [options] Override http request option.
|
3430 |
|
|
* @throws {RequiredError}
|
3431 |
|
|
* @memberof DocumentApi
|
3432 |
|
|
*/
|
3433 |
|
|
public documentsDelete(deleteDocumentsRequest?: DeleteDocumentsRequest, options?: AxiosRequestConfig) {
|
3434 |
|
|
return DocumentApiFp(this.configuration).documentsDelete(deleteDocumentsRequest, options).then((request) => request(this.axios, this.basePath));
|
3435 |
|
|
}
|
3436 |
|
|
|
3437 |
|
|
/**
|
3438 |
|
|
*
|
3439 |
|
|
* @param {string} documentId
|
3440 |
|
|
* @param {string} annotatorId
|
3441 |
|
|
* @param {*} [options] Override http request option.
|
3442 |
|
|
* @throws {RequiredError}
|
3443 |
|
|
* @memberof DocumentApi
|
3444 |
|
|
*/
|
3445 |
|
|
public documentsDocumentIdAnnotatorsAnnotatorIdDelete(documentId: string, annotatorId: string, options?: AxiosRequestConfig) {
|
3446 |
|
|
return DocumentApiFp(this.configuration).documentsDocumentIdAnnotatorsAnnotatorIdDelete(documentId, annotatorId, options).then((request) => request(this.axios, this.basePath));
|
3447 |
|
|
}
|
3448 |
|
|
|
3449 |
|
|
/**
|
3450 |
|
|
*
|
3451 |
|
|
* @param {ExportRequest} [exportRequest]
|
3452 |
|
|
* @param {*} [options] Override http request option.
|
3453 |
|
|
* @throws {RequiredError}
|
3454 |
|
|
* @memberof DocumentApi
|
3455 |
|
|
*/
|
3456 |
|
|
public documentsExportPost(exportRequest?: ExportRequest, options?: AxiosRequestConfig) {
|
3457 |
|
|
return DocumentApiFp(this.configuration).documentsExportPost(exportRequest, options).then((request) => request(this.axios, this.basePath));
|
3458 |
|
|
}
|
3459 |
|
|
|
3460 |
|
|
/**
|
3461 |
|
|
*
|
3462 |
19b68a2e
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3463 |
|
|
* @throws {RequiredError}
|
3464 |
|
|
* @memberof DocumentApi
|
3465 |
|
|
*/
|
3466 |
ef5792a8
|
Lukáš Vlček
|
public documentsGet(options?: AxiosRequestConfig) {
|
3467 |
|
|
return DocumentApiFp(this.configuration).documentsGet(options).then((request) => request(this.axios, this.basePath));
|
3468 |
19b68a2e
|
Lukáš Vlček
|
}
|
3469 |
|
|
|
3470 |
|
|
/**
|
3471 |
|
|
*
|
3472 |
|
|
* @param {DocumentAddRequest} [documentAddRequest]
|
3473 |
|
|
* @param {*} [options] Override http request option.
|
3474 |
|
|
* @throws {RequiredError}
|
3475 |
|
|
* @memberof DocumentApi
|
3476 |
|
|
*/
|
3477 |
|
|
public documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig) {
|
3478 |
|
|
return DocumentApiFp(this.configuration).documentsPost(documentAddRequest, options).then((request) => request(this.axios, this.basePath));
|
3479 |
|
|
}
|
3480 |
|
|
|
3481 |
|
|
/**
|
3482 |
|
|
*
|
3483 |
|
|
* @param {*} [options] Override http request option.
|
3484 |
|
|
* @throws {RequiredError}
|
3485 |
|
|
* @memberof DocumentApi
|
3486 |
|
|
*/
|
3487 |
|
|
public documentsRequiredAnnotationsGlobalGet(options?: AxiosRequestConfig) {
|
3488 |
|
|
return DocumentApiFp(this.configuration).documentsRequiredAnnotationsGlobalGet(options).then((request) => request(this.axios, this.basePath));
|
3489 |
|
|
}
|
3490 |
|
|
|
3491 |
|
|
/**
|
3492 |
|
|
*
|
3493 |
|
|
* @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest]
|
3494 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3495 |
|
|
* @throws {RequiredError}
|
3496 |
|
|
* @memberof DocumentApi
|
3497 |
|
|
*/
|
3498 |
19b68a2e
|
Lukáš Vlček
|
public documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: AxiosRequestConfig) {
|
3499 |
|
|
return DocumentApiFp(this.configuration).documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options).then((request) => request(this.axios, this.basePath));
|
3500 |
3e6b15a7
|
Lukáš Vlček
|
}
|
3501 |
|
|
|
3502 |
|
|
/**
|
3503 |
19b68a2e
|
Lukáš Vlček
|
*
|
3504 |
|
|
* @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest]
|
3505 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3506 |
|
|
* @throws {RequiredError}
|
3507 |
|
|
* @memberof DocumentApi
|
3508 |
|
|
*/
|
3509 |
19b68a2e
|
Lukáš Vlček
|
public documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: AxiosRequestConfig) {
|
3510 |
|
|
return DocumentApiFp(this.configuration).documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options).then((request) => request(this.axios, this.basePath));
|
3511 |
3e6b15a7
|
Lukáš Vlček
|
}
|
3512 |
|
|
}
|
3513 |
|
|
|
3514 |
19b68a2e
|
Lukáš Vlček
|
|
3515 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
3516 |
|
|
* TagApi - axios parameter creator
|
3517 |
|
|
* @export
|
3518 |
|
|
*/
|
3519 |
|
|
export const TagApiAxiosParamCreator = function (configuration?: Configuration) {
|
3520 |
|
|
return {
|
3521 |
|
|
/**
|
3522 |
19b68a2e
|
Lukáš Vlček
|
*
|
3523 |
cca0bfa0
|
Lukáš Vlček
|
* @param {CreateCategoryRequest} [createCategoryRequest]
|
3524 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3525 |
|
|
* @throws {RequiredError}
|
3526 |
|
|
*/
|
3527 |
cca0bfa0
|
Lukáš Vlček
|
categoriesPost: async (createCategoryRequest?: CreateCategoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3528 |
|
|
const localVarPath = `/categories`;
|
3529 |
3e6b15a7
|
Lukáš Vlček
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3530 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3531 |
|
|
let baseOptions;
|
3532 |
|
|
if (configuration) {
|
3533 |
|
|
baseOptions = configuration.baseOptions;
|
3534 |
|
|
}
|
3535 |
|
|
|
3536 |
cca0bfa0
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
3537 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
3538 |
|
|
const localVarQueryParameter = {} as any;
|
3539 |
|
|
|
3540 |
19b68a2e
|
Lukáš Vlček
|
|
3541 |
|
|
|
3542 |
cca0bfa0
|
Lukáš Vlček
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3543 |
|
|
|
3544 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3545 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3546 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3547 |
cca0bfa0
|
Lukáš Vlček
|
localVarRequestOptions.data = serializeDataIfNeeded(createCategoryRequest, localVarRequestOptions, configuration)
|
3548 |
3e6b15a7
|
Lukáš Vlček
|
|
3549 |
|
|
return {
|
3550 |
|
|
url: toPathString(localVarUrlObj),
|
3551 |
|
|
options: localVarRequestOptions,
|
3552 |
|
|
};
|
3553 |
|
|
},
|
3554 |
|
|
/**
|
3555 |
19b68a2e
|
Lukáš Vlček
|
*
|
3556 |
cca0bfa0
|
Lukáš Vlček
|
* @param {string} categoryId
|
3557 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
3558 |
|
|
* @throws {RequiredError}
|
3559 |
|
|
*/
|
3560 |
cca0bfa0
|
Lukáš Vlček
|
categoryCategoryIdDelete: async (categoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3561 |
|
|
// verify required parameter 'categoryId' is not null or undefined
|
3562 |
|
|
assertParamExists('categoryCategoryIdDelete', 'categoryId', categoryId)
|
3563 |
|
|
const localVarPath = `/category/{categoryId}`
|
3564 |
|
|
.replace(`{${"categoryId"}}`, encodeURIComponent(String(categoryId)));
|
3565 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3566 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3567 |
|
|
let baseOptions;
|
3568 |
|
|
if (configuration) {
|
3569 |
|
|
baseOptions = configuration.baseOptions;
|
3570 |
|
|
}
|
3571 |
|
|
|
3572 |
|
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
3573 |
|
|
const localVarHeaderParameter = {} as any;
|
3574 |
|
|
const localVarQueryParameter = {} as any;
|
3575 |
|
|
|
3576 |
|
|
|
3577 |
|
|
|
3578 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3579 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3580 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3581 |
|
|
|
3582 |
|
|
return {
|
3583 |
|
|
url: toPathString(localVarUrlObj),
|
3584 |
|
|
options: localVarRequestOptions,
|
3585 |
|
|
};
|
3586 |
|
|
},
|
3587 |
|
|
/**
|
3588 |
|
|
*
|
3589 |
|
|
* @param {string} categoryId
|
3590 |
|
|
* @param {ModifyCategoryRequest} [modifyCategoryRequest]
|
3591 |
|
|
* @param {*} [options] Override http request option.
|
3592 |
|
|
* @throws {RequiredError}
|
3593 |
|
|
*/
|
3594 |
|
|
categoryCategoryIdPut: async (categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3595 |
|
|
// verify required parameter 'categoryId' is not null or undefined
|
3596 |
|
|
assertParamExists('categoryCategoryIdPut', 'categoryId', categoryId)
|
3597 |
|
|
const localVarPath = `/category/{categoryId}`
|
3598 |
|
|
.replace(`{${"categoryId"}}`, encodeURIComponent(String(categoryId)));
|
3599 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3600 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3601 |
|
|
let baseOptions;
|
3602 |
|
|
if (configuration) {
|
3603 |
|
|
baseOptions = configuration.baseOptions;
|
3604 |
|
|
}
|
3605 |
|
|
|
3606 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
3607 |
|
|
const localVarHeaderParameter = {} as any;
|
3608 |
|
|
const localVarQueryParameter = {} as any;
|
3609 |
|
|
|
3610 |
|
|
|
3611 |
|
|
|
3612 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3613 |
|
|
|
3614 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3615 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3616 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3617 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(modifyCategoryRequest, localVarRequestOptions, configuration)
|
3618 |
|
|
|
3619 |
|
|
return {
|
3620 |
|
|
url: toPathString(localVarUrlObj),
|
3621 |
|
|
options: localVarRequestOptions,
|
3622 |
|
|
};
|
3623 |
|
|
},
|
3624 |
|
|
/**
|
3625 |
|
|
*
|
3626 |
|
|
* @param {string} subtagId
|
3627 |
|
|
* @param {*} [options] Override http request option.
|
3628 |
|
|
* @throws {RequiredError}
|
3629 |
|
|
*/
|
3630 |
|
|
subtagSubtagIdDelete: async (subtagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3631 |
|
|
// verify required parameter 'subtagId' is not null or undefined
|
3632 |
|
|
assertParamExists('subtagSubtagIdDelete', 'subtagId', subtagId)
|
3633 |
|
|
const localVarPath = `/subtag/{subtagId}`
|
3634 |
|
|
.replace(`{${"subtagId"}}`, encodeURIComponent(String(subtagId)));
|
3635 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3636 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3637 |
|
|
let baseOptions;
|
3638 |
|
|
if (configuration) {
|
3639 |
|
|
baseOptions = configuration.baseOptions;
|
3640 |
|
|
}
|
3641 |
|
|
|
3642 |
|
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
3643 |
|
|
const localVarHeaderParameter = {} as any;
|
3644 |
|
|
const localVarQueryParameter = {} as any;
|
3645 |
|
|
|
3646 |
|
|
|
3647 |
|
|
|
3648 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3649 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3650 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3651 |
|
|
|
3652 |
|
|
return {
|
3653 |
|
|
url: toPathString(localVarUrlObj),
|
3654 |
|
|
options: localVarRequestOptions,
|
3655 |
|
|
};
|
3656 |
|
|
},
|
3657 |
|
|
/**
|
3658 |
|
|
*
|
3659 |
|
|
* @param {string} subtagId
|
3660 |
|
|
* @param {ModifySubTagRequest} [modifySubTagRequest]
|
3661 |
|
|
* @param {*} [options] Override http request option.
|
3662 |
|
|
* @throws {RequiredError}
|
3663 |
|
|
*/
|
3664 |
|
|
subtagSubtagIdPut: async (subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3665 |
|
|
// verify required parameter 'subtagId' is not null or undefined
|
3666 |
|
|
assertParamExists('subtagSubtagIdPut', 'subtagId', subtagId)
|
3667 |
|
|
const localVarPath = `/subtag/{subtagId}`
|
3668 |
|
|
.replace(`{${"subtagId"}}`, encodeURIComponent(String(subtagId)));
|
3669 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3670 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3671 |
|
|
let baseOptions;
|
3672 |
|
|
if (configuration) {
|
3673 |
|
|
baseOptions = configuration.baseOptions;
|
3674 |
|
|
}
|
3675 |
|
|
|
3676 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
3677 |
|
|
const localVarHeaderParameter = {} as any;
|
3678 |
|
|
const localVarQueryParameter = {} as any;
|
3679 |
|
|
|
3680 |
|
|
|
3681 |
|
|
|
3682 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3683 |
|
|
|
3684 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3685 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3686 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3687 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(modifySubTagRequest, localVarRequestOptions, configuration)
|
3688 |
|
|
|
3689 |
|
|
return {
|
3690 |
|
|
url: toPathString(localVarUrlObj),
|
3691 |
|
|
options: localVarRequestOptions,
|
3692 |
|
|
};
|
3693 |
|
|
},
|
3694 |
|
|
/**
|
3695 |
|
|
*
|
3696 |
|
|
* @param {CreateSubTagRequest} [createSubTagRequest]
|
3697 |
|
|
* @param {*} [options] Override http request option.
|
3698 |
|
|
* @throws {RequiredError}
|
3699 |
|
|
*/
|
3700 |
|
|
subtagsPost: async (createSubTagRequest?: CreateSubTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3701 |
|
|
const localVarPath = `/subtags`;
|
3702 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3703 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3704 |
|
|
let baseOptions;
|
3705 |
|
|
if (configuration) {
|
3706 |
|
|
baseOptions = configuration.baseOptions;
|
3707 |
|
|
}
|
3708 |
|
|
|
3709 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
3710 |
|
|
const localVarHeaderParameter = {} as any;
|
3711 |
|
|
const localVarQueryParameter = {} as any;
|
3712 |
|
|
|
3713 |
|
|
|
3714 |
|
|
|
3715 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3716 |
|
|
|
3717 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3718 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3719 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3720 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(createSubTagRequest, localVarRequestOptions, configuration)
|
3721 |
|
|
|
3722 |
|
|
return {
|
3723 |
|
|
url: toPathString(localVarUrlObj),
|
3724 |
|
|
options: localVarRequestOptions,
|
3725 |
|
|
};
|
3726 |
|
|
},
|
3727 |
|
|
/**
|
3728 |
|
|
*
|
3729 |
|
|
* @param {string} tagId
|
3730 |
|
|
* @param {*} [options] Override http request option.
|
3731 |
|
|
* @throws {RequiredError}
|
3732 |
|
|
*/
|
3733 |
|
|
tagTagIdDelete: async (tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3734 |
|
|
// verify required parameter 'tagId' is not null or undefined
|
3735 |
|
|
assertParamExists('tagTagIdDelete', 'tagId', tagId)
|
3736 |
|
|
const localVarPath = `/tag/{tagId}`
|
3737 |
|
|
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
3738 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3739 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3740 |
|
|
let baseOptions;
|
3741 |
|
|
if (configuration) {
|
3742 |
|
|
baseOptions = configuration.baseOptions;
|
3743 |
|
|
}
|
3744 |
|
|
|
3745 |
|
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
3746 |
|
|
const localVarHeaderParameter = {} as any;
|
3747 |
|
|
const localVarQueryParameter = {} as any;
|
3748 |
|
|
|
3749 |
|
|
|
3750 |
|
|
|
3751 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3752 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3753 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3754 |
|
|
|
3755 |
|
|
return {
|
3756 |
|
|
url: toPathString(localVarUrlObj),
|
3757 |
|
|
options: localVarRequestOptions,
|
3758 |
|
|
};
|
3759 |
|
|
},
|
3760 |
|
|
/**
|
3761 |
|
|
*
|
3762 |
|
|
* @param {string} tagId
|
3763 |
|
|
* @param {ModifyTagRequest} [modifyTagRequest]
|
3764 |
|
|
* @param {*} [options] Override http request option.
|
3765 |
|
|
* @throws {RequiredError}
|
3766 |
|
|
*/
|
3767 |
|
|
tagTagIdPut: async (tagId: string, modifyTagRequest?: ModifyTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3768 |
|
|
// verify required parameter 'tagId' is not null or undefined
|
3769 |
|
|
assertParamExists('tagTagIdPut', 'tagId', tagId)
|
3770 |
|
|
const localVarPath = `/tag/{tagId}`
|
3771 |
|
|
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
3772 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3773 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3774 |
|
|
let baseOptions;
|
3775 |
|
|
if (configuration) {
|
3776 |
|
|
baseOptions = configuration.baseOptions;
|
3777 |
|
|
}
|
3778 |
|
|
|
3779 |
|
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
3780 |
|
|
const localVarHeaderParameter = {} as any;
|
3781 |
|
|
const localVarQueryParameter = {} as any;
|
3782 |
|
|
|
3783 |
|
|
|
3784 |
|
|
|
3785 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3786 |
|
|
|
3787 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3788 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3789 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3790 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(modifyTagRequest, localVarRequestOptions, configuration)
|
3791 |
|
|
|
3792 |
|
|
return {
|
3793 |
|
|
url: toPathString(localVarUrlObj),
|
3794 |
|
|
options: localVarRequestOptions,
|
3795 |
|
|
};
|
3796 |
|
|
},
|
3797 |
|
|
/**
|
3798 |
|
|
*
|
3799 |
|
|
* @param {*} [options] Override http request option.
|
3800 |
|
|
* @throws {RequiredError}
|
3801 |
|
|
*/
|
3802 |
|
|
tagsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3803 |
|
|
const localVarPath = `/tags`;
|
3804 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3805 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3806 |
|
|
let baseOptions;
|
3807 |
|
|
if (configuration) {
|
3808 |
|
|
baseOptions = configuration.baseOptions;
|
3809 |
|
|
}
|
3810 |
|
|
|
3811 |
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
3812 |
|
|
const localVarHeaderParameter = {} as any;
|
3813 |
|
|
const localVarQueryParameter = {} as any;
|
3814 |
|
|
|
3815 |
|
|
|
3816 |
|
|
|
3817 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3818 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3819 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3820 |
|
|
|
3821 |
|
|
return {
|
3822 |
|
|
url: toPathString(localVarUrlObj),
|
3823 |
|
|
options: localVarRequestOptions,
|
3824 |
|
|
};
|
3825 |
|
|
},
|
3826 |
|
|
/**
|
3827 |
|
|
*
|
3828 |
|
|
* @param {CreateTagRequest} [createTagRequest]
|
3829 |
|
|
* @param {*} [options] Override http request option.
|
3830 |
|
|
* @throws {RequiredError}
|
3831 |
|
|
*/
|
3832 |
|
|
tagsPost: async (createTagRequest?: CreateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
3833 |
|
|
const localVarPath = `/tags`;
|
3834 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
3835 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
3836 |
|
|
let baseOptions;
|
3837 |
|
|
if (configuration) {
|
3838 |
|
|
baseOptions = configuration.baseOptions;
|
3839 |
|
|
}
|
3840 |
|
|
|
3841 |
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
3842 |
|
|
const localVarHeaderParameter = {} as any;
|
3843 |
|
|
const localVarQueryParameter = {} as any;
|
3844 |
|
|
|
3845 |
|
|
|
3846 |
|
|
|
3847 |
|
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3848 |
|
|
|
3849 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
3850 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
3851 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
3852 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(createTagRequest, localVarRequestOptions, configuration)
|
3853 |
|
|
|
3854 |
|
|
return {
|
3855 |
|
|
url: toPathString(localVarUrlObj),
|
3856 |
|
|
options: localVarRequestOptions,
|
3857 |
|
|
};
|
3858 |
|
|
},
|
3859 |
|
|
}
|
3860 |
|
|
};
|
3861 |
|
|
|
3862 |
|
|
/**
|
3863 |
|
|
* TagApi - functional programming interface
|
3864 |
|
|
* @export
|
3865 |
|
|
*/
|
3866 |
|
|
export const TagApiFp = function(configuration?: Configuration) {
|
3867 |
|
|
const localVarAxiosParamCreator = TagApiAxiosParamCreator(configuration)
|
3868 |
|
|
return {
|
3869 |
|
|
/**
|
3870 |
|
|
*
|
3871 |
|
|
* @param {CreateCategoryRequest} [createCategoryRequest]
|
3872 |
|
|
* @param {*} [options] Override http request option.
|
3873 |
|
|
* @throws {RequiredError}
|
3874 |
|
|
*/
|
3875 |
|
|
async categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3876 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.categoriesPost(createCategoryRequest, options);
|
3877 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3878 |
|
|
},
|
3879 |
|
|
/**
|
3880 |
|
|
*
|
3881 |
|
|
* @param {string} categoryId
|
3882 |
|
|
* @param {*} [options] Override http request option.
|
3883 |
|
|
* @throws {RequiredError}
|
3884 |
|
|
*/
|
3885 |
|
|
async categoryCategoryIdDelete(categoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3886 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.categoryCategoryIdDelete(categoryId, options);
|
3887 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3888 |
|
|
},
|
3889 |
|
|
/**
|
3890 |
|
|
*
|
3891 |
|
|
* @param {string} categoryId
|
3892 |
|
|
* @param {ModifyCategoryRequest} [modifyCategoryRequest]
|
3893 |
|
|
* @param {*} [options] Override http request option.
|
3894 |
|
|
* @throws {RequiredError}
|
3895 |
|
|
*/
|
3896 |
|
|
async categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3897 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.categoryCategoryIdPut(categoryId, modifyCategoryRequest, options);
|
3898 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3899 |
|
|
},
|
3900 |
|
|
/**
|
3901 |
|
|
*
|
3902 |
|
|
* @param {string} subtagId
|
3903 |
|
|
* @param {*} [options] Override http request option.
|
3904 |
|
|
* @throws {RequiredError}
|
3905 |
|
|
*/
|
3906 |
|
|
async subtagSubtagIdDelete(subtagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3907 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subtagSubtagIdDelete(subtagId, options);
|
3908 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3909 |
|
|
},
|
3910 |
|
|
/**
|
3911 |
|
|
*
|
3912 |
|
|
* @param {string} subtagId
|
3913 |
|
|
* @param {ModifySubTagRequest} [modifySubTagRequest]
|
3914 |
|
|
* @param {*} [options] Override http request option.
|
3915 |
|
|
* @throws {RequiredError}
|
3916 |
|
|
*/
|
3917 |
|
|
async subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3918 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subtagSubtagIdPut(subtagId, modifySubTagRequest, options);
|
3919 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3920 |
|
|
},
|
3921 |
|
|
/**
|
3922 |
|
|
*
|
3923 |
|
|
* @param {CreateSubTagRequest} [createSubTagRequest]
|
3924 |
|
|
* @param {*} [options] Override http request option.
|
3925 |
|
|
* @throws {RequiredError}
|
3926 |
|
|
*/
|
3927 |
|
|
async subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3928 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subtagsPost(createSubTagRequest, options);
|
3929 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3930 |
|
|
},
|
3931 |
|
|
/**
|
3932 |
|
|
*
|
3933 |
|
|
* @param {string} tagId
|
3934 |
|
|
* @param {*} [options] Override http request option.
|
3935 |
|
|
* @throws {RequiredError}
|
3936 |
|
|
*/
|
3937 |
|
|
async tagTagIdDelete(tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3938 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tagTagIdDelete(tagId, options);
|
3939 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3940 |
|
|
},
|
3941 |
|
|
/**
|
3942 |
|
|
*
|
3943 |
|
|
* @param {string} tagId
|
3944 |
|
|
* @param {ModifyTagRequest} [modifyTagRequest]
|
3945 |
|
|
* @param {*} [options] Override http request option.
|
3946 |
|
|
* @throws {RequiredError}
|
3947 |
|
|
*/
|
3948 |
|
|
async tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3949 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tagTagIdPut(tagId, modifyTagRequest, options);
|
3950 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3951 |
|
|
},
|
3952 |
|
|
/**
|
3953 |
|
|
*
|
3954 |
|
|
* @param {*} [options] Override http request option.
|
3955 |
|
|
* @throws {RequiredError}
|
3956 |
|
|
*/
|
3957 |
|
|
async tagsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagTreeResponse>> {
|
3958 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(options);
|
3959 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3960 |
|
|
},
|
3961 |
|
|
/**
|
3962 |
|
|
*
|
3963 |
|
|
* @param {CreateTagRequest} [createTagRequest]
|
3964 |
|
|
* @param {*} [options] Override http request option.
|
3965 |
|
|
* @throws {RequiredError}
|
3966 |
|
|
*/
|
3967 |
|
|
async tagsPost(createTagRequest?: CreateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
3968 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsPost(createTagRequest, options);
|
3969 |
19b68a2e
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
3970 |
3e6b15a7
|
Lukáš Vlček
|
},
|
3971 |
19b68a2e
|
Lukáš Vlček
|
}
|
3972 |
3e6b15a7
|
Lukáš Vlček
|
};
|
3973 |
|
|
|
3974 |
|
|
/**
|
3975 |
|
|
* TagApi - factory interface
|
3976 |
|
|
* @export
|
3977 |
|
|
*/
|
3978 |
19b68a2e
|
Lukáš Vlček
|
export const TagApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
3979 |
|
|
const localVarFp = TagApiFp(configuration)
|
3980 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
3981 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
3982 |
|
|
*
|
3983 |
|
|
* @param {CreateCategoryRequest} [createCategoryRequest]
|
3984 |
|
|
* @param {*} [options] Override http request option.
|
3985 |
|
|
* @throws {RequiredError}
|
3986 |
|
|
*/
|
3987 |
|
|
categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: any): AxiosPromise<void> {
|
3988 |
|
|
return localVarFp.categoriesPost(createCategoryRequest, options).then((request) => request(axios, basePath));
|
3989 |
|
|
},
|
3990 |
|
|
/**
|
3991 |
|
|
*
|
3992 |
|
|
* @param {string} categoryId
|
3993 |
|
|
* @param {*} [options] Override http request option.
|
3994 |
|
|
* @throws {RequiredError}
|
3995 |
|
|
*/
|
3996 |
|
|
categoryCategoryIdDelete(categoryId: string, options?: any): AxiosPromise<void> {
|
3997 |
|
|
return localVarFp.categoryCategoryIdDelete(categoryId, options).then((request) => request(axios, basePath));
|
3998 |
|
|
},
|
3999 |
|
|
/**
|
4000 |
|
|
*
|
4001 |
|
|
* @param {string} categoryId
|
4002 |
|
|
* @param {ModifyCategoryRequest} [modifyCategoryRequest]
|
4003 |
|
|
* @param {*} [options] Override http request option.
|
4004 |
|
|
* @throws {RequiredError}
|
4005 |
|
|
*/
|
4006 |
|
|
categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: any): AxiosPromise<void> {
|
4007 |
|
|
return localVarFp.categoryCategoryIdPut(categoryId, modifyCategoryRequest, options).then((request) => request(axios, basePath));
|
4008 |
|
|
},
|
4009 |
|
|
/**
|
4010 |
|
|
*
|
4011 |
|
|
* @param {string} subtagId
|
4012 |
|
|
* @param {*} [options] Override http request option.
|
4013 |
|
|
* @throws {RequiredError}
|
4014 |
|
|
*/
|
4015 |
|
|
subtagSubtagIdDelete(subtagId: string, options?: any): AxiosPromise<void> {
|
4016 |
|
|
return localVarFp.subtagSubtagIdDelete(subtagId, options).then((request) => request(axios, basePath));
|
4017 |
|
|
},
|
4018 |
|
|
/**
|
4019 |
|
|
*
|
4020 |
|
|
* @param {string} subtagId
|
4021 |
|
|
* @param {ModifySubTagRequest} [modifySubTagRequest]
|
4022 |
|
|
* @param {*} [options] Override http request option.
|
4023 |
|
|
* @throws {RequiredError}
|
4024 |
|
|
*/
|
4025 |
|
|
subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: any): AxiosPromise<void> {
|
4026 |
|
|
return localVarFp.subtagSubtagIdPut(subtagId, modifySubTagRequest, options).then((request) => request(axios, basePath));
|
4027 |
|
|
},
|
4028 |
|
|
/**
|
4029 |
|
|
*
|
4030 |
|
|
* @param {CreateSubTagRequest} [createSubTagRequest]
|
4031 |
|
|
* @param {*} [options] Override http request option.
|
4032 |
|
|
* @throws {RequiredError}
|
4033 |
|
|
*/
|
4034 |
|
|
subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: any): AxiosPromise<void> {
|
4035 |
|
|
return localVarFp.subtagsPost(createSubTagRequest, options).then((request) => request(axios, basePath));
|
4036 |
|
|
},
|
4037 |
|
|
/**
|
4038 |
|
|
*
|
4039 |
|
|
* @param {string} tagId
|
4040 |
|
|
* @param {*} [options] Override http request option.
|
4041 |
|
|
* @throws {RequiredError}
|
4042 |
|
|
*/
|
4043 |
|
|
tagTagIdDelete(tagId: string, options?: any): AxiosPromise<void> {
|
4044 |
|
|
return localVarFp.tagTagIdDelete(tagId, options).then((request) => request(axios, basePath));
|
4045 |
|
|
},
|
4046 |
|
|
/**
|
4047 |
|
|
*
|
4048 |
|
|
* @param {string} tagId
|
4049 |
|
|
* @param {ModifyTagRequest} [modifyTagRequest]
|
4050 |
|
|
* @param {*} [options] Override http request option.
|
4051 |
|
|
* @throws {RequiredError}
|
4052 |
|
|
*/
|
4053 |
|
|
tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: any): AxiosPromise<void> {
|
4054 |
|
|
return localVarFp.tagTagIdPut(tagId, modifyTagRequest, options).then((request) => request(axios, basePath));
|
4055 |
|
|
},
|
4056 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
4057 |
19b68a2e
|
Lukáš Vlček
|
*
|
4058 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4059 |
|
|
* @throws {RequiredError}
|
4060 |
|
|
*/
|
4061 |
|
|
tagsGet(options?: any): AxiosPromise<TagTreeResponse> {
|
4062 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.tagsGet(options).then((request) => request(axios, basePath));
|
4063 |
3e6b15a7
|
Lukáš Vlček
|
},
|
4064 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
4065 |
|
|
*
|
4066 |
|
|
* @param {CreateTagRequest} [createTagRequest]
|
4067 |
|
|
* @param {*} [options] Override http request option.
|
4068 |
|
|
* @throws {RequiredError}
|
4069 |
|
|
*/
|
4070 |
|
|
tagsPost(createTagRequest?: CreateTagRequest, options?: any): AxiosPromise<void> {
|
4071 |
|
|
return localVarFp.tagsPost(createTagRequest, options).then((request) => request(axios, basePath));
|
4072 |
|
|
},
|
4073 |
3e6b15a7
|
Lukáš Vlček
|
};
|
4074 |
|
|
};
|
4075 |
|
|
|
4076 |
|
|
/**
|
4077 |
|
|
* TagApi - object-oriented interface
|
4078 |
|
|
* @export
|
4079 |
|
|
* @class TagApi
|
4080 |
|
|
* @extends {BaseAPI}
|
4081 |
|
|
*/
|
4082 |
|
|
export class TagApi extends BaseAPI {
|
4083 |
cca0bfa0
|
Lukáš Vlček
|
/**
|
4084 |
|
|
*
|
4085 |
|
|
* @param {CreateCategoryRequest} [createCategoryRequest]
|
4086 |
|
|
* @param {*} [options] Override http request option.
|
4087 |
|
|
* @throws {RequiredError}
|
4088 |
|
|
* @memberof TagApi
|
4089 |
|
|
*/
|
4090 |
|
|
public categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: AxiosRequestConfig) {
|
4091 |
|
|
return TagApiFp(this.configuration).categoriesPost(createCategoryRequest, options).then((request) => request(this.axios, this.basePath));
|
4092 |
|
|
}
|
4093 |
|
|
|
4094 |
|
|
/**
|
4095 |
|
|
*
|
4096 |
|
|
* @param {string} categoryId
|
4097 |
|
|
* @param {*} [options] Override http request option.
|
4098 |
|
|
* @throws {RequiredError}
|
4099 |
|
|
* @memberof TagApi
|
4100 |
|
|
*/
|
4101 |
|
|
public categoryCategoryIdDelete(categoryId: string, options?: AxiosRequestConfig) {
|
4102 |
|
|
return TagApiFp(this.configuration).categoryCategoryIdDelete(categoryId, options).then((request) => request(this.axios, this.basePath));
|
4103 |
|
|
}
|
4104 |
|
|
|
4105 |
|
|
/**
|
4106 |
|
|
*
|
4107 |
|
|
* @param {string} categoryId
|
4108 |
|
|
* @param {ModifyCategoryRequest} [modifyCategoryRequest]
|
4109 |
|
|
* @param {*} [options] Override http request option.
|
4110 |
|
|
* @throws {RequiredError}
|
4111 |
|
|
* @memberof TagApi
|
4112 |
|
|
*/
|
4113 |
|
|
public categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: AxiosRequestConfig) {
|
4114 |
|
|
return TagApiFp(this.configuration).categoryCategoryIdPut(categoryId, modifyCategoryRequest, options).then((request) => request(this.axios, this.basePath));
|
4115 |
|
|
}
|
4116 |
|
|
|
4117 |
|
|
/**
|
4118 |
|
|
*
|
4119 |
|
|
* @param {string} subtagId
|
4120 |
|
|
* @param {*} [options] Override http request option.
|
4121 |
|
|
* @throws {RequiredError}
|
4122 |
|
|
* @memberof TagApi
|
4123 |
|
|
*/
|
4124 |
|
|
public subtagSubtagIdDelete(subtagId: string, options?: AxiosRequestConfig) {
|
4125 |
|
|
return TagApiFp(this.configuration).subtagSubtagIdDelete(subtagId, options).then((request) => request(this.axios, this.basePath));
|
4126 |
|
|
}
|
4127 |
|
|
|
4128 |
|
|
/**
|
4129 |
|
|
*
|
4130 |
|
|
* @param {string} subtagId
|
4131 |
|
|
* @param {ModifySubTagRequest} [modifySubTagRequest]
|
4132 |
|
|
* @param {*} [options] Override http request option.
|
4133 |
|
|
* @throws {RequiredError}
|
4134 |
|
|
* @memberof TagApi
|
4135 |
|
|
*/
|
4136 |
|
|
public subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: AxiosRequestConfig) {
|
4137 |
|
|
return TagApiFp(this.configuration).subtagSubtagIdPut(subtagId, modifySubTagRequest, options).then((request) => request(this.axios, this.basePath));
|
4138 |
|
|
}
|
4139 |
|
|
|
4140 |
|
|
/**
|
4141 |
|
|
*
|
4142 |
|
|
* @param {CreateSubTagRequest} [createSubTagRequest]
|
4143 |
|
|
* @param {*} [options] Override http request option.
|
4144 |
|
|
* @throws {RequiredError}
|
4145 |
|
|
* @memberof TagApi
|
4146 |
|
|
*/
|
4147 |
|
|
public subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: AxiosRequestConfig) {
|
4148 |
|
|
return TagApiFp(this.configuration).subtagsPost(createSubTagRequest, options).then((request) => request(this.axios, this.basePath));
|
4149 |
|
|
}
|
4150 |
|
|
|
4151 |
|
|
/**
|
4152 |
|
|
*
|
4153 |
|
|
* @param {string} tagId
|
4154 |
|
|
* @param {*} [options] Override http request option.
|
4155 |
|
|
* @throws {RequiredError}
|
4156 |
|
|
* @memberof TagApi
|
4157 |
|
|
*/
|
4158 |
|
|
public tagTagIdDelete(tagId: string, options?: AxiosRequestConfig) {
|
4159 |
|
|
return TagApiFp(this.configuration).tagTagIdDelete(tagId, options).then((request) => request(this.axios, this.basePath));
|
4160 |
|
|
}
|
4161 |
|
|
|
4162 |
|
|
/**
|
4163 |
|
|
*
|
4164 |
|
|
* @param {string} tagId
|
4165 |
|
|
* @param {ModifyTagRequest} [modifyTagRequest]
|
4166 |
|
|
* @param {*} [options] Override http request option.
|
4167 |
|
|
* @throws {RequiredError}
|
4168 |
|
|
* @memberof TagApi
|
4169 |
|
|
*/
|
4170 |
|
|
public tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: AxiosRequestConfig) {
|
4171 |
|
|
return TagApiFp(this.configuration).tagTagIdPut(tagId, modifyTagRequest, options).then((request) => request(this.axios, this.basePath));
|
4172 |
|
|
}
|
4173 |
|
|
|
4174 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
4175 |
19b68a2e
|
Lukáš Vlček
|
*
|
4176 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4177 |
|
|
* @throws {RequiredError}
|
4178 |
|
|
* @memberof TagApi
|
4179 |
|
|
*/
|
4180 |
|
|
public tagsGet(options?: AxiosRequestConfig) {
|
4181 |
19b68a2e
|
Lukáš Vlček
|
return TagApiFp(this.configuration).tagsGet(options).then((request) => request(this.axios, this.basePath));
|
4182 |
3e6b15a7
|
Lukáš Vlček
|
}
|
4183 |
cca0bfa0
|
Lukáš Vlček
|
|
4184 |
|
|
/**
|
4185 |
|
|
*
|
4186 |
|
|
* @param {CreateTagRequest} [createTagRequest]
|
4187 |
|
|
* @param {*} [options] Override http request option.
|
4188 |
|
|
* @throws {RequiredError}
|
4189 |
|
|
* @memberof TagApi
|
4190 |
|
|
*/
|
4191 |
|
|
public tagsPost(createTagRequest?: CreateTagRequest, options?: AxiosRequestConfig) {
|
4192 |
|
|
return TagApiFp(this.configuration).tagsPost(createTagRequest, options).then((request) => request(this.axios, this.basePath));
|
4193 |
|
|
}
|
4194 |
3e6b15a7
|
Lukáš Vlček
|
}
|
4195 |
|
|
|
4196 |
19b68a2e
|
Lukáš Vlček
|
|
4197 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
4198 |
|
|
* UserApi - axios parameter creator
|
4199 |
|
|
* @export
|
4200 |
|
|
*/
|
4201 |
|
|
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
|
4202 |
|
|
return {
|
4203 |
|
|
/**
|
4204 |
19b68a2e
|
Lukáš Vlček
|
*
|
4205 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4206 |
|
|
* @throws {RequiredError}
|
4207 |
|
|
*/
|
4208 |
19b68a2e
|
Lukáš Vlček
|
userAnnotationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4209 |
3e6b15a7
|
Lukáš Vlček
|
const localVarPath = `/user/annotations`;
|
4210 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4211 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
4212 |
|
|
let baseOptions;
|
4213 |
|
|
if (configuration) {
|
4214 |
|
|
baseOptions = configuration.baseOptions;
|
4215 |
|
|
}
|
4216 |
|
|
|
4217 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
4218 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
4219 |
|
|
const localVarQueryParameter = {} as any;
|
4220 |
|
|
|
4221 |
19b68a2e
|
Lukáš Vlček
|
|
4222 |
|
|
|
4223 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4224 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4225 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
4226 |
3e6b15a7
|
Lukáš Vlček
|
|
4227 |
|
|
return {
|
4228 |
|
|
url: toPathString(localVarUrlObj),
|
4229 |
|
|
options: localVarRequestOptions,
|
4230 |
|
|
};
|
4231 |
|
|
},
|
4232 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
4233 |
19b68a2e
|
Lukáš Vlček
|
*
|
4234 |
|
|
* @param {string} userId
|
4235 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4236 |
|
|
* @throws {RequiredError}
|
4237 |
|
|
*/
|
4238 |
19b68a2e
|
Lukáš Vlček
|
userUserIdAnnotationsGet: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4239 |
43d49a98
|
Jaroslav Hrubý
|
// verify required parameter 'userId' is not null or undefined
|
4240 |
19b68a2e
|
Lukáš Vlček
|
assertParamExists('userUserIdAnnotationsGet', 'userId', userId)
|
4241 |
|
|
const localVarPath = `/user/{userId}/annotations`
|
4242 |
|
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
4243 |
43d49a98
|
Jaroslav Hrubý
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4244 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
4245 |
|
|
let baseOptions;
|
4246 |
|
|
if (configuration) {
|
4247 |
|
|
baseOptions = configuration.baseOptions;
|
4248 |
|
|
}
|
4249 |
|
|
|
4250 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
4251 |
43d49a98
|
Jaroslav Hrubý
|
const localVarHeaderParameter = {} as any;
|
4252 |
|
|
const localVarQueryParameter = {} as any;
|
4253 |
|
|
|
4254 |
19b68a2e
|
Lukáš Vlček
|
|
4255 |
|
|
|
4256 |
43d49a98
|
Jaroslav Hrubý
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4257 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4258 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
4259 |
43d49a98
|
Jaroslav Hrubý
|
|
4260 |
|
|
return {
|
4261 |
|
|
url: toPathString(localVarUrlObj),
|
4262 |
|
|
options: localVarRequestOptions,
|
4263 |
|
|
};
|
4264 |
|
|
},
|
4265 |
|
|
/**
|
4266 |
19b68a2e
|
Lukáš Vlček
|
*
|
4267 |
|
|
* @param {string} userId
|
4268 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4269 |
|
|
* @throws {RequiredError}
|
4270 |
|
|
*/
|
4271 |
19b68a2e
|
Lukáš Vlček
|
userUserIdDelete: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4272 |
43d49a98
|
Jaroslav Hrubý
|
// verify required parameter 'userId' is not null or undefined
|
4273 |
19b68a2e
|
Lukáš Vlček
|
assertParamExists('userUserIdDelete', 'userId', userId)
|
4274 |
|
|
const localVarPath = `/user/{userId}`
|
4275 |
|
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
4276 |
43d49a98
|
Jaroslav Hrubý
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4277 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
4278 |
|
|
let baseOptions;
|
4279 |
|
|
if (configuration) {
|
4280 |
|
|
baseOptions = configuration.baseOptions;
|
4281 |
|
|
}
|
4282 |
|
|
|
4283 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
4284 |
43d49a98
|
Jaroslav Hrubý
|
const localVarHeaderParameter = {} as any;
|
4285 |
|
|
const localVarQueryParameter = {} as any;
|
4286 |
|
|
|
4287 |
19b68a2e
|
Lukáš Vlček
|
|
4288 |
|
|
|
4289 |
43d49a98
|
Jaroslav Hrubý
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4290 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4291 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
4292 |
43d49a98
|
Jaroslav Hrubý
|
|
4293 |
|
|
return {
|
4294 |
|
|
url: toPathString(localVarUrlObj),
|
4295 |
|
|
options: localVarRequestOptions,
|
4296 |
|
|
};
|
4297 |
|
|
},
|
4298 |
|
|
/**
|
4299 |
19b68a2e
|
Lukáš Vlček
|
*
|
4300 |
|
|
* @param {string} userId
|
4301 |
|
|
* @param {ChangeUserInfoRequest} [changeUserInfoRequest]
|
4302 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4303 |
|
|
* @throws {RequiredError}
|
4304 |
|
|
*/
|
4305 |
19b68a2e
|
Lukáš Vlček
|
userUserIdPut: async (userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4306 |
43d49a98
|
Jaroslav Hrubý
|
// verify required parameter 'userId' is not null or undefined
|
4307 |
19b68a2e
|
Lukáš Vlček
|
assertParamExists('userUserIdPut', 'userId', userId)
|
4308 |
|
|
const localVarPath = `/user/{userId}`
|
4309 |
|
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
4310 |
43d49a98
|
Jaroslav Hrubý
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4311 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
4312 |
|
|
let baseOptions;
|
4313 |
|
|
if (configuration) {
|
4314 |
|
|
baseOptions = configuration.baseOptions;
|
4315 |
|
|
}
|
4316 |
|
|
|
4317 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
4318 |
43d49a98
|
Jaroslav Hrubý
|
const localVarHeaderParameter = {} as any;
|
4319 |
|
|
const localVarQueryParameter = {} as any;
|
4320 |
|
|
|
4321 |
19b68a2e
|
Lukáš Vlček
|
|
4322 |
|
|
|
4323 |
43d49a98
|
Jaroslav Hrubý
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
4324 |
|
|
|
4325 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4326 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4327 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
4328 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(changeUserInfoRequest, localVarRequestOptions, configuration)
|
4329 |
43d49a98
|
Jaroslav Hrubý
|
|
4330 |
|
|
return {
|
4331 |
|
|
url: toPathString(localVarUrlObj),
|
4332 |
|
|
options: localVarRequestOptions,
|
4333 |
|
|
};
|
4334 |
|
|
},
|
4335 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
4336 |
19b68a2e
|
Lukáš Vlček
|
*
|
4337 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4338 |
|
|
* @throws {RequiredError}
|
4339 |
|
|
*/
|
4340 |
|
|
usersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4341 |
|
|
const localVarPath = `/users`;
|
4342 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4343 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
4344 |
|
|
let baseOptions;
|
4345 |
|
|
if (configuration) {
|
4346 |
|
|
baseOptions = configuration.baseOptions;
|
4347 |
|
|
}
|
4348 |
|
|
|
4349 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
4350 |
3e6b15a7
|
Lukáš Vlček
|
const localVarHeaderParameter = {} as any;
|
4351 |
|
|
const localVarQueryParameter = {} as any;
|
4352 |
|
|
|
4353 |
19b68a2e
|
Lukáš Vlček
|
|
4354 |
|
|
|
4355 |
db0f300f
|
Jaroslav Hrubý
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4356 |
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4357 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
4358 |
|
|
|
4359 |
|
|
return {
|
4360 |
|
|
url: toPathString(localVarUrlObj),
|
4361 |
|
|
options: localVarRequestOptions,
|
4362 |
|
|
};
|
4363 |
|
|
},
|
4364 |
|
|
/**
|
4365 |
|
|
*
|
4366 |
|
|
* @param {*} [options] Override http request option.
|
4367 |
|
|
* @throws {RequiredError}
|
4368 |
|
|
*/
|
4369 |
|
|
usersMeGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4370 |
|
|
const localVarPath = `/users/me`;
|
4371 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4372 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
4373 |
|
|
let baseOptions;
|
4374 |
|
|
if (configuration) {
|
4375 |
|
|
baseOptions = configuration.baseOptions;
|
4376 |
|
|
}
|
4377 |
|
|
|
4378 |
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
4379 |
|
|
const localVarHeaderParameter = {} as any;
|
4380 |
|
|
const localVarQueryParameter = {} as any;
|
4381 |
|
|
|
4382 |
|
|
|
4383 |
|
|
|
4384 |
3e6b15a7
|
Lukáš Vlček
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4385 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4386 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
4387 |
3e6b15a7
|
Lukáš Vlček
|
|
4388 |
43d49a98
|
Jaroslav Hrubý
|
return {
|
4389 |
|
|
url: toPathString(localVarUrlObj),
|
4390 |
|
|
options: localVarRequestOptions,
|
4391 |
|
|
};
|
4392 |
|
|
},
|
4393 |
|
|
/**
|
4394 |
19b68a2e
|
Lukáš Vlček
|
*
|
4395 |
|
|
* @param {CreateUserRequest} [createUserRequest]
|
4396 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4397 |
|
|
* @throws {RequiredError}
|
4398 |
|
|
*/
|
4399 |
19b68a2e
|
Lukáš Vlček
|
usersPost: async (createUserRequest?: CreateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
4400 |
43d49a98
|
Jaroslav Hrubý
|
const localVarPath = `/users`;
|
4401 |
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
4402 |
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
4403 |
|
|
let baseOptions;
|
4404 |
|
|
if (configuration) {
|
4405 |
|
|
baseOptions = configuration.baseOptions;
|
4406 |
|
|
}
|
4407 |
|
|
|
4408 |
19b68a2e
|
Lukáš Vlček
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
4409 |
43d49a98
|
Jaroslav Hrubý
|
const localVarHeaderParameter = {} as any;
|
4410 |
|
|
const localVarQueryParameter = {} as any;
|
4411 |
|
|
|
4412 |
19b68a2e
|
Lukáš Vlček
|
|
4413 |
|
|
|
4414 |
43d49a98
|
Jaroslav Hrubý
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
4415 |
|
|
|
4416 |
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
4417 |
19b68a2e
|
Lukáš Vlček
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
4418 |
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
4419 |
|
|
localVarRequestOptions.data = serializeDataIfNeeded(createUserRequest, localVarRequestOptions, configuration)
|
4420 |
43d49a98
|
Jaroslav Hrubý
|
|
4421 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
4422 |
|
|
url: toPathString(localVarUrlObj),
|
4423 |
|
|
options: localVarRequestOptions,
|
4424 |
|
|
};
|
4425 |
|
|
},
|
4426 |
19b68a2e
|
Lukáš Vlček
|
}
|
4427 |
3e6b15a7
|
Lukáš Vlček
|
};
|
4428 |
|
|
|
4429 |
|
|
/**
|
4430 |
|
|
* UserApi - functional programming interface
|
4431 |
|
|
* @export
|
4432 |
|
|
*/
|
4433 |
19b68a2e
|
Lukáš Vlček
|
export const UserApiFp = function(configuration?: Configuration) {
|
4434 |
|
|
const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
|
4435 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
4436 |
|
|
/**
|
4437 |
19b68a2e
|
Lukáš Vlček
|
*
|
4438 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4439 |
|
|
* @throws {RequiredError}
|
4440 |
|
|
*/
|
4441 |
19b68a2e
|
Lukáš Vlček
|
async userAnnotationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
|
4442 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userAnnotationsGet(options);
|
4443 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4444 |
3e6b15a7
|
Lukáš Vlček
|
},
|
4445 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
4446 |
19b68a2e
|
Lukáš Vlček
|
*
|
4447 |
|
|
* @param {string} userId
|
4448 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4449 |
|
|
* @throws {RequiredError}
|
4450 |
|
|
*/
|
4451 |
19b68a2e
|
Lukáš Vlček
|
async userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
|
4452 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdAnnotationsGet(userId, options);
|
4453 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4454 |
43d49a98
|
Jaroslav Hrubý
|
},
|
4455 |
|
|
/**
|
4456 |
19b68a2e
|
Lukáš Vlček
|
*
|
4457 |
|
|
* @param {string} userId
|
4458 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4459 |
|
|
* @throws {RequiredError}
|
4460 |
|
|
*/
|
4461 |
19b68a2e
|
Lukáš Vlček
|
async userUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
4462 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdDelete(userId, options);
|
4463 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4464 |
43d49a98
|
Jaroslav Hrubý
|
},
|
4465 |
|
|
/**
|
4466 |
19b68a2e
|
Lukáš Vlček
|
*
|
4467 |
|
|
* @param {string} userId
|
4468 |
|
|
* @param {ChangeUserInfoRequest} [changeUserInfoRequest]
|
4469 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4470 |
|
|
* @throws {RequiredError}
|
4471 |
|
|
*/
|
4472 |
19b68a2e
|
Lukáš Vlček
|
async userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
4473 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdPut(userId, changeUserInfoRequest, options);
|
4474 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4475 |
43d49a98
|
Jaroslav Hrubý
|
},
|
4476 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
4477 |
19b68a2e
|
Lukáš Vlček
|
*
|
4478 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4479 |
|
|
* @throws {RequiredError}
|
4480 |
|
|
*/
|
4481 |
19b68a2e
|
Lukáš Vlček
|
async usersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>> {
|
4482 |
3e6b15a7
|
Lukáš Vlček
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersGet(options);
|
4483 |
19b68a2e
|
Lukáš Vlček
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4484 |
3e6b15a7
|
Lukáš Vlček
|
},
|
4485 |
db0f300f
|
Jaroslav Hrubý
|
/**
|
4486 |
|
|
*
|
4487 |
|
|
* @param {*} [options] Override http request option.
|
4488 |
|
|
* @throws {RequiredError}
|
4489 |
|
|
*/
|
4490 |
|
|
async usersMeGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserMeResponse>> {
|
4491 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersMeGet(options);
|
4492 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4493 |
|
|
},
|
4494 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
4495 |
19b68a2e
|
Lukáš Vlček
|
*
|
4496 |
|
|
* @param {CreateUserRequest} [createUserRequest]
|
4497 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4498 |
|
|
* @throws {RequiredError}
|
4499 |
|
|
*/
|
4500 |
19b68a2e
|
Lukáš Vlček
|
async usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
4501 |
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersPost(createUserRequest, options);
|
4502 |
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
4503 |
43d49a98
|
Jaroslav Hrubý
|
},
|
4504 |
19b68a2e
|
Lukáš Vlček
|
}
|
4505 |
3e6b15a7
|
Lukáš Vlček
|
};
|
4506 |
|
|
|
4507 |
|
|
/**
|
4508 |
|
|
* UserApi - factory interface
|
4509 |
|
|
* @export
|
4510 |
|
|
*/
|
4511 |
19b68a2e
|
Lukáš Vlček
|
export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
4512 |
|
|
const localVarFp = UserApiFp(configuration)
|
4513 |
3e6b15a7
|
Lukáš Vlček
|
return {
|
4514 |
|
|
/**
|
4515 |
19b68a2e
|
Lukáš Vlček
|
*
|
4516 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4517 |
|
|
* @throws {RequiredError}
|
4518 |
|
|
*/
|
4519 |
|
|
userAnnotationsGet(options?: any): AxiosPromise<AnnotationListResponse> {
|
4520 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.userAnnotationsGet(options).then((request) => request(axios, basePath));
|
4521 |
3e6b15a7
|
Lukáš Vlček
|
},
|
4522 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
4523 |
19b68a2e
|
Lukáš Vlček
|
*
|
4524 |
|
|
* @param {string} userId
|
4525 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4526 |
|
|
* @throws {RequiredError}
|
4527 |
|
|
*/
|
4528 |
19b68a2e
|
Lukáš Vlček
|
userUserIdAnnotationsGet(userId: string, options?: any): AxiosPromise<AnnotationListResponse> {
|
4529 |
|
|
return localVarFp.userUserIdAnnotationsGet(userId, options).then((request) => request(axios, basePath));
|
4530 |
43d49a98
|
Jaroslav Hrubý
|
},
|
4531 |
|
|
/**
|
4532 |
19b68a2e
|
Lukáš Vlček
|
*
|
4533 |
|
|
* @param {string} userId
|
4534 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4535 |
|
|
* @throws {RequiredError}
|
4536 |
|
|
*/
|
4537 |
|
|
userUserIdDelete(userId: string, options?: any): AxiosPromise<void> {
|
4538 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.userUserIdDelete(userId, options).then((request) => request(axios, basePath));
|
4539 |
43d49a98
|
Jaroslav Hrubý
|
},
|
4540 |
|
|
/**
|
4541 |
19b68a2e
|
Lukáš Vlček
|
*
|
4542 |
|
|
* @param {string} userId
|
4543 |
|
|
* @param {ChangeUserInfoRequest} [changeUserInfoRequest]
|
4544 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4545 |
|
|
* @throws {RequiredError}
|
4546 |
|
|
*/
|
4547 |
19b68a2e
|
Lukáš Vlček
|
userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: any): AxiosPromise<void> {
|
4548 |
|
|
return localVarFp.userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(axios, basePath));
|
4549 |
43d49a98
|
Jaroslav Hrubý
|
},
|
4550 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
4551 |
19b68a2e
|
Lukáš Vlček
|
*
|
4552 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4553 |
|
|
* @throws {RequiredError}
|
4554 |
|
|
*/
|
4555 |
|
|
usersGet(options?: any): AxiosPromise<UserList> {
|
4556 |
19b68a2e
|
Lukáš Vlček
|
return localVarFp.usersGet(options).then((request) => request(axios, basePath));
|
4557 |
3e6b15a7
|
Lukáš Vlček
|
},
|
4558 |
db0f300f
|
Jaroslav Hrubý
|
/**
|
4559 |
|
|
*
|
4560 |
|
|
* @param {*} [options] Override http request option.
|
4561 |
|
|
* @throws {RequiredError}
|
4562 |
|
|
*/
|
4563 |
|
|
usersMeGet(options?: any): AxiosPromise<UserMeResponse> {
|
4564 |
|
|
return localVarFp.usersMeGet(options).then((request) => request(axios, basePath));
|
4565 |
|
|
},
|
4566 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
4567 |
19b68a2e
|
Lukáš Vlček
|
*
|
4568 |
|
|
* @param {CreateUserRequest} [createUserRequest]
|
4569 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4570 |
|
|
* @throws {RequiredError}
|
4571 |
|
|
*/
|
4572 |
19b68a2e
|
Lukáš Vlček
|
usersPost(createUserRequest?: CreateUserRequest, options?: any): AxiosPromise<void> {
|
4573 |
|
|
return localVarFp.usersPost(createUserRequest, options).then((request) => request(axios, basePath));
|
4574 |
43d49a98
|
Jaroslav Hrubý
|
},
|
4575 |
3e6b15a7
|
Lukáš Vlček
|
};
|
4576 |
|
|
};
|
4577 |
|
|
|
4578 |
|
|
/**
|
4579 |
|
|
* UserApi - object-oriented interface
|
4580 |
|
|
* @export
|
4581 |
|
|
* @class UserApi
|
4582 |
|
|
* @extends {BaseAPI}
|
4583 |
|
|
*/
|
4584 |
|
|
export class UserApi extends BaseAPI {
|
4585 |
|
|
/**
|
4586 |
19b68a2e
|
Lukáš Vlček
|
*
|
4587 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4588 |
|
|
* @throws {RequiredError}
|
4589 |
|
|
* @memberof UserApi
|
4590 |
|
|
*/
|
4591 |
|
|
public userAnnotationsGet(options?: AxiosRequestConfig) {
|
4592 |
19b68a2e
|
Lukáš Vlček
|
return UserApiFp(this.configuration).userAnnotationsGet(options).then((request) => request(this.axios, this.basePath));
|
4593 |
3e6b15a7
|
Lukáš Vlček
|
}
|
4594 |
|
|
|
4595 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
4596 |
19b68a2e
|
Lukáš Vlček
|
*
|
4597 |
|
|
* @param {string} userId
|
4598 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4599 |
|
|
* @throws {RequiredError}
|
4600 |
|
|
* @memberof UserApi
|
4601 |
|
|
*/
|
4602 |
|
|
public userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig) {
|
4603 |
19b68a2e
|
Lukáš Vlček
|
return UserApiFp(this.configuration).userUserIdAnnotationsGet(userId, options).then((request) => request(this.axios, this.basePath));
|
4604 |
43d49a98
|
Jaroslav Hrubý
|
}
|
4605 |
|
|
|
4606 |
|
|
/**
|
4607 |
19b68a2e
|
Lukáš Vlček
|
*
|
4608 |
|
|
* @param {string} userId
|
4609 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4610 |
|
|
* @throws {RequiredError}
|
4611 |
|
|
* @memberof UserApi
|
4612 |
|
|
*/
|
4613 |
|
|
public userUserIdDelete(userId: string, options?: AxiosRequestConfig) {
|
4614 |
19b68a2e
|
Lukáš Vlček
|
return UserApiFp(this.configuration).userUserIdDelete(userId, options).then((request) => request(this.axios, this.basePath));
|
4615 |
43d49a98
|
Jaroslav Hrubý
|
}
|
4616 |
|
|
|
4617 |
|
|
/**
|
4618 |
19b68a2e
|
Lukáš Vlček
|
*
|
4619 |
|
|
* @param {string} userId
|
4620 |
|
|
* @param {ChangeUserInfoRequest} [changeUserInfoRequest]
|
4621 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4622 |
|
|
* @throws {RequiredError}
|
4623 |
|
|
* @memberof UserApi
|
4624 |
|
|
*/
|
4625 |
19b68a2e
|
Lukáš Vlček
|
public userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig) {
|
4626 |
|
|
return UserApiFp(this.configuration).userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(this.axios, this.basePath));
|
4627 |
43d49a98
|
Jaroslav Hrubý
|
}
|
4628 |
|
|
|
4629 |
3e6b15a7
|
Lukáš Vlček
|
/**
|
4630 |
19b68a2e
|
Lukáš Vlček
|
*
|
4631 |
3e6b15a7
|
Lukáš Vlček
|
* @param {*} [options] Override http request option.
|
4632 |
|
|
* @throws {RequiredError}
|
4633 |
|
|
* @memberof UserApi
|
4634 |
|
|
*/
|
4635 |
|
|
public usersGet(options?: AxiosRequestConfig) {
|
4636 |
19b68a2e
|
Lukáš Vlček
|
return UserApiFp(this.configuration).usersGet(options).then((request) => request(this.axios, this.basePath));
|
4637 |
3e6b15a7
|
Lukáš Vlček
|
}
|
4638 |
43d49a98
|
Jaroslav Hrubý
|
|
4639 |
db0f300f
|
Jaroslav Hrubý
|
/**
|
4640 |
|
|
*
|
4641 |
|
|
* @param {*} [options] Override http request option.
|
4642 |
|
|
* @throws {RequiredError}
|
4643 |
|
|
* @memberof UserApi
|
4644 |
|
|
*/
|
4645 |
|
|
public usersMeGet(options?: AxiosRequestConfig) {
|
4646 |
|
|
return UserApiFp(this.configuration).usersMeGet(options).then((request) => request(this.axios, this.basePath));
|
4647 |
|
|
}
|
4648 |
|
|
|
4649 |
43d49a98
|
Jaroslav Hrubý
|
/**
|
4650 |
19b68a2e
|
Lukáš Vlček
|
*
|
4651 |
|
|
* @param {CreateUserRequest} [createUserRequest]
|
4652 |
43d49a98
|
Jaroslav Hrubý
|
* @param {*} [options] Override http request option.
|
4653 |
|
|
* @throws {RequiredError}
|
4654 |
|
|
* @memberof UserApi
|
4655 |
|
|
*/
|
4656 |
19b68a2e
|
Lukáš Vlček
|
public usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig) {
|
4657 |
|
|
return UserApiFp(this.configuration).usersPost(createUserRequest, options).then((request) => request(this.axios, this.basePath));
|
4658 |
43d49a98
|
Jaroslav Hrubý
|
}
|
4659 |
3e6b15a7
|
Lukáš Vlček
|
}
|
4660 |
19b68a2e
|
Lukáš Vlček
|
|