Projekt

Obecné

Profil

Stáhnout (41.1 KB) Statistiky
| Větev: | Tag: | Revize:
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
 * 
9
 *
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
16
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
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
// @ts-ignore
22
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
24
/**
25
 * 
26
 * @export
27
 * @interface AnnotationInfo
28
 */
29
export interface AnnotationInfo {
30
    /**
31
     * 
32
     * @type {string}
33
     * @memberof AnnotationInfo
34
     */
35
    'documentText'?: string | null;
36
    /**
37
     * 
38
     * @type {EState}
39
     * @memberof AnnotationInfo
40
     */
41
    'state'?: EState;
42
    /**
43
     * 
44
     * @type {EDocumentType}
45
     * @memberof AnnotationInfo
46
     */
47
    'type'?: EDocumentType;
48
    /**
49
     * 
50
     * @type {string}
51
     * @memberof AnnotationInfo
52
     */
53
    'note'?: string | null;
54
    /**
55
     * 
56
     * @type {Array<TagInstanceInfo>}
57
     * @memberof AnnotationInfo
58
     */
59
    'tagInstances'?: Array<TagInstanceInfo> | null;
60
}
61
/**
62
 * 
63
 * @export
64
 * @interface AnnotationListInfo
65
 */
66
export interface AnnotationListInfo {
67
    /**
68
     * 
69
     * @type {string}
70
     * @memberof AnnotationListInfo
71
     */
72
    'documentName'?: string | null;
73
    /**
74
     * 
75
     * @type {EState}
76
     * @memberof AnnotationListInfo
77
     */
78
    'state'?: EState;
79
    /**
80
     * 
81
     * @type {string}
82
     * @memberof AnnotationListInfo
83
     */
84
    'annotationId'?: string;
85
}
86
/**
87
 * 
88
 * @export
89
 * @interface AnnotationListResponse
90
 */
91
export interface AnnotationListResponse {
92
    /**
93
     * 
94
     * @type {Array<AnnotationListInfo>}
95
     * @memberof AnnotationListResponse
96
     */
97
    'annotations'?: Array<AnnotationListInfo> | null;
98
}
99
/**
100
 * 
101
 * @export
102
 * @interface AnnotationsAddRequest
103
 */
104
export interface AnnotationsAddRequest {
105
    /**
106
     * 
107
     * @type {Array<string>}
108
     * @memberof AnnotationsAddRequest
109
     */
110
    'userIdList'?: Array<string> | null;
111
    /**
112
     * 
113
     * @type {Array<string>}
114
     * @memberof AnnotationsAddRequest
115
     */
116
    'documentIdList'?: Array<string> | null;
117
}
118
/**
119
 * 
120
 * @export
121
 * @interface ClientInfo
122
 */
123
export interface ClientInfo {
124
    /**
125
     * 
126
     * @type {boolean}
127
     * @memberof ClientInfo
128
     */
129
    'isLogged'?: boolean;
130
    /**
131
     * 
132
     * @type {User}
133
     * @memberof ClientInfo
134
     */
135
    'loggedUser'?: User;
136
    /**
137
     * 
138
     * @type {string}
139
     * @memberof ClientInfo
140
     */
141
    'ip'?: string | null;
142
}
143
/**
144
 * 
145
 * @export
146
 * @interface DocumentAddInfo
147
 */
148
export interface DocumentAddInfo {
149
    /**
150
     * 
151
     * @type {string}
152
     * @memberof DocumentAddInfo
153
     */
154
    'name'?: string | null;
155
    /**
156
     * 
157
     * @type {EAddDocumentFormat}
158
     * @memberof DocumentAddInfo
159
     */
160
    'format'?: EAddDocumentFormat;
161
    /**
162
     * 
163
     * @type {string}
164
     * @memberof DocumentAddInfo
165
     */
166
    'content'?: string | null;
167
}
168
/**
169
 * 
170
 * @export
171
 * @interface DocumentAddRequest
172
 */
173
export interface DocumentAddRequest {
174
    /**
175
     * 
176
     * @type {Array<DocumentAddInfo>}
177
     * @memberof DocumentAddRequest
178
     */
179
    'documents'?: Array<DocumentAddInfo> | null;
180
}
181
/**
182
 * 
183
 * @export
184
 * @interface DocumentListInfo
185
 */
186
export interface DocumentListInfo {
187
    /**
188
     * 
189
     * @type {string}
190
     * @memberof DocumentListInfo
191
     */
192
    'id'?: string;
193
    /**
194
     * 
195
     * @type {string}
196
     * @memberof DocumentListInfo
197
     */
198
    'name'?: string | null;
199
    /**
200
     * 
201
     * @type {number}
202
     * @memberof DocumentListInfo
203
     */
204
    'length'?: number;
205
    /**
206
     * 
207
     * @type {number}
208
     * @memberof DocumentListInfo
209
     */
210
    'requiredAnnotations'?: number;
211
    /**
212
     * 
213
     * @type {Array<UserInfo>}
214
     * @memberof DocumentListInfo
215
     */
216
    'annotatingUsers'?: Array<UserInfo> | null;
217
}
218
/**
219
 * 
220
 * @export
221
 * @interface DocumentListResponse
222
 */
