Projekt

Obecné

Profil

Stáhnout (66 KB) Statistiky
| Větev: | Tag: | Revize:
1
/* 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
    'sourceDocumentContent'?: string | null;
36
    /**
37
     * 
38
     * @type {string}
39
     * @memberof AnnotationInfo
40
     */
41
    'documentToRender'?: string | null;
42
    /**
43
     * 
44
     * @type {Array<number>}
45
     * @memberof AnnotationInfo
46
     */
47
    'tagStartPositions'?: Array<number> | null;
48
    /**
49
     * 
50
     * @type {Array<number>}
51
     * @memberof AnnotationInfo
52
     */
53
    'tagLengths'?: Array<number> | null;
54
    /**
55
     * 
56
     * @type {EState}
57
     * @memberof AnnotationInfo
58
     */
59
    'state'?: EState;
60
    /**
61
     * 
62
     * @type {EDocumentType}
63
     * @memberof AnnotationInfo
64
     */
65
    'type'?: EDocumentType;
66
    /**
67
     * 
68
     * @type {string}
69
     * @memberof AnnotationInfo
70
     */
71
    'note'?: string | null;
72
    /**
73
     * 
74
     * @type {Array<TagInstanceInfo>}
75
     * @memberof AnnotationInfo
76
     */
77
    'tagInstances'?: Array<TagInstanceInfo> | null;
78
}
79
/**
80
 * 
81
 * @export
82
 * @interface AnnotationInstanceAddRequest
83
 */
84
export interface AnnotationInstanceAddRequest {
85
    /**
86
     * 
87
     * @type {number}
88
     * @memberof AnnotationInstanceAddRequest
89
     */
90
    'position'?: number;
91
    /**
92
     * 
93
     * @type {number}
94
     * @memberof AnnotationInstanceAddRequest
95
     */
96
    'length'?: number;
97
    /**
98
     * 
99
     * @type {ETagType}
100
     * @memberof AnnotationInstanceAddRequest
101
     */
102
    'type'?: ETagType;
103
    /**
104
     * 
105
     * @type {string}
106
     * @memberof AnnotationInstanceAddRequest
107
     */
108
    'id'?: string;
109
    /**
110
     * 
111
     * @type {string}
112
     * @memberof AnnotationInstanceAddRequest
113
     */
114
    'instanceId'?: string | null;
115
}
116
/**
117
 * 
118
 * @export
119
 * @interface AnnotationListInfo
120
 */
121
export interface AnnotationListInfo {
122
    /**
123
     * 
124
     * @type {string}
125
     * @memberof AnnotationListInfo
126
     */
127
    'documentName'?: string | null;
128
    /**
129
     * 
130
     * @type {EState}
131
     * @memberof AnnotationListInfo
132
     */
133
    'state'?: EState;
134
    /**
135
     * 
136
     * @type {string}
137
     * @memberof AnnotationListInfo
138
     */
139
    'annotationId'?: string;
140
}
141
/**
142
 * 
143
 * @export
144
 * @interface AnnotationListResponse
145
 */
146
export interface AnnotationListResponse {
147
    /**
148
     * 
149
     * @type {Array<AnnotationListInfo>}
150
     * @memberof AnnotationListResponse
151
     */
152
    'annotations'?: Array<AnnotationListInfo> | null;
153
}
154
/**
155
 * 
156
 * @export
157
 * @interface AnnotationsAddRequest
158
 */
159
export interface AnnotationsAddRequest {
160
    /**
161
     * 
162
     * @type {Array<string>}
163
     * @memberof AnnotationsAddRequest
164
     */
165
    'userIdList'?: Array<string> | null;
166
    /**
167
     * 
168
     * @type {Array<string>}
169
     * @memberof AnnotationsAddRequest
170
     */
171
    'documentIdList'?: Array<string> | null;
172
}
173
/**
174
 * 
175
 * @export
176
 * @interface ChangeUserInfoRequest
177
 */
178
export interface ChangeUserInfoRequest {
179
    /**
180
     * 
181
     * @type {string}
182
     * @memberof ChangeUserInfoRequest
183
     */
184
    'password'?: string | null;
185
    /**
186
     * 
187
     * @type {string}
188
     * @memberof ChangeUserInfoRequest
189
     */
190
    'username'?: string | null;
191
    /**
192
     * 
193
     * @type {string}
194
     * @memberof ChangeUserInfoRequest
195
     */
196
    'name'?: string | null;
197
    /**
198
     * 
199
     * @type {string}
200
     * @memberof ChangeUserInfoRequest
201
     */
202
    'surname'?: string | null;
203
    /**
204
     * 
205
     * @type {ERole}
206
     * @memberof ChangeUserInfoRequest
207
     */
208
    'role'?: ERole;
209
}
210
/**
211
 * 
212
 * @export
213
 * @interface ClientInfo
214
 */
215
export interface ClientInfo {
216
    /**
217
     * 
218
     * @type {boolean}
219
     * @memberof ClientInfo
220
     */
221
    'isLogged'?: boolean;
222
    /**
223
     * 
224
     * @type {User}
225
     * @memberof ClientInfo
226
     */
227
    'loggedUser'?: User;
228
    /**
229
     * 
230
     * @type {string}
231
     * @memberof ClientInfo
232
     */
233
    'ip'?: string | null;
234
}
235
/**
236
 * 
237
 * @export
238
 * @interface CreateUserRequest
239
 */
240
export interface CreateUserRequest {
241
    /**
242
     * 
243
     * @type {string}
244
     * @memberof CreateUserRequest
245
     */
246
    'username'?: string | null;
247
    /**
248
     * 
249
     * @type {string}
250
     * @memberof CreateUserRequest
251
     */
252
    'password'?: string | null;
253
    /**
254
     * 
255
     * @type {string}
256
     * @memberof CreateUserRequest
257
     */
258
    'name'?: string | null;
259
    /**
260
     * 
261
     * @type {string}
262
     * @memberof CreateUserRequest
263
     */
264
    'surname'?: string | null;
265
    /**
266
     * 
267
     * @type {ERole}
268
     * @memberof CreateUserRequest
269
     */
270
    'role'?: ERole;
271
}
272
/**
273
 * 
274
 * @export
275
 * @interface DocumentAddInfo
276
 */
277
export interface DocumentAddInfo {
278
    /**
279
     * 
280
     * @type {string}
281
     * @memberof DocumentAddInfo
282
     */
283
    'name'?: string | null;
284
    /**
285
     * 
286
     * @type {EAddDocumentFormat}
287
     * @memberof DocumentAddInfo
288
     */
289
    'format'?: EAddDocumentFormat;
290
    /**
291
     * 
292
     * @type {string}
293
     * @memberof DocumentAddInfo
294
     */
295
    'content'?: string | null;
296
}
297
/**
298
 * 
299
 * @export
300
 * @interface DocumentAddRequest
301
 */
302
export interface DocumentAddRequest {
303
    /**
304
     * 
305
     * @type {Array<DocumentAddInfo>}
306
     * @memberof DocumentAddRequest
307
     */
308
    'documents'?: Array<DocumentAddInfo> | null;
309
}
310
/**
311
 * 
312
 * @export
313
 * @interface DocumentListInfo
314
 */
