Projekt

Obecné

Profil

Stáhnout (133 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 AddNoteToAnnotationRequest
28
 */
29
export interface AddNoteToAnnotationRequest {
30
    /**
31
     * 
32
     * @type {string}
33
     * @memberof AddNoteToAnnotationRequest
34
     */
35
    'note'?: string | null;
36
}
37
/**
38
 * 
39
 * @export
40
 * @interface AddNoteToTagOccurenceRequest
41
 */
42
export interface AddNoteToTagOccurenceRequest {
43
    /**
44
     * 
45
     * @type {string}
46
     * @memberof AddNoteToTagOccurenceRequest
47
     */
48
    'note'?: string | null;
49
}
50
/**
51
 * 
52
 * @export
53
 * @interface AnnotationInfo
54
 */
55
export interface AnnotationInfo {
56
    /**
57
     * 
58
     * @type {string}
59
     * @memberof AnnotationInfo
60
     */
61
    'sourceDocumentContent'?: string | null;
62
    /**
63
     * 
64
     * @type {string}
65
     * @memberof AnnotationInfo
66
     */
67
    'documentToRender'?: string | null;
68
    /**
69
     * 
70
     * @type {Array<number>}
71
     * @memberof AnnotationInfo
72
     */
73
    'tagStartPositions'?: Array<number> | null;
74
    /**
75
     * 
76
     * @type {Array<number>}
77
     * @memberof AnnotationInfo
78
     */
79
    'tagLengths'?: Array<number> | null;
80
    /**
81
     * 
82
     * @type {EState}
83
     * @memberof AnnotationInfo
84
     */
85
    'state'?: EState;
86
    /**
87
     * 
88
     * @type {EDocumentType}
89
     * @memberof AnnotationInfo
90
     */
91
    'type'?: EDocumentType;
92
    /**
93
     * 
94
     * @type {string}
95
     * @memberof AnnotationInfo
96
     */
97
    'note'?: string | null;
98
    /**
99
     * 
100
     * @type {Array<TagInstanceInfo>}
101
     * @memberof AnnotationInfo
102
     */
103
    'tagInstances'?: Array<TagInstanceInfo> | null;
104
    /**
105
     * 
106
     * @type {Array<TagInstanceCSSInfo>}
107
     * @memberof AnnotationInfo
108
     */
109
    'cssInfo'?: Array<TagInstanceCSSInfo> | null;
110
}
111
/**
112
 * 
113
 * @export
114
 * @interface AnnotationInstanceAddRequest
115
 */
116
export interface AnnotationInstanceAddRequest {
117
    /**
118
     * 
119
     * @type {number}
120
     * @memberof AnnotationInstanceAddRequest
121
     */
122
    'position'?: number;
123
    /**
124
     * 
125
     * @type {number}
126
     * @memberof AnnotationInstanceAddRequest
127
     */
128
    'length'?: number;
129
    /**
130
     * 
131
     * @type {ETagType}
132
     * @memberof AnnotationInstanceAddRequest
133
     */
134
    'type'?: ETagType;
135
    /**
136
     * 
137
     * @type {string}
138
     * @memberof AnnotationInstanceAddRequest
139
     */
140
    'id'?: string;
141
    /**
142
     * 
143
     * @type {string}
144
     * @memberof AnnotationInstanceAddRequest
145
     */
146
    'instanceId'?: string | null;
147
    /**
148
     * 
149
     * @type {string}
150
     * @memberof AnnotationInstanceAddRequest
151
     */
152
    'selectedText'?: string | null;
153
}
154
/**
155
 * 
156
 * @export
157
 * @interface AnnotationListInfo
158
 */
159
export interface AnnotationListInfo {
160
    /**
161
     * 
162
     * @type {string}
163
     * @memberof AnnotationListInfo
164
     */
165
    'documentName'?: string | null;
166
    /**
167
     * 
168
     * @type {EState}
169
     * @memberof AnnotationListInfo
170
     */
171
    'state'?: EState;
172
    /**
173
     * 
174
     * @type {string}
175
     * @memberof AnnotationListInfo
176
     */
177
    'annotationId'?: string;
178
}
179
/**
180
 * 
181
 * @export
182
 * @interface AnnotationListResponse
183
 */
184
export interface AnnotationListResponse {
185
    /**
186
     * 
187
     * @type {Array<AnnotationListInfo>}
188
     * @memberof AnnotationListResponse
189
     */
190
    'annotations'?: Array<AnnotationListInfo> | null;
191
}
192
/**
193
 * 
194
 * @export
195
 * @interface AnnotationsAddRequest
196
 */
197
export interface AnnotationsAddRequest {
198
    /**
199
     * 
200
     * @type {Array<string>}
201
     * @memberof AnnotationsAddRequest
202
     */
203
    'userIdList'?: Array<string> | null;
204
    /**
205
     * 
206
     * @type {Array<string>}
207
     * @memberof AnnotationsAddRequest
208
     */
209
    'documentIdList'?: Array<string> | null;
210
}
211
/**
212
 * 
213
 * @export
214
 * @interface ChangeUserInfoRequest
215
 */
216
export interface ChangeUserInfoRequest {
217
    /**
218
     * 
219
     * @type {string}
220
     * @memberof ChangeUserInfoRequest
221
     */
222
    'password'?: string | null;
223
    /**
224
     * 
225
     * @type {string}
226
     * @memberof ChangeUserInfoRequest
227
     */
228
    'username'?: string | null;
229
    /**
230
     * 
231
     * @type {string}
232
     * @memberof ChangeUserInfoRequest
233
     */
234
    'name'?: string | null;
235
    /**
236
     * 
237
     * @type {string}
238
     * @memberof ChangeUserInfoRequest
239
     */
240
    'surname'?: string | null;
241
    /**
242
     * 
243
     * @type {ERole}
244
     * @memberof ChangeUserInfoRequest
245
     */
246
    'role'?: ERole;
247
}
248
/**
249
 * 
250
 * @export
251
 * @interface ClientInfo
252
 */
253
export interface ClientInfo {
254
    /**
255
     * 
256
     * @type {boolean}
257
     * @memberof ClientInfo
258
     */
259
    'isLogged'?: boolean;
260
    /**
261
     * 
262
     * @type {User}
263
     * @memberof ClientInfo
264
     */
265
    'loggedUser'?: User;
266
    /**
267
     * 
268
     * @type {string}
269
     * @memberof ClientInfo
270
     */
271
    'ip'?: string | null;
272
}
273
/**
274
 * 
275
 * @export
276
 * @interface CreateCategoryRequest
277
 */
278
export interface CreateCategoryRequest {
279
    /**
280
     * 
281
     * @type {string}
282
     * @memberof CreateCategoryRequest
283
     */
284
    'name'?: string | null;
285
    /**
286
     * 
287
     * @type {string}
288
     * @memberof CreateCategoryRequest
289
     */
290
    'description'?: string | null;
291
    /**
292
     * 
293
     * @type {string}
294
     * @memberof CreateCategoryRequest
295
     */
296
    'color'?: string | null;
297
    /**
298
     * 
299
     * @type {boolean}
300
     * @memberof CreateCategoryRequest
301
     */
302
    'disabledForAnnotators'?: boolean;
303
}
304
/**
305
 * 
306
 * @export
307
 * @interface CreateFinalAnnotationResponse
308
 */
309
export interface CreateFinalAnnotationResponse {
310
    /**
311
     * 
312
     * @type {string}
313
     * @memberof CreateFinalAnnotationResponse
314
     */
315
    'finalAnnotationId'?: string;
316
}
317
/**
318
 * 
319
 * @export
320
 * @interface CreateSubTagRequest
321
 */
322
export interface CreateSubTagRequest {
323
    /**
324
     * 
325
     * @type {string}
326
     * @memberof CreateSubTagRequest
327
     */
328
    'name'?: string | null;
329
    /**
330
     * 
331
     * @type {string}
332
     * @memberof CreateSubTagRequest
333
     */
334
    'description'?: string | null;
335
    /**
336
     * 
337
     * @type {string}
338
     * @memberof CreateSubTagRequest
339
     */
340
    'tagId'?: string;
341
    /**
342
     * 
343
     * @type {boolean}
344
     * @memberof CreateSubTagRequest
345
     */
346
    'sentimentEnabled'?: boolean;
347
}
348
/**
349
 * 
350
 * @export
351
 * @interface CreateTagRequest
352
 */
353
export interface CreateTagRequest {
354
    /**
355
     * 
356
     * @type {string}
357
     * @memberof CreateTagRequest
358
     */
359
    'categoryId'?: string;
360
    /**
361
     * 
362
     * @type {string}
363
     * @memberof CreateTagRequest
364
     */
365
    'name'?: string | null;
366
    /**
367
     * 
368
     * @type {string}
369
     * @memberof CreateTagRequest
370
     */
371
    'description'?: string | null;
372
    /**
373
     * 
374
     * @type {string}
375
     * @memberof CreateTagRequest
376
     */
377
    'color'?: string | null;
378
    /**
379
     * 
380
     * @type {boolean}
381
     * @memberof CreateTagRequest
382
     */
383
    'sentimentEnabled'?: boolean;
384
}
385
/**
386
 * 
387
 * @export
388
 * @interface CreateUserRequest
389
 */
390
export interface CreateUserRequest {
391
    /**
392
     * 
393
     * @type {string}
394
     * @memberof CreateUserRequest
395
     */
396
    'username'?: string | null;
397
    /**
398
     * 
399
     * @type {string}
400
     * @memberof CreateUserRequest
401
     */
402
    'password'?: string | null;
403
    /**
404
     * 
405
     * @type {string}
406
     * @memberof CreateUserRequest
407
     */
408
    'name'?: string | null;
409
    /**
410
     * 
411
     * @type {string}
412
     * @memberof CreateUserRequest
413
     */
414
    'surname'?: string | null;
415
    /**
416
     * 
417
     * @type {ERole}
418
     * @memberof CreateUserRequest
419
     */
420
    'role'?: ERole;
421
}
422
/**
423
 * 
424
 * @export
425
 * @interface DocumentAddInfo
426
 */
427
export interface DocumentAddInfo {
428
    /**
429
     * 
430
     * @type {string}
431
     * @memberof DocumentAddInfo
432
     */
433
    'name'?: string | null;
434
    /**
435
     * 
436
     * @type {EAddDocumentFormat}
437
     * @memberof DocumentAddInfo
438
     */
439
    'format'?: EAddDocumentFormat;
440
    /**
441
     * 
442
     * @type {string}
443
     * @memberof DocumentAddInfo
444
     */
445
    'content'?: string | null;
446
}
447
/**
448
 * 
449
 * @export
450
 * @interface DocumentAddRequest
451
 */
452
export interface DocumentAddRequest {
453
    /**
454
     * 
455
     * @type {Array<DocumentAddInfo>}
456
     * @memberof DocumentAddRequest
457
     */
458
    'documents'?: Array<DocumentAddInfo> | null;
459
}
460
/**
461
 * 
462
 * @export
463
 * @interface DocumentAnnotationInfo
464
 */
465
export interface DocumentAnnotationInfo {
466
    /**
467
     * 
468
     * @type {string}
469
     * @memberof DocumentAnnotationInfo
470
     */
471
    'annotationId'?: string;
472
    /**
473
     * 
474
     * @type {string}
475
     * @memberof DocumentAnnotationInfo
476
     */
477
    'userId'?: string;
478
    /**
479
     * 
480
     * @type {string}
481
     * @memberof DocumentAnnotationInfo
482
     */
483
    'userFirstName'?: string | null;
484
    /**
485
     * 
486
     * @type {string}
487
     * @memberof DocumentAnnotationInfo
488
     */
489
    'userSurname'?: string | null;
490
    /**
491
     * 
492
     * @type {string}
493
     * @memberof DocumentAnnotationInfo
494
     */
495
    'username'?: string | null;
496
}
497
/**
498
 * 
499
 * @export
500
 * @interface DocumentListInfo
501
 */
502
export interface DocumentListInfo {
503
    /**
504
     * 
505
     * @type {string}
506
     * @memberof DocumentListInfo
507
     */
508
    'id'?: string;
509
    /**
510
     * 
511
     * @type {string}
512
     * @memberof DocumentListInfo
513
     */
514
    'name'?: string | null;
515
    /**
516
     * 
517
     * @type {number}
518
     * @memberof DocumentListInfo
519
     */
520
    'length'?: number;
521
    /**
522
     * 
523
     * @type {number}
524
     * @memberof DocumentListInfo
525
     */
526
    'requiredAnnotations'?: number;
527
    /**
528
     * 
529
     * @type {Array<DocumentUserInfo>}
530
     * @memberof DocumentListInfo
531
     */
532
    'annotatingUsers'?: Array<DocumentUserInfo> | null;
533
    /**
534
     * 
535
     * @type {boolean}
536
     * @memberof DocumentListInfo
537
     */
538
    'finalizedExists'?: boolean;
539
    /**
540
     * 
541
     * @type {string}
542
     * @memberof DocumentListInfo
543
     */
544
    'finalizedAnnotationId'?: string | null;
545
    /**
546
     * 
547
     * @type {EState}
548
     * @memberof DocumentListInfo
549
     */
550
    'finalizedState'?: EState;
551
    /**
552
     * 
553
     * @type {Array<DocumentAnnotationInfo>}
554
     * @memberof DocumentListInfo
555
     */
556
    'finalAnnotations'?: Array<DocumentAnnotationInfo> | null;
557
}
558
/**
559
 * 
560
 * @export
561
 * @interface DocumentListResponse
562
 */
563
export interface DocumentListResponse {
564
    /**
565
     * 
566
     * @type {number}
567
     * @memberof DocumentListResponse
568
     */
569
    'totalCount'?: number;
570
    /**
571
     * 
572
     * @type {number}
573
     * @memberof DocumentListResponse
574
     */
575
    'pageCount'?: number;
576
    /**
577
     * 
578
     * @type {number}
579
     * @memberof DocumentListResponse
580
     */
581
    'pageIndex'?: number;
582
    /**
583
     * 
584
     * @type {Array<DocumentListInfo>}
585
     * @memberof DocumentListResponse
586
     */
587
    'documents'?: Array<DocumentListInfo> | null;
588
}
589
/**
590
 * 
591
 * @export
592
 * @interface DocumentPreviewResponse
593
 */
594
export interface DocumentPreviewResponse {
595
    /**
596
     * 
597
     * @type {string}
598
     * @memberof DocumentPreviewResponse
599
     */
600
    'content'?: string | null;
601
}
602
/**
603
 * 
604
 * @export
605
 * @interface DocumentUserInfo
606
 */
607
export interface DocumentUserInfo {
608
    /**
609
     * 
610
     * @type {string}
611
     * @memberof DocumentUserInfo
612
     */
613
    'id'?: string;
614
    /**
615
     * 
616
     * @type {string}
617
     * @memberof DocumentUserInfo
618
     */
619
    'username'?: string | null;
620
    /**
621
     * 
622
     * @type {string}
623
     * @memberof DocumentUserInfo
624
     */
625
    'name'?: string | null;
626
    /**
627
     * 
628
     * @type {string}
629
     * @memberof DocumentUserInfo
630
     */
631
    'surname'?: string | null;
632
    /**
633
     * 
634
     * @type {EState}
635
     * @memberof DocumentUserInfo
636
     */
637
    'state'?: EState;
638
}
639
/**
640
 * 
641
 * @export
642
 * @enum {string}
643
 */
644

    
645
export const EAddDocumentFormat = {
646
    Zip: 'ZIP',
647
    Textfile: 'TEXTFILE'
648
} as const;
649

    
650
export type EAddDocumentFormat = typeof EAddDocumentFormat[keyof typeof EAddDocumentFormat];
651

    
652

    
653
/**
654
 * 
655
 * @export
656
 * @enum {string}
657
 */
658

    
659
export const EDocumentType = {
660
    Html: 'HTML',
661
    Text: 'TEXT'
662
} as const;
663

    
664
export type EDocumentType = typeof EDocumentType[keyof typeof EDocumentType];
665

    
666

    
667
/**
668
 * 
669
 * @export
670
 * @enum {string}
671
 */
672

    
673
export const ERole = {
674
    Annotator: 'ANNOTATOR',
675
    Administrator: 'ADMINISTRATOR'
676
} as const;
677

    
678
export type ERole = typeof ERole[keyof typeof ERole];
679

    
680

    
681
/**
682
 * 
683
 * @export
684
 * @enum {string}
685
 */
686

    
687
export const EState = {
688
    Done: 'DONE',
689
    InProgress: 'IN_PROGRESS',
690
    New: 'NEW'
691
} as const;
692

    
693
export type EState = typeof EState[keyof typeof EState];
694

    
695

    
696
/**
697
 * 
698
 * @export
699
 * @enum {string}
700
 */
701

    
702
export const ETagSentiment = {
703
    Neutral: 'NEUTRAL',
704
    Positive: 'POSITIVE',
705
    Negative: 'NEGATIVE'
706
} as const;
707

    
708
export type ETagSentiment = typeof ETagSentiment[keyof typeof ETagSentiment];
709

    
710

    
711
/**
712
 * 
713
 * @export
714
 * @enum {string}
715
 */
716

    
717
export const ETagType = {
718
    Tag: 'TAG',
719
    Subtag: 'SUBTAG'
720
} as const;
721

    
722
export type ETagType = typeof ETagType[keyof typeof ETagType];
723

    
724

    
725
/**
726
 * 
727
 * @export
728
 * @interface GetRequiredAnnotationsGlobalResponse
729
 */
730
export interface GetRequiredAnnotationsGlobalResponse {
731
    /**
732
     * 
733
     * @type {number}
734
     * @memberof GetRequiredAnnotationsGlobalResponse
735
     */
736
    'requiredAnnotationsGlobal'?: number;
737
}
738
/**
739
 * 
740
 * @export
741
 * @interface LoginRequest
742
 */
743
export interface LoginRequest {
744
    /**
745
     * 
746
     * @type {string}
747
     * @memberof LoginRequest
748
     */
749
    'username'?: string | null;
750
    /**
751
     * 
752
     * @type {string}
753
     * @memberof LoginRequest
754
     */
755
    'password'?: string | null;
756
}
757
/**
758
 * 
759
 * @export
760
 * @interface LoginResponse
761
 */
762
export interface LoginResponse {
763
    /**
764
     * 
765
     * @type {boolean}
766
     * @memberof LoginResponse
767
     */
768
    'ok'?: boolean;
769
    /**
770
     * 
771
     * @type {string}
772
     * @memberof LoginResponse
773
     */
774
    'token'?: string | null;
775
    /**
776
     * 
777
     * @type {string}
778
     * @memberof LoginResponse
779
     */
780
    'expiration'?: string;
781
    /**
782
     * 
783
     * @type {ERole}
784
     * @memberof LoginResponse
785
     */
786
    'role'?: ERole;
787
}
788
/**
789
 * 
790
 * @export
791
 * @interface MarkAnnotationDoneRequest
792
 */
793
export interface MarkAnnotationDoneRequest {
794
    /**
795
     * 
796
     * @type {boolean}
797
     * @memberof MarkAnnotationDoneRequest
798
     */
799
    'done'?: boolean;
800
}
801
/**
802
 * 
803
 * @export
804
 * @interface ModifyCategoryRequest
805
 */
806
export interface ModifyCategoryRequest {
807
    /**
808
     * 
809
     * @type {string}
810
     * @memberof ModifyCategoryRequest
811
     */
812
    'name'?: string | null;
813
    /**
814
     * 
815
     * @type {string}
816
     * @memberof ModifyCategoryRequest
817
     */
818
    'description'?: string | null;
819
    /**
820
     * 
821
     * @type {string}
822
     * @memberof ModifyCategoryRequest
823
     */
824
    'color'?: string | null;
825
    /**
826
     * 
827
     * @type {boolean}
828
     * @memberof ModifyCategoryRequest
829
     */
830
    'disabledForAnnotators'?: boolean | null;
831
}
832
/**
833
 * 
834
 * @export
835
 * @interface ModifySubTagRequest
836
 */
837
export interface ModifySubTagRequest {
838
    /**
839
     * 
840
     * @type {string}
841
     * @memberof ModifySubTagRequest
842
     */
843
    'name'?: string | null;
844
    /**
845
     * 
846
     * @type {string}
847
     * @memberof ModifySubTagRequest
848
     */
849
    'description'?: string | null;
850
    /**
851
     * 
852
     * @type {boolean}
853
     * @memberof ModifySubTagRequest
854
     */
855
    'sentimentEnabled'?: boolean | null;
856
}
857
/**
858
 * 
859
 * @export
860
 * @interface ModifyTagRequest
861
 */
862
export interface ModifyTagRequest {
863
    /**
864
     * 
865
     * @type {string}
866
     * @memberof ModifyTagRequest
867
     */
868
    'name'?: string | null;
869
    /**
870
     * 
871
     * @type {string}
872
     * @memberof ModifyTagRequest
873
     */
874
    'description'?: string | null;
875
    /**
876
     * 
877
     * @type {string}
878
     * @memberof ModifyTagRequest
879
     */
880
    'color'?: string | null;
881
    /**
882
     * 
883
     * @type {boolean}
884
     * @memberof ModifyTagRequest
885
     */
886
    'sentimentEnabled'?: boolean | null;
887
}
888
/**
889
 * 
890
 * @export
891
 * @interface ProblemDetails
892
 */
893
export interface ProblemDetails {
894
    [key: string]: any | any;
895

    
896
    /**
897
     * 
898
     * @type {string}
899
     * @memberof ProblemDetails
900
     */
901
    'type'?: string | null;
902
    /**
903
     * 
904
     * @type {string}
905
     * @memberof ProblemDetails
906
     */
907
    'title'?: string | null;
908
    /**
909
     * 
910
     * @type {number}
911
     * @memberof ProblemDetails
912
     */
913
    'status'?: number | null;
914
    /**
915
     * 
916
     * @type {string}
917
     * @memberof ProblemDetails
918
     */
919
    'detail'?: string | null;
920
    /**
921
     * 
922
     * @type {string}
923
     * @memberof ProblemDetails
924
     */
925
    'instance'?: string | null;
926
}
927
/**
928
 * 
929
 * @export
930
 * @interface SetInstanceSentimentRequest
931
 */
932
export interface SetInstanceSentimentRequest {
933
    /**
934
     * 
935
     * @type {ETagSentiment}
936
     * @memberof SetInstanceSentimentRequest
937
     */
938
    'sentiment'?: ETagSentiment;
939
}
940
/**
941
 * 
942
 * @export
943
 * @interface SetRequiredAnnotationsGlobalRequest
944
 */
945
export interface SetRequiredAnnotationsGlobalRequest {
946
    /**
947
     * 
948
     * @type {number}
949
     * @memberof SetRequiredAnnotationsGlobalRequest
950
     */
951
    'requiredAnnotations'?: number;
952
}
953
/**
954
 * 
955
 * @export
956
 * @interface SetRequiredAnnotationsRequest
957
 */
958
export interface SetRequiredAnnotationsRequest {
959
    /**
960
     * 
961
     * @type {number}
962
     * @memberof SetRequiredAnnotationsRequest
963
     */
964
    'requiredAnnotations'?: number;
965
    /**
966
     * 
967
     * @type {Array<string>}
968
     * @memberof SetRequiredAnnotationsRequest
969
     */
970
    'documentIds'?: Array<string> | null;
971
}
972
/**
973
 * 
974
 * @export
975
 * @interface SubTagInfo
976
 */
977
export interface SubTagInfo {
978
    /**
979
     * 
980
     * @type {string}
981
     * @memberof SubTagInfo
982
     */
983
    'id'?: string;
984
    /**
985
     * 
986
     * @type {string}
987
     * @memberof SubTagInfo
988
     */
989
    'name'?: string | null;
990
    /**
991
     * 
992
     * @type {string}
993
     * @memberof SubTagInfo
994
     */
995
    'description'?: string | null;
996
}
997
/**
998
 * 
999
 * @export
1000
 * @interface TagCategoryInfo
1001
 */
1002
export interface TagCategoryInfo {
1003
    /**
1004
     * 
1005
     * @type {string}
1006
     * @memberof TagCategoryInfo
1007
     */
1008
    'id'?: string;
1009
    /**
1010
     * 
1011
     * @type {string}
1012
     * @memberof TagCategoryInfo
1013
     */
1014
    'name'?: string | null;
1015
    /**
1016
     * 
1017
     * @type {string}
1018
     * @memberof TagCategoryInfo
1019
     */
1020
    'description'?: string | null;
1021
    /**
1022
     * 
1023
     * @type {string}
1024
     * @memberof TagCategoryInfo
1025
     */
1026
    'color'?: string | null;
1027
    /**
1028
     * 
1029
     * @type {Array<TagInfo>}
1030
     * @memberof TagCategoryInfo
1031
     */
1032
    'tags'?: Array<TagInfo> | null;
1033
    /**
1034
     * 
1035
     * @type {boolean}
1036
     * @memberof TagCategoryInfo
1037
     */
1038
    'disabledForAnnotators'?: boolean;
1039
}
1040
/**
1041
 * 
1042
 * @export
1043
 * @interface TagInfo
1044
 */
1045
export interface TagInfo {
1046
    /**
1047
     * 
1048
     * @type {string}
1049
     * @memberof TagInfo
1050
     */
1051
    'id'?: string;
1052
    /**
1053
     * 
1054
     * @type {string}
1055
     * @memberof TagInfo
1056
     */
1057
    'name'?: string | null;
1058
    /**
1059
     * 
1060
     * @type {string}
1061
     * @memberof TagInfo
1062
     */
1063
    'description'?: string | null;
1064
    /**
1065
     * 
1066
     * @type {string}
1067
     * @memberof TagInfo
1068
     */
1069
    'color'?: string | null;
1070
    /**
1071
     * 
1072
     * @type {Array<SubTagInfo>}
1073
     * @memberof TagInfo
1074
     */
1075
    'subTags'?: Array<SubTagInfo> | null;
1076
}
1077
/**
1078
 * 
1079
 * @export
1080
 * @interface TagInstanceCSSInfo
1081
 */
1082
export interface TagInstanceCSSInfo {
1083
    /**
1084
     * 
1085
     * @type {string}
1086
     * @memberof TagInstanceCSSInfo
1087
     */
1088
    'instanceId'?: string;
1089
    /**
1090
     * 
1091
     * @type {string}
1092
     * @memberof TagInstanceCSSInfo
1093
     */
1094
    'color'?: string | null;
1095
    /**
1096
     * 
1097
     * @type {number}
1098
     * @memberof TagInstanceCSSInfo
1099
     */
1100
    'padding'?: number;
1101
}
1102
/**
1103
 * 
1104
 * @export
1105
 * @interface TagInstanceInfo
1106
 */
1107
export interface TagInstanceInfo {
1108
    /**
1109
     * 
1110
     * @type {string}
1111
     * @memberof TagInstanceInfo
1112
     */
1113
    'occurenceId'?: string;
1114
    /**
1115
     * 
1116
     * @type {string}
1117
     * @memberof TagInstanceInfo
1118
     */
1119
    'tagName'?: string | null;
1120
    /**
1121
     * 
1122
     * @type {string}
1123
     * @memberof TagInstanceInfo
1124
     */
1125
    'tagId'?: string;
1126
    /**
1127
     * 
1128
     * @type {string}
1129
     * @memberof TagInstanceInfo
1130
     */
1131
    'tagCategoryName'?: string | null;
1132
    /**
1133
     * 
1134
     * @type {string}
1135
     * @memberof TagInstanceInfo
1136
     */
1137
    'tagCategoryId'?: string;
1138
    /**
1139
     * 
1140
     * @type {string}
1141
     * @memberof TagInstanceInfo
1142
     */
1143
    'subTagName'?: string | null;
1144
    /**
1145
     * 
1146
     * @type {string}
1147
     * @memberof TagInstanceInfo
1148
     */
1149
    'subTagId'?: string | null;
1150
    /**
1151
     * 
1152
     * @type {string}
1153
     * @memberof TagInstanceInfo
1154
     */
1155
    'instance'?: string;
1156
    /**
1157
     * 
1158
     * @type {number}
1159
     * @memberof TagInstanceInfo
1160
     */
1161
    'position'?: number;
1162
    /**
1163
     * 
1164
     * @type {number}
1165
     * @memberof TagInstanceInfo
1166
     */
1167
    'length'?: number;
1168
    /**
1169
     * 
1170
     * @type {string}
1171
     * @memberof TagInstanceInfo
1172
     */
1173
    'note'?: string | null;
1174
    /**
1175
     * 
1176
     * @type {ETagSentiment}
1177
     * @memberof TagInstanceInfo
1178
     */
1179
    'sentiment'?: ETagSentiment;
1180
    /**
1181
     * 
1182
     * @type {string}
1183
     * @memberof TagInstanceInfo
1184
     */
1185
    'selectedText'?: string | null;
1186
}
1187
/**
1188
 * 
1189
 * @export
1190
 * @interface TagTreeResponse
1191
 */
1192
export interface TagTreeResponse {
1193
    /**
1194
     * 
1195
     * @type {Array<TagCategoryInfo>}
1196
     * @memberof TagTreeResponse
1197
     */
1198
    'tagCategories'?: Array<TagCategoryInfo> | null;
1199
}
1200
/**
1201
 * 
1202
 * @export
1203
 * @interface User
1204
 */
1205
export interface User {
1206
    /**
1207
     * 
1208
     * @type {string}
1209
     * @memberof User
1210
     */
1211
    'id'?: string;
1212
    /**
1213
     * 
1214
     * @type {string}
1215
     * @memberof User
1216
     */
1217
    'username'?: string | null;
1218
    /**
1219
     * 
1220
     * @type {string}
1221
     * @memberof User
1222
     */
1223
    'name'?: string | null;
1224
    /**
1225
     * 
1226
     * @type {string}
1227
     * @memberof User
1228
     */
1229
    'surname'?: string | null;
1230
    /**
1231
     * 
1232
     * @type {ERole}
1233
     * @memberof User
1234
     */
1235
    'role'?: ERole;
1236
}
1237
/**
1238
 * 
1239
 * @export
1240
 * @interface UserInfo
1241
 */
1242
export interface UserInfo {
1243
    /**
1244
     * 
1245
     * @type {string}
1246
     * @memberof UserInfo
1247
     */
1248
    'id'?: string;
1249
    /**
1250
     * 
1251
     * @type {string}
1252
     * @memberof UserInfo
1253
     */
1254
    'username'?: string | null;
1255
    /**
1256
     * 
1257
     * @type {string}
1258
     * @memberof UserInfo
1259
     */
1260
    'name'?: string | null;
1261
    /**
1262
     * 
1263
     * @type {string}
1264
     * @memberof UserInfo
1265
     */
1266
    'surname'?: string | null;
1267
    /**
1268
     * 
1269
     * @type {number}
1270
     * @memberof UserInfo
1271
     */
1272
    'assignedDocumentsCount'?: number;
1273
    /**
1274
     * 
1275
     * @type {ERole}
1276
     * @memberof UserInfo
1277
     */
1278
    'role'?: ERole;
1279
}
1280
/**
1281
 * 
1282
 * @export
1283
 * @interface UserList
1284
 */
1285
export interface UserList {
1286
    /**
1287
     * 
1288
     * @type {Array<UserInfo>}
1289
     * @memberof UserList
1290
     */
1291
    'users'?: Array<UserInfo> | null;
1292
}
1293

    
1294
/**
1295
 * AnnotationApi - axios parameter creator
1296
 * @export
1297
 */
1298
export const AnnotationApiAxiosParamCreator = function (configuration?: Configuration) {
1299
    return {
1300
        /**
1301
         * 
1302
         * @param {string} annotationId 
1303
         * @param {boolean} [isFinal] 
1304
         * @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest] 
1305
         * @param {*} [options] Override http request option.
1306
         * @throws {RequiredError}
1307
         */
1308
        annotationAnnotationIdDonePut: async (annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1309
            // verify required parameter 'annotationId' is not null or undefined
1310
            assertParamExists('annotationAnnotationIdDonePut', 'annotationId', annotationId)
1311
            const localVarPath = `/annotation/{annotationId}/done`
1312
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
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: 'PUT', ...baseOptions, ...options};
1321
            const localVarHeaderParameter = {} as any;
1322
            const localVarQueryParameter = {} as any;
1323

    
1324
            if (isFinal !== undefined) {
1325
                localVarQueryParameter['isFinal'] = isFinal;
1326
            }
1327

    
1328

    
1329
    
1330
            localVarHeaderParameter['Content-Type'] = 'application/json';
1331

    
1332
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1333
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1334
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1335
            localVarRequestOptions.data = serializeDataIfNeeded(markAnnotationDoneRequest, localVarRequestOptions, configuration)
1336

    
1337
            return {
1338
                url: toPathString(localVarUrlObj),
1339
                options: localVarRequestOptions,
1340
            };
1341
        },
1342
        /**
1343
         * 
1344
         * @param {string} annotationId 
1345
         * @param {boolean} [isFinal] 
1346
         * @param {*} [options] Override http request option.
1347
         * @throws {RequiredError}
1348
         */
1349
        annotationAnnotationIdGet: async (annotationId: string, isFinal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1350
            // verify required parameter 'annotationId' is not null or undefined
1351
            assertParamExists('annotationAnnotationIdGet', 'annotationId', annotationId)
1352
            const localVarPath = `/annotation/{annotationId}`
1353
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
1354
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1355
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1356
            let baseOptions;
1357
            if (configuration) {
1358
                baseOptions = configuration.baseOptions;
1359
            }
1360

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

    
1365
            if (isFinal !== undefined) {
1366
                localVarQueryParameter['isFinal'] = isFinal;
1367
            }
1368

    
1369

    
1370
    
1371
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1372
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1373
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1374

    
1375
            return {
1376
                url: toPathString(localVarUrlObj),
1377
                options: localVarRequestOptions,
1378
            };
1379
        },
1380
        /**
1381
         * 
1382
         * @param {string} annotationId 
1383
         * @param {string} instanceId 
1384
         * @param {boolean} [isFinal] 
1385
         * @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest] 
1386
         * @param {*} [options] Override http request option.
1387
         * @throws {RequiredError}
1388
         */
1389
        annotationAnnotationIdInstanceIdSentimentPut: async (annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1390
            // verify required parameter 'annotationId' is not null or undefined
1391
            assertParamExists('annotationAnnotationIdInstanceIdSentimentPut', 'annotationId', annotationId)
1392
            // verify required parameter 'instanceId' is not null or undefined
1393
            assertParamExists('annotationAnnotationIdInstanceIdSentimentPut', 'instanceId', instanceId)
1394
            const localVarPath = `/annotation/{annotationId}/{instanceId}/sentiment`
1395
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
1396
                .replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
1397
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1398
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1399
            let baseOptions;
1400
            if (configuration) {
1401
                baseOptions = configuration.baseOptions;
1402
            }
1403

    
1404
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1405
            const localVarHeaderParameter = {} as any;
1406
            const localVarQueryParameter = {} as any;
1407

    
1408
            if (isFinal !== undefined) {
1409
                localVarQueryParameter['isFinal'] = isFinal;
1410
            }
1411

    
1412

    
1413
    
1414
            localVarHeaderParameter['Content-Type'] = 'application/json';
1415

    
1416
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1417
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1418
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1419
            localVarRequestOptions.data = serializeDataIfNeeded(setInstanceSentimentRequest, localVarRequestOptions, configuration)
1420

    
1421
            return {
1422
                url: toPathString(localVarUrlObj),
1423
                options: localVarRequestOptions,
1424
            };
1425
        },
1426
        /**
1427
         * 
1428
         * @param {string} annotationId 
1429
         * @param {boolean} [isFinal] 
1430
         * @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest] 
1431
         * @param {*} [options] Override http request option.
1432
         * @throws {RequiredError}
1433
         */
1434
        annotationAnnotationIdNotePost: async (annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1435
            // verify required parameter 'annotationId' is not null or undefined
1436
            assertParamExists('annotationAnnotationIdNotePost', 'annotationId', annotationId)
1437
            const localVarPath = `/annotation/{annotationId}/note`
1438
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
1439
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1440
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1441
            let baseOptions;
1442
            if (configuration) {
1443
                baseOptions = configuration.baseOptions;
1444
            }
1445

    
1446
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1447
            const localVarHeaderParameter = {} as any;
1448
            const localVarQueryParameter = {} as any;
1449

    
1450
            if (isFinal !== undefined) {
1451
                localVarQueryParameter['isFinal'] = isFinal;
1452
            }
1453

    
1454

    
1455
    
1456
            localVarHeaderParameter['Content-Type'] = 'application/json';
1457

    
1458
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1459
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1460
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1461
            localVarRequestOptions.data = serializeDataIfNeeded(addNoteToAnnotationRequest, localVarRequestOptions, configuration)
1462

    
1463
            return {
1464
                url: toPathString(localVarUrlObj),
1465
                options: localVarRequestOptions,
1466
            };
1467
        },
1468
        /**
1469
         * 
1470
         * @param {string} annotationId 
1471
         * @param {string} occurenceId 
1472
         * @param {boolean} [isFinal] 
1473
         * @param {*} [options] Override http request option.
1474
         * @throws {RequiredError}
1475
         */
1476
        annotationAnnotationIdOccurenceIdDelete: async (annotationId: string, occurenceId: string, isFinal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1477
            // verify required parameter 'annotationId' is not null or undefined
1478
            assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'annotationId', annotationId)
1479
            // verify required parameter 'occurenceId' is not null or undefined
1480
            assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'occurenceId', occurenceId)
1481
            const localVarPath = `/annotation/{annotationId}/{occurenceId}`
1482
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
1483
                .replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
1484
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1485
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1486
            let baseOptions;
1487
            if (configuration) {
1488
                baseOptions = configuration.baseOptions;
1489
            }
1490

    
1491
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
1492
            const localVarHeaderParameter = {} as any;
1493
            const localVarQueryParameter = {} as any;
1494

    
1495
            if (isFinal !== undefined) {
1496
                localVarQueryParameter['isFinal'] = isFinal;
1497
            }
1498

    
1499

    
1500
    
1501
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1502
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1503
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1504

    
1505
            return {
1506
                url: toPathString(localVarUrlObj),
1507
                options: localVarRequestOptions,
1508
            };
1509
        },