223
export interface DocumentListResponse {
224
    /**
225
     * 
226
     * @type {number}
227
     * @memberof DocumentListResponse
228
     */
229
    'totalCount'?: number;
230
    /**
231
     * 
232
     * @type {number}
233
     * @memberof DocumentListResponse
234
     */
235
    'pageCount'?: number;
236
    /**
237
     * 
238
     * @type {number}
239
     * @memberof DocumentListResponse
240
     */
241
    'pageIndex'?: number;
242
    /**
243
     * 
244
     * @type {Array<DocumentListInfo>}
245
     * @memberof DocumentListResponse
246
     */
247
    'documents'?: Array<DocumentListInfo> | null;
248
}
249
/**
250
 * 
251
 * @export
252
 * @enum {string}
253
 */
254
255
export const EAddDocumentFormat = {
256
    Zip: 'ZIP',
257
    Textfile: 'TEXTFILE'
258
} as const;
259
260
export type EAddDocumentFormat = typeof EAddDocumentFormat[keyof typeof EAddDocumentFormat];
261
262
263
/**
264
 * 
265
 * @export
266
 * @enum {string}
267
 */
268
269
export const EDocumentType = {
270
    Html: 'HTML',
271
    Text: 'TEXT'
272
} as const;
273
274
export type EDocumentType = typeof EDocumentType[keyof typeof EDocumentType];
275
276
277
/**
278
 * 
279
 * @export
280
 * @enum {string}
281
 */
282
283
export const ERole = {
284
    Annotator: 'ANNOTATOR',
285
    Administrator: 'ADMINISTRATOR'
286
} as const;
287
288
export type ERole = typeof ERole[keyof typeof ERole];
289
290
291
/**
292
 * 
293
 * @export
294
 * @enum {string}
295
 */
296
297
export const EState = {
298
    Done: 'DONE',
299
    InProgress: 'IN_PROGRESS',
300
    New: 'NEW'
301
} as const;
302
303
export type EState = typeof EState[keyof typeof EState];
304
305
306
/**
307
 * 
308
 * @export
309
 * @interface LoginRequest
310
 */
311
export interface LoginRequest {
312
    /**
313
     * 
314
     * @type {string}
315
     * @memberof LoginRequest
316
     */
317
    'username'?: string | null;
318
    /**
319
     * 
320
     * @type {string}
321
     * @memberof LoginRequest
322
     */
323
    'password'?: string | null;
324
}
325
/**
326
 * 
327
 * @export
328
 * @interface LoginResponse
329
 */
330
export interface LoginResponse {
331
    /**
332
     * 
333
     * @type {boolean}
334
     * @memberof LoginResponse
335
     */
336
    'ok'?: boolean;
337
    /**
338
     * 
339
     * @type {string}
340
     * @memberof LoginResponse
341
     */
342
    'token'?: string | null;
343
    /**
344
     * 
345
     * @type {string}
346
     * @memberof LoginResponse
347
     */
348
    'expiration'?: string;
349
    /**
350
     * 
351
     * @type {ERole}
352
     * @memberof LoginResponse
353
     */
354
    'role'?: ERole;
355
}
356
/**
357
 * 
358
 * @export
359
 * @interface ProblemDetails
360
 */
361
export interface ProblemDetails {
362
    [key: string]: any | any;
363
364
    /**
365
     * 
366
     * @type {string}
367
     * @memberof ProblemDetails
368
     */
369
    'type'?: string | null;
370
    /**
371
     * 
372
     * @type {string}
373
     * @memberof ProblemDetails
374
     */
375
    'title'?: string | null;
376
    /**
377
     * 
378
     * @type {number}
379
     * @memberof ProblemDetails
380
     */
381
    'status'?: number | null;
382
    /**
383
     * 
384
     * @type {string}
385
     * @memberof ProblemDetails
386
     */
387
    'detail'?: string | null;
388
    /**
389
     * 
390
     * @type {string}
391
     * @memberof ProblemDetails
392
     */
393
    'instance'?: string | null;
394
}
395
/**
396
 * 
397
 * @export
398
 * @interface SubTagInfo
399
 */
400
export interface SubTagInfo {
401
    /**
402
     * 
403
     * @type {string}
404
     * @memberof SubTagInfo
405
     */
406
    'id'?: string;
407
    /**
408
     * 
409
     * @type {string}
410
     * @memberof SubTagInfo
411
     */
412
    'name'?: string | null;
413
    /**
414
     * 
415
     * @type {string}
416
     * @memberof SubTagInfo
417
     */
418
    'description'?: string | null;
419
}
420
/**
421
 * 
422
 * @export
423
 * @interface TagCategoryInfo
424
 */