315
export interface DocumentListInfo {
316
    /**
317
     * 
318
     * @type {string}
319
     * @memberof DocumentListInfo
320
     */
321
    'id'?: string;
322
    /**
323
     * 
324
     * @type {string}
325
     * @memberof DocumentListInfo
326
     */
327
    'name'?: string | null;
328
    /**
329
     * 
330
     * @type {number}
331
     * @memberof DocumentListInfo
332
     */
333
    'length'?: number;
334
    /**
335
     * 
336
     * @type {number}
337
     * @memberof DocumentListInfo
338
     */
339
    'requiredAnnotations'?: number;
340
    /**
341
     * 
342
     * @type {Array<UserInfo>}
343
     * @memberof DocumentListInfo
344
     */
345
    'annotatingUsers'?: Array<UserInfo> | null;
346
}
347
/**
348
 * 
349
 * @export
350
 * @interface DocumentListResponse
351
 */
352
export interface DocumentListResponse {
353
    /**
354
     * 
355
     * @type {number}
356
     * @memberof DocumentListResponse
357
     */
358
    'totalCount'?: number;
359
    /**
360
     * 
361
     * @type {number}
362
     * @memberof DocumentListResponse
363
     */
364
    'pageCount'?: number;
365
    /**
366
     * 
367
     * @type {number}
368
     * @memberof DocumentListResponse
369
     */
370
    'pageIndex'?: number;
371
    /**
372
     * 
373
     * @type {Array<DocumentListInfo>}
374
     * @memberof DocumentListResponse
375
     */
376
    'documents'?: Array<DocumentListInfo> | null;
377
}
378
/**
379
 * 
380
 * @export
381
 * @interface DocumentPreviewResponse
382
 */
383
export interface DocumentPreviewResponse {
384
    /**
385
     * 
386
     * @type {string}
387
     * @memberof DocumentPreviewResponse
388
     */
389
    'content'?: string | null;
390
}
391
/**
392
 * 
393
 * @export
394
 * @enum {string}
395
 */
396

    
397
export const EAddDocumentFormat = {
398
    Zip: 'ZIP',
399
    Textfile: 'TEXTFILE'
400
} as const;
401

    
402
export type EAddDocumentFormat = typeof EAddDocumentFormat[keyof typeof EAddDocumentFormat];
403

    
404

    
405
/**
406
 * 
407
 * @export
408
 * @enum {string}
409
 */
410

    
411
export const EDocumentType = {
412
    Html: 'HTML',
413
    Text: 'TEXT'
414
} as const;
415

    
416
export type EDocumentType = typeof EDocumentType[keyof typeof EDocumentType];
417

    
418

    
419
/**
420
 * 
421
 * @export
422
 * @enum {string}
423
 */
424

    
425
export const ERole = {
426
    Annotator: 'ANNOTATOR',
427
    Administrator: 'ADMINISTRATOR'
428
} as const;
429

    
430
export type ERole = typeof ERole[keyof typeof ERole];
431

    
432

    
433
/**
434
 * 
435
 * @export
436
 * @enum {string}
437
 */
438

    
439
export const EState = {
440
    Done: 'DONE',
441
    InProgress: 'IN_PROGRESS',
442
    New: 'NEW'
443
} as const;
444

    
445
export type EState = typeof EState[keyof typeof EState];
446

    
447

    
448
/**
449
 * 
450
 * @export
451
 * @enum {string}
452
 */
453

    
454
export const ETagType = {
455
    Tag: 'TAG',
456
    Subtag: 'SUBTAG'
457
} as const;
458

    
459
export type ETagType = typeof ETagType[keyof typeof ETagType];
460

    
461

    
462
/**
463
 * 
464
 * @export
465
 * @interface LoginRequest
466
 */
467
export interface LoginRequest {
468
    /**
469
     * 
470
     * @type {string}
471
     * @memberof LoginRequest
472
     */
473
    'username'?: string | null;
474
    /**
475
     * 
476
     * @type {string}
477
     * @memberof LoginRequest
478
     */
479
    'password'?: string | null;
480
}
481
/**
482
 * 
483
 * @export
484
 * @interface LoginResponse
485
 */
486
export interface LoginResponse {
487
    /**
488
     * 
489
     * @type {boolean}
490
     * @memberof LoginResponse
491
     */
492
    'ok'?: boolean;
493
    /**
494
     * 
495
     * @type {string}
496
     * @memberof LoginResponse
497
     */
498
    'token'?: string | null;
499
    /**
500
     * 
501
     * @type {string}
502
     * @memberof LoginResponse
503
     */
504
    'expiration'?: string;
505
    /**
506
     * 
507
     * @type {ERole}
508
     * @memberof LoginResponse
509
     */
510
    'role'?: ERole;
511
}
512
/**
513
 * 
514
 * @export
515
 * @interface ProblemDetails
516
 */
517
export interface ProblemDetails {
518
    [key: string]: any | any;
519

    
520
    /**
521
     * 
522
     * @type {string}
523
     * @memberof ProblemDetails
524
     */
525
    'type'?: string | null;
526
    /**
527
     * 
528
     * @type {string}
529
     * @memberof ProblemDetails
530
     */
531
    'title'?: string | null;
532
    /**
533
     * 
534
     * @type {number}
535
     * @memberof ProblemDetails
536
     */
537
    'status'?: number | null;
538
    /**
539
     * 
540
     * @type {string}
541
     * @memberof ProblemDetails
542
     */
543
    'detail'?: string | null;
544
    /**
545
     * 
546
     * @type {string}
547
     * @memberof ProblemDetails
548
     */
549
    'instance'?: string | null;
550
}
551
/**
552
 * 
553
 * @export
554
 * @interface SubTagInfo
555
 */
556
export interface SubTagInfo {
557
    /**
558
     * 
559
     * @type {string}
560
     * @memberof SubTagInfo
561
     */
562
    'id'?: string;
563
    /**
564
     * 
565
     * @type {string}
566
     * @memberof SubTagInfo
567
     */
568
    'name'?: string | null;
569
    /**
570
     * 
571
     * @type {string}
572
     * @memberof SubTagInfo
573
     */
574
    'description'?: string | null;
575
}
576
/**
577
 * 
578
 * @export
579
 * @interface TagCategoryInfo
580
 */
581
export interface TagCategoryInfo {
582
    /**
583
     * 
584
     * @type {string}
585
     * @memberof TagCategoryInfo
586
     */
587
    'id'?: string;
588
    /**
589
     * 
590
     * @type {string}
591
     * @memberof TagCategoryInfo
592
     */
593
    'name'?: string | null;
594
    /**
595
     * 
596
     * @type {string}
597
     * @memberof TagCategoryInfo
598
     */
599
    'description'?: string | null;
600
    /**
601
     * 
602
     * @type {string}
603
     * @memberof TagCategoryInfo
604
     */
605
    'color'?: string | null;
606
    /**
607
     * 
608
     * @type {Array<TagInfo>}
609
     * @memberof TagCategoryInfo
610
     */
611
    'tags'?: Array<TagInfo> | null;
612
}
613
/**
614
 * 
615
 * @export
616
 * @interface TagInfo
617
 */