1510
        /**
1511
         * 
1512
         * @param {string} annotationId 
1513
         * @param {boolean} [isFinal] 
1514
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
1515
         * @param {*} [options] Override http request option.
1516
         * @throws {RequiredError}
1517
         */
1518
        annotationAnnotationIdPost: async (annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1519
            // verify required parameter 'annotationId' is not null or undefined
1520
            assertParamExists('annotationAnnotationIdPost', 'annotationId', annotationId)
1521
            const localVarPath = `/annotation/{annotationId}`
1522
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
1523
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1524
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1525
            let baseOptions;
1526
            if (configuration) {
1527
                baseOptions = configuration.baseOptions;
1528
            }
1529

    
1530
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1531
            const localVarHeaderParameter = {} as any;
1532
            const localVarQueryParameter = {} as any;
1533

    
1534
            if (isFinal !== undefined) {
1535
                localVarQueryParameter['isFinal'] = isFinal;
1536
            }
1537

    
1538

    
1539
    
1540
            localVarHeaderParameter['Content-Type'] = 'application/json';
1541

    
1542
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1543
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1544
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1545
            localVarRequestOptions.data = serializeDataIfNeeded(annotationInstanceAddRequest, localVarRequestOptions, configuration)
1546

    
1547
            return {
1548
                url: toPathString(localVarUrlObj),
1549
                options: localVarRequestOptions,
1550
            };
1551
        },