425
export interface TagCategoryInfo {
426
    /**
427
     * 
428
     * @type {string}
429
     * @memberof TagCategoryInfo
430
     */
431
    'id'?: string;
432
    /**
433
     * 
434
     * @type {string}
435
     * @memberof TagCategoryInfo
436
     */
437
    'name'?: string | null;
438
    /**
439
     * 
440
     * @type {string}
441
     * @memberof TagCategoryInfo
442
     */
443
    'description'?: string | null;
444
    /**
445
     * 
446
     * @type {string}
447
     * @memberof TagCategoryInfo
448
     */
449
    'color'?: string | null;
450
    /**
451
     * 
452
     * @type {Array<TagInfo>}
453
     * @memberof TagCategoryInfo
454
     */
455
    'tags'?: Array<TagInfo> | null;
456
}
457
/**
458
 * 
459
 * @export
460
 * @interface TagInfo
461
 */
462
export interface TagInfo {
463
    /**
464
     * 
465
     * @type {string}
466
     * @memberof TagInfo
467
     */
468
    'id'?: string;
469
    /**
470
     * 
471
     * @type {string}
472
     * @memberof TagInfo
473
     */
474
    'name'?: string | null;
475
    /**
476
     * 
477
     * @type {string}
478
     * @memberof TagInfo
479
     */
480
    'description'?: string | null;
481
    /**
482
     * 
483
     * @type {string}
484
     * @memberof TagInfo
485
     */
486
    'color'?: string | null;
487
    /**
488
     * 
489
     * @type {Array<SubTagInfo>}
490
     * @memberof TagInfo
491
     */
492
    'subTags'?: Array<SubTagInfo> | null;
493
}
494
/**
495
 * 
496
 * @export
497
 * @interface TagInstanceInfo
498
 */
499
export interface TagInstanceInfo {
500
    /**
501
     * 
502
     * @type {string}
503
     * @memberof TagInstanceInfo
504
     */
505
    'tagName'?: string | null;
506
    /**
507
     * 
508
     * @type {string}
509
     * @memberof TagInstanceInfo
510
     */
511
    'tagId'?: string;
512
    /**
513
     * 
514
     * @type {string}
515
     * @memberof TagInstanceInfo
516
     */
517
    'tagCategoryName'?: string | null;
518
    /**
519
     * 
520
     * @type {string}
521
     * @memberof TagInstanceInfo
522
     */
523
    'tagCategoryId'?: string;
524
    /**
525
     * 
526
     * @type {string}
527
     * @memberof TagInstanceInfo
528
     */
529
    'subTagName'?: string | null;
530
    /**
531
     * 
532
     * @type {string}
533
     * @memberof TagInstanceInfo
534
     */
535
    'subTagId'?: string | null;
536
    /**
537
     * 
538
     * @type {number}
539
     * @memberof TagInstanceInfo
540
     */
541
    'instance'?: number;
542
    /**
543
     * 
544
     * @type {number}
545
     * @memberof TagInstanceInfo
546
     */
547
    'position'?: number;
548
    /**
549
     * 
550
     * @type {number}
551
     * @memberof TagInstanceInfo
552
     */
553
    'length'?: number;
554
    /**
555
     * 
556
     * @type {string}
557
     * @memberof TagInstanceInfo
558
     */
559
    'note'?: string | null;
560
}
561
/**
562
 * 
563
 * @export
564
 * @interface TagTreeResponse
565
 */
566
export interface TagTreeResponse {
567
    /**
568
     * 
569
     * @type {Array<TagCategoryInfo>}
570
     * @memberof TagTreeResponse
571
     */
572
    'tagCategories'?: Array<TagCategoryInfo> | null;
573
}
574
/**
575
 * 
576
 * @export
577
 * @interface User
578
 */
579
export interface User {
580
    /**
581
     * 
582
     * @type {string}
583
     * @memberof User
584
     */
585
    'id'?: string;
586
    /**
587
     * 
588
     * @type {string}
589
     * @memberof User
590
     */
591
    'username'?: string | null;
592
    /**
593
     * 
594
     * @type {string}
595
     * @memberof User
596
     */
597
    'name'?: string | null;
598
    /**
599
     * 
600
     * @type {string}
601
     * @memberof User
602
     */
603
    'surname'?: string | null;
604
    /**
605
     * 
606
     * @type {ERole}
607
     * @memberof User
608
     */
609
    'role'?: ERole;
610
}
611
/**
612
 * 
613
 * @export
614
 * @interface UserInfo
615
 */
616
export interface UserInfo {
617
    /**
618
     * 
619
     * @type {string}
620
     * @memberof UserInfo
621
     */
622
    'id'?: string;
623
    /**
624
     * 
625
     * @type {string}
626
     * @memberof UserInfo
627
     */
628
    'username'?: string | null;
629
    /**
630
     * 
631
     * @type {string}
632
     * @memberof UserInfo
633
     */
634
    'name'?: string | null;
635
    /**
636
     * 
637
     * @type {string}
638
     * @memberof UserInfo
639
     */
640
    'surname'?: string | null;
641
}
642
/**
643
 * 
644
 * @export
645
 * @interface UserList
646
 */