618
export interface TagInfo {
619
    /**
620
     * 
621
     * @type {string}
622
     * @memberof TagInfo
623
     */
624
    'id'?: string;
625
    /**
626
     * 
627
     * @type {string}
628
     * @memberof TagInfo
629
     */
630
    'name'?: string | null;
631
    /**
632
     * 
633
     * @type {string}
634
     * @memberof TagInfo
635
     */
636
    'description'?: string | null;
637
    /**
638
     * 
639
     * @type {string}
640
     * @memberof TagInfo
641
     */
642
    'color'?: string | null;
643
    /**
644
     * 
645
     * @type {Array<SubTagInfo>}
646
     * @memberof TagInfo
647
     */
648
    'subTags'?: Array<SubTagInfo> | null;
649
}
650
/**
651
 * 
652
 * @export
653
 * @interface TagInstanceInfo
654
 */
655
export interface TagInstanceInfo {
656
    /**
657
     * 
658
     * @type {string}
659
     * @memberof TagInstanceInfo
660
     */
661
    'occurenceId'?: string;
662
    /**
663
     * 
664
     * @type {string}
665
     * @memberof TagInstanceInfo
666
     */
667
    'tagName'?: string | null;
668
    /**
669
     * 
670
     * @type {string}
671
     * @memberof TagInstanceInfo
672
     */
673
    'tagId'?: string;
674
    /**
675
     * 
676
     * @type {string}
677
     * @memberof TagInstanceInfo
678
     */
679
    'tagCategoryName'?: string | null;
680
    /**
681
     * 
682
     * @type {string}
683
     * @memberof TagInstanceInfo
684
     */
685
    'tagCategoryId'?: string;
686
    /**
687
     * 
688
     * @type {string}
689
     * @memberof TagInstanceInfo
690
     */
691
    'subTagName'?: string | null;
692
    /**
693
     * 
694
     * @type {string}
695
     * @memberof TagInstanceInfo
696
     */
697
    'subTagId'?: string | null;
698
    /**
699
     * 
700
     * @type {string}
701
     * @memberof TagInstanceInfo
702
     */
703
    'instance'?: string;
704
    /**
705
     * 
706
     * @type {number}
707
     * @memberof TagInstanceInfo
708
     */
709
    'position'?: number;
710
    /**
711
     * 
712
     * @type {number}
713
     * @memberof TagInstanceInfo
714
     */
715
    'length'?: number;
716
    /**
717
     * 
718
     * @type {string}
719
     * @memberof TagInstanceInfo
720
     */
721
    'note'?: string | null;
722
}
723
/**
724
 * 
725
 * @export
726
 * @interface TagTreeResponse
727
 */
728
export interface TagTreeResponse {
729
    /**
730
     * 
731
     * @type {Array<TagCategoryInfo>}
732
     * @memberof TagTreeResponse
733
     */
734
    'tagCategories'?: Array<TagCategoryInfo> | null;
735
}
736
/**
737
 * 
738
 * @export
739
 * @interface User
740
 */
741
export interface User {
742
    /**
743
     * 
744
     * @type {string}
745
     * @memberof User
746
     */
747
    'id'?: string;
748
    /**
749
     * 
750
     * @type {string}
751
     * @memberof User
752
     */
753
    'username'?: string | null;
754
    /**
755
     * 
756
     * @type {string}
757
     * @memberof User
758
     */
759
    'name'?: string | null;
760
    /**
761
     * 
762
     * @type {string}
763
     * @memberof User
764
     */
765
    'surname'?: string | null;
766
    /**
767
     * 
768
     * @type {ERole}
769
     * @memberof User
770
     */
771
    'role'?: ERole;
772
}
773
/**
774
 * 
775
 * @export
776
 * @interface UserInfo
777
 */
778
export interface UserInfo {
779
    /**
780
     * 
781
     * @type {string}
782
     * @memberof UserInfo
783
     */
784
    'id'?: string;
785
    /**
786
     * 
787
     * @type {string}
788
     * @memberof UserInfo
789
     */
790
    'username'?: string | null;
791
    /**
792
     * 
793
     * @type {string}
794
     * @memberof UserInfo
795
     */
796
    'name'?: string | null;
797
    /**
798
     * 
799
     * @type {string}
800
     * @memberof UserInfo
801
     */
802
    'surname'?: string | null;
803
}
804
/**
805
 * 
806
 * @export
807
 * @interface UserList
808
 */
809
export interface UserList {
810
    /**
811
     * 
812
     * @type {Array<UserInfo>}
813
     * @memberof UserList
814
     */
815
    'users'?: Array<UserInfo> | null;
816
}
817

    
818
/**
819
 * AnnotationApi - axios parameter creator
820
 * @export
821
 */
822
export const AnnotationApiAxiosParamCreator = function (configuration?: Configuration) {
823
    return {
824
        /**
825
         * 
826
         * @param {string} annotationId 
827
         * @param {*} [options] Override http request option.
828
         * @throws {RequiredError}
829
         */
830
        annotationAnnotationIdGet: async (annotationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
831
            // verify required parameter 'annotationId' is not null or undefined
832
            assertParamExists('annotationAnnotationIdGet', 'annotationId', annotationId)
833
            const localVarPath = `/annotation/{annotationId}`
834
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
835
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
836
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
837
            let baseOptions;
838
            if (configuration) {
839
                baseOptions = configuration.baseOptions;
840
            }
841

    
842
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
843
            const localVarHeaderParameter = {} as any;
844
            const localVarQueryParameter = {} as any;
845

    
846

    
847
    
848
            setSearchParams(localVarUrlObj, localVarQueryParameter);
849
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
850
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
851

    
852
            return {
853
                url: toPathString(localVarUrlObj),
854
                options: localVarRequestOptions,
855
            };
856
        },
857
        /**
858
         * 
859
         * @param {string} annotationId 
860
         * @param {string} occurenceId 
861
         * @param {*} [options] Override http request option.
862
         * @throws {RequiredError}
863
         */
864
        annotationAnnotationIdOccurenceIdDelete: async (annotationId: string, occurenceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
865
            // verify required parameter 'annotationId' is not null or undefined
866
            assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'annotationId', annotationId)
867
            // verify required parameter 'occurenceId' is not null or undefined
868
            assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'occurenceId', occurenceId)
869
            const localVarPath = `/annotation/{annotationId}/{occurenceId}`
870
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
871
                .replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
872
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
873
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
874
            let baseOptions;
875
            if (configuration) {
876
                baseOptions = configuration.baseOptions;
877
            }
878

    
879
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
880
            const localVarHeaderParameter = {} as any;
881
            const localVarQueryParameter = {} as any;
882

    
883

    
884
    
885
            setSearchParams(localVarUrlObj, localVarQueryParameter);
886
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
887
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
888

    
889
            return {
890
                url: toPathString(localVarUrlObj),
891
                options: localVarRequestOptions,
892
            };
893
        },
894
        /**
895
         * 
896
         * @param {string} annotationId 
897
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
898
         * @param {*} [options] Override http request option.
899
         * @throws {RequiredError}
900
         */