1552
        /**
1553
         * 
1554
         * @param {string} annotationId 
1555
         * @param {string} occurenceId 
1556
         * @param {boolean} [isFinal] 
1557
         * @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest] 
1558
         * @param {*} [options] Override http request option.
1559
         * @throws {RequiredError}
1560
         */
1561
        annotationAnnotationIdTagOccurenceIdNotePost: async (annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1562
            // verify required parameter 'annotationId' is not null or undefined
1563
            assertParamExists('annotationAnnotationIdTagOccurenceIdNotePost', 'annotationId', annotationId)
1564
            // verify required parameter 'occurenceId' is not null or undefined
1565
            assertParamExists('annotationAnnotationIdTagOccurenceIdNotePost', 'occurenceId', occurenceId)
1566
            const localVarPath = `/annotation/{annotationId}/tag/{occurenceId}/note`
1567
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
1568
                .replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
1569
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1570
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1571
            let baseOptions;
1572
            if (configuration) {
1573
                baseOptions = configuration.baseOptions;
1574
            }
1575

    
1576
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1577
            const localVarHeaderParameter = {} as any;
1578
            const localVarQueryParameter = {} as any;
1579

    
1580
            if (isFinal !== undefined) {
1581
                localVarQueryParameter['isFinal'] = isFinal;
1582
            }
1583

    
1584

    
1585
    
1586
            localVarHeaderParameter['Content-Type'] = 'application/json';
1587

    
1588
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1589
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1590
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1591
            localVarRequestOptions.data = serializeDataIfNeeded(addNoteToTagOccurenceRequest, localVarRequestOptions, configuration)
1592

    
1593
            return {
1594
                url: toPathString(localVarUrlObj),
1595
                options: localVarRequestOptions,
1596
            };
1597
        },
1598
        /**
1599
         * 
1600
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
1601
         * @param {*} [options] Override http request option.
1602
         * @throws {RequiredError}
1603
         */