647
export interface UserList {
648
    /**
649
     * 
650
     * @type {Array<UserInfo>}
651
     * @memberof UserList
652
     */
653
    'users'?: Array<UserInfo> | null;
654
}
655
656
/**
657
 * AnnotationApi - axios parameter creator
658
 * @export
659
 */
660
export const AnnotationApiAxiosParamCreator = function (configuration?: Configuration) {
661
    return {
662
        /**
663
         * 
664 dd747fc5 Lukáš Vlček
         * @param {string} annotationId 
665 3e6b15a7 Lukáš Vlček
         * @param {*} [options] Override http request option.
666
         * @throws {RequiredError}
667
         */
668 dd747fc5 Lukáš Vlček
        annotationAnnotationIdGet: async (annotationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
669
            // verify required parameter 'annotationId' is not null or undefined
670
            assertParamExists('annotationAnnotationIdGet', 'annotationId', annotationId)
671
            const localVarPath = `/annotation/{annotationId}`
672
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
673 3e6b15a7 Lukáš Vlček
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
674
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
675
            let baseOptions;
676
            if (configuration) {
677
                baseOptions = configuration.baseOptions;
678
            }
679
680
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
681
            const localVarHeaderParameter = {} as any;
682
            const localVarQueryParameter = {} as any;
683
684
685
    
686
            setSearchParams(localVarUrlObj, localVarQueryParameter);
687
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
688
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
689
690
            return {
691
                url: toPathString(localVarUrlObj),
692
                options: localVarRequestOptions,
693
            };
694
        },
695
        /**
696
         * 
697
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
698
         * @param {*} [options] Override http request option.
699
         * @throws {RequiredError}
700
         */
701
        annotationsPost: async (annotationsAddRequest?: AnnotationsAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
702
            const localVarPath = `/annotations`;
703
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
704
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
705
            let baseOptions;
706
            if (configuration) {
707
                baseOptions = configuration.baseOptions;
708
            }
709
710
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
711
            const localVarHeaderParameter = {} as any;
712
            const localVarQueryParameter = {} as any;
713
714
715
    
716
            localVarHeaderParameter['Content-Type'] = 'application/json';
717
718
            setSearchParams(localVarUrlObj, localVarQueryParameter);
719
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
720
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
721
            localVarRequestOptions.data = serializeDataIfNeeded(annotationsAddRequest, localVarRequestOptions, configuration)
722
723
            return {
724
                url: toPathString(localVarUrlObj),
725
                options: localVarRequestOptions,
726
            };
727
        },
728
    }
729
};
730
731
/**
732
 * AnnotationApi - functional programming interface
733
 * @export
734
 */
735
export const AnnotationApiFp = function(configuration?: Configuration) {
736
    const localVarAxiosParamCreator = AnnotationApiAxiosParamCreator(configuration)
737
    return {
738
        /**
739
         * 
740 dd747fc5 Lukáš Vlček
         * @param {string} annotationId 
741 3e6b15a7 Lukáš Vlček
         * @param {*} [options] Override http request option.
742
         * @throws {RequiredError}
743
         */
744 dd747fc5 Lukáš Vlček
        async annotationAnnotationIdGet(annotationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationInfo>> {
745
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdGet(annotationId, options);
746 3e6b15a7 Lukáš Vlček
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
747
        },
748
        /**
749
         * 
750
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
751
         * @param {*} [options] Override http request option.
752
         * @throws {RequiredError}
753
         */
754
        async annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
755
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationsPost(annotationsAddRequest, options);
756
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
757
        },
758
    }
759
};
760
761
/**
762
 * AnnotationApi - factory interface
763
 * @export
764
 */
765
export const AnnotationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
766
    const localVarFp = AnnotationApiFp(configuration)
767
    return {
768
        /**
769
         * 
770 dd747fc5 Lukáš Vlček
         * @param {string} annotationId 
771 3e6b15a7 Lukáš Vlček
         * @param {*} [options] Override http request option.
772
         * @throws {RequiredError}
773
         */
774 dd747fc5 Lukáš Vlček
        annotationAnnotationIdGet(annotationId: string, options?: any): AxiosPromise<AnnotationInfo> {
775
            return localVarFp.annotationAnnotationIdGet(annotationId, options).then((request) => request(axios, basePath));
776 3e6b15a7 Lukáš Vlček
        },
777
        /**
778
         * 
779
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
780
         * @param {*} [options] Override http request option.
781
         * @throws {RequiredError}
782
         */
783
        annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: any): AxiosPromise<void> {
784
            return localVarFp.annotationsPost(annotationsAddRequest, options).then((request) => request(axios, basePath));
785
        },
786
    };
787
};
788
789
/**
790
 * AnnotationApi - object-oriented interface
791
 * @export
792
 * @class AnnotationApi
793
 * @extends {BaseAPI}
794
 */