901
        annotationAnnotationIdPost: async (annotationId: string, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
902
            // verify required parameter 'annotationId' is not null or undefined
903
            assertParamExists('annotationAnnotationIdPost', 'annotationId', annotationId)
904
            const localVarPath = `/annotation/{annotationId}`
905
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
906
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
907
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
908
            let baseOptions;
909
            if (configuration) {
910
                baseOptions = configuration.baseOptions;
911
            }
912

    
913
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
914
            const localVarHeaderParameter = {} as any;
915
            const localVarQueryParameter = {} as any;
916

    
917

    
918
    
919
            localVarHeaderParameter['Content-Type'] = 'application/json';
920

    
921
            setSearchParams(localVarUrlObj, localVarQueryParameter);
922
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
923
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
924
            localVarRequestOptions.data = serializeDataIfNeeded(annotationInstanceAddRequest, localVarRequestOptions, configuration)
925

    
926
            return {
927
                url: toPathString(localVarUrlObj),
928
                options: localVarRequestOptions,
929
            };
930
        },
931
        /**
932
         * 
933
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
934
         * @param {*} [options] Override http request option.
935
         * @throws {RequiredError}
936
         */
937
        annotationsPost: async (annotationsAddRequest?: AnnotationsAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
938
            const localVarPath = `/annotations`;
939
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
940
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
941
            let baseOptions;
942
            if (configuration) {
943
                baseOptions = configuration.baseOptions;
944
            }
945

    
946
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
947
            const localVarHeaderParameter = {} as any;
948
            const localVarQueryParameter = {} as any;
949

    
950

    
951
    
952
            localVarHeaderParameter['Content-Type'] = 'application/json';
953

    
954
            setSearchParams(localVarUrlObj, localVarQueryParameter);
955
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
956
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
957
            localVarRequestOptions.data = serializeDataIfNeeded(annotationsAddRequest, localVarRequestOptions, configuration)
958

    
959
            return {
960
                url: toPathString(localVarUrlObj),
961
                options: localVarRequestOptions,
962
            };
963
        },
964
    }
965
};
966

    
967
/**
968
 * AnnotationApi - functional programming interface
969
 * @export
970
 */
971
export const AnnotationApiFp = function(configuration?: Configuration) {
972
    const localVarAxiosParamCreator = AnnotationApiAxiosParamCreator(configuration)
973
    return {
974
        /**
975
         * 
976
         * @param {string} annotationId 
977
         * @param {*} [options] Override http request option.
978
         * @throws {RequiredError}
979
         */
980
        async annotationAnnotationIdGet(annotationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationInfo>> {
981
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdGet(annotationId, options);
982
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
983
        },
984
        /**
985
         * 
986
         * @param {string} annotationId 
987
         * @param {string} occurenceId 
988
         * @param {*} [options] Override http request option.
989
         * @throws {RequiredError}
990
         */
991
        async annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
992
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, options);
993
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
994
        },
995
        /**
996
         * 
997
         * @param {string} annotationId 
998
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
999
         * @param {*} [options] Override http request option.
1000
         * @throws {RequiredError}
1001
         */
1002
        async annotationAnnotationIdPost(annotationId: string, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1003
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdPost(annotationId, annotationInstanceAddRequest, options);
1004
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1005
        },
1006
        /**
1007
         * 
1008
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
1009
         * @param {*} [options] Override http request option.
1010
         * @throws {RequiredError}
1011
         */
1012
        async annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1013
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationsPost(annotationsAddRequest, options);
1014
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1015
        },
1016
    }
1017
};
1018

    
1019
/**
1020
 * AnnotationApi - factory interface
1021
 * @export
1022
 */
1023
export const AnnotationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1024
    const localVarFp = AnnotationApiFp(configuration)
1025
    return {
1026
        /**
1027
         * 
1028
         * @param {string} annotationId 
1029
         * @param {*} [options] Override http request option.
1030
         * @throws {RequiredError}
1031
         */
1032
        annotationAnnotationIdGet(annotationId: string, options?: any): AxiosPromise<AnnotationInfo> {
1033
            return localVarFp.annotationAnnotationIdGet(annotationId, options).then((request) => request(axios, basePath));
1034
        },
1035
        /**
1036
         * 
1037
         * @param {string} annotationId 
1038
         * @param {string} occurenceId 
1039
         * @param {*} [options] Override http request option.
1040
         * @throws {RequiredError}
1041
         */
1042
        annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, options?: any): AxiosPromise<void> {
1043
            return localVarFp.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, options).then((request) => request(axios, basePath));
1044
        },
1045
        /**
1046
         * 
1047
         * @param {string} annotationId 
1048
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
1049
         * @param {*} [options] Override http request option.
1050
         * @throws {RequiredError}
1051
         */
1052
        annotationAnnotationIdPost(annotationId: string, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: any): AxiosPromise<void> {
1053
            return localVarFp.annotationAnnotationIdPost(annotationId, annotationInstanceAddRequest, options).then((request) => request(axios, basePath));
1054
        },
1055
        /**
1056
         * 
1057
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
1058
         * @param {*} [options] Override http request option.
1059
         * @throws {RequiredError}
1060
         */
1061
        annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: any): AxiosPromise<void> {
1062
            return localVarFp.annotationsPost(annotationsAddRequest, options).then((request) => request(axios, basePath));
1063
        },
1064
    };
1065
};
1066

    
1067
/**
1068
 * AnnotationApi - object-oriented interface
1069
 * @export
1070
 * @class AnnotationApi
1071
 * @extends {BaseAPI}
1072
 */
1073
export class AnnotationApi extends BaseAPI {
1074
    /**
1075
     * 
1076
     * @param {string} annotationId 
1077
     * @param {*} [options] Override http request option.
1078
     * @throws {RequiredError}
1079
     * @memberof AnnotationApi
1080
     */
1081
    public annotationAnnotationIdGet(annotationId: string, options?: AxiosRequestConfig) {
1082
        return AnnotationApiFp(this.configuration).annotationAnnotationIdGet(annotationId, options).then((request) => request(this.axios, this.basePath));
1083
    }
1084

    
1085
    /**
1086
     * 
1087
     * @param {string} annotationId 
1088
     * @param {string} occurenceId 
1089
     * @param {*} [options] Override http request option.
1090
     * @throws {RequiredError}
1091
     * @memberof AnnotationApi
1092
     */
1093
    public annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, options?: AxiosRequestConfig) {
1094
        return AnnotationApiFp(this.configuration).annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, options).then((request) => request(this.axios, this.basePath));
1095
    }
1096

    
1097
    /**
1098
     * 
1099
     * @param {string} annotationId 
1100
     * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
1101
     * @param {*} [options] Override http request option.
1102
     * @throws {RequiredError}
1103
     * @memberof AnnotationApi
1104
     */
1105
    public annotationAnnotationIdPost(annotationId: string, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig) {
1106
        return AnnotationApiFp(this.configuration).annotationAnnotationIdPost(annotationId, annotationInstanceAddRequest, options).then((request) => request(this.axios, this.basePath));
1107
    }
1108

    
1109
    /**
1110
     * 
1111
     * @param {AnnotationsAddRequest} [annotationsAddRequest] 
1112
     * @param {*} [options] Override http request option.
1113
     * @throws {RequiredError}
1114
     * @memberof AnnotationApi
1115
     */
1116
    public annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig) {
1117
        return AnnotationApiFp(this.configuration).annotationsPost(annotationsAddRequest, options).then((request) => request(this.axios, this.basePath));
1118
    }
1119
}
1120

    
1121

    
1122
/**
1123
 * AuthApi - axios parameter creator
1124
 * @export
1125
 */