1604
        annotationsPost: async (annotationsAddRequest?: AnnotationsAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1605
            const localVarPath = `/annotations`;
1606
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1607
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1608
            let baseOptions;
1609
            if (configuration) {
1610
                baseOptions = configuration.baseOptions;
1611
            }
1612

    
1613
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1614
            const localVarHeaderParameter = {} as any;
1615
            const localVarQueryParameter = {} as any;
1616

    
1617

    
1618
    
1619
            localVarHeaderParameter['Content-Type'] = 'application/json';
1620

    
1621
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1622
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1623
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1624
            localVarRequestOptions.data = serializeDataIfNeeded(annotationsAddRequest, localVarRequestOptions, configuration)
1625

    
1626
            return {
1627
                url: toPathString(localVarUrlObj),
1628
                options: localVarRequestOptions,
1629
            };
1630
        },
1631
    }
1632
};
1633

    
1634
/**
1635
 * AnnotationApi - functional programming interface
1636
 * @export
1637
 */
1638
export const AnnotationApiFp = function(configuration?: Configuration) {
1639
    const localVarAxiosParamCreator = AnnotationApiAxiosParamCreator(configuration)
1640
    return {
1641
        /**
1642
         * 
1643
         * @param {string} annotationId 
1644
         * @param {boolean} [isFinal] 
1645
         * @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest] 
1646
         * @param {*} [options] Override http request option.
1647
         * @throws {RequiredError}
1648
         */
1649
        async annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1650
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options);
1651
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1652
        },
1653
        /**
1654
         * 
1655
         * @param {string} annotationId 
1656
         * @param {boolean} [isFinal] 
1657
         * @param {*} [options] Override http request option.
1658
         * @throws {RequiredError}
1659
         */
1660
        async annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationInfo>> {
1661
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdGet(annotationId, isFinal, options);
1662
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1663
        },
1664
        /**
1665
         * 
1666
         * @param {string} annotationId 
1667
         * @param {string} instanceId 
1668
         * @param {boolean} [isFinal] 
1669
         * @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest] 
1670
         * @param {*} [options] Override http request option.
1671
         * @throws {RequiredError}
1672
         */
1673
        async annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1674
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options);
1675
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1676
        },
1677
        /**
1678
         * 
1679
         * @param {string} annotationId 
1680
         * @param {boolean} [isFinal] 
1681
         * @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest] 
1682
         * @param {*} [options] Override http request option.
1683
         * @throws {RequiredError}
1684
         */
1685
        async annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1686
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options);
1687
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1688
        },
1689
        /**
1690
         * 
1691
         * @param {string} annotationId 
1692
         * @param {string} occurenceId 
1693
         * @param {boolean} [isFinal] 
1694
         * @param {*} [options] Override http request option.
1695
         * @throws {RequiredError}
1696
         */
1697
        async annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1698
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options);
1699
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1700
        },
1701
        /**
1702
         * 
1703
         * @param {string} annotationId 
1704
         * @param {boolean} [isFinal] 
1705
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
1706
         * @param {*} [options] Override http request option.
1707
         * @throws {RequiredError}
1708
         */
1709
        async annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1710
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options);
1711
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1712
        },
1713
        /**
1714
         * 
1715
         * @param {string} annotationId 
1716
         * @param {string} occurenceId 
1717
         * @param {boolean} [isFinal] 
1718
         * @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest] 
1719
         * @param {*} [options] Override http request option.
1720
         * @throws {RequiredError}
1721
         */
1722
        async annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1723
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options);
1724
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1725
        },
1726
        /**
1727
         * 
1728
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
1729
         * @param {*} [options] Override http request option.
1730
         * @throws {RequiredError}
1731
         */
1732
        async annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1733
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationsPost(annotationsAddRequest, options);
1734
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1735
        },
1736
    }
1737
};
1738

    
1739
/**
1740
 * AnnotationApi - factory interface
1741
 * @export
1742
 */
1743
export const AnnotationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1744
    const localVarFp = AnnotationApiFp(configuration)
1745
    return {
1746
        /**
1747
         * 
1748
         * @param {string} annotationId 
1749
         * @param {boolean} [isFinal] 
1750
         * @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest] 
1751
         * @param {*} [options] Override http request option.
1752
         * @throws {RequiredError}
1753
         */
1754
        annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: any): AxiosPromise<void> {
1755
            return localVarFp.annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options).then((request) => request(axios, basePath));
1756
        },
1757
        /**
1758
         * 
1759
         * @param {string} annotationId 
1760
         * @param {boolean} [isFinal] 
1761
         * @param {*} [options] Override http request option.
1762
         * @throws {RequiredError}
1763
         */
1764
        annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: any): AxiosPromise<AnnotationInfo> {
1765
            return localVarFp.annotationAnnotationIdGet(annotationId, isFinal, options).then((request) => request(axios, basePath));
1766
        },
1767
        /**
1768
         * 
1769
         * @param {string} annotationId 
1770
         * @param {string} instanceId 
1771
         * @param {boolean} [isFinal] 
1772
         * @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest] 
1773
         * @param {*} [options] Override http request option.
1774
         * @throws {RequiredError}
1775
         */
1776
        annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: any): AxiosPromise<void> {
1777
            return localVarFp.annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options).then((request) => request(axios, basePath));
1778
        },
1779
        /**
1780
         * 
1781
         * @param {string} annotationId 
1782
         * @param {boolean} [isFinal] 
1783
         * @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest] 
1784
         * @param {*} [options] Override http request option.
1785
         * @throws {RequiredError}
1786
         */
1787
        annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: any): AxiosPromise<void> {
1788
            return localVarFp.annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options).then((request) => request(axios, basePath));
1789
        },
1790
        /**
1791
         * 
1792
         * @param {string} annotationId 
1793
         * @param {string} occurenceId 
1794
         * @param {boolean} [isFinal] 
1795
         * @param {*} [options] Override http request option.
1796
         * @throws {RequiredError}
1797
         */
1798
        annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: any): AxiosPromise<void> {
1799
            return localVarFp.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options).then((request) => request(axios, basePath));
1800
        },
1801
        /**
1802
         * 
1803
         * @param {string} annotationId 
1804
         * @param {boolean} [isFinal] 
1805
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
1806
         * @param {*} [options] Override http request option.
1807
         * @throws {RequiredError}
1808
         */
1809
        annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: any): AxiosPromise<void> {
1810
            return localVarFp.annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options).then((request) => request(axios, basePath));
1811
        },
1812
        /**
1813
         * 
1814
         * @param {string} annotationId 
1815
         * @param {string} occurenceId 
1816
         * @param {boolean} [isFinal] 
1817
         * @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest] 
1818
         * @param {*} [options] Override http request option.
1819
         * @throws {RequiredError}
1820
         */
1821
        annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: any): AxiosPromise<void> {
1822
            return localVarFp.annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options).then((request) => request(axios, basePath));
1823
        },
1824
        /**
1825
         * 
1826
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
1827
         * @param {*} [options] Override http request option.
1828
         * @throws {RequiredError}
1829
         */
1830
        annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: any): AxiosPromise<void> {
1831
            return localVarFp.annotationsPost(annotationsAddRequest, options).then((request) => request(axios, basePath));
1832
        },
1833
    };
1834
};
1835

    
1836
/**
1837
 * AnnotationApi - object-oriented interface
1838
 * @export
1839
 * @class AnnotationApi
1840
 * @extends {BaseAPI}
1841
 */
1842
export class AnnotationApi extends BaseAPI {
1843
    /**
1844
     * 
1845
     * @param {string} annotationId 
1846
     * @param {boolean} [isFinal] 
1847
     * @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest] 
1848
     * @param {*} [options] Override http request option.
1849
     * @throws {RequiredError}
1850
     * @memberof AnnotationApi
1851
     */
1852
    public annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: AxiosRequestConfig) {
1853
        return AnnotationApiFp(this.configuration).annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options).then((request) => request(this.axios, this.basePath));
1854
    }
1855

    
1856
    /**
1857
     * 
1858
     * @param {string} annotationId 
1859
     * @param {boolean} [isFinal] 
1860
     * @param {*} [options] Override http request option.
1861
     * @throws {RequiredError}
1862
     * @memberof AnnotationApi
1863
     */
1864
    public annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: AxiosRequestConfig) {
1865
        return AnnotationApiFp(this.configuration).annotationAnnotationIdGet(annotationId, isFinal, options).then((request) => request(this.axios, this.basePath));
1866
    }
1867

    
1868
    /**
1869
     * 
1870
     * @param {string} annotationId 
1871
     * @param {string} instanceId 
1872
     * @param {boolean} [isFinal] 
1873
     * @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest] 
1874
     * @param {*} [options] Override http request option.
1875
     * @throws {RequiredError}
1876
     * @memberof AnnotationApi
1877
     */
1878
    public annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: AxiosRequestConfig) {
1879
        return AnnotationApiFp(this.configuration).annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options).then((request) => request(this.axios, this.basePath));
1880
    }
1881

    
1882
    /**
1883
     * 
1884
     * @param {string} annotationId 
1885
     * @param {boolean} [isFinal] 
1886
     * @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest] 
1887
     * @param {*} [options] Override http request option.
1888
     * @throws {RequiredError}
1889
     * @memberof AnnotationApi
1890
     */
1891
    public annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: AxiosRequestConfig) {
1892
        return AnnotationApiFp(this.configuration).annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options).then((request) => request(this.axios, this.basePath));
1893
    }
1894

    
1895
    /**
1896
     * 
1897
     * @param {string} annotationId 
1898
     * @param {string} occurenceId 
1899
     * @param {boolean} [isFinal] 
1900
     * @param {*} [options] Override http request option.
1901
     * @throws {RequiredError}
1902
     * @memberof AnnotationApi
1903
     */
1904
    public annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: AxiosRequestConfig) {
1905
        return AnnotationApiFp(this.configuration).annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options).then((request) => request(this.axios, this.basePath));
1906
    }
1907

    
1908
    /**
1909
     * 
1910
     * @param {string} annotationId 
1911
     * @param {boolean} [isFinal] 
1912
     * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
1913
     * @param {*} [options] Override http request option.
1914
     * @throws {RequiredError}
1915
     * @memberof AnnotationApi
1916
     */
1917
    public annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig) {
1918
        return AnnotationApiFp(this.configuration).annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options).then((request) => request(this.axios, this.basePath));
1919
    }
1920

    
1921
    /**
1922
     * 
1923
     * @param {string} annotationId 
1924
     * @param {string} occurenceId 
1925
     * @param {boolean} [isFinal] 
1926
     * @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest] 
1927
     * @param {*} [options] Override http request option.
1928
     * @throws {RequiredError}
1929
     * @memberof AnnotationApi
1930
     */
1931
    public annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: AxiosRequestConfig) {
1932
        return AnnotationApiFp(this.configuration).annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options).then((request) => request(this.axios, this.basePath));
1933
    }
1934

    
1935
    /**
1936
     * 
1937
     * @param {AnnotationsAddRequest} [annotationsAddRequest] 
1938
     * @param {*} [options] Override http request option.
1939
     * @throws {RequiredError}
1940
     * @memberof AnnotationApi
1941
     */
1942
    public annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig) {
1943
        return AnnotationApiFp(this.configuration).annotationsPost(annotationsAddRequest, options).then((request) => request(this.axios, this.basePath));
1944
    }
1945
}
1946

    
1947

    
1948
/**
1949
 * AuthApi - axios parameter creator
1950
 * @export
1951
 */
1952
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
1953
    return {
1954
        /**
1955
         * 
1956
         * @param {LoginRequest} [loginRequest] 
1957
         * @param {*} [options] Override http request option.
1958
         * @throws {RequiredError}
1959
         */
1960
        authLoginPost: async (loginRequest?: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1961
            const localVarPath = `/auth/login`;
1962
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1963
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1964
            let baseOptions;
1965
            if (configuration) {
1966
                baseOptions = configuration.baseOptions;
1967
            }
1968

    
1969
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1970
            const localVarHeaderParameter = {} as any;
1971
            const localVarQueryParameter = {} as any;
1972

    
1973

    
1974
    
1975
            localVarHeaderParameter['Content-Type'] = 'application/json';
1976

    
1977
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1978
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1979
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1980
            localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
1981

    
1982
            return {
1983
                url: toPathString(localVarUrlObj),
1984
                options: localVarRequestOptions,
1985
            };
1986
        },
1987
        /**
1988
         * 
1989
         * @param {*} [options] Override http request option.
1990
         * @throws {RequiredError}
1991
         */
1992
        authTestAaGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1993
            const localVarPath = `/auth/test/aa`;
1994
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1995
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1996
            let baseOptions;
1997
            if (configuration) {
1998
                baseOptions = configuration.baseOptions;
1999
            }
2000

    
2001
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2002
            const localVarHeaderParameter = {} as any;
2003
            const localVarQueryParameter = {} as any;
2004

    
2005

    
2006
    
2007
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2008
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2009
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2010

    
2011
            return {
2012
                url: toPathString(localVarUrlObj),
2013
                options: localVarRequestOptions,
2014
            };
2015
        },
2016
        /**
2017
         * 
2018
         * @param {*} [options] Override http request option.
2019
         * @throws {RequiredError}
2020
         */
2021
        authTestGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2022
            const localVarPath = `/auth/test`;
2023
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2024
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2025
            let baseOptions;
2026
            if (configuration) {
2027
                baseOptions = configuration.baseOptions;
2028
            }
2029

    
2030
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2031
            const localVarHeaderParameter = {} as any;
2032
            const localVarQueryParameter = {} as any;
2033

    
2034

    
2035
    
2036
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2037
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2038
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2039

    
2040
            return {
2041
                url: toPathString(localVarUrlObj),
2042
                options: localVarRequestOptions,
2043
            };
2044
        },
2045
    }
2046
};
2047

    
2048
/**
2049
 * AuthApi - functional programming interface
2050
 * @export
2051
 */