795
export class AnnotationApi extends BaseAPI {
796
    /**
797
     * 
798 dd747fc5 Lukáš Vlček
     * @param {string} annotationId 
799 3e6b15a7 Lukáš Vlček
     * @param {*} [options] Override http request option.
800
     * @throws {RequiredError}
801
     * @memberof AnnotationApi
802
     */
803 dd747fc5 Lukáš Vlček
    public annotationAnnotationIdGet(annotationId: string, options?: AxiosRequestConfig) {
804
        return AnnotationApiFp(this.configuration).annotationAnnotationIdGet(annotationId, options).then((request) => request(this.axios, this.basePath));
805 3e6b15a7 Lukáš Vlček
    }
806
807
    /**
808
     * 
809
     * @param {AnnotationsAddRequest} [annotationsAddRequest] 
810
     * @param {*} [options] Override http request option.
811
     * @throws {RequiredError}
812
     * @memberof AnnotationApi
813
     */
814
    public annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig) {
815
        return AnnotationApiFp(this.configuration).annotationsPost(annotationsAddRequest, options).then((request) => request(this.axios, this.basePath));
816
    }
817
}
818
819
820
/**
821
 * AuthApi - axios parameter creator
822
 * @export
823
 */
824
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
825
    return {
826
        /**
827
         * 
828
         * @param {LoginRequest} [loginRequest] 
829
         * @param {*} [options] Override http request option.
830
         * @throws {RequiredError}
831
         */
832
        authLoginPost: async (loginRequest?: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
833
            const localVarPath = `/auth/login`;
834
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
835
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
836
            let baseOptions;
837
            if (configuration) {
838
                baseOptions = configuration.baseOptions;
839
            }
840
841
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
842
            const localVarHeaderParameter = {} as any;
843
            const localVarQueryParameter = {} as any;
844
845
846
    
847
            localVarHeaderParameter['Content-Type'] = 'application/json';
848
849
            setSearchParams(localVarUrlObj, localVarQueryParameter);
850
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
851
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
852
            localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
853
854
            return {
855
                url: toPathString(localVarUrlObj),
856
                options: localVarRequestOptions,
857
            };
858
        },
859
        /**
860
         * 
861
         * @param {*} [options] Override http request option.
862
         * @throws {RequiredError}
863
         */
864
        authTestAaGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
865
            const localVarPath = `/auth/test/aa`;
866
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
867
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
868
            let baseOptions;
869
            if (configuration) {
870
                baseOptions = configuration.baseOptions;
871
            }
872
873
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
874
            const localVarHeaderParameter = {} as any;
875
            const localVarQueryParameter = {} as any;
876
877
878
    
879
            setSearchParams(localVarUrlObj, localVarQueryParameter);
880
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
881
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
882
883
            return {
884
                url: toPathString(localVarUrlObj),
885
                options: localVarRequestOptions,
886
            };
887
        },
888
        /**
889
         * 
890
         * @param {*} [options] Override http request option.
891
         * @throws {RequiredError}
892
         */
893
        authTestGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
894
            const localVarPath = `/auth/test`;
895
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
896
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
897
            let baseOptions;
898
            if (configuration) {
899
                baseOptions = configuration.baseOptions;
900
            }
901
902
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
903
            const localVarHeaderParameter = {} as any;
904
            const localVarQueryParameter = {} as any;
905
906
907
    
908
            setSearchParams(localVarUrlObj, localVarQueryParameter);
909
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
910
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
911
912
            return {
913
                url: toPathString(localVarUrlObj),
914
                options: localVarRequestOptions,
915
            };
916
        },
917
    }
918
};
919
920
/**
921
 * AuthApi - functional programming interface
922
 * @export
923
 */
924
export const AuthApiFp = function(configuration?: Configuration) {
925
    const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
926
    return {
927
        /**
928
         * 
929
         * @param {LoginRequest} [loginRequest] 
930
         * @param {*} [options] Override http request option.
931
         * @throws {RequiredError}
932
         */
933
        async authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
934
            const localVarAxiosArgs = await localVarAxiosParamCreator.authLoginPost(loginRequest, options);
935
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
936
        },
937
        /**
938
         * 
939
         * @param {*} [options] Override http request option.
940
         * @throws {RequiredError}
941
         */
942
        async authTestAaGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
943
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestAaGet(options);
944
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
945
        },
946
        /**
947
         * 
948
         * @param {*} [options] Override http request option.
949
         * @throws {RequiredError}
950
         */
951
        async authTestGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
952
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestGet(options);
953
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
954
        },
955
    }
956
};
957
958
/**
959
 * AuthApi - factory interface
960
 * @export
961
 */
962
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
963
    const localVarFp = AuthApiFp(configuration)
964
    return {
965
        /**
966
         * 
967
         * @param {LoginRequest} [loginRequest] 
968
         * @param {*} [options] Override http request option.
969
         * @throws {RequiredError}
970
         */
971
        authLoginPost(loginRequest?: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
972
            return localVarFp.authLoginPost(loginRequest, options).then((request) => request(axios, basePath));
973
        },
974
        /**
975
         * 
976
         * @param {*} [options] Override http request option.
977
         * @throws {RequiredError}
978
         */
979
        authTestAaGet(options?: any): AxiosPromise<ClientInfo> {
980
            return localVarFp.authTestAaGet(options).then((request) => request(axios, basePath));
981
        },
982
        /**
983
         * 
984
         * @param {*} [options] Override http request option.
985
         * @throws {RequiredError}
986
         */
987
        authTestGet(options?: any): AxiosPromise<ClientInfo> {
988
            return localVarFp.authTestGet(options).then((request) => request(axios, basePath));
989
        },
990
    };