1126
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
1127
    return {
1128
        /**
1129
         * 
1130
         * @param {LoginRequest} [loginRequest] 
1131
         * @param {*} [options] Override http request option.
1132
         * @throws {RequiredError}
1133
         */
1134
        authLoginPost: async (loginRequest?: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1135
            const localVarPath = `/auth/login`;
1136
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1137
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1138
            let baseOptions;
1139
            if (configuration) {
1140
                baseOptions = configuration.baseOptions;
1141
            }
1142

    
1143
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1144
            const localVarHeaderParameter = {} as any;
1145
            const localVarQueryParameter = {} as any;
1146

    
1147

    
1148
    
1149
            localVarHeaderParameter['Content-Type'] = 'application/json';
1150

    
1151
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1152
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1153
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1154
            localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
1155

    
1156
            return {
1157
                url: toPathString(localVarUrlObj),
1158
                options: localVarRequestOptions,
1159
            };
1160
        },
1161
        /**
1162
         * 
1163
         * @param {*} [options] Override http request option.
1164
         * @throws {RequiredError}
1165
         */
1166
        authTestAaGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1167
            const localVarPath = `/auth/test/aa`;
1168
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1169
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1170
            let baseOptions;
1171
            if (configuration) {
1172
                baseOptions = configuration.baseOptions;
1173
            }
1174

    
1175
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1176
            const localVarHeaderParameter = {} as any;
1177
            const localVarQueryParameter = {} as any;
1178

    
1179

    
1180
    
1181
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1182
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1183
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1184

    
1185
            return {
1186
                url: toPathString(localVarUrlObj),
1187
                options: localVarRequestOptions,
1188
            };
1189
        },
1190
        /**
1191
         * 
1192
         * @param {*} [options] Override http request option.
1193
         * @throws {RequiredError}
1194
         */
1195
        authTestGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1196
            const localVarPath = `/auth/test`;
1197
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1198
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1199
            let baseOptions;
1200
            if (configuration) {
1201
                baseOptions = configuration.baseOptions;
1202
            }
1203

    
1204
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1205
            const localVarHeaderParameter = {} as any;
1206
            const localVarQueryParameter = {} as any;
1207

    
1208

    
1209
    
1210
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1211
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1212
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1213

    
1214
            return {
1215
                url: toPathString(localVarUrlObj),
1216
                options: localVarRequestOptions,
1217
            };
1218
        },
1219
    }
1220
};
1221

    
1222
/**
1223
 * AuthApi - functional programming interface
1224
 * @export
1225
 */
1226
export const AuthApiFp = function(configuration?: Configuration) {
1227
    const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
1228
    return {
1229
        /**
1230
         * 
1231
         * @param {LoginRequest} [loginRequest] 
1232
         * @param {*} [options] Override http request option.
1233
         * @throws {RequiredError}
1234
         */
1235
        async authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
1236
            const localVarAxiosArgs = await localVarAxiosParamCreator.authLoginPost(loginRequest, options);
1237
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1238
        },
1239
        /**
1240
         * 
1241
         * @param {*} [options] Override http request option.
1242
         * @throws {RequiredError}
1243
         */
1244
        async authTestAaGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
1245
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestAaGet(options);
1246
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1247
        },
1248
        /**
1249
         * 
1250
         * @param {*} [options] Override http request option.
1251
         * @throws {RequiredError}
1252
         */
1253
        async authTestGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
1254
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestGet(options);
1255
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1256
        },
1257
    }
1258
};
1259

    
1260
/**
1261
 * AuthApi - factory interface
1262
 * @export
1263
 */
1264
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1265
    const localVarFp = AuthApiFp(configuration)
1266
    return {
1267
        /**
1268
         * 
1269
         * @param {LoginRequest} [loginRequest] 
1270
         * @param {*} [options] Override http request option.
1271
         * @throws {RequiredError}
1272
         */
1273
        authLoginPost(loginRequest?: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
1274
            return localVarFp.authLoginPost(loginRequest, options).then((request) => request(axios, basePath));
1275
        },
1276
        /**
1277
         * 
1278
         * @param {*} [options] Override http request option.
1279
         * @throws {RequiredError}
1280
         */
1281
        authTestAaGet(options?: any): AxiosPromise<ClientInfo> {
1282
            return localVarFp.authTestAaGet(options).then((request) => request(axios, basePath));
1283
        },
1284
        /**
1285
         * 
1286
         * @param {*} [options] Override http request option.
1287
         * @throws {RequiredError}
1288
         */
1289
        authTestGet(options?: any): AxiosPromise<ClientInfo> {
1290
            return localVarFp.authTestGet(options).then((request) => request(axios, basePath));
1291
        },
1292
    };
1293
};
1294

    
1295
/**
1296
 * AuthApi - object-oriented interface
1297
 * @export
1298
 * @class AuthApi
1299
 * @extends {BaseAPI}
1300
 */
1301
export class AuthApi extends BaseAPI {
1302
    /**
1303
     * 
1304
     * @param {LoginRequest} [loginRequest] 
1305
     * @param {*} [options] Override http request option.
1306
     * @throws {RequiredError}
1307
     * @memberof AuthApi
1308
     */
1309
    public authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig) {
1310
        return AuthApiFp(this.configuration).authLoginPost(loginRequest, options).then((request) => request(this.axios, this.basePath));
1311
    }
1312

    
1313
    /**
1314
     * 
1315
     * @param {*} [options] Override http request option.
1316
     * @throws {RequiredError}
1317
     * @memberof AuthApi
1318
     */
1319
    public authTestAaGet(options?: AxiosRequestConfig) {
1320
        return AuthApiFp(this.configuration).authTestAaGet(options).then((request) => request(this.axios, this.basePath));
1321
    }
1322

    
1323
    /**
1324
     * 
1325
     * @param {*} [options] Override http request option.
1326
     * @throws {RequiredError}
1327
     * @memberof AuthApi
1328
     */
1329
    public authTestGet(options?: AxiosRequestConfig) {
1330
        return AuthApiFp(this.configuration).authTestGet(options).then((request) => request(this.axios, this.basePath));
1331
    }
1332
}
1333

    
1334

    
1335
/**
1336
 * DocumentApi - axios parameter creator
1337
 * @export
1338
 */