2052
export const AuthApiFp = function(configuration?: Configuration) {
2053
    const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
2054
    return {
2055
        /**
2056
         * 
2057
         * @param {LoginRequest} [loginRequest] 
2058
         * @param {*} [options] Override http request option.
2059
         * @throws {RequiredError}
2060
         */
2061
        async authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
2062
            const localVarAxiosArgs = await localVarAxiosParamCreator.authLoginPost(loginRequest, options);
2063
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2064
        },
2065
        /**
2066
         * 
2067
         * @param {*} [options] Override http request option.
2068
         * @throws {RequiredError}
2069
         */
2070
        async authTestAaGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
2071
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestAaGet(options);
2072
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2073
        },
2074
        /**
2075
         * 
2076
         * @param {*} [options] Override http request option.
2077
         * @throws {RequiredError}
2078
         */
2079
        async authTestGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
2080
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestGet(options);
2081
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2082
        },
2083
    }
2084
};
2085

    
2086
/**
2087
 * AuthApi - factory interface
2088
 * @export
2089
 */
2090
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2091
    const localVarFp = AuthApiFp(configuration)
2092
    return {
2093
        /**
2094
         * 
2095
         * @param {LoginRequest} [loginRequest] 
2096
         * @param {*} [options] Override http request option.
2097
         * @throws {RequiredError}
2098
         */
2099
        authLoginPost(loginRequest?: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
2100
            return localVarFp.authLoginPost(loginRequest, options).then((request) => request(axios, basePath));
2101
        },
2102
        /**
2103
         * 
2104
         * @param {*} [options] Override http request option.
2105
         * @throws {RequiredError}
2106
         */
2107
        authTestAaGet(options?: any): AxiosPromise<ClientInfo> {
2108
            return localVarFp.authTestAaGet(options).then((request) => request(axios, basePath));
2109
        },
2110
        /**
2111
         * 
2112
         * @param {*} [options] Override http request option.
2113
         * @throws {RequiredError}
2114
         */
2115
        authTestGet(options?: any): AxiosPromise<ClientInfo> {
2116
            return localVarFp.authTestGet(options).then((request) => request(axios, basePath));
2117
        },
2118
    };
2119
};
2120

    
2121
/**
2122
 * AuthApi - object-oriented interface
2123
 * @export
2124
 * @class AuthApi
2125
 * @extends {BaseAPI}
2126
 */
2127
export class AuthApi extends BaseAPI {
2128
    /**
2129
     * 
2130
     * @param {LoginRequest} [loginRequest] 
2131
     * @param {*} [options] Override http request option.
2132
     * @throws {RequiredError}
2133
     * @memberof AuthApi
2134
     */
2135
    public authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig) {
2136
        return AuthApiFp(this.configuration).authLoginPost(loginRequest, options).then((request) => request(this.axios, this.basePath));
2137
    }
2138

    
2139
    /**
2140
     * 
2141
     * @param {*} [options] Override http request option.
2142
     * @throws {RequiredError}
2143
     * @memberof AuthApi
2144
     */
2145
    public authTestAaGet(options?: AxiosRequestConfig) {
2146
        return AuthApiFp(this.configuration).authTestAaGet(options).then((request) => request(this.axios, this.basePath));
2147
    }
2148

    
2149
    /**
2150
     * 
2151
     * @param {*} [options] Override http request option.
2152
     * @throws {RequiredError}
2153
     * @memberof AuthApi
2154
     */
2155
    public authTestGet(options?: AxiosRequestConfig) {
2156
        return AuthApiFp(this.configuration).authTestGet(options).then((request) => request(this.axios, this.basePath));
2157
    }
2158
}
2159

    
2160

    
2161
/**
2162
 * DocumentApi - axios parameter creator
2163
 * @export
2164
 */
2165
export const DocumentApiAxiosParamCreator = function (configuration?: Configuration) {
2166
    return {
2167
        /**
2168
         * 
2169
         * @param {string} documentId 
2170
         * @param {*} [options] Override http request option.
2171
         * @throws {RequiredError}
2172
         */
2173
        documentDocumentIdFinalPost: async (documentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2174
            // verify required parameter 'documentId' is not null or undefined
2175
            assertParamExists('documentDocumentIdFinalPost', 'documentId', documentId)
2176
            const localVarPath = `/document/{documentId}/final`
2177
                .replace(`{${"documentId"}}`, encodeURIComponent(String(documentId)));
2178
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2179
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2180
            let baseOptions;
2181
            if (configuration) {
2182
                baseOptions = configuration.baseOptions;
2183
            }
2184

    
2185
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2186
            const localVarHeaderParameter = {} as any;
2187
            const localVarQueryParameter = {} as any;
2188

    
2189

    
2190
    
2191
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2192
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2193
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2194

    
2195
            return {
2196
                url: toPathString(localVarUrlObj),
2197
                options: localVarRequestOptions,
2198
            };
2199
        },
2200
        /**
2201
         * 
2202
         * @param {string} documentId 
2203
         * @param {*} [options] Override http request option.
2204
         * @throws {RequiredError}
2205
         */
2206
        documentDocumentIdGet: async (documentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2207
            // verify required parameter 'documentId' is not null or undefined
2208
            assertParamExists('documentDocumentIdGet', 'documentId', documentId)
2209
            const localVarPath = `/document/{documentId}`
2210
                .replace(`{${"documentId"}}`, encodeURIComponent(String(documentId)));
2211
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2212
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2213
            let baseOptions;
2214
            if (configuration) {
2215
                baseOptions = configuration.baseOptions;
2216
            }
2217

    
2218
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2219
            const localVarHeaderParameter = {} as any;
2220
            const localVarQueryParameter = {} as any;
2221

    
2222

    
2223
    
2224
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2225
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2226
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2227

    
2228
            return {
2229
                url: toPathString(localVarUrlObj),
2230
                options: localVarRequestOptions,
2231
            };
2232
        },
2233
        /**
2234
         * 
2235
         * @param {number} [pageIndex] 
2236
         * @param {number} [pageSize] 
2237
         * @param {*} [options] Override http request option.
2238
         * @throws {RequiredError}
2239
         */
2240
        documentsGet: async (pageIndex?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2241
            const localVarPath = `/documents`;
2242
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2243
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2244
            let baseOptions;
2245
            if (configuration) {
2246
                baseOptions = configuration.baseOptions;
2247
            }
2248

    
2249
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2250
            const localVarHeaderParameter = {} as any;
2251
            const localVarQueryParameter = {} as any;
2252

    
2253
            if (pageIndex !== undefined) {
2254
                localVarQueryParameter['pageIndex'] = pageIndex;
2255
            }
2256

    
2257
            if (pageSize !== undefined) {
2258
                localVarQueryParameter['pageSize'] = pageSize;
2259
            }
2260

    
2261

    
2262
    
2263
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2264
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2265
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2266

    
2267
            return {
2268
                url: toPathString(localVarUrlObj),
2269
                options: localVarRequestOptions,
2270
            };
2271
        },
2272
        /**
2273
         * 
2274
         * @param {DocumentAddRequest} [documentAddRequest] 
2275
         * @param {*} [options] Override http request option.
2276
         * @throws {RequiredError}
2277
         */
2278
        documentsPost: async (documentAddRequest?: DocumentAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2279
            const localVarPath = `/documents`;
2280
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2281
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2282
            let baseOptions;
2283
            if (configuration) {
2284
                baseOptions = configuration.baseOptions;
2285
            }
2286

    
2287
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2288
            const localVarHeaderParameter = {} as any;
2289
            const localVarQueryParameter = {} as any;
2290

    
2291

    
2292
    
2293
            localVarHeaderParameter['Content-Type'] = 'application/json';
2294

    
2295
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2296
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2297
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2298
            localVarRequestOptions.data = serializeDataIfNeeded(documentAddRequest, localVarRequestOptions, configuration)
2299

    
2300
            return {
2301
                url: toPathString(localVarUrlObj),
2302
                options: localVarRequestOptions,
2303
            };
2304
        },
2305
        /**
2306
         * 
2307
         * @param {*} [options] Override http request option.
2308
         * @throws {RequiredError}
2309
         */
2310
        documentsRequiredAnnotationsGlobalGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2311
            const localVarPath = `/documents/requiredAnnotations/global`;
2312
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2313
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2314
            let baseOptions;
2315
            if (configuration) {
2316
                baseOptions = configuration.baseOptions;
2317
            }
2318

    
2319
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2320
            const localVarHeaderParameter = {} as any;
2321
            const localVarQueryParameter = {} as any;
2322

    
2323

    
2324
    
2325
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2326
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2327
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2328

    
2329
            return {
2330
                url: toPathString(localVarUrlObj),
2331
                options: localVarRequestOptions,
2332
            };
2333
        },
2334
        /**
2335
         * 
2336
         * @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest] 
2337
         * @param {*} [options] Override http request option.
2338
         * @throws {RequiredError}
2339
         */
2340
        documentsRequiredAnnotationsGlobalPost: async (setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2341
            const localVarPath = `/documents/requiredAnnotations/global`;
2342
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2343
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2344
            let baseOptions;
2345
            if (configuration) {
2346
                baseOptions = configuration.baseOptions;
2347
            }
2348

    
2349
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2350
            const localVarHeaderParameter = {} as any;
2351
            const localVarQueryParameter = {} as any;
2352

    
2353

    
2354
    
2355
            localVarHeaderParameter['Content-Type'] = 'application/json';
2356

    
2357
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2358
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2359
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2360
            localVarRequestOptions.data = serializeDataIfNeeded(setRequiredAnnotationsGlobalRequest, localVarRequestOptions, configuration)
2361

    
2362
            return {
2363
                url: toPathString(localVarUrlObj),
2364
                options: localVarRequestOptions,
2365
            };
2366
        },
2367
        /**
2368
         * 
2369
         * @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest] 
2370
         * @param {*} [options] Override http request option.
2371
         * @throws {RequiredError}
2372
         */
2373
        documentsRequiredAnnotationsPost: async (setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2374
            const localVarPath = `/documents/requiredAnnotations`;
2375
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2376
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2377
            let baseOptions;
2378
            if (configuration) {
2379
                baseOptions = configuration.baseOptions;
2380
            }
2381

    
2382
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2383
            const localVarHeaderParameter = {} as any;
2384
            const localVarQueryParameter = {} as any;
2385

    
2386

    
2387
    
2388
            localVarHeaderParameter['Content-Type'] = 'application/json';
2389

    
2390
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2391
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2392
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2393
            localVarRequestOptions.data = serializeDataIfNeeded(setRequiredAnnotationsRequest, localVarRequestOptions, configuration)
2394

    
2395
            return {
2396
                url: toPathString(localVarUrlObj),
2397
                options: localVarRequestOptions,
2398
            };
2399
        },
2400
    }
2401
};
2402

    
2403
/**
2404
 * DocumentApi - functional programming interface
2405
 * @export
2406
 */
2407
export const DocumentApiFp = function(configuration?: Configuration) {
2408
    const localVarAxiosParamCreator = DocumentApiAxiosParamCreator(configuration)
2409
    return {
2410
        /**
2411
         * 
2412
         * @param {string} documentId 
2413
         * @param {*} [options] Override http request option.
2414
         * @throws {RequiredError}
2415
         */
2416
        async documentDocumentIdFinalPost(documentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFinalAnnotationResponse>> {
2417
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentDocumentIdFinalPost(documentId, options);
2418
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2419
        },
2420
        /**
2421
         * 
2422
         * @param {string} documentId 
2423
         * @param {*} [options] Override http request option.
2424
         * @throws {RequiredError}
2425
         */
2426
        async documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentPreviewResponse>> {
2427
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentDocumentIdGet(documentId, options);
2428
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2429
        },
2430
        /**
2431
         * 
2432
         * @param {number} [pageIndex] 
2433
         * @param {number} [pageSize] 
2434
         * @param {*} [options] Override http request option.
2435
         * @throws {RequiredError}
2436
         */
2437
        async documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentListResponse>> {
2438
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsGet(pageIndex, pageSize, options);
2439
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2440
        },
2441
        /**
2442
         * 
2443
         * @param {DocumentAddRequest} [documentAddRequest] 
2444
         * @param {*} [options] Override http request option.
2445
         * @throws {RequiredError}
2446
         */
2447
        async documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2448
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsPost(documentAddRequest, options);
2449
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2450
        },
2451
        /**
2452
         * 
2453
         * @param {*} [options] Override http request option.
2454
         * @throws {RequiredError}
2455
         */
2456
        async documentsRequiredAnnotationsGlobalGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRequiredAnnotationsGlobalResponse>> {
2457
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsGlobalGet(options);
2458
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2459
        },
2460
        /**
2461
         * 
2462
         * @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest] 
2463
         * @param {*} [options] Override http request option.
2464
         * @throws {RequiredError}
2465
         */
2466
        async documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2467
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options);
2468
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2469
        },
2470
        /**
2471
         * 
2472
         * @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest] 
2473
         * @param {*} [options] Override http request option.
2474
         * @throws {RequiredError}
2475
         */
2476
        async documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2477
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options);
2478
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2479
        },
2480
    }
2481
};
2482

    
2483
/**
2484
 * DocumentApi - factory interface
2485
 * @export
2486
 */
2487
export const DocumentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2488
    const localVarFp = DocumentApiFp(configuration)