991
};
992
993
/**
994
 * AuthApi - object-oriented interface
995
 * @export
996
 * @class AuthApi
997
 * @extends {BaseAPI}
998
 */
999
export class AuthApi extends BaseAPI {
1000
    /**
1001
     * 
1002
     * @param {LoginRequest} [loginRequest] 
1003
     * @param {*} [options] Override http request option.
1004
     * @throws {RequiredError}
1005
     * @memberof AuthApi
1006
     */
1007
    public authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig) {
1008
        return AuthApiFp(this.configuration).authLoginPost(loginRequest, options).then((request) => request(this.axios, this.basePath));
1009
    }
1010
1011
    /**
1012
     * 
1013
     * @param {*} [options] Override http request option.
1014
     * @throws {RequiredError}
1015
     * @memberof AuthApi
1016
     */
1017
    public authTestAaGet(options?: AxiosRequestConfig) {
1018
        return AuthApiFp(this.configuration).authTestAaGet(options).then((request) => request(this.axios, this.basePath));
1019
    }
1020
1021
    /**
1022
     * 
1023
     * @param {*} [options] Override http request option.
1024
     * @throws {RequiredError}
1025
     * @memberof AuthApi
1026
     */
1027
    public authTestGet(options?: AxiosRequestConfig) {
1028
        return AuthApiFp(this.configuration).authTestGet(options).then((request) => request(this.axios, this.basePath));
1029
    }
1030
}
1031
1032
1033
/**
1034
 * DocumentApi - axios parameter creator
1035
 * @export
1036
 */
1037
export const DocumentApiAxiosParamCreator = function (configuration?: Configuration) {
1038
    return {
1039
        /**
1040
         * 
1041 dd747fc5 Lukáš Vlček
         * @param {number} [pageIndex] 
1042
         * @param {number} [pageSize] 
1043 3e6b15a7 Lukáš Vlček
         * @param {*} [options] Override http request option.
1044
         * @throws {RequiredError}
1045
         */
1046 dd747fc5 Lukáš Vlček
        documentsGet: async (pageIndex?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1047 3e6b15a7 Lukáš Vlček
            const localVarPath = `/documents`;
1048
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1049
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1050
            let baseOptions;
1051
            if (configuration) {
1052
                baseOptions = configuration.baseOptions;
1053
            }
1054
1055
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1056
            const localVarHeaderParameter = {} as any;
1057
            const localVarQueryParameter = {} as any;
1058
1059 dd747fc5 Lukáš Vlček
            if (pageIndex !== undefined) {
1060
                localVarQueryParameter['pageIndex'] = pageIndex;
1061
            }
1062 3e6b15a7 Lukáš Vlček
1063 dd747fc5 Lukáš Vlček
            if (pageSize !== undefined) {
1064
                localVarQueryParameter['pageSize'] = pageSize;
1065
            }
1066 3e6b15a7 Lukáš Vlček
1067 dd747fc5 Lukáš Vlček
1068
    
1069 3e6b15a7 Lukáš Vlček
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1070
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1071
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1072
1073
            return {
1074
                url: toPathString(localVarUrlObj),
1075
                options: localVarRequestOptions,
1076
            };
1077
        },
1078
        /**
1079
         * 
1080
         * @param {DocumentAddRequest} [documentAddRequest] 
1081
         * @param {*} [options] Override http request option.
1082
         * @throws {RequiredError}
1083
         */
1084
        documentsPost: async (documentAddRequest?: DocumentAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1085
            const localVarPath = `/documents`;
1086
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1087
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1088
            let baseOptions;
1089
            if (configuration) {
1090
                baseOptions = configuration.baseOptions;
1091
            }
1092
1093
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1094
            const localVarHeaderParameter = {} as any;
1095
            const localVarQueryParameter = {} as any;
1096
1097
1098
    
1099
            localVarHeaderParameter['Content-Type'] = 'application/json';
1100
1101
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1102
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1103
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1104
            localVarRequestOptions.data = serializeDataIfNeeded(documentAddRequest, localVarRequestOptions, configuration)
1105
1106
            return {
1107
                url: toPathString(localVarUrlObj),
1108
                options: localVarRequestOptions,
1109
            };
1110
        },
1111
    }
1112
};
1113
1114
/**
1115
 * DocumentApi - functional programming interface
1116
 * @export
1117
 */