1339
export const DocumentApiAxiosParamCreator = function (configuration?: Configuration) {
1340
    return {
1341
        /**
1342
         * 
1343
         * @param {string} documentId 
1344
         * @param {*} [options] Override http request option.
1345
         * @throws {RequiredError}
1346
         */
1347
        documentDocumentIdGet: async (documentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1348
            // verify required parameter 'documentId' is not null or undefined
1349
            assertParamExists('documentDocumentIdGet', 'documentId', documentId)
1350
            const localVarPath = `/document/{documentId}`
1351
                .replace(`{${"documentId"}}`, encodeURIComponent(String(documentId)));
1352
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1353
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1354
            let baseOptions;
1355
            if (configuration) {
1356
                baseOptions = configuration.baseOptions;
1357
            }
1358

    
1359
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1360
            const localVarHeaderParameter = {} as any;
1361
            const localVarQueryParameter = {} as any;
1362

    
1363

    
1364
    
1365
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1366
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1367
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1368

    
1369
            return {
1370
                url: toPathString(localVarUrlObj),
1371
                options: localVarRequestOptions,
1372
            };
1373
        },
1374
        /**
1375
         * 
1376
         * @param {number} [pageIndex] 
1377
         * @param {number} [pageSize] 
1378
         * @param {*} [options] Override http request option.
1379
         * @throws {RequiredError}
1380
         */
1381
        documentsGet: async (pageIndex?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1382
            const localVarPath = `/documents`;
1383
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1384
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1385
            let baseOptions;
1386
            if (configuration) {
1387
                baseOptions = configuration.baseOptions;
1388
            }
1389

    
1390
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1391
            const localVarHeaderParameter = {} as any;
1392
            const localVarQueryParameter = {} as any;
1393

    
1394
            if (pageIndex !== undefined) {
1395
                localVarQueryParameter['pageIndex'] = pageIndex;
1396
            }
1397

    
1398
            if (pageSize !== undefined) {
1399
                localVarQueryParameter['pageSize'] = pageSize;
1400
            }
1401

    
1402

    
1403
    
1404
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1405
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1406
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1407

    
1408
            return {
1409
                url: toPathString(localVarUrlObj),
1410
                options: localVarRequestOptions,
1411
            };
1412
        },
1413
        /**
1414
         * 
1415
         * @param {DocumentAddRequest} [documentAddRequest] 
1416
         * @param {*} [options] Override http request option.
1417
         * @throws {RequiredError}
1418
         */
1419
        documentsPost: async (documentAddRequest?: DocumentAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1420
            const localVarPath = `/documents`;
1421
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1422
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1423
            let baseOptions;
1424
            if (configuration) {
1425
                baseOptions = configuration.baseOptions;
1426
            }
1427

    
1428
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1429
            const localVarHeaderParameter = {} as any;
1430
            const localVarQueryParameter = {} as any;
1431

    
1432

    
1433
    
1434
            localVarHeaderParameter['Content-Type'] = 'application/json';
1435

    
1436
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1437
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1438
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1439
            localVarRequestOptions.data = serializeDataIfNeeded(documentAddRequest, localVarRequestOptions, configuration)
1440

    
1441
            return {
1442
                url: toPathString(localVarUrlObj),
1443
                options: localVarRequestOptions,
1444
            };
1445
        },
1446
    }
1447
};
1448

    
1449
/**
1450
 * DocumentApi - functional programming interface
1451
 * @export
1452
 */
1453
export const DocumentApiFp = function(configuration?: Configuration) {
1454
    const localVarAxiosParamCreator = DocumentApiAxiosParamCreator(configuration)
1455
    return {
1456
        /**
1457
         * 
1458
         * @param {string} documentId 
1459
         * @param {*} [options] Override http request option.
1460
         * @throws {RequiredError}
1461
         */
1462
        async documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentPreviewResponse>> {
1463
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentDocumentIdGet(documentId, options);
1464
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1465
        },
1466
        /**
1467
         * 
1468
         * @param {number} [pageIndex] 
1469
         * @param {number} [pageSize] 
1470
         * @param {*} [options] Override http request option.
1471
         * @throws {RequiredError}
1472
         */
1473
        async documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentListResponse>> {
1474
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsGet(pageIndex, pageSize, options);
1475
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1476
        },
1477
        /**
1478
         * 
1479
         * @param {DocumentAddRequest} [documentAddRequest] 
1480
         * @param {*} [options] Override http request option.
1481
         * @throws {RequiredError}
1482
         */
1483
        async documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1484
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsPost(documentAddRequest, options);
1485
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1486
        },
1487
    }
1488
};
1489

    
1490
/**
1491
 * DocumentApi - factory interface
1492
 * @export
1493
 */
1494
export const DocumentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1495
    const localVarFp = DocumentApiFp(configuration)
1496
    return {
1497
        /**
1498
         * 
1499
         * @param {string} documentId 
1500
         * @param {*} [options] Override http request option.
1501
         * @throws {RequiredError}
1502
         */
1503
        documentDocumentIdGet(documentId: string, options?: any): AxiosPromise<DocumentPreviewResponse> {
1504
            return localVarFp.documentDocumentIdGet(documentId, options).then((request) => request(axios, basePath));
1505
        },
1506
        /**
1507
         * 
1508
         * @param {number} [pageIndex] 
1509
         * @param {number} [pageSize] 
1510
         * @param {*} [options] Override http request option.
1511
         * @throws {RequiredError}
1512
         */
1513
        documentsGet(pageIndex?: number, pageSize?: number, options?: any): AxiosPromise<DocumentListResponse> {
1514
            return localVarFp.documentsGet(pageIndex, pageSize, options).then((request) => request(axios, basePath));
1515
        },
1516
        /**
1517
         * 
1518
         * @param {DocumentAddRequest} [documentAddRequest] 
1519
         * @param {*} [options] Override http request option.
1520
         * @throws {RequiredError}
1521
         */
1522
        documentsPost(documentAddRequest?: DocumentAddRequest, options?: any): AxiosPromise<void> {
1523
            return localVarFp.documentsPost(documentAddRequest, options).then((request) => request(axios, basePath));
1524
        },
1525
    };
1526
};
1527

    
1528
/**
1529
 * DocumentApi - object-oriented interface
1530
 * @export
1531
 * @class DocumentApi
1532
 * @extends {BaseAPI}
1533
 */
1534
export class DocumentApi extends BaseAPI {
1535
    /**
1536
     * 
1537
     * @param {string} documentId 
1538
     * @param {*} [options] Override http request option.
1539
     * @throws {RequiredError}
1540
     * @memberof DocumentApi
1541
     */
1542
    public documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig) {
1543
        return DocumentApiFp(this.configuration).documentDocumentIdGet(documentId, options).then((request) => request(this.axios, this.basePath));
1544
    }
1545

    
1546
    /**
1547
     * 
1548
     * @param {number} [pageIndex] 
1549
     * @param {number} [pageSize] 
1550
     * @param {*} [options] Override http request option.
1551
     * @throws {RequiredError}
1552
     * @memberof DocumentApi
1553
     */
1554
    public documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig) {
1555
        return DocumentApiFp(this.configuration).documentsGet(pageIndex, pageSize, options).then((request) => request(this.axios, this.basePath));
1556
    }
1557

    
1558
    /**
1559
     * 
1560
     * @param {DocumentAddRequest} [documentAddRequest] 
1561
     * @param {*} [options] Override http request option.
1562
     * @throws {RequiredError}
1563
     * @memberof DocumentApi
1564
     */
1565
    public documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig) {
1566
        return DocumentApiFp(this.configuration).documentsPost(documentAddRequest, options).then((request) => request(this.axios, this.basePath));
1567
    }
1568
}
1569

    
1570

    
1571
/**
1572
 * TagApi - axios parameter creator
1573
 * @export
1574
 */
1575
export const TagApiAxiosParamCreator = function (configuration?: Configuration) {
1576
    return {
1577
        /**
1578
         * 
1579
         * @param {*} [options] Override http request option.
1580
         * @throws {RequiredError}
1581
         */
1582
        tagsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1583
            const localVarPath = `/tags`;
1584
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1585
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1586
            let baseOptions;
1587
            if (configuration) {
1588
                baseOptions = configuration.baseOptions;
1589
            }
1590

    
1591
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1592
            const localVarHeaderParameter = {} as any;
1593
            const localVarQueryParameter = {} as any;
1594

    
1595

    
1596
    
1597
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1598
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1599
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1600

    
1601
            return {
1602
                url: toPathString(localVarUrlObj),
1603
                options: localVarRequestOptions,
1604
            };
1605
        },
1606
    }