2489
    return {
2490
        /**
2491
         * 
2492
         * @param {string} documentId 
2493
         * @param {*} [options] Override http request option.
2494
         * @throws {RequiredError}
2495
         */
2496
        documentDocumentIdFinalPost(documentId: string, options?: any): AxiosPromise<CreateFinalAnnotationResponse> {
2497
            return localVarFp.documentDocumentIdFinalPost(documentId, options).then((request) => request(axios, basePath));
2498
        },
2499
        /**
2500
         * 
2501
         * @param {string} documentId 
2502
         * @param {*} [options] Override http request option.
2503
         * @throws {RequiredError}
2504
         */
2505
        documentDocumentIdGet(documentId: string, options?: any): AxiosPromise<DocumentPreviewResponse> {
2506
            return localVarFp.documentDocumentIdGet(documentId, options).then((request) => request(axios, basePath));
2507
        },
2508
        /**
2509
         * 
2510
         * @param {number} [pageIndex] 
2511
         * @param {number} [pageSize] 
2512
         * @param {*} [options] Override http request option.
2513
         * @throws {RequiredError}
2514
         */
2515
        documentsGet(pageIndex?: number, pageSize?: number, options?: any): AxiosPromise<DocumentListResponse> {
2516
            return localVarFp.documentsGet(pageIndex, pageSize, options).then((request) => request(axios, basePath));
2517
        },
2518
        /**
2519
         * 
2520
         * @param {DocumentAddRequest} [documentAddRequest] 
2521
         * @param {*} [options] Override http request option.
2522
         * @throws {RequiredError}
2523
         */
2524
        documentsPost(documentAddRequest?: DocumentAddRequest, options?: any): AxiosPromise<void> {
2525
            return localVarFp.documentsPost(documentAddRequest, options).then((request) => request(axios, basePath));
2526
        },
2527
        /**
2528
         * 
2529
         * @param {*} [options] Override http request option.
2530
         * @throws {RequiredError}
2531
         */
2532
        documentsRequiredAnnotationsGlobalGet(options?: any): AxiosPromise<GetRequiredAnnotationsGlobalResponse> {
2533
            return localVarFp.documentsRequiredAnnotationsGlobalGet(options).then((request) => request(axios, basePath));
2534
        },
2535
        /**
2536
         * 
2537
         * @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest] 
2538
         * @param {*} [options] Override http request option.
2539
         * @throws {RequiredError}
2540
         */
2541
        documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: any): AxiosPromise<void> {
2542
            return localVarFp.documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options).then((request) => request(axios, basePath));
2543
        },
2544
        /**
2545
         * 
2546
         * @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest] 
2547
         * @param {*} [options] Override http request option.
2548
         * @throws {RequiredError}
2549
         */
2550
        documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: any): AxiosPromise<void> {
2551
            return localVarFp.documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options).then((request) => request(axios, basePath));
2552
        },
2553
    };
2554
};
2555

    
2556
/**
2557
 * DocumentApi - object-oriented interface
2558
 * @export
2559
 * @class DocumentApi
2560
 * @extends {BaseAPI}
2561
 */
2562
export class DocumentApi extends BaseAPI {
2563
    /**
2564
     * 
2565
     * @param {string} documentId 
2566
     * @param {*} [options] Override http request option.
2567
     * @throws {RequiredError}
2568
     * @memberof DocumentApi
2569
     */
2570
    public documentDocumentIdFinalPost(documentId: string, options?: AxiosRequestConfig) {
2571
        return DocumentApiFp(this.configuration).documentDocumentIdFinalPost(documentId, options).then((request) => request(this.axios, this.basePath));
2572
    }
2573

    
2574
    /**
2575
     * 
2576
     * @param {string} documentId 
2577
     * @param {*} [options] Override http request option.
2578
     * @throws {RequiredError}
2579
     * @memberof DocumentApi
2580
     */
2581
    public documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig) {
2582
        return DocumentApiFp(this.configuration).documentDocumentIdGet(documentId, options).then((request) => request(this.axios, this.basePath));
2583
    }
2584

    
2585
    /**
2586
     * 
2587
     * @param {number} [pageIndex] 
2588
     * @param {number} [pageSize] 
2589
     * @param {*} [options] Override http request option.
2590
     * @throws {RequiredError}
2591
     * @memberof DocumentApi
2592
     */
2593
    public documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig) {
2594
        return DocumentApiFp(this.configuration).documentsGet(pageIndex, pageSize, options).then((request) => request(this.axios, this.basePath));
2595
    }
2596

    
2597
    /**
2598
     * 
2599
     * @param {DocumentAddRequest} [documentAddRequest] 
2600
     * @param {*} [options] Override http request option.
2601
     * @throws {RequiredError}
2602
     * @memberof DocumentApi
2603
     */
2604
    public documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig) {
2605
        return DocumentApiFp(this.configuration).documentsPost(documentAddRequest, options).then((request) => request(this.axios, this.basePath));
2606
    }
2607

    
2608
    /**
2609
     * 
2610
     * @param {*} [options] Override http request option.
2611
     * @throws {RequiredError}
2612
     * @memberof DocumentApi
2613
     */
2614
    public documentsRequiredAnnotationsGlobalGet(options?: AxiosRequestConfig) {
2615
        return DocumentApiFp(this.configuration).documentsRequiredAnnotationsGlobalGet(options).then((request) => request(this.axios, this.basePath));
2616
    }
2617

    
2618
    /**
2619
     * 
2620
     * @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest] 
2621
     * @param {*} [options] Override http request option.
2622
     * @throws {RequiredError}
2623
     * @memberof DocumentApi
2624
     */
2625
    public documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: AxiosRequestConfig) {
2626
        return DocumentApiFp(this.configuration).documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options).then((request) => request(this.axios, this.basePath));
2627
    }
2628

    
2629
    /**
2630
     * 
2631
     * @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest] 
2632
     * @param {*} [options] Override http request option.
2633
     * @throws {RequiredError}
2634
     * @memberof DocumentApi
2635
     */
2636
    public documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: AxiosRequestConfig) {
2637
        return DocumentApiFp(this.configuration).documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options).then((request) => request(this.axios, this.basePath));
2638
    }
2639
}
2640

    
2641

    
2642
/**
2643
 * TagApi - axios parameter creator
2644
 * @export
2645
 */
2646
export const TagApiAxiosParamCreator = function (configuration?: Configuration) {
2647
    return {
2648
        /**
2649
         * 
2650
         * @param {CreateCategoryRequest} [createCategoryRequest] 
2651
         * @param {*} [options] Override http request option.
2652
         * @throws {RequiredError}
2653
         */
2654
        categoriesPost: async (createCategoryRequest?: CreateCategoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2655
            const localVarPath = `/categories`;
2656
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2657
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2658
            let baseOptions;
2659
            if (configuration) {
2660
                baseOptions = configuration.baseOptions;
2661
            }
2662

    
2663
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2664
            const localVarHeaderParameter = {} as any;
2665
            const localVarQueryParameter = {} as any;
2666

    
2667

    
2668
    
2669
            localVarHeaderParameter['Content-Type'] = 'application/json';
2670

    
2671
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2672
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2673
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2674
            localVarRequestOptions.data = serializeDataIfNeeded(createCategoryRequest, localVarRequestOptions, configuration)
2675

    
2676
            return {
2677
                url: toPathString(localVarUrlObj),
2678
                options: localVarRequestOptions,
2679
            };
2680
        },
2681
        /**
2682
         * 
2683
         * @param {string} categoryId 
2684
         * @param {*} [options] Override http request option.
2685
         * @throws {RequiredError}
2686
         */
2687
        categoryCategoryIdDelete: async (categoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2688
            // verify required parameter 'categoryId' is not null or undefined
2689
            assertParamExists('categoryCategoryIdDelete', 'categoryId', categoryId)
2690
            const localVarPath = `/category/{categoryId}`
2691
                .replace(`{${"categoryId"}}`, encodeURIComponent(String(categoryId)));
2692
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2693
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2694
            let baseOptions;
2695
            if (configuration) {
2696
                baseOptions = configuration.baseOptions;
2697
            }
2698

    
2699
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2700
            const localVarHeaderParameter = {} as any;
2701
            const localVarQueryParameter = {} as any;
2702

    
2703

    
2704
    
2705
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2706
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2707
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2708

    
2709
            return {
2710
                url: toPathString(localVarUrlObj),
2711
                options: localVarRequestOptions,
2712
            };
2713
        },
2714
        /**
2715
         * 
2716
         * @param {string} categoryId 
2717
         * @param {ModifyCategoryRequest} [modifyCategoryRequest] 
2718
         * @param {*} [options] Override http request option.
2719
         * @throws {RequiredError}
2720
         */
2721
        categoryCategoryIdPut: async (categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2722
            // verify required parameter 'categoryId' is not null or undefined
2723
            assertParamExists('categoryCategoryIdPut', 'categoryId', categoryId)
2724
            const localVarPath = `/category/{categoryId}`
2725
                .replace(`{${"categoryId"}}`, encodeURIComponent(String(categoryId)));
2726
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2727
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2728
            let baseOptions;
2729
            if (configuration) {
2730
                baseOptions = configuration.baseOptions;
2731
            }
2732

    
2733
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2734
            const localVarHeaderParameter = {} as any;
2735
            const localVarQueryParameter = {} as any;
2736

    
2737

    
2738
    
2739
            localVarHeaderParameter['Content-Type'] = 'application/json';
2740

    
2741
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2742
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2743
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2744
            localVarRequestOptions.data = serializeDataIfNeeded(modifyCategoryRequest, localVarRequestOptions, configuration)
2745

    
2746
            return {
2747
                url: toPathString(localVarUrlObj),
2748
                options: localVarRequestOptions,
2749
            };
2750
        },
2751
        /**
2752
         * 
2753
         * @param {string} subtagId 
2754
         * @param {*} [options] Override http request option.
2755
         * @throws {RequiredError}
2756
         */
2757
        subtagSubtagIdDelete: async (subtagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2758
            // verify required parameter 'subtagId' is not null or undefined
2759
            assertParamExists('subtagSubtagIdDelete', 'subtagId', subtagId)
2760
            const localVarPath = `/subtag/{subtagId}`
2761
                .replace(`{${"subtagId"}}`, encodeURIComponent(String(subtagId)));
2762
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2763
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2764
            let baseOptions;
2765
            if (configuration) {
2766
                baseOptions = configuration.baseOptions;
2767
            }
2768

    
2769
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2770
            const localVarHeaderParameter = {} as any;
2771
            const localVarQueryParameter = {} as any;
2772

    
2773

    
2774
    
2775
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2776
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2777
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2778

    
2779
            return {
2780
                url: toPathString(localVarUrlObj),
2781
                options: localVarRequestOptions,
2782
            };
2783
        },
2784
        /**
2785
         * 
2786
         * @param {string} subtagId 
2787
         * @param {ModifySubTagRequest} [modifySubTagRequest] 
2788
         * @param {*} [options] Override http request option.
2789
         * @throws {RequiredError}
2790
         */
2791
        subtagSubtagIdPut: async (subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2792
            // verify required parameter 'subtagId' is not null or undefined
2793
            assertParamExists('subtagSubtagIdPut', 'subtagId', subtagId)
2794
            const localVarPath = `/subtag/{subtagId}`
2795
                .replace(`{${"subtagId"}}`, encodeURIComponent(String(subtagId)));
2796
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2797
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2798
            let baseOptions;
2799
            if (configuration) {
2800
                baseOptions = configuration.baseOptions;
2801
            }
2802

    
2803
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2804
            const localVarHeaderParameter = {} as any;
2805
            const localVarQueryParameter = {} as any;
2806

    
2807

    
2808
    
2809
            localVarHeaderParameter['Content-Type'] = 'application/json';
2810

    
2811
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2812
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2813
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2814
            localVarRequestOptions.data = serializeDataIfNeeded(modifySubTagRequest, localVarRequestOptions, configuration)
2815

    
2816
            return {
2817
                url: toPathString(localVarUrlObj),
2818
                options: localVarRequestOptions,
2819
            };
2820
        },
2821
        /**
2822
         * 
2823
         * @param {CreateSubTagRequest} [createSubTagRequest] 
2824
         * @param {*} [options] Override http request option.
2825
         * @throws {RequiredError}
2826
         */
2827
        subtagsPost: async (createSubTagRequest?: CreateSubTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2828
            const localVarPath = `/subtags`;
2829
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2830
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2831
            let baseOptions;
2832
            if (configuration) {
2833
                baseOptions = configuration.baseOptions;
2834
            }
2835

    
2836
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2837
            const localVarHeaderParameter = {} as any;
2838
            const localVarQueryParameter = {} as any;
2839

    
2840

    
2841
    
2842
            localVarHeaderParameter['Content-Type'] = 'application/json';
2843

    
2844
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2845
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2846
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2847
            localVarRequestOptions.data = serializeDataIfNeeded(createSubTagRequest, localVarRequestOptions, configuration)
2848

    
2849
            return {
2850
                url: toPathString(localVarUrlObj),
2851
                options: localVarRequestOptions,
2852
            };
2853
        },
2854
        /**
2855
         * 
2856
         * @param {string} tagId 
2857
         * @param {*} [options] Override http request option.
2858
         * @throws {RequiredError}
2859
         */
2860
        tagTagIdDelete: async (tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2861
            // verify required parameter 'tagId' is not null or undefined
2862
            assertParamExists('tagTagIdDelete', 'tagId', tagId)
2863
            const localVarPath = `/tag/{tagId}`
2864
                .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
2865
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2866
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2867
            let baseOptions;
2868
            if (configuration) {
2869
                baseOptions = configuration.baseOptions;
2870
            }
2871

    
2872
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2873
            const localVarHeaderParameter = {} as any;
2874
            const localVarQueryParameter = {} as any;
2875

    
2876

    
2877
    
2878
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2879
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2880
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2881

    
2882
            return {
2883
                url: toPathString(localVarUrlObj),
2884
                options: localVarRequestOptions,
2885
            };
2886
        },
2887
        /**
2888
         * 
2889
         * @param {string} tagId 
2890
         * @param {ModifyTagRequest} [modifyTagRequest] 
2891
         * @param {*} [options] Override http request option.
2892
         * @throws {RequiredError}
2893
         */
2894
        tagTagIdPut: async (tagId: string, modifyTagRequest?: ModifyTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2895
            // verify required parameter 'tagId' is not null or undefined
2896
            assertParamExists('tagTagIdPut', 'tagId', tagId)
2897
            const localVarPath = `/tag/{tagId}`
2898
                .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
2899
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2900
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2901
            let baseOptions;
2902
            if (configuration) {
2903
                baseOptions = configuration.baseOptions;
2904
            }
2905

    
2906
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2907
            const localVarHeaderParameter = {} as any;
2908
            const localVarQueryParameter = {} as any;
2909

    
2910

    
2911
    
2912
            localVarHeaderParameter['Content-Type'] = 'application/json';
2913

    
2914
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2915
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2916
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2917
            localVarRequestOptions.data = serializeDataIfNeeded(modifyTagRequest, localVarRequestOptions, configuration)
2918

    
2919
            return {
2920
                url: toPathString(localVarUrlObj),
2921
                options: localVarRequestOptions,
2922
            };
2923
        },
2924
        /**
2925
         * 
2926
         * @param {*} [options] Override http request option.
2927
         * @throws {RequiredError}
2928
         */
2929
        tagsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2930
            const localVarPath = `/tags`;
2931
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2932
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2933
            let baseOptions;
2934
            if (configuration) {
2935
                baseOptions = configuration.baseOptions;
2936
            }
2937

    
2938
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2939
            const localVarHeaderParameter = {} as any;
2940
            const localVarQueryParameter = {} as any;
2941

    
2942

    
2943
    
2944
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2945
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2946
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2947

    
2948
            return {
2949
                url: toPathString(localVarUrlObj),
2950
                options: localVarRequestOptions,
2951
            };
2952
        },
2953
        /**
2954
         * 
2955
         * @param {CreateTagRequest} [createTagRequest] 
2956
         * @param {*} [options] Override http request option.
2957
         * @throws {RequiredError}
2958
         */
2959
        tagsPost: async (createTagRequest?: CreateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2960
            const localVarPath = `/tags`;
2961
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2962
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2963
            let baseOptions;
2964
            if (configuration) {
2965
                baseOptions = configuration.baseOptions;
2966
            }
2967

    
2968
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2969
            const localVarHeaderParameter = {} as any;
2970
            const localVarQueryParameter = {} as any;
2971

    
2972

    
2973
    
2974
            localVarHeaderParameter['Content-Type'] = 'application/json';
2975

    
2976
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2977
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2978
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2979
            localVarRequestOptions.data = serializeDataIfNeeded(createTagRequest, localVarRequestOptions, configuration)
2980

    
2981
            return {
2982
                url: toPathString(localVarUrlObj),
2983
                options: localVarRequestOptions,
2984
            };
2985
        },
2986
    }