1118
export const DocumentApiFp = function(configuration?: Configuration) {
1119
    const localVarAxiosParamCreator = DocumentApiAxiosParamCreator(configuration)
1120
    return {
1121
        /**
1122
         * 
1123 dd747fc5 Lukáš Vlček
         * @param {number} [pageIndex] 
1124
         * @param {number} [pageSize] 
1125 3e6b15a7 Lukáš Vlček
         * @param {*} [options] Override http request option.
1126
         * @throws {RequiredError}
1127
         */
1128 dd747fc5 Lukáš Vlček
        async documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentListResponse>> {
1129
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsGet(pageIndex, pageSize, options);
1130 3e6b15a7 Lukáš Vlček
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1131
        },
1132
        /**
1133
         * 
1134
         * @param {DocumentAddRequest} [documentAddRequest] 
1135
         * @param {*} [options] Override http request option.
1136
         * @throws {RequiredError}
1137
         */
1138
        async documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1139
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsPost(documentAddRequest, options);
1140
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1141
        },
1142
    }
1143
};
1144
1145
/**
1146
 * DocumentApi - factory interface
1147
 * @export
1148
 */
1149
export const DocumentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1150
    const localVarFp = DocumentApiFp(configuration)
1151
    return {
1152
        /**
1153
         * 
1154 dd747fc5 Lukáš Vlček
         * @param {number} [pageIndex] 
1155
         * @param {number} [pageSize] 
1156 3e6b15a7 Lukáš Vlček
         * @param {*} [options] Override http request option.
1157
         * @throws {RequiredError}
1158
         */
1159 dd747fc5 Lukáš Vlček
        documentsGet(pageIndex?: number, pageSize?: number, options?: any): AxiosPromise<DocumentListResponse> {
1160
            return localVarFp.documentsGet(pageIndex, pageSize, options).then((request) => request(axios, basePath));
1161 3e6b15a7 Lukáš Vlček
        },
1162
        /**
1163
         * 
1164
         * @param {DocumentAddRequest} [documentAddRequest] 
1165
         * @param {*} [options] Override http request option.
1166
         * @throws {RequiredError}
1167
         */
1168
        documentsPost(documentAddRequest?: DocumentAddRequest, options?: any): AxiosPromise<void> {
1169
            return localVarFp.documentsPost(documentAddRequest, options).then((request) => request(axios, basePath));
1170
        },
1171
    };
1172
};
1173
1174
/**
1175
 * DocumentApi - object-oriented interface
1176
 * @export
1177
 * @class DocumentApi
1178
 * @extends {BaseAPI}
1179
 */
1180
export class DocumentApi extends BaseAPI {
1181
    /**
1182
     * 
1183 dd747fc5 Lukáš Vlček
     * @param {number} [pageIndex] 
1184
     * @param {number} [pageSize] 
1185 3e6b15a7 Lukáš Vlček
     * @param {*} [options] Override http request option.
1186
     * @throws {RequiredError}
1187
     * @memberof DocumentApi
1188
     */
1189 dd747fc5 Lukáš Vlček
    public documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig) {
1190
        return DocumentApiFp(this.configuration).documentsGet(pageIndex, pageSize, options).then((request) => request(this.axios, this.basePath));
1191 3e6b15a7 Lukáš Vlček
    }
1192
1193
    /**
1194
     * 
1195
     * @param {DocumentAddRequest} [documentAddRequest] 
1196
     * @param {*} [options] Override http request option.
1197
     * @throws {RequiredError}
1198
     * @memberof DocumentApi
1199
     */
1200
    public documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig) {
1201
        return DocumentApiFp(this.configuration).documentsPost(documentAddRequest, options).then((request) => request(this.axios, this.basePath));
1202
    }
1203
}
1204
1205
1206
/**
1207
 * TagApi - axios parameter creator
1208
 * @export
1209
 */
1210
export const TagApiAxiosParamCreator = function (configuration?: Configuration) {
1211
    return {
1212
        /**
1213
         * 
1214
         * @param {*} [options] Override http request option.
1215
         * @throws {RequiredError}
1216
         */
1217
        tagsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1218
            const localVarPath = `/tags`;
1219
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1220
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1221
            let baseOptions;
1222
            if (configuration) {
1223
                baseOptions = configuration.baseOptions;
1224
            }
1225
1226
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1227
            const localVarHeaderParameter = {} as any;
1228
            const localVarQueryParameter = {} as any;
1229
1230
1231
    
1232
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1233
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1234
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1235
1236
            return {
1237
                url: toPathString(localVarUrlObj),
1238
                options: localVarRequestOptions,
1239
            };
1240
        },
1241
    }
1242
};
1243
1244
/**
1245
 * TagApi - functional programming interface
1246
 * @export
1247
 */
1248
export const TagApiFp = function(configuration?: Configuration) {
1249
    const localVarAxiosParamCreator = TagApiAxiosParamCreator(configuration)
1250
    return {
1251
        /**
1252
         * 
1253
         * @param {*} [options] Override http request option.
1254
         * @throws {RequiredError}
1255
         */
1256
        async tagsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagTreeResponse>> {
1257
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(options);
1258
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1259
        },
1260
    }
1261
};
1262
1263
/**
1264
 * TagApi - factory interface
1265
 * @export
1266
 */
1267
export const TagApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1268
    const localVarFp = TagApiFp(configuration)