1607
};
1608

    
1609
/**
1610
 * TagApi - functional programming interface
1611
 * @export
1612
 */
1613
export const TagApiFp = function(configuration?: Configuration) {
1614
    const localVarAxiosParamCreator = TagApiAxiosParamCreator(configuration)
1615
    return {
1616
        /**
1617
         * 
1618
         * @param {*} [options] Override http request option.
1619
         * @throws {RequiredError}
1620
         */
1621
        async tagsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagTreeResponse>> {
1622
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(options);
1623
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1624
        },
1625
    }
1626
};
1627

    
1628
/**
1629
 * TagApi - factory interface
1630
 * @export
1631
 */
1632
export const TagApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1633
    const localVarFp = TagApiFp(configuration)
1634
    return {
1635
        /**
1636
         * 
1637
         * @param {*} [options] Override http request option.
1638
         * @throws {RequiredError}
1639
         */
1640
        tagsGet(options?: any): AxiosPromise<TagTreeResponse> {
1641
            return localVarFp.tagsGet(options).then((request) => request(axios, basePath));
1642
        },
1643
    };
1644
};
1645

    
1646
/**
1647
 * TagApi - object-oriented interface
1648
 * @export
1649
 * @class TagApi
1650
 * @extends {BaseAPI}
1651
 */
1652
export class TagApi extends BaseAPI {
1653
    /**
1654
     * 
1655
     * @param {*} [options] Override http request option.
1656
     * @throws {RequiredError}
1657
     * @memberof TagApi
1658
     */
1659
    public tagsGet(options?: AxiosRequestConfig) {
1660
        return TagApiFp(this.configuration).tagsGet(options).then((request) => request(this.axios, this.basePath));
1661
    }
1662
}
1663

    
1664

    
1665
/**
1666
 * UserApi - axios parameter creator
1667
 * @export
1668
 */
1669
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
1670
    return {
1671
        /**
1672
         * 
1673
         * @param {*} [options] Override http request option.
1674
         * @throws {RequiredError}
1675
         */
1676
        userAnnotationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1677
            const localVarPath = `/user/annotations`;
1678
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1679
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1680
            let baseOptions;
1681
            if (configuration) {
1682
                baseOptions = configuration.baseOptions;
1683
            }
1684

    
1685
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1686
            const localVarHeaderParameter = {} as any;
1687
            const localVarQueryParameter = {} as any;
1688

    
1689

    
1690
    
1691
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1692
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1693
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1694

    
1695
            return {
1696
                url: toPathString(localVarUrlObj),
1697
                options: localVarRequestOptions,
1698
            };
1699
        },
1700
        /**
1701
         * 
1702
         * @param {string} userId 
1703
         * @param {*} [options] Override http request option.
1704
         * @throws {RequiredError}
1705
         */
1706
        userUserIdAnnotationsGet: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1707
            // verify required parameter 'userId' is not null or undefined
1708
            assertParamExists('userUserIdAnnotationsGet', 'userId', userId)
1709
            const localVarPath = `/user/{userId}/annotations`
1710
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
1711
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1712
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1713
            let baseOptions;
1714
            if (configuration) {
1715
                baseOptions = configuration.baseOptions;
1716
            }
1717

    
1718
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1719
            const localVarHeaderParameter = {} as any;
1720
            const localVarQueryParameter = {} as any;
1721

    
1722

    
1723
    
1724
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1725
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1726
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1727

    
1728
            return {
1729
                url: toPathString(localVarUrlObj),
1730
                options: localVarRequestOptions,
1731
            };
1732
        },
1733
        /**
1734
         * 
1735
         * @param {string} userId 
1736
         * @param {*} [options] Override http request option.
1737
         * @throws {RequiredError}
1738
         */
1739
        userUserIdDelete: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1740
            // verify required parameter 'userId' is not null or undefined
1741
            assertParamExists('userUserIdDelete', 'userId', userId)
1742
            const localVarPath = `/user/{userId}`
1743
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
1744
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1745
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1746
            let baseOptions;
1747
            if (configuration) {
1748
                baseOptions = configuration.baseOptions;
1749
            }
1750

    
1751
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
1752
            const localVarHeaderParameter = {} as any;
1753
            const localVarQueryParameter = {} as any;
1754

    
1755

    
1756
    
1757
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1758
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1759
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1760

    
1761
            return {
1762
                url: toPathString(localVarUrlObj),
1763
                options: localVarRequestOptions,
1764
            };
1765
        },
1766
        /**
1767
         * 
1768
         * @param {string} userId 
1769
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
1770
         * @param {*} [options] Override http request option.
1771
         * @throws {RequiredError}
1772
         */
1773
        userUserIdPut: async (userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1774
            // verify required parameter 'userId' is not null or undefined
1775
            assertParamExists('userUserIdPut', 'userId', userId)
1776
            const localVarPath = `/user/{userId}`
1777
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
1778
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1779
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1780
            let baseOptions;
1781
            if (configuration) {
1782
                baseOptions = configuration.baseOptions;
1783
            }
1784

    
1785
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1786
            const localVarHeaderParameter = {} as any;
1787
            const localVarQueryParameter = {} as any;
1788

    
1789

    
1790
    
1791
            localVarHeaderParameter['Content-Type'] = 'application/json';
1792

    
1793
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1794
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1795
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1796
            localVarRequestOptions.data = serializeDataIfNeeded(changeUserInfoRequest, localVarRequestOptions, configuration)
1797

    
1798
            return {
1799
                url: toPathString(localVarUrlObj),
1800
                options: localVarRequestOptions,
1801
            };
1802
        },
1803
        /**
1804
         * 
1805
         * @param {*} [options] Override http request option.
1806
         * @throws {RequiredError}
1807
         */
1808
        usersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1809
            const localVarPath = `/users`;
1810
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1811
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1812
            let baseOptions;
1813
            if (configuration) {
1814
                baseOptions = configuration.baseOptions;
1815
            }
1816

    
1817
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1818
            const localVarHeaderParameter = {} as any;
1819
            const localVarQueryParameter = {} as any;
1820

    
1821

    
1822
    
1823
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1824
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1825
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1826

    
1827
            return {
1828
                url: toPathString(localVarUrlObj),
1829
                options: localVarRequestOptions,
1830
            };
1831
        },
1832
        /**
1833
         * 
1834
         * @param {CreateUserRequest} [createUserRequest] 
1835
         * @param {*} [options] Override http request option.
1836
         * @throws {RequiredError}
1837
         */
1838
        usersPost: async (createUserRequest?: CreateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1839
            const localVarPath = `/users`;
1840
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1841
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1842
            let baseOptions;
1843
            if (configuration) {
1844
                baseOptions = configuration.baseOptions;
1845
            }
1846

    
1847
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1848
            const localVarHeaderParameter = {} as any;
1849
            const localVarQueryParameter = {} as any;
1850

    
1851

    
1852
    
1853
            localVarHeaderParameter['Content-Type'] = 'application/json';
1854

    
1855
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1856
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1857
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1858
            localVarRequestOptions.data = serializeDataIfNeeded(createUserRequest, localVarRequestOptions, configuration)
1859

    
1860
            return {
1861
                url: toPathString(localVarUrlObj),
1862
                options: localVarRequestOptions,
1863
            };
1864
        },