2987
};
2988

    
2989
/**
2990
 * TagApi - functional programming interface
2991
 * @export
2992
 */
2993
export const TagApiFp = function(configuration?: Configuration) {
2994
    const localVarAxiosParamCreator = TagApiAxiosParamCreator(configuration)
2995
    return {
2996
        /**
2997
         * 
2998
         * @param {CreateCategoryRequest} [createCategoryRequest] 
2999
         * @param {*} [options] Override http request option.
3000
         * @throws {RequiredError}
3001
         */
3002
        async categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3003
            const localVarAxiosArgs = await localVarAxiosParamCreator.categoriesPost(createCategoryRequest, options);
3004
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3005
        },
3006
        /**
3007
         * 
3008
         * @param {string} categoryId 
3009
         * @param {*} [options] Override http request option.
3010
         * @throws {RequiredError}
3011
         */
3012
        async categoryCategoryIdDelete(categoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3013
            const localVarAxiosArgs = await localVarAxiosParamCreator.categoryCategoryIdDelete(categoryId, options);
3014
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3015
        },
3016
        /**
3017
         * 
3018
         * @param {string} categoryId 
3019
         * @param {ModifyCategoryRequest} [modifyCategoryRequest] 
3020
         * @param {*} [options] Override http request option.
3021
         * @throws {RequiredError}
3022
         */
3023
        async categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3024
            const localVarAxiosArgs = await localVarAxiosParamCreator.categoryCategoryIdPut(categoryId, modifyCategoryRequest, options);
3025
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3026
        },
3027
        /**
3028
         * 
3029
         * @param {string} subtagId 
3030
         * @param {*} [options] Override http request option.
3031
         * @throws {RequiredError}
3032
         */
3033
        async subtagSubtagIdDelete(subtagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3034
            const localVarAxiosArgs = await localVarAxiosParamCreator.subtagSubtagIdDelete(subtagId, options);
3035
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3036
        },
3037
        /**
3038
         * 
3039
         * @param {string} subtagId 
3040
         * @param {ModifySubTagRequest} [modifySubTagRequest] 
3041
         * @param {*} [options] Override http request option.
3042
         * @throws {RequiredError}
3043
         */
3044
        async subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3045
            const localVarAxiosArgs = await localVarAxiosParamCreator.subtagSubtagIdPut(subtagId, modifySubTagRequest, options);
3046
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3047
        },
3048
        /**
3049
         * 
3050
         * @param {CreateSubTagRequest} [createSubTagRequest] 
3051
         * @param {*} [options] Override http request option.
3052
         * @throws {RequiredError}
3053
         */
3054
        async subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3055
            const localVarAxiosArgs = await localVarAxiosParamCreator.subtagsPost(createSubTagRequest, options);
3056
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3057
        },
3058
        /**
3059
         * 
3060
         * @param {string} tagId 
3061
         * @param {*} [options] Override http request option.
3062
         * @throws {RequiredError}
3063
         */
3064
        async tagTagIdDelete(tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3065
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagTagIdDelete(tagId, options);
3066
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3067
        },
3068
        /**
3069
         * 
3070
         * @param {string} tagId 
3071
         * @param {ModifyTagRequest} [modifyTagRequest] 
3072
         * @param {*} [options] Override http request option.
3073
         * @throws {RequiredError}
3074
         */
3075
        async tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3076
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagTagIdPut(tagId, modifyTagRequest, options);
3077
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3078
        },
3079
        /**
3080
         * 
3081
         * @param {*} [options] Override http request option.
3082
         * @throws {RequiredError}
3083
         */
3084
        async tagsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagTreeResponse>> {
3085
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(options);
3086
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3087
        },
3088
        /**
3089
         * 
3090
         * @param {CreateTagRequest} [createTagRequest] 
3091
         * @param {*} [options] Override http request option.
3092
         * @throws {RequiredError}
3093
         */
3094
        async tagsPost(createTagRequest?: CreateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3095
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagsPost(createTagRequest, options);
3096
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3097
        },
3098
    }
3099
};
3100

    
3101
/**
3102
 * TagApi - factory interface
3103
 * @export
3104
 */
3105
export const TagApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3106
    const localVarFp = TagApiFp(configuration)
3107
    return {
3108
        /**
3109
         * 
3110
         * @param {CreateCategoryRequest} [createCategoryRequest] 
3111
         * @param {*} [options] Override http request option.
3112
         * @throws {RequiredError}
3113
         */
3114
        categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: any): AxiosPromise<void> {
3115
            return localVarFp.categoriesPost(createCategoryRequest, options).then((request) => request(axios, basePath));
3116
        },
3117
        /**
3118
         * 
3119
         * @param {string} categoryId 
3120
         * @param {*} [options] Override http request option.
3121
         * @throws {RequiredError}
3122
         */
3123
        categoryCategoryIdDelete(categoryId: string, options?: any): AxiosPromise<void> {
3124
            return localVarFp.categoryCategoryIdDelete(categoryId, options).then((request) => request(axios, basePath));
3125
        },
3126
        /**
3127
         * 
3128
         * @param {string} categoryId 
3129
         * @param {ModifyCategoryRequest} [modifyCategoryRequest] 
3130
         * @param {*} [options] Override http request option.
3131
         * @throws {RequiredError}
3132
         */
3133
        categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: any): AxiosPromise<void> {
3134
            return localVarFp.categoryCategoryIdPut(categoryId, modifyCategoryRequest, options).then((request) => request(axios, basePath));
3135
        },
3136
        /**
3137
         * 
3138
         * @param {string} subtagId 
3139
         * @param {*} [options] Override http request option.
3140
         * @throws {RequiredError}
3141
         */
3142
        subtagSubtagIdDelete(subtagId: string, options?: any): AxiosPromise<void> {
3143
            return localVarFp.subtagSubtagIdDelete(subtagId, options).then((request) => request(axios, basePath));
3144
        },
3145
        /**
3146
         * 
3147
         * @param {string} subtagId 
3148
         * @param {ModifySubTagRequest} [modifySubTagRequest] 
3149
         * @param {*} [options] Override http request option.
3150
         * @throws {RequiredError}
3151
         */
3152
        subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: any): AxiosPromise<void> {
3153
            return localVarFp.subtagSubtagIdPut(subtagId, modifySubTagRequest, options).then((request) => request(axios, basePath));
3154
        },
3155
        /**
3156
         * 
3157
         * @param {CreateSubTagRequest} [createSubTagRequest] 
3158
         * @param {*} [options] Override http request option.
3159
         * @throws {RequiredError}
3160
         */
3161
        subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: any): AxiosPromise<void> {
3162
            return localVarFp.subtagsPost(createSubTagRequest, options).then((request) => request(axios, basePath));
3163
        },
3164
        /**
3165
         * 
3166
         * @param {string} tagId 
3167
         * @param {*} [options] Override http request option.
3168
         * @throws {RequiredError}
3169
         */
3170
        tagTagIdDelete(tagId: string, options?: any): AxiosPromise<void> {
3171
            return localVarFp.tagTagIdDelete(tagId, options).then((request) => request(axios, basePath));
3172
        },
3173
        /**
3174
         * 
3175
         * @param {string} tagId 
3176
         * @param {ModifyTagRequest} [modifyTagRequest] 
3177
         * @param {*} [options] Override http request option.
3178
         * @throws {RequiredError}
3179
         */
3180
        tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: any): AxiosPromise<void> {
3181
            return localVarFp.tagTagIdPut(tagId, modifyTagRequest, options).then((request) => request(axios, basePath));
3182
        },
3183
        /**
3184
         * 
3185
         * @param {*} [options] Override http request option.
3186
         * @throws {RequiredError}
3187
         */
3188
        tagsGet(options?: any): AxiosPromise<TagTreeResponse> {
3189
            return localVarFp.tagsGet(options).then((request) => request(axios, basePath));
3190
        },
3191
        /**
3192
         * 
3193
         * @param {CreateTagRequest} [createTagRequest] 
3194
         * @param {*} [options] Override http request option.
3195
         * @throws {RequiredError}
3196
         */
3197
        tagsPost(createTagRequest?: CreateTagRequest, options?: any): AxiosPromise<void> {
3198
            return localVarFp.tagsPost(createTagRequest, options).then((request) => request(axios, basePath));
3199
        },
3200
    };
3201
};
3202

    
3203
/**
3204
 * TagApi - object-oriented interface
3205
 * @export
3206
 * @class TagApi
3207
 * @extends {BaseAPI}
3208
 */
3209
export class TagApi extends BaseAPI {
3210
    /**
3211
     * 
3212
     * @param {CreateCategoryRequest} [createCategoryRequest] 
3213
     * @param {*} [options] Override http request option.
3214
     * @throws {RequiredError}
3215
     * @memberof TagApi
3216
     */
3217
    public categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: AxiosRequestConfig) {
3218
        return TagApiFp(this.configuration).categoriesPost(createCategoryRequest, options).then((request) => request(this.axios, this.basePath));
3219
    }
3220

    
3221
    /**
3222
     * 
3223
     * @param {string} categoryId 
3224
     * @param {*} [options] Override http request option.
3225
     * @throws {RequiredError}
3226
     * @memberof TagApi
3227
     */
3228
    public categoryCategoryIdDelete(categoryId: string, options?: AxiosRequestConfig) {
3229
        return TagApiFp(this.configuration).categoryCategoryIdDelete(categoryId, options).then((request) => request(this.axios, this.basePath));
3230
    }
3231

    
3232
    /**
3233
     * 
3234
     * @param {string} categoryId 
3235
     * @param {ModifyCategoryRequest} [modifyCategoryRequest] 
3236
     * @param {*} [options] Override http request option.
3237
     * @throws {RequiredError}
3238
     * @memberof TagApi
3239
     */
3240
    public categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: AxiosRequestConfig) {
3241
        return TagApiFp(this.configuration).categoryCategoryIdPut(categoryId, modifyCategoryRequest, options).then((request) => request(this.axios, this.basePath));
3242
    }
3243

    
3244
    /**
3245
     * 
3246
     * @param {string} subtagId 
3247
     * @param {*} [options] Override http request option.
3248
     * @throws {RequiredError}
3249
     * @memberof TagApi
3250
     */
3251
    public subtagSubtagIdDelete(subtagId: string, options?: AxiosRequestConfig) {
3252
        return TagApiFp(this.configuration).subtagSubtagIdDelete(subtagId, options).then((request) => request(this.axios, this.basePath));
3253
    }
3254

    
3255
    /**
3256
     * 
3257
     * @param {string} subtagId 
3258
     * @param {ModifySubTagRequest} [modifySubTagRequest] 
3259
     * @param {*} [options] Override http request option.
3260
     * @throws {RequiredError}
3261
     * @memberof TagApi
3262
     */
3263
    public subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: AxiosRequestConfig) {
3264
        return TagApiFp(this.configuration).subtagSubtagIdPut(subtagId, modifySubTagRequest, options).then((request) => request(this.axios, this.basePath));
3265
    }
3266

    
3267
    /**
3268
     * 
3269
     * @param {CreateSubTagRequest} [createSubTagRequest] 
3270
     * @param {*} [options] Override http request option.
3271
     * @throws {RequiredError}
3272
     * @memberof TagApi
3273
     */
3274
    public subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: AxiosRequestConfig) {
3275
        return TagApiFp(this.configuration).subtagsPost(createSubTagRequest, options).then((request) => request(this.axios, this.basePath));
3276
    }
3277

    
3278
    /**
3279
     * 
3280
     * @param {string} tagId 
3281
     * @param {*} [options] Override http request option.
3282
     * @throws {RequiredError}
3283
     * @memberof TagApi
3284
     */