1269
    return {
1270
        /**
1271
         * 
1272
         * @param {*} [options] Override http request option.
1273
         * @throws {RequiredError}
1274
         */
1275
        tagsGet(options?: any): AxiosPromise<TagTreeResponse> {
1276
            return localVarFp.tagsGet(options).then((request) => request(axios, basePath));
1277
        },
1278
    };
1279
};
1280
1281
/**
1282
 * TagApi - object-oriented interface
1283
 * @export
1284
 * @class TagApi
1285
 * @extends {BaseAPI}
1286
 */
1287
export class TagApi extends BaseAPI {
1288
    /**
1289
     * 
1290
     * @param {*} [options] Override http request option.
1291
     * @throws {RequiredError}
1292
     * @memberof TagApi
1293
     */
1294
    public tagsGet(options?: AxiosRequestConfig) {
1295
        return TagApiFp(this.configuration).tagsGet(options).then((request) => request(this.axios, this.basePath));
1296
    }
1297
}
1298
1299
1300
/**
1301
 * UserApi - axios parameter creator
1302
 * @export
1303
 */
1304
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
1305
    return {
1306
        /**
1307
         * 
1308
         * @param {*} [options] Override http request option.
1309
         * @throws {RequiredError}
1310
         */
1311
        userAnnotationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1312
            const localVarPath = `/user/annotations`;
1313
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1314
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1315
            let baseOptions;
1316
            if (configuration) {
1317
                baseOptions = configuration.baseOptions;
1318
            }
1319
1320
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1321
            const localVarHeaderParameter = {} as any;
1322
            const localVarQueryParameter = {} as any;
1323
1324
1325
    
1326
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1327
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1328
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1329
1330
            return {
1331
                url: toPathString(localVarUrlObj),
1332
                options: localVarRequestOptions,
1333
            };
1334
        },
1335
        /**
1336
         * 
1337
         * @param {*} [options] Override http request option.
1338
         * @throws {RequiredError}
1339
         */
1340
        usersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1341
            const localVarPath = `/users`;
1342
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1343
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1344
            let baseOptions;
1345
            if (configuration) {
1346
                baseOptions = configuration.baseOptions;
1347
            }
1348
1349
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1350
            const localVarHeaderParameter = {} as any;
1351
            const localVarQueryParameter = {} as any;
1352
1353
1354
    
1355
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1356
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1357
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1358
1359
            return {
1360
                url: toPathString(localVarUrlObj),
1361
                options: localVarRequestOptions,
1362
            };
1363
        },
1364
    }
1365
};
1366
1367
/**
1368
 * UserApi - functional programming interface
1369
 * @export
1370
 */
1371
export const UserApiFp = function(configuration?: Configuration) {
1372
    const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
1373
    return {
1374
        /**
1375
         * 
1376
         * @param {*} [options] Override http request option.
1377
         * @throws {RequiredError}
1378
         */
1379
        async userAnnotationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
1380
            const localVarAxiosArgs = await localVarAxiosParamCreator.userAnnotationsGet(options);
1381
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1382
        },
1383
        /**
1384
         * 
1385
         * @param {*} [options] Override http request option.
1386
         * @throws {RequiredError}
1387
         */
1388
        async usersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>> {
1389
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersGet(options);
1390
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1391
        },
1392
    }
1393
};
1394
1395
/**
1396
 * UserApi - factory interface
1397
 * @export
1398
 */
1399
export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1400
    const localVarFp = UserApiFp(configuration)
1401
    return {
1402
        /**
1403
         * 
1404
         * @param {*} [options] Override http request option.
1405
         * @throws {RequiredError}
1406
         */
1407
        userAnnotationsGet(options?: any): AxiosPromise<AnnotationListResponse> {
1408
            return localVarFp.userAnnotationsGet(options).then((request) => request(axios, basePath));
1409
        },
1410
        /**
1411
         * 
1412
         * @param {*} [options] Override http request option.
1413
         * @throws {RequiredError}
1414
         */
1415
        usersGet(options?: any): AxiosPromise<UserList> {
1416
            return localVarFp.usersGet(options).then((request) => request(axios, basePath));
1417
        },
1418
    };
1419
};
1420
1421
/**
1422
 * UserApi - object-oriented interface
1423
 * @export
1424
 * @class UserApi
1425
 * @extends {BaseAPI}
1426
 */
1427
export class UserApi extends BaseAPI {
1428
    /**
1429
     * 
1430
     * @param {*} [options] Override http request option.
1431
     * @throws {RequiredError}
1432
     * @memberof UserApi
1433
     */
1434
    public userAnnotationsGet(options?: AxiosRequestConfig) {
1435
        return UserApiFp(this.configuration).userAnnotationsGet(options).then((request) => request(this.axios, this.basePath));
1436
    }
1437
1438
    /**
1439
     * 
1440
     * @param {*} [options] Override http request option.
1441
     * @throws {RequiredError}
1442
     * @memberof UserApi
1443
     */
1444
    public usersGet(options?: AxiosRequestConfig) {
1445
        return UserApiFp(this.configuration).usersGet(options).then((request) => request(this.axios, this.basePath));
1446
    }
1447
}
1448