1865
    }
1866
};
1867

    
1868
/**
1869
 * UserApi - functional programming interface
1870
 * @export
1871
 */
1872
export const UserApiFp = function(configuration?: Configuration) {
1873
    const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
1874
    return {
1875
        /**
1876
         * 
1877
         * @param {*} [options] Override http request option.
1878
         * @throws {RequiredError}
1879
         */
1880
        async userAnnotationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
1881
            const localVarAxiosArgs = await localVarAxiosParamCreator.userAnnotationsGet(options);
1882
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1883
        },
1884
        /**
1885
         * 
1886
         * @param {string} userId 
1887
         * @param {*} [options] Override http request option.
1888
         * @throws {RequiredError}
1889
         */
1890
        async userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
1891
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdAnnotationsGet(userId, options);
1892
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1893
        },
1894
        /**
1895
         * 
1896
         * @param {string} userId 
1897
         * @param {*} [options] Override http request option.
1898
         * @throws {RequiredError}
1899
         */
1900
        async userUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1901
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdDelete(userId, options);
1902
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1903
        },
1904
        /**
1905
         * 
1906
         * @param {string} userId 
1907
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
1908
         * @param {*} [options] Override http request option.
1909
         * @throws {RequiredError}
1910
         */
1911
        async userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1912
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdPut(userId, changeUserInfoRequest, options);
1913
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1914
        },
1915
        /**
1916
         * 
1917
         * @param {*} [options] Override http request option.
1918
         * @throws {RequiredError}
1919
         */
1920
        async usersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>> {
1921
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersGet(options);
1922
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1923
        },
1924
        /**
1925
         * 
1926
         * @param {CreateUserRequest} [createUserRequest] 
1927
         * @param {*} [options] Override http request option.
1928
         * @throws {RequiredError}
1929
         */
1930
        async usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1931
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersPost(createUserRequest, options);
1932
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1933
        },
1934
    }
1935
};
1936

    
1937
/**
1938
 * UserApi - factory interface
1939
 * @export
1940
 */
1941
export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1942
    const localVarFp = UserApiFp(configuration)
1943
    return {
1944
        /**
1945
         * 
1946
         * @param {*} [options] Override http request option.
1947
         * @throws {RequiredError}
1948
         */
1949
        userAnnotationsGet(options?: any): AxiosPromise<AnnotationListResponse> {
1950
            return localVarFp.userAnnotationsGet(options).then((request) => request(axios, basePath));
1951
        },
1952
        /**
1953
         * 
1954
         * @param {string} userId 
1955
         * @param {*} [options] Override http request option.
1956
         * @throws {RequiredError}
1957
         */
1958
        userUserIdAnnotationsGet(userId: string, options?: any): AxiosPromise<AnnotationListResponse> {
1959
            return localVarFp.userUserIdAnnotationsGet(userId, options).then((request) => request(axios, basePath));
1960
        },
1961
        /**
1962
         * 
1963
         * @param {string} userId 
1964
         * @param {*} [options] Override http request option.
1965
         * @throws {RequiredError}
1966
         */
1967
        userUserIdDelete(userId: string, options?: any): AxiosPromise<void> {
1968
            return localVarFp.userUserIdDelete(userId, options).then((request) => request(axios, basePath));
1969
        },
1970
        /**
1971
         * 
1972
         * @param {string} userId 
1973
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
1974
         * @param {*} [options] Override http request option.
1975
         * @throws {RequiredError}
1976
         */
1977
        userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: any): AxiosPromise<void> {
1978
            return localVarFp.userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(axios, basePath));
1979
        },
1980
        /**
1981
         * 
1982
         * @param {*} [options] Override http request option.
1983
         * @throws {RequiredError}
1984
         */
1985
        usersGet(options?: any): AxiosPromise<UserList> {
1986
            return localVarFp.usersGet(options).then((request) => request(axios, basePath));
1987
        },
1988
        /**
1989
         * 
1990
         * @param {CreateUserRequest} [createUserRequest] 
1991
         * @param {*} [options] Override http request option.
1992
         * @throws {RequiredError}
1993
         */
1994
        usersPost(createUserRequest?: CreateUserRequest, options?: any): AxiosPromise<void> {
1995
            return localVarFp.usersPost(createUserRequest, options).then((request) => request(axios, basePath));
1996
        },
1997
    };
1998
};
1999

    
2000
/**
2001
 * UserApi - object-oriented interface
2002
 * @export
2003
 * @class UserApi
2004
 * @extends {BaseAPI}
2005
 */
2006
export class UserApi extends BaseAPI {
2007
    /**
2008
     * 
2009
     * @param {*} [options] Override http request option.
2010
     * @throws {RequiredError}
2011
     * @memberof UserApi
2012
     */
2013
    public userAnnotationsGet(options?: AxiosRequestConfig) {
2014
        return UserApiFp(this.configuration).userAnnotationsGet(options).then((request) => request(this.axios, this.basePath));
2015
    }
2016

    
2017
    /**
2018
     * 
2019
     * @param {string} userId 
2020
     * @param {*} [options] Override http request option.
2021
     * @throws {RequiredError}
2022
     * @memberof UserApi
2023
     */
2024
    public userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig) {
2025
        return UserApiFp(this.configuration).userUserIdAnnotationsGet(userId, options).then((request) => request(this.axios, this.basePath));
2026
    }
2027

    
2028
    /**
2029
     * 
2030
     * @param {string} userId 
2031
     * @param {*} [options] Override http request option.
2032
     * @throws {RequiredError}
2033
     * @memberof UserApi
2034
     */
2035
    public userUserIdDelete(userId: string, options?: AxiosRequestConfig) {
2036
        return UserApiFp(this.configuration).userUserIdDelete(userId, options).then((request) => request(this.axios, this.basePath));
2037
    }
2038

    
2039
    /**
2040
     * 
2041
     * @param {string} userId 
2042
     * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
2043
     * @param {*} [options] Override http request option.
2044
     * @throws {RequiredError}
2045
     * @memberof UserApi
2046
     */
2047
    public userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig) {
2048
        return UserApiFp(this.configuration).userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(this.axios, this.basePath));
2049
    }
2050

    
2051
    /**
2052
     * 
2053
     * @param {*} [options] Override http request option.
2054
     * @throws {RequiredError}
2055
     * @memberof UserApi
2056
     */
2057
    public usersGet(options?: AxiosRequestConfig) {
2058
        return UserApiFp(this.configuration).usersGet(options).then((request) => request(this.axios, this.basePath));
2059
    }
2060

    
2061
    /**
2062
     * 
2063
     * @param {CreateUserRequest} [createUserRequest] 
2064
     * @param {*} [options] Override http request option.
2065
     * @throws {RequiredError}
2066
     * @memberof UserApi
2067
     */
2068
    public usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig) {
2069
        return UserApiFp(this.configuration).usersPost(createUserRequest, options).then((request) => request(this.axios, this.basePath));
2070
    }
2071
}
2072

    
2073

    
(4-4/9)