3285
    public tagTagIdDelete(tagId: string, options?: AxiosRequestConfig) {
3286
        return TagApiFp(this.configuration).tagTagIdDelete(tagId, options).then((request) => request(this.axios, this.basePath));
3287
    }
3288

    
3289
    /**
3290
     * 
3291
     * @param {string} tagId 
3292
     * @param {ModifyTagRequest} [modifyTagRequest] 
3293
     * @param {*} [options] Override http request option.
3294
     * @throws {RequiredError}
3295
     * @memberof TagApi
3296
     */
3297
    public tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: AxiosRequestConfig) {
3298
        return TagApiFp(this.configuration).tagTagIdPut(tagId, modifyTagRequest, options).then((request) => request(this.axios, this.basePath));
3299
    }
3300

    
3301
    /**
3302
     * 
3303
     * @param {*} [options] Override http request option.
3304
     * @throws {RequiredError}
3305
     * @memberof TagApi
3306
     */
3307
    public tagsGet(options?: AxiosRequestConfig) {
3308
        return TagApiFp(this.configuration).tagsGet(options).then((request) => request(this.axios, this.basePath));
3309
    }
3310

    
3311
    /**
3312
     * 
3313
     * @param {CreateTagRequest} [createTagRequest] 
3314
     * @param {*} [options] Override http request option.
3315
     * @throws {RequiredError}
3316
     * @memberof TagApi
3317
     */
3318
    public tagsPost(createTagRequest?: CreateTagRequest, options?: AxiosRequestConfig) {
3319
        return TagApiFp(this.configuration).tagsPost(createTagRequest, options).then((request) => request(this.axios, this.basePath));
3320
    }
3321
}
3322

    
3323

    
3324
/**
3325
 * UserApi - axios parameter creator
3326
 * @export
3327
 */
3328
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
3329
    return {
3330
        /**
3331
         * 
3332
         * @param {*} [options] Override http request option.
3333
         * @throws {RequiredError}
3334
         */
3335
        userAnnotationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3336
            const localVarPath = `/user/annotations`;
3337
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3338
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3339
            let baseOptions;
3340
            if (configuration) {
3341
                baseOptions = configuration.baseOptions;
3342
            }
3343

    
3344
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3345
            const localVarHeaderParameter = {} as any;
3346
            const localVarQueryParameter = {} as any;
3347

    
3348

    
3349
    
3350
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3351
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3352
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3353

    
3354
            return {
3355
                url: toPathString(localVarUrlObj),
3356
                options: localVarRequestOptions,
3357
            };
3358
        },
3359
        /**
3360
         * 
3361
         * @param {string} userId 
3362
         * @param {*} [options] Override http request option.
3363
         * @throws {RequiredError}
3364
         */
3365
        userUserIdAnnotationsGet: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3366
            // verify required parameter 'userId' is not null or undefined
3367
            assertParamExists('userUserIdAnnotationsGet', 'userId', userId)
3368
            const localVarPath = `/user/{userId}/annotations`
3369
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
3370
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3371
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3372
            let baseOptions;
3373
            if (configuration) {
3374
                baseOptions = configuration.baseOptions;
3375
            }
3376

    
3377
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3378
            const localVarHeaderParameter = {} as any;
3379
            const localVarQueryParameter = {} as any;
3380

    
3381

    
3382
    
3383
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3384
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3385
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3386

    
3387
            return {
3388
                url: toPathString(localVarUrlObj),
3389
                options: localVarRequestOptions,
3390
            };
3391
        },
3392
        /**
3393
         * 
3394
         * @param {string} userId 
3395
         * @param {*} [options] Override http request option.
3396
         * @throws {RequiredError}
3397
         */
3398
        userUserIdDelete: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3399
            // verify required parameter 'userId' is not null or undefined
3400
            assertParamExists('userUserIdDelete', 'userId', userId)
3401
            const localVarPath = `/user/{userId}`
3402
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
3403
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3404
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3405
            let baseOptions;
3406
            if (configuration) {
3407
                baseOptions = configuration.baseOptions;
3408
            }
3409

    
3410
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3411
            const localVarHeaderParameter = {} as any;
3412
            const localVarQueryParameter = {} as any;
3413

    
3414

    
3415
    
3416
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3417
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3418
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3419

    
3420
            return {
3421
                url: toPathString(localVarUrlObj),
3422
                options: localVarRequestOptions,
3423
            };
3424
        },
3425
        /**
3426
         * 
3427
         * @param {string} userId 
3428
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
3429
         * @param {*} [options] Override http request option.
3430
         * @throws {RequiredError}
3431
         */
3432
        userUserIdPut: async (userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3433
            // verify required parameter 'userId' is not null or undefined
3434
            assertParamExists('userUserIdPut', 'userId', userId)
3435
            const localVarPath = `/user/{userId}`
3436
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
3437
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3438
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3439
            let baseOptions;
3440
            if (configuration) {
3441
                baseOptions = configuration.baseOptions;
3442
            }
3443

    
3444
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3445
            const localVarHeaderParameter = {} as any;
3446
            const localVarQueryParameter = {} as any;
3447

    
3448

    
3449
    
3450
            localVarHeaderParameter['Content-Type'] = 'application/json';
3451

    
3452
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3453
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3454
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3455
            localVarRequestOptions.data = serializeDataIfNeeded(changeUserInfoRequest, localVarRequestOptions, configuration)
3456

    
3457
            return {
3458
                url: toPathString(localVarUrlObj),
3459
                options: localVarRequestOptions,
3460
            };
3461
        },
3462
        /**
3463
         * 
3464
         * @param {*} [options] Override http request option.
3465
         * @throws {RequiredError}
3466
         */
3467
        usersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3468
            const localVarPath = `/users`;
3469
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3470
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3471
            let baseOptions;
3472
            if (configuration) {
3473
                baseOptions = configuration.baseOptions;
3474
            }
3475

    
3476
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3477
            const localVarHeaderParameter = {} as any;
3478
            const localVarQueryParameter = {} as any;
3479

    
3480

    
3481
    
3482
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3483
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3484
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3485

    
3486
            return {
3487
                url: toPathString(localVarUrlObj),
3488
                options: localVarRequestOptions,
3489
            };
3490
        },
3491
        /**
3492
         * 
3493
         * @param {CreateUserRequest} [createUserRequest] 
3494
         * @param {*} [options] Override http request option.
3495
         * @throws {RequiredError}
3496
         */
3497
        usersPost: async (createUserRequest?: CreateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3498
            const localVarPath = `/users`;
3499
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3500
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3501
            let baseOptions;
3502
            if (configuration) {
3503
                baseOptions = configuration.baseOptions;
3504
            }
3505

    
3506
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3507
            const localVarHeaderParameter = {} as any;
3508
            const localVarQueryParameter = {} as any;
3509

    
3510

    
3511
    
3512
            localVarHeaderParameter['Content-Type'] = 'application/json';
3513

    
3514
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3515
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3516
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3517
            localVarRequestOptions.data = serializeDataIfNeeded(createUserRequest, localVarRequestOptions, configuration)
3518

    
3519
            return {
3520
                url: toPathString(localVarUrlObj),
3521
                options: localVarRequestOptions,
3522
            };
3523
        },
3524
    }
3525
};
3526

    
3527
/**
3528
 * UserApi - functional programming interface
3529
 * @export
3530
 */
3531
export const UserApiFp = function(configuration?: Configuration) {
3532
    const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
3533
    return {
3534
        /**
3535
         * 
3536
         * @param {*} [options] Override http request option.
3537
         * @throws {RequiredError}
3538
         */
3539
        async userAnnotationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
3540
            const localVarAxiosArgs = await localVarAxiosParamCreator.userAnnotationsGet(options);
3541
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3542
        },
3543
        /**
3544
         * 
3545
         * @param {string} userId 
3546
         * @param {*} [options] Override http request option.
3547
         * @throws {RequiredError}
3548
         */
3549
        async userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
3550
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdAnnotationsGet(userId, options);
3551
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3552
        },
3553
        /**
3554
         * 
3555
         * @param {string} userId 
3556
         * @param {*} [options] Override http request option.
3557
         * @throws {RequiredError}
3558
         */
3559
        async userUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3560
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdDelete(userId, options);
3561
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3562
        },
3563
        /**
3564
         * 
3565
         * @param {string} userId 
3566
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
3567
         * @param {*} [options] Override http request option.
3568
         * @throws {RequiredError}
3569
         */
3570
        async userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3571
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdPut(userId, changeUserInfoRequest, options);
3572
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3573
        },
3574
        /**
3575
         * 
3576
         * @param {*} [options] Override http request option.
3577
         * @throws {RequiredError}
3578
         */
3579
        async usersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>> {
3580
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersGet(options);
3581
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3582
        },
3583
        /**
3584
         * 
3585
         * @param {CreateUserRequest} [createUserRequest] 
3586
         * @param {*} [options] Override http request option.
3587
         * @throws {RequiredError}
3588
         */
3589
        async usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3590
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersPost(createUserRequest, options);
3591
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3592
        },
3593
    }
3594
};
3595

    
3596
/**
3597
 * UserApi - factory interface
3598
 * @export
3599
 */
3600
export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3601
    const localVarFp = UserApiFp(configuration)
3602
    return {
3603
        /**
3604
         * 
3605
         * @param {*} [options] Override http request option.
3606
         * @throws {RequiredError}
3607
         */
3608
        userAnnotationsGet(options?: any): AxiosPromise<AnnotationListResponse> {
3609
            return localVarFp.userAnnotationsGet(options).then((request) => request(axios, basePath));
3610
        },
3611
        /**
3612
         * 
3613
         * @param {string} userId 
3614
         * @param {*} [options] Override http request option.
3615
         * @throws {RequiredError}
3616
         */
3617
        userUserIdAnnotationsGet(userId: string, options?: any): AxiosPromise<AnnotationListResponse> {
3618
            return localVarFp.userUserIdAnnotationsGet(userId, options).then((request) => request(axios, basePath));
3619
        },
3620
        /**
3621
         * 
3622
         * @param {string} userId 
3623
         * @param {*} [options] Override http request option.
3624
         * @throws {RequiredError}
3625
         */
3626
        userUserIdDelete(userId: string, options?: any): AxiosPromise<void> {
3627
            return localVarFp.userUserIdDelete(userId, options).then((request) => request(axios, basePath));
3628
        },
3629
        /**
3630
         * 
3631
         * @param {string} userId 
3632
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
3633
         * @param {*} [options] Override http request option.
3634
         * @throws {RequiredError}
3635
         */
3636
        userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: any): AxiosPromise<void> {
3637
            return localVarFp.userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(axios, basePath));
3638
        },
3639
        /**
3640
         * 
3641
         * @param {*} [options] Override http request option.
3642
         * @throws {RequiredError}
3643
         */
3644
        usersGet(options?: any): AxiosPromise<UserList> {
3645
            return localVarFp.usersGet(options).then((request) => request(axios, basePath));
3646
        },
3647
        /**
3648
         * 
3649
         * @param {CreateUserRequest} [createUserRequest] 
3650
         * @param {*} [options] Override http request option.
3651
         * @throws {RequiredError}
3652
         */
3653
        usersPost(createUserRequest?: CreateUserRequest, options?: any): AxiosPromise<void> {
3654
            return localVarFp.usersPost(createUserRequest, options).then((request) => request(axios, basePath));
3655
        },
3656
    };
3657
};
3658

    
3659
/**
3660
 * UserApi - object-oriented interface
3661
 * @export
3662
 * @class UserApi
3663
 * @extends {BaseAPI}
3664
 */
3665
export class UserApi extends BaseAPI {
3666
    /**
3667
     * 
3668
     * @param {*} [options] Override http request option.
3669
     * @throws {RequiredError}
3670
     * @memberof UserApi
3671
     */
3672
    public userAnnotationsGet(options?: AxiosRequestConfig) {
3673
        return UserApiFp(this.configuration).userAnnotationsGet(options).then((request) => request(this.axios, this.basePath));
3674
    }
3675

    
3676
    /**
3677
     * 
3678
     * @param {string} userId 
3679
     * @param {*} [options] Override http request option.
3680
     * @throws {RequiredError}
3681
     * @memberof UserApi
3682
     */
3683
    public userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig) {
3684
        return UserApiFp(this.configuration).userUserIdAnnotationsGet(userId, options).then((request) => request(this.axios, this.basePath));
3685
    }
3686

    
3687
    /**
3688
     * 
3689
     * @param {string} userId 
3690
     * @param {*} [options] Override http request option.
3691
     * @throws {RequiredError}
3692
     * @memberof UserApi
3693
     */
3694
    public userUserIdDelete(userId: string, options?: AxiosRequestConfig) {
3695
        return UserApiFp(this.configuration).userUserIdDelete(userId, options).then((request) => request(this.axios, this.basePath));
3696
    }
3697

    
3698
    /**
3699
     * 
3700
     * @param {string} userId 
3701
     * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
3702
     * @param {*} [options] Override http request option.
3703
     * @throws {RequiredError}
3704
     * @memberof UserApi
3705
     */
3706
    public userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig) {
3707
        return UserApiFp(this.configuration).userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(this.axios, this.basePath));
3708
    }
3709

    
3710
    /**
3711
     * 
3712
     * @param {*} [options] Override http request option.
3713
     * @throws {RequiredError}
3714
     * @memberof UserApi
3715
     */
3716
    public usersGet(options?: AxiosRequestConfig) {
3717
        return UserApiFp(this.configuration).usersGet(options).then((request) => request(this.axios, this.basePath));
3718
    }
3719

    
3720
    /**
3721
     * 
3722
     * @param {CreateUserRequest} [createUserRequest] 
3723
     * @param {*} [options] Override http request option.
3724
     * @throws {RequiredError}
3725
     * @memberof UserApi
3726
     */
3727
    public usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig) {
3728
        return UserApiFp(this.configuration).usersPost(createUserRequest, options).then((request) => request(this.axios, this.basePath));
3729
    }
3730
}
3731

    
3732

    
(4-4/9)