Projekt

Obecné

Profil

Stáhnout (150 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 Annotation
54
 */
55
export interface Annotation {
56
    /**
57
     * 
58
     * @type {string}
59
     * @memberof Annotation
60
     */
61
    'id'?: string;
62
    /**
63
     * 
64
     * @type {Document}
65
     * @memberof Annotation
66
     */
67
    'document'?: Document;
68
    /**
69
     * 
70
     * @type {User}
71
     * @memberof Annotation
72
     */
73
    'user'?: User;
74
    /**
75
     * 
76
     * @type {User}
77
     * @memberof Annotation
78
     */
79
    'userAssigned'?: User;
80
    /**
81
     * 
82
     * @type {string}
83
     * @memberof Annotation
84
     */
85
    'dateAssigned'?: string;
86
    /**
87
     * 
88
     * @type {EState}
89
     * @memberof Annotation
90
     */
91
    'state'?: EState;
92
    /**
93
     * 
94
     * @type {string}
95
     * @memberof Annotation
96
     */
97
    'dateLastChanged'?: string;
98
    /**
99
     * 
100
     * @type {string}
101
     * @memberof Annotation
102
     */
103
    'note'?: string | null;
104
    /**
105
     * 
106
     * @type {string}
107
     * @memberof Annotation
108
     */
109
    'cachedDocumentHTML'?: string | null;
110
    /**
111
     * 
112
     * @type {string}
113
     * @memberof Annotation
114
     */
115
    'cachedStartPositions'?: string | null;
116
    /**
117
     * 
118
     * @type {string}
119
     * @memberof Annotation
120
     */
121
    'cachedLengths'?: string | null;
122
    /**
123
     * 
124
     * @type {string}
125
     * @memberof Annotation
126
     */
127
    'cachedClosingPositions'?: string | null;
128
    /**
129
     * 
130
     * @type {string}
131
     * @memberof Annotation
132
     */
133
    'cachedClosingLengths'?: string | null;
134
    /**
135
     * 
136
     * @type {string}
137
     * @memberof Annotation
138
     */
139
    'cachedCSS'?: string | null;
140
    /**
141
     * 
142
     * @type {string}
143
     * @memberof Annotation
144
     */
145
    'lastModifiedTagId'?: string | null;
146
    /**
147
     * 
148
     * @type {EModified}
149
     * @memberof Annotation
150
     */
151
    'modifiedType'?: EModified;
152
    /**
153
     * 
154
     * @type {Array<Class>}
155
     * @memberof Annotation
156
     */
157
    'classes'?: Array<Class> | null;
158
    /**
159
     * 
160
     * @type {Array<FinalAnnotation>}
161
     * @memberof Annotation
162
     */
163
    'finalAnnotations'?: Array<FinalAnnotation> | null;
164
}
165
/**
166
 * 
167
 * @export
168
 * @interface AnnotationInfo
169
 */
170
export interface AnnotationInfo {
171
    /**
172
     * 
173
     * @type {string}
174
     * @memberof AnnotationInfo
175
     */
176
    'sourceDocumentContent'?: string | null;
177
    /**
178
     * 
179
     * @type {string}
180
     * @memberof AnnotationInfo
181
     */
182
    'documentToRender'?: string | null;
183
    /**
184
     * 
185
     * @type {Array<number>}
186
     * @memberof AnnotationInfo
187
     */
188
    'tagStartPositions'?: Array<number> | null;
189
    /**
190
     * 
191
     * @type {Array<number>}
192
     * @memberof AnnotationInfo
193
     */
194
    'tagLengths'?: Array<number> | null;
195
    /**
196
     * 
197
     * @type {EState}
198
     * @memberof AnnotationInfo
199
     */
200
    'state'?: EState;
201
    /**
202
     * 
203
     * @type {EDocumentType}
204
     * @memberof AnnotationInfo
205
     */
206
    'type'?: EDocumentType;
207
    /**
208
     * 
209
     * @type {string}
210
     * @memberof AnnotationInfo
211
     */
212
    'note'?: string | null;
213
    /**
214
     * 
215
     * @type {Array<TagInstanceInfo>}
216
     * @memberof AnnotationInfo
217
     */
218
    'tagInstances'?: Array<TagInstanceInfo> | null;
219
    /**
220
     * 
221
     * @type {Array<TagInstanceCSSInfo>}
222
     * @memberof AnnotationInfo
223
     */
224
    'cssInfo'?: Array<TagInstanceCSSInfo> | null;
225
}
226
/**
227
 * 
228
 * @export
229
 * @interface AnnotationInstanceAddRequest
230
 */
231
export interface AnnotationInstanceAddRequest {
232
    /**
233
     * 
234
     * @type {number}
235
     * @memberof AnnotationInstanceAddRequest
236
     */
237
    'position'?: number;
238
    /**
239
     * 
240
     * @type {number}
241
     * @memberof AnnotationInstanceAddRequest
242
     */
243
    'length'?: number;
244
    /**
245
     * 
246
     * @type {ETagType}
247
     * @memberof AnnotationInstanceAddRequest
248
     */
249
    'type'?: ETagType;
250
    /**
251
     * 
252
     * @type {string}
253
     * @memberof AnnotationInstanceAddRequest
254
     */
255
    'id'?: string;
256
    /**
257
     * 
258
     * @type {string}
259
     * @memberof AnnotationInstanceAddRequest
260
     */
261
    'instanceId'?: string | null;
262
    /**
263
     * 
264
     * @type {string}
265
     * @memberof AnnotationInstanceAddRequest
266
     */
267
    'selectedText'?: string | null;
268
}
269
/**
270
 * 
271
 * @export
272
 * @interface AnnotationListInfo
273
 */
274
export interface AnnotationListInfo {
275
    /**
276
     * 
277
     * @type {string}
278
     * @memberof AnnotationListInfo
279
     */
280
    'documentName'?: string | null;
281
    /**
282
     * 
283
     * @type {EState}
284
     * @memberof AnnotationListInfo
285
     */
286
    'state'?: EState;
287
    /**
288
     * 
289
     * @type {string}
290
     * @memberof AnnotationListInfo
291
     */
292
    'annotationId'?: string;
293
}
294
/**
295
 * 
296
 * @export
297
 * @interface AnnotationListResponse
298
 */
299
export interface AnnotationListResponse {
300
    /**
301
     * 
302
     * @type {Array<AnnotationListInfo>}
303
     * @memberof AnnotationListResponse
304
     */
305
    'annotations'?: Array<AnnotationListInfo> | null;
306
}
307
/**
308
 * 
309
 * @export
310
 * @interface AnnotationsAddRequest
311
 */
312
export interface AnnotationsAddRequest {
313
    /**
314
     * 
315
     * @type {Array<string>}
316
     * @memberof AnnotationsAddRequest
317
     */
318
    'userIdList'?: Array<string> | null;
319
    /**
320
     * 
321
     * @type {Array<string>}
322
     * @memberof AnnotationsAddRequest
323
     */
324
    'documentIdList'?: Array<string> | null;
325
}
326
/**
327
 * 
328
 * @export
329
 * @interface ChangeUserInfoRequest
330
 */
331
export interface ChangeUserInfoRequest {
332
    /**
333
     * 
334
     * @type {string}
335
     * @memberof ChangeUserInfoRequest
336
     */
337
    'password'?: string | null;
338
    /**
339
     * 
340
     * @type {string}
341
     * @memberof ChangeUserInfoRequest
342
     */
343
    'username'?: string | null;
344
    /**
345
     * 
346
     * @type {string}
347
     * @memberof ChangeUserInfoRequest
348
     */
349
    'name'?: string | null;
350
    /**
351
     * 
352
     * @type {string}
353
     * @memberof ChangeUserInfoRequest
354
     */
355
    'surname'?: string | null;
356
    /**
357
     * 
358
     * @type {ERole}
359
     * @memberof ChangeUserInfoRequest
360
     */
361
    'role'?: ERole;
362
}
363
/**
364
 * 
365
 * @export
366
 * @interface Class
367
 */
368
export interface Class {
369
    /**
370
     * 
371
     * @type {string}
372
     * @memberof Class
373
     */
374
    'id'?: string;
375
    /**
376
     * 
377
     * @type {string}
378
     * @memberof Class
379
     */
380
    'name'?: string | null;
381
    /**
382
     * 
383
     * @type {string}
384
     * @memberof Class
385
     */
386
    'description'?: string | null;
387
    /**
388
     * 
389
     * @type {string}
390
     * @memberof Class
391
     */
392
    'color'?: string | null;
393
    /**
394
     * 
395
     * @type {Array<Annotation>}
396
     * @memberof Class
397
     */
398
    'annotations'?: Array<Annotation> | null;
399
}
400
/**
401
 * 
402
 * @export
403
 * @interface ClientInfo
404
 */
405
export interface ClientInfo {
406
    /**
407
     * 
408
     * @type {boolean}
409
     * @memberof ClientInfo
410
     */
411
    'isLogged'?: boolean;
412
    /**
413
     * 
414
     * @type {User}
415
     * @memberof ClientInfo
416
     */
417
    'loggedUser'?: User;
418
    /**
419
     * 
420
     * @type {string}
421
     * @memberof ClientInfo
422
     */
423
    'ip'?: string | null;
424
}
425
/**
426
 * 
427
 * @export
428
 * @interface CreateCategoryRequest
429
 */
430
export interface CreateCategoryRequest {
431
    /**
432
     * 
433
     * @type {string}
434
     * @memberof CreateCategoryRequest
435
     */
436
    'name'?: string | null;
437
    /**
438
     * 
439
     * @type {string}
440
     * @memberof CreateCategoryRequest
441
     */
442
    'description'?: string | null;
443
    /**
444
     * 
445
     * @type {string}
446
     * @memberof CreateCategoryRequest
447
     */
448
    'color'?: string | null;
449
    /**
450
     * 
451
     * @type {boolean}
452
     * @memberof CreateCategoryRequest
453
     */
454
    'disabledForAnnotators'?: boolean;
455
}
456
/**
457
 * 
458
 * @export
459
 * @interface CreateFinalAnnotationResponse
460
 */
461
export interface CreateFinalAnnotationResponse {
462
    /**
463
     * 
464
     * @type {string}
465
     * @memberof CreateFinalAnnotationResponse
466
     */
467
    'finalAnnotationId'?: string;
468
}
469
/**
470
 * 
471
 * @export
472
 * @interface CreateSubTagRequest
473
 */
474
export interface CreateSubTagRequest {
475
    /**
476
     * 
477
     * @type {string}
478
     * @memberof CreateSubTagRequest
479
     */
480
    'name'?: string | null;
481
    /**
482
     * 
483
     * @type {string}
484
     * @memberof CreateSubTagRequest
485
     */
486
    'description'?: string | null;
487
    /**
488
     * 
489
     * @type {string}
490
     * @memberof CreateSubTagRequest
491
     */
492
    'tagId'?: string;
493
    /**
494
     * 
495
     * @type {boolean}
496
     * @memberof CreateSubTagRequest
497
     */
498
    'sentimentEnabled'?: boolean;
499
}
500
/**
501
 * 
502
 * @export
503
 * @interface CreateTagRequest
504
 */
505
export interface CreateTagRequest {
506
    /**
507
     * 
508
     * @type {string}
509
     * @memberof CreateTagRequest
510
     */
511
    'categoryId'?: string;
512
    /**
513
     * 
514
     * @type {string}
515
     * @memberof CreateTagRequest
516
     */
517
    'name'?: string | null;
518
    /**
519
     * 
520
     * @type {string}
521
     * @memberof CreateTagRequest
522
     */
523
    'description'?: string | null;
524
    /**
525
     * 
526
     * @type {string}
527
     * @memberof CreateTagRequest
528
     */
529
    'color'?: string | null;
530
    /**
531
     * 
532
     * @type {boolean}
533
     * @memberof CreateTagRequest
534
     */
535
    'sentimentEnabled'?: boolean;
536
}
537
/**
538
 * 
539
 * @export
540
 * @interface CreateUserRequest
541
 */
542
export interface CreateUserRequest {
543
    /**
544
     * 
545
     * @type {string}
546
     * @memberof CreateUserRequest
547
     */
548
    'username'?: string | null;
549
    /**
550
     * 
551
     * @type {string}
552
     * @memberof CreateUserRequest
553
     */
554
    'password'?: string | null;
555
    /**
556
     * 
557
     * @type {string}
558
     * @memberof CreateUserRequest
559
     */
560
    'name'?: string | null;
561
    /**
562
     * 
563
     * @type {string}
564
     * @memberof CreateUserRequest
565
     */
566
    'surname'?: string | null;
567
    /**
568
     * 
569
     * @type {ERole}
570
     * @memberof CreateUserRequest
571
     */
572
    'role'?: ERole;
573
}
574
/**
575
 * 
576
 * @export
577
 * @interface Document
578
 */
579
export interface Document {
580
    /**
581
     * 
582
     * @type {string}
583
     * @memberof Document
584
     */
585
    'id'?: string;
586
    /**
587
     * 
588
     * @type {string}
589
     * @memberof Document
590
     */
591
    'name'?: string | null;
592
    /**
593
     * 
594
     * @type {number}
595
     * @memberof Document
596
     */
597
    'length'?: number;
598
    /**
599
     * 
600
     * @type {DocumentContent}
601
     * @memberof Document
602
     */
603
    'content'?: DocumentContent;
604
    /**
605
     * 
606
     * @type {string}
607
     * @memberof Document
608
     */
609
    'dateAdded'?: string;
610
    /**
611
     * 
612
     * @type {User}
613
     * @memberof Document
614
     */
615
    'userAdded'?: User;
616
    /**
617
     * 
618
     * @type {number}
619
     * @memberof Document
620
     */
621
    'requiredAnnotations'?: number;
622
}
623
/**
624
 * 
625
 * @export
626
 * @interface DocumentAddInfo
627
 */
628
export interface DocumentAddInfo {
629
    /**
630
     * 
631
     * @type {string}
632
     * @memberof DocumentAddInfo
633
     */
634
    'name'?: string | null;
635
    /**
636
     * 
637
     * @type {EAddDocumentFormat}
638
     * @memberof DocumentAddInfo
639
     */
640
    'format'?: EAddDocumentFormat;
641
    /**
642
     * 
643
     * @type {string}
644
     * @memberof DocumentAddInfo
645
     */
646
    'content'?: string | null;
647
}
648
/**
649
 * 
650
 * @export
651
 * @interface DocumentAddRequest
652
 */
653
export interface DocumentAddRequest {
654
    /**
655
     * 
656
     * @type {Array<DocumentAddInfo>}
657
     * @memberof DocumentAddRequest
658
     */
659
    'documents'?: Array<DocumentAddInfo> | null;
660
}
661
/**
662
 * 
663
 * @export
664
 * @interface DocumentAnnotationInfo
665
 */
666
export interface DocumentAnnotationInfo {
667
    /**
668
     * 
669
     * @type {string}
670
     * @memberof DocumentAnnotationInfo
671
     */
672
    'annotationId'?: string;
673
    /**
674
     * 
675
     * @type {string}
676
     * @memberof DocumentAnnotationInfo
677
     */
678
    'userId'?: string;
679
    /**
680
     * 
681
     * @type {string}
682
     * @memberof DocumentAnnotationInfo
683
     */
684
    'userFirstName'?: string | null;
685
    /**
686
     * 
687
     * @type {string}
688
     * @memberof DocumentAnnotationInfo
689
     */
690
    'userSurname'?: string | null;
691
    /**
692
     * 
693
     * @type {string}
694
     * @memberof DocumentAnnotationInfo
695
     */
696
    'username'?: string | null;
697
}
698
/**
699
 * 
700
 * @export
701
 * @interface DocumentContent
702
 */
703
export interface DocumentContent {
704
    /**
705
     * 
706
     * @type {string}
707
     * @memberof DocumentContent
708
     */
709
    'id'?: string;
710
    /**
711
     * 
712
     * @type {string}
713
     * @memberof DocumentContent
714
     */
715
    'content'?: string | null;
716
}
717
/**
718
 * 
719
 * @export
720
 * @interface DocumentListInfo
721
 */
722
export interface DocumentListInfo {
723
    /**
724
     * 
725
     * @type {string}
726
     * @memberof DocumentListInfo
727
     */
728
    'id'?: string;
729
    /**
730
     * 
731
     * @type {string}
732
     * @memberof DocumentListInfo
733
     */
734
    'name'?: string | null;
735
    /**
736
     * 
737
     * @type {number}
738
     * @memberof DocumentListInfo
739
     */
740
    'length'?: number;
741
    /**
742
     * 
743
     * @type {number}
744
     * @memberof DocumentListInfo
745
     */
746
    'requiredAnnotations'?: number;
747
    /**
748
     * 
749
     * @type {Array<DocumentUserInfo>}
750
     * @memberof DocumentListInfo
751
     */
752
    'annotatingUsers'?: Array<DocumentUserInfo> | null;
753
    /**
754
     * 
755
     * @type {boolean}
756
     * @memberof DocumentListInfo
757
     */
758
    'finalizedExists'?: boolean;
759
    /**
760
     * 
761
     * @type {string}
762
     * @memberof DocumentListInfo
763
     */
764
    'finalizedAnnotationId'?: string | null;
765
    /**
766
     * 
767
     * @type {EState}
768
     * @memberof DocumentListInfo
769
     */
770
    'finalizedState'?: EState;
771
    /**
772
     * 
773
     * @type {Array<DocumentAnnotationInfo>}
774
     * @memberof DocumentListInfo
775
     */
776
    'finalAnnotations'?: Array<DocumentAnnotationInfo> | null;
777
}
778
/**
779
 * 
780
 * @export
781
 * @interface DocumentListResponse
782
 */
783
export interface DocumentListResponse {
784
    /**
785
     * 
786
     * @type {number}
787
     * @memberof DocumentListResponse
788
     */
789
    'totalCount'?: number;
790
    /**
791
     * 
792
     * @type {number}
793
     * @memberof DocumentListResponse
794
     */
795
    'pageCount'?: number;
796
    /**
797
     * 
798
     * @type {number}
799
     * @memberof DocumentListResponse
800
     */
801
    'pageIndex'?: number;
802
    /**
803
     * 
804
     * @type {Array<DocumentListInfo>}
805
     * @memberof DocumentListResponse
806
     */
807
    'documents'?: Array<DocumentListInfo> | null;
808
}
809
/**
810
 * 
811
 * @export
812
 * @interface DocumentPreviewResponse
813
 */
814
export interface DocumentPreviewResponse {
815
    /**
816
     * 
817
     * @type {string}
818
     * @memberof DocumentPreviewResponse
819
     */
820
    'content'?: string | null;
821
}
822
/**
823
 * 
824
 * @export
825
 * @interface DocumentUserInfo
826
 */
827
export interface DocumentUserInfo {
828
    /**
829
     * 
830
     * @type {string}
831
     * @memberof DocumentUserInfo
832
     */
833
    'id'?: string;
834
    /**
835
     * 
836
     * @type {string}
837
     * @memberof DocumentUserInfo
838
     */
839
    'username'?: string | null;
840
    /**
841
     * 
842
     * @type {string}
843
     * @memberof DocumentUserInfo
844
     */
845
    'name'?: string | null;
846
    /**
847
     * 
848
     * @type {string}
849
     * @memberof DocumentUserInfo
850
     */
851
    'surname'?: string | null;
852
    /**
853
     * 
854
     * @type {EState}
855
     * @memberof DocumentUserInfo
856
     */
857
    'state'?: EState;
858
}
859
/**
860
 * 
861
 * @export
862
 * @enum {string}
863
 */
864

    
865
export const EAddDocumentFormat = {
866
    Zip: 'ZIP',
867
    Textfile: 'TEXTFILE'
868
} as const;
869

    
870
export type EAddDocumentFormat = typeof EAddDocumentFormat[keyof typeof EAddDocumentFormat];
871

    
872

    
873
/**
874
 * 
875
 * @export
876
 * @enum {string}
877
 */
878

    
879
export const EDocumentType = {
880
    Html: 'HTML',
881
    Text: 'TEXT'
882
} as const;
883

    
884
export type EDocumentType = typeof EDocumentType[keyof typeof EDocumentType];
885

    
886

    
887
/**
888
 * 
889
 * @export
890
 * @enum {string}
891
 */
892

    
893
export const EModified = {
894
    Added: 'ADDED',
895
    Removed: 'REMOVED',
896
    None: 'NONE'
897
} as const;
898

    
899
export type EModified = typeof EModified[keyof typeof EModified];
900

    
901

    
902
/**
903
 * 
904
 * @export
905
 * @enum {string}
906
 */
907

    
908
export const ERole = {
909
    Annotator: 'ANNOTATOR',
910
    Administrator: 'ADMINISTRATOR'
911
} as const;
912

    
913
export type ERole = typeof ERole[keyof typeof ERole];
914

    
915

    
916
/**
917
 * 
918
 * @export
919
 * @enum {string}
920
 */
921

    
922
export const EState = {
923
    Done: 'DONE',
924
    InProgress: 'IN_PROGRESS',
925
    New: 'NEW'
926
} as const;
927

    
928
export type EState = typeof EState[keyof typeof EState];
929

    
930

    
931
/**
932
 * 
933
 * @export
934
 * @enum {string}
935
 */
936

    
937
export const ETagSentiment = {
938
    Neutral: 'NEUTRAL',
939
    Positive: 'POSITIVE',
940
    Negative: 'NEGATIVE'
941
} as const;
942

    
943
export type ETagSentiment = typeof ETagSentiment[keyof typeof ETagSentiment];
944

    
945

    
946
/**
947
 * 
948
 * @export
949
 * @enum {string}
950
 */
951

    
952
export const ETagType = {
953
    Tag: 'TAG',
954
    Subtag: 'SUBTAG'
955
} as const;
956

    
957
export type ETagType = typeof ETagType[keyof typeof ETagType];
958

    
959

    
960
/**
961
 * 
962
 * @export
963
 * @interface FinalAnnotation
964
 */
965
export interface FinalAnnotation {
966
    /**
967
     * 
968
     * @type {string}
969
     * @memberof FinalAnnotation
970
     */
971
    'id'?: string;
972
    /**
973
     * 
974
     * @type {Document}
975
     * @memberof FinalAnnotation
976
     */
977
    'document'?: Document;
978
    /**
979
     * 
980
     * @type {User}
981
     * @memberof FinalAnnotation
982
     */
983
    'user'?: User;
984
    /**
985
     * 
986
     * @type {User}
987
     * @memberof FinalAnnotation
988
     */
989
    'userAssigned'?: User;
990
    /**
991
     * 
992
     * @type {string}
993
     * @memberof FinalAnnotation
994
     */
995
    'dateAssigned'?: string;
996
    /**
997
     * 
998
     * @type {EState}
999
     * @memberof FinalAnnotation
1000
     */
1001
    'state'?: EState;
1002
    /**
1003
     * 
1004
     * @type {string}
1005
     * @memberof FinalAnnotation
1006
     */
1007
    'dateLastChanged'?: string;
1008
    /**
1009
     * 
1010
     * @type {string}
1011
     * @memberof FinalAnnotation
1012
     */
1013
    'note'?: string | null;
1014
    /**
1015
     * 
1016
     * @type {string}
1017
     * @memberof FinalAnnotation
1018
     */
1019
    'cachedDocumentHTML'?: string | null;
1020
    /**
1021
     * 
1022
     * @type {string}
1023
     * @memberof FinalAnnotation
1024
     */
1025
    'cachedStartPositions'?: string | null;
1026
    /**
1027
     * 
1028
     * @type {string}
1029
     * @memberof FinalAnnotation
1030
     */
1031
    'cachedLengths'?: string | null;
1032
    /**
1033
     * 
1034
     * @type {string}
1035
     * @memberof FinalAnnotation
1036
     */
1037
    'cachedClosingPositions'?: string | null;
1038
    /**
1039
     * 
1040
     * @type {string}
1041
     * @memberof FinalAnnotation
1042
     */
1043
    'cachedClosingLengths'?: string | null;
1044
    /**
1045
     * 
1046
     * @type {string}
1047
     * @memberof FinalAnnotation
1048
     */
1049
    'cachedCSS'?: string | null;
1050
    /**
1051
     * 
1052
     * @type {string}
1053
     * @memberof FinalAnnotation
1054
     */
1055
    'lastModifiedTagId'?: string | null;
1056
    /**
1057
     * 
1058
     * @type {EModified}
1059
     * @memberof FinalAnnotation
1060
     */
1061
    'modifiedType'?: EModified;
1062
    /**
1063
     * 
1064
     * @type {Array<Class>}
1065
     * @memberof FinalAnnotation
1066
     */
1067
    'classes'?: Array<Class> | null;
1068
    /**
1069
     * 
1070
     * @type {Array<FinalAnnotation>}
1071
     * @memberof FinalAnnotation
1072
     */
1073
    'finalAnnotations'?: Array<FinalAnnotation> | null;
1074
    /**
1075
     * 
1076
     * @type {Array<Annotation>}
1077
     * @memberof FinalAnnotation
1078
     */
1079
    'annotations'?: Array<Annotation> | null;
1080
}
1081
/**
1082
 * 
1083
 * @export
1084
 * @interface FinalAnnotationTag
1085
 */
1086
export interface FinalAnnotationTag {
1087
    /**
1088
     * 
1089
     * @type {string}
1090
     * @memberof FinalAnnotationTag
1091
     */
1092
    'id'?: string;
1093
    /**
1094
     * 
1095
     * @type {Tag}
1096
     * @memberof FinalAnnotationTag
1097
     */
1098
    'tag'?: Tag;
1099
    /**
1100
     * 
1101
     * @type {SubTag}
1102
     * @memberof FinalAnnotationTag
1103
     */
1104
    'subTag'?: SubTag;
1105
    /**
1106
     * 
1107
     * @type {string}
1108
     * @memberof FinalAnnotationTag
1109
     */
1110
    'instance'?: string;
1111
    /**
1112
     * 
1113
     * @type {string}
1114
     * @memberof FinalAnnotationTag
1115
     */
1116
    'note'?: string | null;
1117
    /**
1118
     * 
1119
     * @type {number}
1120
     * @memberof FinalAnnotationTag
1121
     */
1122
    'position'?: number;
1123
    /**
1124
     * 
1125
     * @type {number}
1126
     * @memberof FinalAnnotationTag
1127
     */
1128
    'length'?: number;
1129
    /**
1130
     * 
1131
     * @type {ETagSentiment}
1132
     * @memberof FinalAnnotationTag
1133
     */
1134
    'sentiment'?: ETagSentiment;
1135
    /**
1136
     * 
1137
     * @type {string}
1138
     * @memberof FinalAnnotationTag
1139
     */
1140
    'selectedText'?: string | null;
1141
    /**
1142
     * 
1143
     * @type {FinalAnnotation}
1144
     * @memberof FinalAnnotationTag
1145
     */
1146
    'annotation'?: FinalAnnotation;
1147
    /**
1148
     * 
1149
     * @type {boolean}
1150
     * @memberof FinalAnnotationTag
1151
     */
1152
    'isFinal'?: boolean;
1153
    /**
1154
     * 
1155
     * @type {Array<User>}
1156
     * @memberof FinalAnnotationTag
1157
     */
1158
    'users'?: Array<User> | null;
1159
}
1160
/**
1161
 * 
1162
 * @export
1163
 * @interface GetRequiredAnnotationsGlobalResponse
1164
 */
1165
export interface GetRequiredAnnotationsGlobalResponse {
1166
    /**
1167
     * 
1168
     * @type {number}
1169
     * @memberof GetRequiredAnnotationsGlobalResponse
1170
     */
1171
    'requiredAnnotationsGlobal'?: number;
1172
}
1173
/**
1174
 * 
1175
 * @export
1176
 * @interface LoginRequest
1177
 */
1178
export interface LoginRequest {
1179
    /**
1180
     * 
1181
     * @type {string}
1182
     * @memberof LoginRequest
1183
     */
1184
    'username'?: string | null;
1185
    /**
1186
     * 
1187
     * @type {string}
1188
     * @memberof LoginRequest
1189
     */
1190
    'password'?: string | null;
1191
}
1192
/**
1193
 * 
1194
 * @export
1195
 * @interface LoginResponse
1196
 */
1197
export interface LoginResponse {
1198
    /**
1199
     * 
1200
     * @type {boolean}
1201
     * @memberof LoginResponse
1202
     */
1203
    'ok'?: boolean;
1204
    /**
1205
     * 
1206
     * @type {string}
1207
     * @memberof LoginResponse
1208
     */
1209
    'token'?: string | null;
1210
    /**
1211
     * 
1212
     * @type {string}
1213
     * @memberof LoginResponse
1214
     */
1215
    'expiration'?: string;
1216
    /**
1217
     * 
1218
     * @type {ERole}
1219
     * @memberof LoginResponse
1220
     */
1221
    'role'?: ERole;
1222
}
1223
/**
1224
 * 
1225
 * @export
1226
 * @interface MarkAnnotationDoneRequest
1227
 */
1228
export interface MarkAnnotationDoneRequest {
1229
    /**
1230
     * 
1231
     * @type {boolean}
1232
     * @memberof MarkAnnotationDoneRequest
1233
     */
1234
    'done'?: boolean;
1235
}
1236
/**
1237
 * 
1238
 * @export
1239
 * @interface ModifyCategoryRequest
1240
 */
1241
export interface ModifyCategoryRequest {
1242
    /**
1243
     * 
1244
     * @type {string}
1245
     * @memberof ModifyCategoryRequest
1246
     */
1247
    'name'?: string | null;
1248
    /**
1249
     * 
1250
     * @type {string}
1251
     * @memberof ModifyCategoryRequest
1252
     */
1253
    'description'?: string | null;
1254
    /**
1255
     * 
1256
     * @type {string}
1257
     * @memberof ModifyCategoryRequest
1258
     */
1259
    'color'?: string | null;
1260
    /**
1261
     * 
1262
     * @type {boolean}
1263
     * @memberof ModifyCategoryRequest
1264
     */
1265
    'disabledForAnnotators'?: boolean | null;
1266
}
1267
/**
1268
 * 
1269
 * @export
1270
 * @interface ModifySubTagRequest
1271
 */
1272
export interface ModifySubTagRequest {
1273
    /**
1274
     * 
1275
     * @type {string}
1276
     * @memberof ModifySubTagRequest
1277
     */
1278
    'name'?: string | null;
1279
    /**
1280
     * 
1281
     * @type {string}
1282
     * @memberof ModifySubTagRequest
1283
     */
1284
    'description'?: string | null;
1285
    /**
1286
     * 
1287
     * @type {boolean}
1288
     * @memberof ModifySubTagRequest
1289
     */
1290
    'sentimentEnabled'?: boolean | null;
1291
}
1292
/**
1293
 * 
1294
 * @export
1295
 * @interface ModifyTagRequest
1296
 */
1297
export interface ModifyTagRequest {
1298
    /**
1299
     * 
1300
     * @type {string}
1301
     * @memberof ModifyTagRequest
1302
     */
1303
    'name'?: string | null;
1304
    /**
1305
     * 
1306
     * @type {string}
1307
     * @memberof ModifyTagRequest
1308
     */
1309
    'description'?: string | null;
1310
    /**
1311
     * 
1312
     * @type {string}
1313
     * @memberof ModifyTagRequest
1314
     */
1315
    'color'?: string | null;
1316
    /**
1317
     * 
1318
     * @type {boolean}
1319
     * @memberof ModifyTagRequest
1320
     */
1321
    'sentimentEnabled'?: boolean | null;
1322
}
1323
/**
1324
 * 
1325
 * @export
1326
 * @interface ProblemDetails
1327
 */
1328
export interface ProblemDetails {
1329
    [key: string]: any | any;
1330

    
1331
    /**
1332
     * 
1333
     * @type {string}
1334
     * @memberof ProblemDetails
1335
     */
1336
    'type'?: string | null;
1337
    /**
1338
     * 
1339
     * @type {string}
1340
     * @memberof ProblemDetails
1341
     */
1342
    'title'?: string | null;
1343
    /**
1344
     * 
1345
     * @type {number}
1346
     * @memberof ProblemDetails
1347
     */
1348
    'status'?: number | null;
1349
    /**
1350
     * 
1351
     * @type {string}
1352
     * @memberof ProblemDetails
1353
     */
1354
    'detail'?: string | null;
1355
    /**
1356
     * 
1357
     * @type {string}
1358
     * @memberof ProblemDetails
1359
     */
1360
    'instance'?: string | null;
1361
}
1362
/**
1363
 * 
1364
 * @export
1365
 * @interface SetInstanceIsFinalRequest
1366
 */
1367
export interface SetInstanceIsFinalRequest {
1368
    /**
1369
     * 
1370
     * @type {boolean}
1371
     * @memberof SetInstanceIsFinalRequest
1372
     */
1373
    'isFinal'?: boolean;
1374
}
1375
/**
1376
 * 
1377
 * @export
1378
 * @interface SetInstanceSentimentRequest
1379
 */
1380
export interface SetInstanceSentimentRequest {
1381
    /**
1382
     * 
1383
     * @type {ETagSentiment}
1384
     * @memberof SetInstanceSentimentRequest
1385
     */
1386
    'sentiment'?: ETagSentiment;
1387
}
1388
/**
1389
 * 
1390
 * @export
1391
 * @interface SetRequiredAnnotationsGlobalRequest
1392
 */
1393
export interface SetRequiredAnnotationsGlobalRequest {
1394
    /**
1395
     * 
1396
     * @type {number}
1397
     * @memberof SetRequiredAnnotationsGlobalRequest
1398
     */
1399
    'requiredAnnotations'?: number;
1400
}
1401
/**
1402
 * 
1403
 * @export
1404
 * @interface SetRequiredAnnotationsRequest
1405
 */
1406
export interface SetRequiredAnnotationsRequest {
1407
    /**
1408
     * 
1409
     * @type {number}
1410
     * @memberof SetRequiredAnnotationsRequest
1411
     */
1412
    'requiredAnnotations'?: number;
1413
    /**
1414
     * 
1415
     * @type {Array<string>}
1416
     * @memberof SetRequiredAnnotationsRequest
1417
     */
1418
    'documentIds'?: Array<string> | null;
1419
}
1420
/**
1421
 * 
1422
 * @export
1423
 * @interface SubTag
1424
 */
1425
export interface SubTag {
1426
    /**
1427
     * 
1428
     * @type {string}
1429
     * @memberof SubTag
1430
     */
1431
    'id'?: string;
1432
    /**
1433
     * 
1434
     * @type {string}
1435
     * @memberof SubTag
1436
     */
1437
    'name'?: string | null;
1438
    /**
1439
     * 
1440
     * @type {string}
1441
     * @memberof SubTag
1442
     */
1443
    'description'?: string | null;
1444
    /**
1445
     * 
1446
     * @type {Tag}
1447
     * @memberof SubTag
1448
     */
1449
    'tag'?: Tag;
1450
    /**
1451
     * 
1452
     * @type {boolean}
1453
     * @memberof SubTag
1454
     */
1455
    'sentimentEnabled'?: boolean;
1456
}
1457
/**
1458
 * 
1459
 * @export
1460
 * @interface SubTagInfo
1461
 */
1462
export interface SubTagInfo {
1463
    /**
1464
     * 
1465
     * @type {string}
1466
     * @memberof SubTagInfo
1467
     */
1468
    'id'?: string;
1469
    /**
1470
     * 
1471
     * @type {string}
1472
     * @memberof SubTagInfo
1473
     */
1474
    'name'?: string | null;
1475
    /**
1476
     * 
1477
     * @type {string}
1478
     * @memberof SubTagInfo
1479
     */
1480
    'description'?: string | null;
1481
}
1482
/**
1483
 * 
1484
 * @export
1485
 * @interface Tag
1486
 */
1487
export interface Tag {
1488
    /**
1489
     * 
1490
     * @type {string}
1491
     * @memberof Tag
1492
     */
1493
    'id'?: string;
1494
    /**
1495
     * 
1496
     * @type {TagCategory}
1497
     * @memberof Tag
1498
     */
1499
    'category'?: TagCategory;
1500
    /**
1501
     * 
1502
     * @type {string}
1503
     * @memberof Tag
1504
     */
1505
    'name'?: string | null;
1506
    /**
1507
     * 
1508
     * @type {string}
1509
     * @memberof Tag
1510
     */
1511
    'description'?: string | null;
1512
    /**
1513
     * 
1514
     * @type {string}
1515
     * @memberof Tag
1516
     */
1517
    'color'?: string | null;
1518
    /**
1519
     * 
1520
     * @type {boolean}
1521
     * @memberof Tag
1522
     */
1523
    'sentimentEnabled'?: boolean;
1524
}
1525
/**
1526
 * 
1527
 * @export
1528
 * @interface TagCategory
1529
 */
1530
export interface TagCategory {
1531
    /**
1532
     * 
1533
     * @type {string}
1534
     * @memberof TagCategory
1535
     */
1536
    'id'?: string;
1537
    /**
1538
     * 
1539
     * @type {string}
1540
     * @memberof TagCategory
1541
     */
1542
    'name'?: string | null;
1543
    /**
1544
     * 
1545
     * @type {string}
1546
     * @memberof TagCategory
1547
     */
1548
    'color'?: string | null;
1549
    /**
1550
     * 
1551
     * @type {string}
1552
     * @memberof TagCategory
1553
     */
1554
    'description'?: string | null;
1555
    /**
1556
     * 
1557
     * @type {boolean}
1558
     * @memberof TagCategory
1559
     */
1560
    'disabledForAnnotators'?: boolean;
1561
}
1562
/**
1563
 * 
1564
 * @export
1565
 * @interface TagCategoryInfo
1566
 */
1567
export interface TagCategoryInfo {
1568
    /**
1569
     * 
1570
     * @type {string}
1571
     * @memberof TagCategoryInfo
1572
     */
1573
    'id'?: string;
1574
    /**
1575
     * 
1576
     * @type {string}
1577
     * @memberof TagCategoryInfo
1578
     */
1579
    'name'?: string | null;
1580
    /**
1581
     * 
1582
     * @type {string}
1583
     * @memberof TagCategoryInfo
1584
     */
1585
    'description'?: string | null;
1586
    /**
1587
     * 
1588
     * @type {string}
1589
     * @memberof TagCategoryInfo
1590
     */
1591
    'color'?: string | null;
1592
    /**
1593
     * 
1594
     * @type {Array<TagInfo>}
1595
     * @memberof TagCategoryInfo
1596
     */
1597
    'tags'?: Array<TagInfo> | null;
1598
    /**
1599
     * 
1600
     * @type {boolean}
1601
     * @memberof TagCategoryInfo
1602
     */
1603
    'disabledForAnnotators'?: boolean;
1604
}
1605
/**
1606
 * 
1607
 * @export
1608
 * @interface TagInfo
1609
 */
1610
export interface TagInfo {
1611
    /**
1612
     * 
1613
     * @type {string}
1614
     * @memberof TagInfo
1615
     */
1616
    'id'?: string;
1617
    /**
1618
     * 
1619
     * @type {string}
1620
     * @memberof TagInfo
1621
     */
1622
    'name'?: string | null;
1623
    /**
1624
     * 
1625
     * @type {string}
1626
     * @memberof TagInfo
1627
     */
1628
    'description'?: string | null;
1629
    /**
1630
     * 
1631
     * @type {string}
1632
     * @memberof TagInfo
1633
     */
1634
    'color'?: string | null;
1635
    /**
1636
     * 
1637
     * @type {Array<SubTagInfo>}
1638
     * @memberof TagInfo
1639
     */
1640
    'subTags'?: Array<SubTagInfo> | null;
1641
    /**
1642
     * 
1643
     * @type {boolean}
1644
     * @memberof TagInfo
1645
     */
1646
    'sentimentEnabled'?: boolean;
1647
}
1648
/**
1649
 * 
1650
 * @export
1651
 * @interface TagInstanceCSSInfo
1652
 */
1653
export interface TagInstanceCSSInfo {
1654
    /**
1655
     * 
1656
     * @type {string}
1657
     * @memberof TagInstanceCSSInfo
1658
     */
1659
    'instanceId'?: string;
1660
    /**
1661
     * 
1662
     * @type {string}
1663
     * @memberof TagInstanceCSSInfo
1664
     */
1665
    'color'?: string | null;
1666
    /**
1667
     * 
1668
     * @type {number}
1669
     * @memberof TagInstanceCSSInfo
1670
     */
1671
    'padding'?: number;
1672
}
1673
/**
1674
 * 
1675
 * @export
1676
 * @interface TagInstanceInfo
1677
 */
1678
export interface TagInstanceInfo {
1679
    /**
1680
     * 
1681
     * @type {string}
1682
     * @memberof TagInstanceInfo
1683
     */
1684
    'occurenceId'?: string;
1685
    /**
1686
     * 
1687
     * @type {string}
1688
     * @memberof TagInstanceInfo
1689
     */
1690
    'tagName'?: string | null;
1691
    /**
1692
     * 
1693
     * @type {string}
1694
     * @memberof TagInstanceInfo
1695
     */
1696
    'tagId'?: string;
1697
    /**
1698
     * 
1699
     * @type {string}
1700
     * @memberof TagInstanceInfo
1701
     */
1702
    'tagCategoryName'?: string | null;
1703
    /**
1704
     * 
1705
     * @type {string}
1706
     * @memberof TagInstanceInfo
1707
     */
1708
    'tagCategoryId'?: string;
1709
    /**
1710
     * 
1711
     * @type {string}
1712
     * @memberof TagInstanceInfo
1713
     */
1714
    'subTagName'?: string | null;
1715
    /**
1716
     * 
1717
     * @type {string}
1718
     * @memberof TagInstanceInfo
1719
     */
1720
    'subTagId'?: string | null;
1721
    /**
1722
     * 
1723
     * @type {string}
1724
     * @memberof TagInstanceInfo
1725
     */
1726
    'instance'?: string;
1727
    /**
1728
     * 
1729
     * @type {number}
1730
     * @memberof TagInstanceInfo
1731
     */
1732
    'position'?: number;
1733
    /**
1734
     * 
1735
     * @type {number}
1736
     * @memberof TagInstanceInfo
1737
     */
1738
    'length'?: number;
1739
    /**
1740
     * 
1741
     * @type {string}
1742
     * @memberof TagInstanceInfo
1743
     */
1744
    'note'?: string | null;
1745
    /**
1746
     * 
1747
     * @type {ETagSentiment}
1748
     * @memberof TagInstanceInfo
1749
     */
1750
    'sentiment'?: ETagSentiment;
1751
    /**
1752
     * 
1753
     * @type {string}
1754
     * @memberof TagInstanceInfo
1755
     */
1756
    'selectedText'?: string | null;
1757
    /**
1758
     * 
1759
     * @type {Array<UserInfo>}
1760
     * @memberof TagInstanceInfo
1761
     */
1762
    'users'?: Array<UserInfo> | null;
1763
    /**
1764
     * 
1765
     * @type {boolean}
1766
     * @memberof TagInstanceInfo
1767
     */
1768
    'isFinal'?: boolean | null;
1769
}
1770
/**
1771
 * 
1772
 * @export
1773
 * @interface TagTreeResponse
1774
 */
1775
export interface TagTreeResponse {
1776
    /**
1777
     * 
1778
     * @type {Array<TagCategoryInfo>}
1779
     * @memberof TagTreeResponse
1780
     */
1781
    'tagCategories'?: Array<TagCategoryInfo> | null;
1782
}
1783
/**
1784
 * 
1785
 * @export
1786
 * @interface User
1787
 */
1788
export interface User {
1789
    /**
1790
     * 
1791
     * @type {string}
1792
     * @memberof User
1793
     */
1794
    'id'?: string;
1795
    /**
1796
     * 
1797
     * @type {string}
1798
     * @memberof User
1799
     */
1800
    'username'?: string | null;
1801
    /**
1802
     * 
1803
     * @type {string}
1804
     * @memberof User
1805
     */
1806
    'name'?: string | null;
1807
    /**
1808
     * 
1809
     * @type {string}
1810
     * @memberof User
1811
     */
1812
    'surname'?: string | null;
1813
    /**
1814
     * 
1815
     * @type {ERole}
1816
     * @memberof User
1817
     */
1818
    'role'?: ERole;
1819
    /**
1820
     * 
1821
     * @type {Array<FinalAnnotationTag>}
1822
     * @memberof User
1823
     */
1824
    'finalAnnotationTags'?: Array<FinalAnnotationTag> | null;
1825
}
1826
/**
1827
 * 
1828
 * @export
1829
 * @interface UserInfo
1830
 */
1831
export interface UserInfo {
1832
    /**
1833
     * 
1834
     * @type {string}
1835
     * @memberof UserInfo
1836
     */
1837
    'id'?: string;
1838
    /**
1839
     * 
1840
     * @type {string}
1841
     * @memberof UserInfo
1842
     */
1843
    'username'?: string | null;
1844
    /**
1845
     * 
1846
     * @type {string}
1847
     * @memberof UserInfo
1848
     */
1849
    'name'?: string | null;
1850
    /**
1851
     * 
1852
     * @type {string}
1853
     * @memberof UserInfo
1854
     */
1855
    'surname'?: string | null;
1856
    /**
1857
     * 
1858
     * @type {number}
1859
     * @memberof UserInfo
1860
     */
1861
    'assignedDocumentsCount'?: number;
1862
    /**
1863
     * 
1864
     * @type {ERole}
1865
     * @memberof UserInfo
1866
     */
1867
    'role'?: ERole;
1868
}
1869
/**
1870
 * 
1871
 * @export
1872
 * @interface UserList
1873
 */
1874
export interface UserList {
1875
    /**
1876
     * 
1877
     * @type {Array<UserInfo>}
1878
     * @memberof UserList
1879
     */
1880
    'users'?: Array<UserInfo> | null;
1881
}
1882
/**
1883
 * 
1884
 * @export
1885
 * @interface UserMeResponse
1886
 */
1887
export interface UserMeResponse {
1888
    /**
1889
     * 
1890
     * @type {string}
1891
     * @memberof UserMeResponse
1892
     */
1893
    'name'?: string | null;
1894
    /**
1895
     * 
1896
     * @type {ERole}
1897
     * @memberof UserMeResponse
1898
     */
1899
    'role'?: ERole;
1900
}
1901

    
1902
/**
1903
 * AnnotationApi - axios parameter creator
1904
 * @export
1905
 */
1906
export const AnnotationApiAxiosParamCreator = function (configuration?: Configuration) {
1907
    return {
1908
        /**
1909
         * 
1910
         * @param {string} annotationId 
1911
         * @param {boolean} [isFinal] 
1912
         * @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest] 
1913
         * @param {*} [options] Override http request option.
1914
         * @throws {RequiredError}
1915
         */
1916
        annotationAnnotationIdDonePut: async (annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1917
            // verify required parameter 'annotationId' is not null or undefined
1918
            assertParamExists('annotationAnnotationIdDonePut', 'annotationId', annotationId)
1919
            const localVarPath = `/annotation/{annotationId}/done`
1920
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
1921
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1922
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1923
            let baseOptions;
1924
            if (configuration) {
1925
                baseOptions = configuration.baseOptions;
1926
            }
1927

    
1928
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1929
            const localVarHeaderParameter = {} as any;
1930
            const localVarQueryParameter = {} as any;
1931

    
1932
            if (isFinal !== undefined) {
1933
                localVarQueryParameter['isFinal'] = isFinal;
1934
            }
1935

    
1936

    
1937
    
1938
            localVarHeaderParameter['Content-Type'] = 'application/json';
1939

    
1940
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1941
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1942
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1943
            localVarRequestOptions.data = serializeDataIfNeeded(markAnnotationDoneRequest, localVarRequestOptions, configuration)
1944

    
1945
            return {
1946
                url: toPathString(localVarUrlObj),
1947
                options: localVarRequestOptions,
1948
            };
1949
        },
1950
        /**
1951
         * 
1952
         * @param {string} annotationId 
1953
         * @param {boolean} [isFinal] 
1954
         * @param {*} [options] Override http request option.
1955
         * @throws {RequiredError}
1956
         */
1957
        annotationAnnotationIdGet: async (annotationId: string, isFinal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1958
            // verify required parameter 'annotationId' is not null or undefined
1959
            assertParamExists('annotationAnnotationIdGet', 'annotationId', annotationId)
1960
            const localVarPath = `/annotation/{annotationId}`
1961
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
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: 'GET', ...baseOptions, ...options};
1970
            const localVarHeaderParameter = {} as any;
1971
            const localVarQueryParameter = {} as any;
1972

    
1973
            if (isFinal !== undefined) {
1974
                localVarQueryParameter['isFinal'] = isFinal;
1975
            }
1976

    
1977

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

    
1983
            return {
1984
                url: toPathString(localVarUrlObj),
1985
                options: localVarRequestOptions,
1986
            };
1987
        },
1988
        /**
1989
         * 
1990
         * @param {string} annotationId 
1991
         * @param {string} instanceId 
1992
         * @param {boolean} [isFinal] 
1993
         * @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest] 
1994
         * @param {*} [options] Override http request option.
1995
         * @throws {RequiredError}
1996
         */
1997
        annotationAnnotationIdInstanceIdSentimentPut: async (annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1998
            // verify required parameter 'annotationId' is not null or undefined
1999
            assertParamExists('annotationAnnotationIdInstanceIdSentimentPut', 'annotationId', annotationId)
2000
            // verify required parameter 'instanceId' is not null or undefined
2001
            assertParamExists('annotationAnnotationIdInstanceIdSentimentPut', 'instanceId', instanceId)
2002
            const localVarPath = `/annotation/{annotationId}/{instanceId}/sentiment`
2003
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
2004
                .replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
2005
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2006
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2007
            let baseOptions;
2008
            if (configuration) {
2009
                baseOptions = configuration.baseOptions;
2010
            }
2011

    
2012
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2013
            const localVarHeaderParameter = {} as any;
2014
            const localVarQueryParameter = {} as any;
2015

    
2016
            if (isFinal !== undefined) {
2017
                localVarQueryParameter['isFinal'] = isFinal;
2018
            }
2019

    
2020

    
2021
    
2022
            localVarHeaderParameter['Content-Type'] = 'application/json';
2023

    
2024
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2025
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2026
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2027
            localVarRequestOptions.data = serializeDataIfNeeded(setInstanceSentimentRequest, localVarRequestOptions, configuration)
2028

    
2029
            return {
2030
                url: toPathString(localVarUrlObj),
2031
                options: localVarRequestOptions,
2032
            };
2033
        },
2034
        /**
2035
         * 
2036
         * @param {string} annotationId 
2037
         * @param {boolean} [isFinal] 
2038
         * @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest] 
2039
         * @param {*} [options] Override http request option.
2040
         * @throws {RequiredError}
2041
         */
2042
        annotationAnnotationIdNotePost: async (annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2043
            // verify required parameter 'annotationId' is not null or undefined
2044
            assertParamExists('annotationAnnotationIdNotePost', 'annotationId', annotationId)
2045
            const localVarPath = `/annotation/{annotationId}/note`
2046
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
2047
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2048
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2049
            let baseOptions;
2050
            if (configuration) {
2051
                baseOptions = configuration.baseOptions;
2052
            }
2053

    
2054
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2055
            const localVarHeaderParameter = {} as any;
2056
            const localVarQueryParameter = {} as any;
2057

    
2058
            if (isFinal !== undefined) {
2059
                localVarQueryParameter['isFinal'] = isFinal;
2060
            }
2061

    
2062

    
2063
    
2064
            localVarHeaderParameter['Content-Type'] = 'application/json';
2065

    
2066
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2067
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2068
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2069
            localVarRequestOptions.data = serializeDataIfNeeded(addNoteToAnnotationRequest, localVarRequestOptions, configuration)
2070

    
2071
            return {
2072
                url: toPathString(localVarUrlObj),
2073
                options: localVarRequestOptions,
2074
            };
2075
        },
2076
        /**
2077
         * 
2078
         * @param {string} annotationId 
2079
         * @param {string} occurenceId 
2080
         * @param {boolean} [isFinal] 
2081
         * @param {*} [options] Override http request option.
2082
         * @throws {RequiredError}
2083
         */
2084
        annotationAnnotationIdOccurenceIdDelete: async (annotationId: string, occurenceId: string, isFinal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2085
            // verify required parameter 'annotationId' is not null or undefined
2086
            assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'annotationId', annotationId)
2087
            // verify required parameter 'occurenceId' is not null or undefined
2088
            assertParamExists('annotationAnnotationIdOccurenceIdDelete', 'occurenceId', occurenceId)
2089
            const localVarPath = `/annotation/{annotationId}/{occurenceId}`
2090
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
2091
                .replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
2092
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2093
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2094
            let baseOptions;
2095
            if (configuration) {
2096
                baseOptions = configuration.baseOptions;
2097
            }
2098

    
2099
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2100
            const localVarHeaderParameter = {} as any;
2101
            const localVarQueryParameter = {} as any;
2102

    
2103
            if (isFinal !== undefined) {
2104
                localVarQueryParameter['isFinal'] = isFinal;
2105
            }
2106

    
2107

    
2108
    
2109
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2110
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2111
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2112

    
2113
            return {
2114
                url: toPathString(localVarUrlObj),
2115
                options: localVarRequestOptions,
2116
            };
2117
        },
2118
        /**
2119
         * 
2120
         * @param {string} annotationId 
2121
         * @param {string} occurenceId 
2122
         * @param {SetInstanceIsFinalRequest} [setInstanceIsFinalRequest] 
2123
         * @param {*} [options] Override http request option.
2124
         * @throws {RequiredError}
2125
         */
2126
        annotationAnnotationIdOccurenceIdFinalPut: async (annotationId: string, occurenceId: string, setInstanceIsFinalRequest?: SetInstanceIsFinalRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2127
            // verify required parameter 'annotationId' is not null or undefined
2128
            assertParamExists('annotationAnnotationIdOccurenceIdFinalPut', 'annotationId', annotationId)
2129
            // verify required parameter 'occurenceId' is not null or undefined
2130
            assertParamExists('annotationAnnotationIdOccurenceIdFinalPut', 'occurenceId', occurenceId)
2131
            const localVarPath = `/annotation/{annotationId}/{occurenceId}/final`
2132
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)))
2133
                .replace(`{${"occurenceId"}}`, encodeURIComponent(String(occurenceId)));
2134
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2135
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2136
            let baseOptions;
2137
            if (configuration) {
2138
                baseOptions = configuration.baseOptions;
2139
            }
2140

    
2141
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2142
            const localVarHeaderParameter = {} as any;
2143
            const localVarQueryParameter = {} as any;
2144

    
2145

    
2146
    
2147
            localVarHeaderParameter['Content-Type'] = 'application/json';
2148

    
2149
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2150
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2151
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2152
            localVarRequestOptions.data = serializeDataIfNeeded(setInstanceIsFinalRequest, localVarRequestOptions, configuration)
2153

    
2154
            return {
2155
                url: toPathString(localVarUrlObj),
2156
                options: localVarRequestOptions,
2157
            };
2158
        },
2159
        /**
2160
         * 
2161
         * @param {string} annotationId 
2162
         * @param {boolean} [isFinal] 
2163
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
2164
         * @param {*} [options] Override http request option.
2165
         * @throws {RequiredError}
2166
         */
2167
        annotationAnnotationIdPost: async (annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2168
            // verify required parameter 'annotationId' is not null or undefined
2169
            assertParamExists('annotationAnnotationIdPost', 'annotationId', annotationId)
2170
            const localVarPath = `/annotation/{annotationId}`
2171
                .replace(`{${"annotationId"}}`, encodeURIComponent(String(annotationId)));
2172
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2173
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2174
            let baseOptions;
2175
            if (configuration) {
2176
                baseOptions = configuration.baseOptions;
2177
            }
2178

    
2179
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2180
            const localVarHeaderParameter = {} as any;
2181
            const localVarQueryParameter = {} as any;
2182

    
2183
            if (isFinal !== undefined) {
2184
                localVarQueryParameter['isFinal'] = isFinal;
2185
            }
2186

    
2187

    
2188
    
2189
            localVarHeaderParameter['Content-Type'] = 'application/json';
2190

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

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

    
2225
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2226
            const localVarHeaderParameter = {} as any;
2227
            const localVarQueryParameter = {} as any;
2228

    
2229
            if (isFinal !== undefined) {
2230
                localVarQueryParameter['isFinal'] = isFinal;
2231
            }
2232

    
2233

    
2234
    
2235
            localVarHeaderParameter['Content-Type'] = 'application/json';
2236

    
2237
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2238
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2239
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2240
            localVarRequestOptions.data = serializeDataIfNeeded(addNoteToTagOccurenceRequest, localVarRequestOptions, configuration)
2241

    
2242
            return {
2243
                url: toPathString(localVarUrlObj),
2244
                options: localVarRequestOptions,
2245
            };
2246
        },
2247
        /**
2248
         * 
2249
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
2250
         * @param {*} [options] Override http request option.
2251
         * @throws {RequiredError}
2252
         */
2253
        annotationsPost: async (annotationsAddRequest?: AnnotationsAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2254
            const localVarPath = `/annotations`;
2255
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2256
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2257
            let baseOptions;
2258
            if (configuration) {
2259
                baseOptions = configuration.baseOptions;
2260
            }
2261

    
2262
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2263
            const localVarHeaderParameter = {} as any;
2264
            const localVarQueryParameter = {} as any;
2265

    
2266

    
2267
    
2268
            localVarHeaderParameter['Content-Type'] = 'application/json';
2269

    
2270
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2271
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2272
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2273
            localVarRequestOptions.data = serializeDataIfNeeded(annotationsAddRequest, localVarRequestOptions, configuration)
2274

    
2275
            return {
2276
                url: toPathString(localVarUrlObj),
2277
                options: localVarRequestOptions,
2278
            };
2279
        },
2280
    }
2281
};
2282

    
2283
/**
2284
 * AnnotationApi - functional programming interface
2285
 * @export
2286
 */
2287
export const AnnotationApiFp = function(configuration?: Configuration) {
2288
    const localVarAxiosParamCreator = AnnotationApiAxiosParamCreator(configuration)
2289
    return {
2290
        /**
2291
         * 
2292
         * @param {string} annotationId 
2293
         * @param {boolean} [isFinal] 
2294
         * @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest] 
2295
         * @param {*} [options] Override http request option.
2296
         * @throws {RequiredError}
2297
         */
2298
        async annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2299
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options);
2300
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2301
        },
2302
        /**
2303
         * 
2304
         * @param {string} annotationId 
2305
         * @param {boolean} [isFinal] 
2306
         * @param {*} [options] Override http request option.
2307
         * @throws {RequiredError}
2308
         */
2309
        async annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationInfo>> {
2310
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdGet(annotationId, isFinal, options);
2311
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2312
        },
2313
        /**
2314
         * 
2315
         * @param {string} annotationId 
2316
         * @param {string} instanceId 
2317
         * @param {boolean} [isFinal] 
2318
         * @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest] 
2319
         * @param {*} [options] Override http request option.
2320
         * @throws {RequiredError}
2321
         */
2322
        async annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2323
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options);
2324
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2325
        },
2326
        /**
2327
         * 
2328
         * @param {string} annotationId 
2329
         * @param {boolean} [isFinal] 
2330
         * @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest] 
2331
         * @param {*} [options] Override http request option.
2332
         * @throws {RequiredError}
2333
         */
2334
        async annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2335
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options);
2336
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2337
        },
2338
        /**
2339
         * 
2340
         * @param {string} annotationId 
2341
         * @param {string} occurenceId 
2342
         * @param {boolean} [isFinal] 
2343
         * @param {*} [options] Override http request option.
2344
         * @throws {RequiredError}
2345
         */
2346
        async annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2347
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options);
2348
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2349
        },
2350
        /**
2351
         * 
2352
         * @param {string} annotationId 
2353
         * @param {string} occurenceId 
2354
         * @param {SetInstanceIsFinalRequest} [setInstanceIsFinalRequest] 
2355
         * @param {*} [options] Override http request option.
2356
         * @throws {RequiredError}
2357
         */
2358
        async annotationAnnotationIdOccurenceIdFinalPut(annotationId: string, occurenceId: string, setInstanceIsFinalRequest?: SetInstanceIsFinalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2359
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdOccurenceIdFinalPut(annotationId, occurenceId, setInstanceIsFinalRequest, options);
2360
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2361
        },
2362
        /**
2363
         * 
2364
         * @param {string} annotationId 
2365
         * @param {boolean} [isFinal] 
2366
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
2367
         * @param {*} [options] Override http request option.
2368
         * @throws {RequiredError}
2369
         */
2370
        async annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2371
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options);
2372
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2373
        },
2374
        /**
2375
         * 
2376
         * @param {string} annotationId 
2377
         * @param {string} occurenceId 
2378
         * @param {boolean} [isFinal] 
2379
         * @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest] 
2380
         * @param {*} [options] Override http request option.
2381
         * @throws {RequiredError}
2382
         */
2383
        async annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2384
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options);
2385
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2386
        },
2387
        /**
2388
         * 
2389
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
2390
         * @param {*} [options] Override http request option.
2391
         * @throws {RequiredError}
2392
         */
2393
        async annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2394
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationsPost(annotationsAddRequest, options);
2395
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2396
        },
2397
    }
2398
};
2399

    
2400
/**
2401
 * AnnotationApi - factory interface
2402
 * @export
2403
 */
2404
export const AnnotationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2405
    const localVarFp = AnnotationApiFp(configuration)
2406
    return {
2407
        /**
2408
         * 
2409
         * @param {string} annotationId 
2410
         * @param {boolean} [isFinal] 
2411
         * @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest] 
2412
         * @param {*} [options] Override http request option.
2413
         * @throws {RequiredError}
2414
         */
2415
        annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: any): AxiosPromise<void> {
2416
            return localVarFp.annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options).then((request) => request(axios, basePath));
2417
        },
2418
        /**
2419
         * 
2420
         * @param {string} annotationId 
2421
         * @param {boolean} [isFinal] 
2422
         * @param {*} [options] Override http request option.
2423
         * @throws {RequiredError}
2424
         */
2425
        annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: any): AxiosPromise<AnnotationInfo> {
2426
            return localVarFp.annotationAnnotationIdGet(annotationId, isFinal, options).then((request) => request(axios, basePath));
2427
        },
2428
        /**
2429
         * 
2430
         * @param {string} annotationId 
2431
         * @param {string} instanceId 
2432
         * @param {boolean} [isFinal] 
2433
         * @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest] 
2434
         * @param {*} [options] Override http request option.
2435
         * @throws {RequiredError}
2436
         */
2437
        annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: any): AxiosPromise<void> {
2438
            return localVarFp.annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options).then((request) => request(axios, basePath));
2439
        },
2440
        /**
2441
         * 
2442
         * @param {string} annotationId 
2443
         * @param {boolean} [isFinal] 
2444
         * @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest] 
2445
         * @param {*} [options] Override http request option.
2446
         * @throws {RequiredError}
2447
         */
2448
        annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: any): AxiosPromise<void> {
2449
            return localVarFp.annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options).then((request) => request(axios, basePath));
2450
        },
2451
        /**
2452
         * 
2453
         * @param {string} annotationId 
2454
         * @param {string} occurenceId 
2455
         * @param {boolean} [isFinal] 
2456
         * @param {*} [options] Override http request option.
2457
         * @throws {RequiredError}
2458
         */
2459
        annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: any): AxiosPromise<void> {
2460
            return localVarFp.annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options).then((request) => request(axios, basePath));
2461
        },
2462
        /**
2463
         * 
2464
         * @param {string} annotationId 
2465
         * @param {string} occurenceId 
2466
         * @param {SetInstanceIsFinalRequest} [setInstanceIsFinalRequest] 
2467
         * @param {*} [options] Override http request option.
2468
         * @throws {RequiredError}
2469
         */
2470
        annotationAnnotationIdOccurenceIdFinalPut(annotationId: string, occurenceId: string, setInstanceIsFinalRequest?: SetInstanceIsFinalRequest, options?: any): AxiosPromise<void> {
2471
            return localVarFp.annotationAnnotationIdOccurenceIdFinalPut(annotationId, occurenceId, setInstanceIsFinalRequest, options).then((request) => request(axios, basePath));
2472
        },
2473
        /**
2474
         * 
2475
         * @param {string} annotationId 
2476
         * @param {boolean} [isFinal] 
2477
         * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
2478
         * @param {*} [options] Override http request option.
2479
         * @throws {RequiredError}
2480
         */
2481
        annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: any): AxiosPromise<void> {
2482
            return localVarFp.annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options).then((request) => request(axios, basePath));
2483
        },
2484
        /**
2485
         * 
2486
         * @param {string} annotationId 
2487
         * @param {string} occurenceId 
2488
         * @param {boolean} [isFinal] 
2489
         * @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest] 
2490
         * @param {*} [options] Override http request option.
2491
         * @throws {RequiredError}
2492
         */
2493
        annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: any): AxiosPromise<void> {
2494
            return localVarFp.annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options).then((request) => request(axios, basePath));
2495
        },
2496
        /**
2497
         * 
2498
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
2499
         * @param {*} [options] Override http request option.
2500
         * @throws {RequiredError}
2501
         */
2502
        annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: any): AxiosPromise<void> {
2503
            return localVarFp.annotationsPost(annotationsAddRequest, options).then((request) => request(axios, basePath));
2504
        },
2505
    };
2506
};
2507

    
2508
/**
2509
 * AnnotationApi - object-oriented interface
2510
 * @export
2511
 * @class AnnotationApi
2512
 * @extends {BaseAPI}
2513
 */
2514
export class AnnotationApi extends BaseAPI {
2515
    /**
2516
     * 
2517
     * @param {string} annotationId 
2518
     * @param {boolean} [isFinal] 
2519
     * @param {MarkAnnotationDoneRequest} [markAnnotationDoneRequest] 
2520
     * @param {*} [options] Override http request option.
2521
     * @throws {RequiredError}
2522
     * @memberof AnnotationApi
2523
     */
2524
    public annotationAnnotationIdDonePut(annotationId: string, isFinal?: boolean, markAnnotationDoneRequest?: MarkAnnotationDoneRequest, options?: AxiosRequestConfig) {
2525
        return AnnotationApiFp(this.configuration).annotationAnnotationIdDonePut(annotationId, isFinal, markAnnotationDoneRequest, options).then((request) => request(this.axios, this.basePath));
2526
    }
2527

    
2528
    /**
2529
     * 
2530
     * @param {string} annotationId 
2531
     * @param {boolean} [isFinal] 
2532
     * @param {*} [options] Override http request option.
2533
     * @throws {RequiredError}
2534
     * @memberof AnnotationApi
2535
     */
2536
    public annotationAnnotationIdGet(annotationId: string, isFinal?: boolean, options?: AxiosRequestConfig) {
2537
        return AnnotationApiFp(this.configuration).annotationAnnotationIdGet(annotationId, isFinal, options).then((request) => request(this.axios, this.basePath));
2538
    }
2539

    
2540
    /**
2541
     * 
2542
     * @param {string} annotationId 
2543
     * @param {string} instanceId 
2544
     * @param {boolean} [isFinal] 
2545
     * @param {SetInstanceSentimentRequest} [setInstanceSentimentRequest] 
2546
     * @param {*} [options] Override http request option.
2547
     * @throws {RequiredError}
2548
     * @memberof AnnotationApi
2549
     */
2550
    public annotationAnnotationIdInstanceIdSentimentPut(annotationId: string, instanceId: string, isFinal?: boolean, setInstanceSentimentRequest?: SetInstanceSentimentRequest, options?: AxiosRequestConfig) {
2551
        return AnnotationApiFp(this.configuration).annotationAnnotationIdInstanceIdSentimentPut(annotationId, instanceId, isFinal, setInstanceSentimentRequest, options).then((request) => request(this.axios, this.basePath));
2552
    }
2553

    
2554
    /**
2555
     * 
2556
     * @param {string} annotationId 
2557
     * @param {boolean} [isFinal] 
2558
     * @param {AddNoteToAnnotationRequest} [addNoteToAnnotationRequest] 
2559
     * @param {*} [options] Override http request option.
2560
     * @throws {RequiredError}
2561
     * @memberof AnnotationApi
2562
     */
2563
    public annotationAnnotationIdNotePost(annotationId: string, isFinal?: boolean, addNoteToAnnotationRequest?: AddNoteToAnnotationRequest, options?: AxiosRequestConfig) {
2564
        return AnnotationApiFp(this.configuration).annotationAnnotationIdNotePost(annotationId, isFinal, addNoteToAnnotationRequest, options).then((request) => request(this.axios, this.basePath));
2565
    }
2566

    
2567
    /**
2568
     * 
2569
     * @param {string} annotationId 
2570
     * @param {string} occurenceId 
2571
     * @param {boolean} [isFinal] 
2572
     * @param {*} [options] Override http request option.
2573
     * @throws {RequiredError}
2574
     * @memberof AnnotationApi
2575
     */
2576
    public annotationAnnotationIdOccurenceIdDelete(annotationId: string, occurenceId: string, isFinal?: boolean, options?: AxiosRequestConfig) {
2577
        return AnnotationApiFp(this.configuration).annotationAnnotationIdOccurenceIdDelete(annotationId, occurenceId, isFinal, options).then((request) => request(this.axios, this.basePath));
2578
    }
2579

    
2580
    /**
2581
     * 
2582
     * @param {string} annotationId 
2583
     * @param {string} occurenceId 
2584
     * @param {SetInstanceIsFinalRequest} [setInstanceIsFinalRequest] 
2585
     * @param {*} [options] Override http request option.
2586
     * @throws {RequiredError}
2587
     * @memberof AnnotationApi
2588
     */
2589
    public annotationAnnotationIdOccurenceIdFinalPut(annotationId: string, occurenceId: string, setInstanceIsFinalRequest?: SetInstanceIsFinalRequest, options?: AxiosRequestConfig) {
2590
        return AnnotationApiFp(this.configuration).annotationAnnotationIdOccurenceIdFinalPut(annotationId, occurenceId, setInstanceIsFinalRequest, options).then((request) => request(this.axios, this.basePath));
2591
    }
2592

    
2593
    /**
2594
     * 
2595
     * @param {string} annotationId 
2596
     * @param {boolean} [isFinal] 
2597
     * @param {AnnotationInstanceAddRequest} [annotationInstanceAddRequest] 
2598
     * @param {*} [options] Override http request option.
2599
     * @throws {RequiredError}
2600
     * @memberof AnnotationApi
2601
     */
2602
    public annotationAnnotationIdPost(annotationId: string, isFinal?: boolean, annotationInstanceAddRequest?: AnnotationInstanceAddRequest, options?: AxiosRequestConfig) {
2603
        return AnnotationApiFp(this.configuration).annotationAnnotationIdPost(annotationId, isFinal, annotationInstanceAddRequest, options).then((request) => request(this.axios, this.basePath));
2604
    }
2605

    
2606
    /**
2607
     * 
2608
     * @param {string} annotationId 
2609
     * @param {string} occurenceId 
2610
     * @param {boolean} [isFinal] 
2611
     * @param {AddNoteToTagOccurenceRequest} [addNoteToTagOccurenceRequest] 
2612
     * @param {*} [options] Override http request option.
2613
     * @throws {RequiredError}
2614
     * @memberof AnnotationApi
2615
     */
2616
    public annotationAnnotationIdTagOccurenceIdNotePost(annotationId: string, occurenceId: string, isFinal?: boolean, addNoteToTagOccurenceRequest?: AddNoteToTagOccurenceRequest, options?: AxiosRequestConfig) {
2617
        return AnnotationApiFp(this.configuration).annotationAnnotationIdTagOccurenceIdNotePost(annotationId, occurenceId, isFinal, addNoteToTagOccurenceRequest, options).then((request) => request(this.axios, this.basePath));
2618
    }
2619

    
2620
    /**
2621
     * 
2622
     * @param {AnnotationsAddRequest} [annotationsAddRequest] 
2623
     * @param {*} [options] Override http request option.
2624
     * @throws {RequiredError}
2625
     * @memberof AnnotationApi
2626
     */
2627
    public annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig) {
2628
        return AnnotationApiFp(this.configuration).annotationsPost(annotationsAddRequest, options).then((request) => request(this.axios, this.basePath));
2629
    }
2630
}
2631

    
2632

    
2633
/**
2634
 * AuthApi - axios parameter creator
2635
 * @export
2636
 */
2637
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
2638
    return {
2639
        /**
2640
         * 
2641
         * @param {LoginRequest} [loginRequest] 
2642
         * @param {*} [options] Override http request option.
2643
         * @throws {RequiredError}
2644
         */
2645
        authLoginPost: async (loginRequest?: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2646
            const localVarPath = `/auth/login`;
2647
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2648
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2649
            let baseOptions;
2650
            if (configuration) {
2651
                baseOptions = configuration.baseOptions;
2652
            }
2653

    
2654
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2655
            const localVarHeaderParameter = {} as any;
2656
            const localVarQueryParameter = {} as any;
2657

    
2658

    
2659
    
2660
            localVarHeaderParameter['Content-Type'] = 'application/json';
2661

    
2662
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2663
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2664
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2665
            localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
2666

    
2667
            return {
2668
                url: toPathString(localVarUrlObj),
2669
                options: localVarRequestOptions,
2670
            };
2671
        },
2672
        /**
2673
         * 
2674
         * @param {*} [options] Override http request option.
2675
         * @throws {RequiredError}
2676
         */
2677
        authTestAaGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2678
            const localVarPath = `/auth/test/aa`;
2679
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2680
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2681
            let baseOptions;
2682
            if (configuration) {
2683
                baseOptions = configuration.baseOptions;
2684
            }
2685

    
2686
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2687
            const localVarHeaderParameter = {} as any;
2688
            const localVarQueryParameter = {} as any;
2689

    
2690

    
2691
    
2692
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2693
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2694
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2695

    
2696
            return {
2697
                url: toPathString(localVarUrlObj),
2698
                options: localVarRequestOptions,
2699
            };
2700
        },
2701
        /**
2702
         * 
2703
         * @param {*} [options] Override http request option.
2704
         * @throws {RequiredError}
2705
         */
2706
        authTestGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2707
            const localVarPath = `/auth/test`;
2708
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2709
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2710
            let baseOptions;
2711
            if (configuration) {
2712
                baseOptions = configuration.baseOptions;
2713
            }
2714

    
2715
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2716
            const localVarHeaderParameter = {} as any;
2717
            const localVarQueryParameter = {} as any;
2718

    
2719

    
2720
    
2721
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2722
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2723
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2724

    
2725
            return {
2726
                url: toPathString(localVarUrlObj),
2727
                options: localVarRequestOptions,
2728
            };
2729
        },
2730
    }
2731
};
2732

    
2733
/**
2734
 * AuthApi - functional programming interface
2735
 * @export
2736
 */
2737
export const AuthApiFp = function(configuration?: Configuration) {
2738
    const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
2739
    return {
2740
        /**
2741
         * 
2742
         * @param {LoginRequest} [loginRequest] 
2743
         * @param {*} [options] Override http request option.
2744
         * @throws {RequiredError}
2745
         */
2746
        async authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
2747
            const localVarAxiosArgs = await localVarAxiosParamCreator.authLoginPost(loginRequest, options);
2748
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2749
        },
2750
        /**
2751
         * 
2752
         * @param {*} [options] Override http request option.
2753
         * @throws {RequiredError}
2754
         */
2755
        async authTestAaGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
2756
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestAaGet(options);
2757
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2758
        },
2759
        /**
2760
         * 
2761
         * @param {*} [options] Override http request option.
2762
         * @throws {RequiredError}
2763
         */
2764
        async authTestGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
2765
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestGet(options);
2766
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2767
        },
2768
    }
2769
};
2770

    
2771
/**
2772
 * AuthApi - factory interface
2773
 * @export
2774
 */
2775
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2776
    const localVarFp = AuthApiFp(configuration)
2777
    return {
2778
        /**
2779
         * 
2780
         * @param {LoginRequest} [loginRequest] 
2781
         * @param {*} [options] Override http request option.
2782
         * @throws {RequiredError}
2783
         */
2784
        authLoginPost(loginRequest?: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
2785
            return localVarFp.authLoginPost(loginRequest, options).then((request) => request(axios, basePath));
2786
        },
2787
        /**
2788
         * 
2789
         * @param {*} [options] Override http request option.
2790
         * @throws {RequiredError}
2791
         */
2792
        authTestAaGet(options?: any): AxiosPromise<ClientInfo> {
2793
            return localVarFp.authTestAaGet(options).then((request) => request(axios, basePath));
2794
        },
2795
        /**
2796
         * 
2797
         * @param {*} [options] Override http request option.
2798
         * @throws {RequiredError}
2799
         */
2800
        authTestGet(options?: any): AxiosPromise<ClientInfo> {
2801
            return localVarFp.authTestGet(options).then((request) => request(axios, basePath));
2802
        },
2803
    };
2804
};
2805

    
2806
/**
2807
 * AuthApi - object-oriented interface
2808
 * @export
2809
 * @class AuthApi
2810
 * @extends {BaseAPI}
2811
 */
2812
export class AuthApi extends BaseAPI {
2813
    /**
2814
     * 
2815
     * @param {LoginRequest} [loginRequest] 
2816
     * @param {*} [options] Override http request option.
2817
     * @throws {RequiredError}
2818
     * @memberof AuthApi
2819
     */
2820
    public authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig) {
2821
        return AuthApiFp(this.configuration).authLoginPost(loginRequest, options).then((request) => request(this.axios, this.basePath));
2822
    }
2823

    
2824
    /**
2825
     * 
2826
     * @param {*} [options] Override http request option.
2827
     * @throws {RequiredError}
2828
     * @memberof AuthApi
2829
     */
2830
    public authTestAaGet(options?: AxiosRequestConfig) {
2831
        return AuthApiFp(this.configuration).authTestAaGet(options).then((request) => request(this.axios, this.basePath));
2832
    }
2833

    
2834
    /**
2835
     * 
2836
     * @param {*} [options] Override http request option.
2837
     * @throws {RequiredError}
2838
     * @memberof AuthApi
2839
     */
2840
    public authTestGet(options?: AxiosRequestConfig) {
2841
        return AuthApiFp(this.configuration).authTestGet(options).then((request) => request(this.axios, this.basePath));
2842
    }
2843
}
2844

    
2845

    
2846
/**
2847
 * DocumentApi - axios parameter creator
2848
 * @export
2849
 */
2850
export const DocumentApiAxiosParamCreator = function (configuration?: Configuration) {
2851
    return {
2852
        /**
2853
         * 
2854
         * @param {string} documentId 
2855
         * @param {*} [options] Override http request option.
2856
         * @throws {RequiredError}
2857
         */
2858
        documentDocumentIdFinalPost: async (documentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2859
            // verify required parameter 'documentId' is not null or undefined
2860
            assertParamExists('documentDocumentIdFinalPost', 'documentId', documentId)
2861
            const localVarPath = `/document/{documentId}/final`
2862
                .replace(`{${"documentId"}}`, encodeURIComponent(String(documentId)));
2863
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2864
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2865
            let baseOptions;
2866
            if (configuration) {
2867
                baseOptions = configuration.baseOptions;
2868
            }
2869

    
2870
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2871
            const localVarHeaderParameter = {} as any;
2872
            const localVarQueryParameter = {} as any;
2873

    
2874

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

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

    
2903
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2904
            const localVarHeaderParameter = {} as any;
2905
            const localVarQueryParameter = {} as any;
2906

    
2907

    
2908
    
2909
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2910
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2911
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2912

    
2913
            return {
2914
                url: toPathString(localVarUrlObj),
2915
                options: localVarRequestOptions,
2916
            };
2917
        },
2918
        /**
2919
         * 
2920
         * @param {number} [pageIndex] 
2921
         * @param {number} [pageSize] 
2922
         * @param {*} [options] Override http request option.
2923
         * @throws {RequiredError}
2924
         */
2925
        documentsGet: async (pageIndex?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2926
            const localVarPath = `/documents`;
2927
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2928
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2929
            let baseOptions;
2930
            if (configuration) {
2931
                baseOptions = configuration.baseOptions;
2932
            }
2933

    
2934
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2935
            const localVarHeaderParameter = {} as any;
2936
            const localVarQueryParameter = {} as any;
2937

    
2938
            if (pageIndex !== undefined) {
2939
                localVarQueryParameter['pageIndex'] = pageIndex;
2940
            }
2941

    
2942
            if (pageSize !== undefined) {
2943
                localVarQueryParameter['pageSize'] = pageSize;
2944
            }
2945

    
2946

    
2947
    
2948
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2949
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2950
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2951

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

    
2972
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2973
            const localVarHeaderParameter = {} as any;
2974
            const localVarQueryParameter = {} as any;
2975

    
2976

    
2977
    
2978
            localVarHeaderParameter['Content-Type'] = 'application/json';
2979

    
2980
            setSearchParams(localVarUrlObj, localVarQueryParameter);
2981
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2982
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2983
            localVarRequestOptions.data = serializeDataIfNeeded(documentAddRequest, localVarRequestOptions, configuration)
2984

    
2985
            return {
2986
                url: toPathString(localVarUrlObj),
2987
                options: localVarRequestOptions,
2988
            };
2989
        },
2990
        /**
2991
         * 
2992
         * @param {*} [options] Override http request option.
2993
         * @throws {RequiredError}
2994
         */
2995
        documentsRequiredAnnotationsGlobalGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2996
            const localVarPath = `/documents/requiredAnnotations/global`;
2997
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
2998
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2999
            let baseOptions;
3000
            if (configuration) {
3001
                baseOptions = configuration.baseOptions;
3002
            }
3003

    
3004
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3005
            const localVarHeaderParameter = {} as any;
3006
            const localVarQueryParameter = {} as any;
3007

    
3008

    
3009
    
3010
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3011
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3012
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3013

    
3014
            return {
3015
                url: toPathString(localVarUrlObj),
3016
                options: localVarRequestOptions,
3017
            };
3018
        },
3019
        /**
3020
         * 
3021
         * @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest] 
3022
         * @param {*} [options] Override http request option.
3023
         * @throws {RequiredError}
3024
         */
3025
        documentsRequiredAnnotationsGlobalPost: async (setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3026
            const localVarPath = `/documents/requiredAnnotations/global`;
3027
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3028
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3029
            let baseOptions;
3030
            if (configuration) {
3031
                baseOptions = configuration.baseOptions;
3032
            }
3033

    
3034
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3035
            const localVarHeaderParameter = {} as any;
3036
            const localVarQueryParameter = {} as any;
3037

    
3038

    
3039
    
3040
            localVarHeaderParameter['Content-Type'] = 'application/json';
3041

    
3042
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3043
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3044
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3045
            localVarRequestOptions.data = serializeDataIfNeeded(setRequiredAnnotationsGlobalRequest, localVarRequestOptions, configuration)
3046

    
3047
            return {
3048
                url: toPathString(localVarUrlObj),
3049
                options: localVarRequestOptions,
3050
            };
3051
        },
3052
        /**
3053
         * 
3054
         * @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest] 
3055
         * @param {*} [options] Override http request option.
3056
         * @throws {RequiredError}
3057
         */
3058
        documentsRequiredAnnotationsPost: async (setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3059
            const localVarPath = `/documents/requiredAnnotations`;
3060
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3061
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3062
            let baseOptions;
3063
            if (configuration) {
3064
                baseOptions = configuration.baseOptions;
3065
            }
3066

    
3067
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3068
            const localVarHeaderParameter = {} as any;
3069
            const localVarQueryParameter = {} as any;
3070

    
3071

    
3072
    
3073
            localVarHeaderParameter['Content-Type'] = 'application/json';
3074

    
3075
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3076
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3077
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3078
            localVarRequestOptions.data = serializeDataIfNeeded(setRequiredAnnotationsRequest, localVarRequestOptions, configuration)
3079

    
3080
            return {
3081
                url: toPathString(localVarUrlObj),
3082
                options: localVarRequestOptions,
3083
            };
3084
        },
3085
    }
3086
};
3087

    
3088
/**
3089
 * DocumentApi - functional programming interface
3090
 * @export
3091
 */
3092
export const DocumentApiFp = function(configuration?: Configuration) {
3093
    const localVarAxiosParamCreator = DocumentApiAxiosParamCreator(configuration)
3094
    return {
3095
        /**
3096
         * 
3097
         * @param {string} documentId 
3098
         * @param {*} [options] Override http request option.
3099
         * @throws {RequiredError}
3100
         */
3101
        async documentDocumentIdFinalPost(documentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFinalAnnotationResponse>> {
3102
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentDocumentIdFinalPost(documentId, options);
3103
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3104
        },
3105
        /**
3106
         * 
3107
         * @param {string} documentId 
3108
         * @param {*} [options] Override http request option.
3109
         * @throws {RequiredError}
3110
         */
3111
        async documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentPreviewResponse>> {
3112
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentDocumentIdGet(documentId, options);
3113
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3114
        },
3115
        /**
3116
         * 
3117
         * @param {number} [pageIndex] 
3118
         * @param {number} [pageSize] 
3119
         * @param {*} [options] Override http request option.
3120
         * @throws {RequiredError}
3121
         */
3122
        async documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentListResponse>> {
3123
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsGet(pageIndex, pageSize, options);
3124
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3125
        },
3126
        /**
3127
         * 
3128
         * @param {DocumentAddRequest} [documentAddRequest] 
3129
         * @param {*} [options] Override http request option.
3130
         * @throws {RequiredError}
3131
         */
3132
        async documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3133
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsPost(documentAddRequest, options);
3134
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3135
        },
3136
        /**
3137
         * 
3138
         * @param {*} [options] Override http request option.
3139
         * @throws {RequiredError}
3140
         */
3141
        async documentsRequiredAnnotationsGlobalGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRequiredAnnotationsGlobalResponse>> {
3142
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsGlobalGet(options);
3143
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3144
        },
3145
        /**
3146
         * 
3147
         * @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest] 
3148
         * @param {*} [options] Override http request option.
3149
         * @throws {RequiredError}
3150
         */
3151
        async documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3152
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options);
3153
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3154
        },
3155
        /**
3156
         * 
3157
         * @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest] 
3158
         * @param {*} [options] Override http request option.
3159
         * @throws {RequiredError}
3160
         */
3161
        async documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3162
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options);
3163
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3164
        },
3165
    }
3166
};
3167

    
3168
/**
3169
 * DocumentApi - factory interface
3170
 * @export
3171
 */
3172
export const DocumentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3173
    const localVarFp = DocumentApiFp(configuration)
3174
    return {
3175
        /**
3176
         * 
3177
         * @param {string} documentId 
3178
         * @param {*} [options] Override http request option.
3179
         * @throws {RequiredError}
3180
         */
3181
        documentDocumentIdFinalPost(documentId: string, options?: any): AxiosPromise<CreateFinalAnnotationResponse> {
3182
            return localVarFp.documentDocumentIdFinalPost(documentId, options).then((request) => request(axios, basePath));
3183
        },
3184
        /**
3185
         * 
3186
         * @param {string} documentId 
3187
         * @param {*} [options] Override http request option.
3188
         * @throws {RequiredError}
3189
         */
3190
        documentDocumentIdGet(documentId: string, options?: any): AxiosPromise<DocumentPreviewResponse> {
3191
            return localVarFp.documentDocumentIdGet(documentId, options).then((request) => request(axios, basePath));
3192
        },
3193
        /**
3194
         * 
3195
         * @param {number} [pageIndex] 
3196
         * @param {number} [pageSize] 
3197
         * @param {*} [options] Override http request option.
3198
         * @throws {RequiredError}
3199
         */
3200
        documentsGet(pageIndex?: number, pageSize?: number, options?: any): AxiosPromise<DocumentListResponse> {
3201
            return localVarFp.documentsGet(pageIndex, pageSize, options).then((request) => request(axios, basePath));
3202
        },
3203
        /**
3204
         * 
3205
         * @param {DocumentAddRequest} [documentAddRequest] 
3206
         * @param {*} [options] Override http request option.
3207
         * @throws {RequiredError}
3208
         */
3209
        documentsPost(documentAddRequest?: DocumentAddRequest, options?: any): AxiosPromise<void> {
3210
            return localVarFp.documentsPost(documentAddRequest, options).then((request) => request(axios, basePath));
3211
        },
3212
        /**
3213
         * 
3214
         * @param {*} [options] Override http request option.
3215
         * @throws {RequiredError}
3216
         */
3217
        documentsRequiredAnnotationsGlobalGet(options?: any): AxiosPromise<GetRequiredAnnotationsGlobalResponse> {
3218
            return localVarFp.documentsRequiredAnnotationsGlobalGet(options).then((request) => request(axios, basePath));
3219
        },
3220
        /**
3221
         * 
3222
         * @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest] 
3223
         * @param {*} [options] Override http request option.
3224
         * @throws {RequiredError}
3225
         */
3226
        documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: any): AxiosPromise<void> {
3227
            return localVarFp.documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options).then((request) => request(axios, basePath));
3228
        },
3229
        /**
3230
         * 
3231
         * @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest] 
3232
         * @param {*} [options] Override http request option.
3233
         * @throws {RequiredError}
3234
         */
3235
        documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: any): AxiosPromise<void> {
3236
            return localVarFp.documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options).then((request) => request(axios, basePath));
3237
        },
3238
    };
3239
};
3240

    
3241
/**
3242
 * DocumentApi - object-oriented interface
3243
 * @export
3244
 * @class DocumentApi
3245
 * @extends {BaseAPI}
3246
 */
3247
export class DocumentApi extends BaseAPI {
3248
    /**
3249
     * 
3250
     * @param {string} documentId 
3251
     * @param {*} [options] Override http request option.
3252
     * @throws {RequiredError}
3253
     * @memberof DocumentApi
3254
     */
3255
    public documentDocumentIdFinalPost(documentId: string, options?: AxiosRequestConfig) {
3256
        return DocumentApiFp(this.configuration).documentDocumentIdFinalPost(documentId, options).then((request) => request(this.axios, this.basePath));
3257
    }
3258

    
3259
    /**
3260
     * 
3261
     * @param {string} documentId 
3262
     * @param {*} [options] Override http request option.
3263
     * @throws {RequiredError}
3264
     * @memberof DocumentApi
3265
     */
3266
    public documentDocumentIdGet(documentId: string, options?: AxiosRequestConfig) {
3267
        return DocumentApiFp(this.configuration).documentDocumentIdGet(documentId, options).then((request) => request(this.axios, this.basePath));
3268
    }
3269

    
3270
    /**
3271
     * 
3272
     * @param {number} [pageIndex] 
3273
     * @param {number} [pageSize] 
3274
     * @param {*} [options] Override http request option.
3275
     * @throws {RequiredError}
3276
     * @memberof DocumentApi
3277
     */
3278
    public documentsGet(pageIndex?: number, pageSize?: number, options?: AxiosRequestConfig) {
3279
        return DocumentApiFp(this.configuration).documentsGet(pageIndex, pageSize, options).then((request) => request(this.axios, this.basePath));
3280
    }
3281

    
3282
    /**
3283
     * 
3284
     * @param {DocumentAddRequest} [documentAddRequest] 
3285
     * @param {*} [options] Override http request option.
3286
     * @throws {RequiredError}
3287
     * @memberof DocumentApi
3288
     */
3289
    public documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig) {
3290
        return DocumentApiFp(this.configuration).documentsPost(documentAddRequest, options).then((request) => request(this.axios, this.basePath));
3291
    }
3292

    
3293
    /**
3294
     * 
3295
     * @param {*} [options] Override http request option.
3296
     * @throws {RequiredError}
3297
     * @memberof DocumentApi
3298
     */
3299
    public documentsRequiredAnnotationsGlobalGet(options?: AxiosRequestConfig) {
3300
        return DocumentApiFp(this.configuration).documentsRequiredAnnotationsGlobalGet(options).then((request) => request(this.axios, this.basePath));
3301
    }
3302

    
3303
    /**
3304
     * 
3305
     * @param {SetRequiredAnnotationsGlobalRequest} [setRequiredAnnotationsGlobalRequest] 
3306
     * @param {*} [options] Override http request option.
3307
     * @throws {RequiredError}
3308
     * @memberof DocumentApi
3309
     */
3310
    public documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest?: SetRequiredAnnotationsGlobalRequest, options?: AxiosRequestConfig) {
3311
        return DocumentApiFp(this.configuration).documentsRequiredAnnotationsGlobalPost(setRequiredAnnotationsGlobalRequest, options).then((request) => request(this.axios, this.basePath));
3312
    }
3313

    
3314
    /**
3315
     * 
3316
     * @param {SetRequiredAnnotationsRequest} [setRequiredAnnotationsRequest] 
3317
     * @param {*} [options] Override http request option.
3318
     * @throws {RequiredError}
3319
     * @memberof DocumentApi
3320
     */
3321
    public documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest?: SetRequiredAnnotationsRequest, options?: AxiosRequestConfig) {
3322
        return DocumentApiFp(this.configuration).documentsRequiredAnnotationsPost(setRequiredAnnotationsRequest, options).then((request) => request(this.axios, this.basePath));
3323
    }
3324
}
3325

    
3326

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

    
3348
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3349
            const localVarHeaderParameter = {} as any;
3350
            const localVarQueryParameter = {} as any;
3351

    
3352

    
3353
    
3354
            localVarHeaderParameter['Content-Type'] = 'application/json';
3355

    
3356
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3357
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3358
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3359
            localVarRequestOptions.data = serializeDataIfNeeded(createCategoryRequest, localVarRequestOptions, configuration)
3360

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

    
3384
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3385
            const localVarHeaderParameter = {} as any;
3386
            const localVarQueryParameter = {} as any;
3387

    
3388

    
3389
    
3390
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3391
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3392
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3393

    
3394
            return {
3395
                url: toPathString(localVarUrlObj),
3396
                options: localVarRequestOptions,
3397
            };
3398
        },
3399
        /**
3400
         * 
3401
         * @param {string} categoryId 
3402
         * @param {ModifyCategoryRequest} [modifyCategoryRequest] 
3403
         * @param {*} [options] Override http request option.
3404
         * @throws {RequiredError}
3405
         */
3406
        categoryCategoryIdPut: async (categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3407
            // verify required parameter 'categoryId' is not null or undefined
3408
            assertParamExists('categoryCategoryIdPut', 'categoryId', categoryId)
3409
            const localVarPath = `/category/{categoryId}`
3410
                .replace(`{${"categoryId"}}`, encodeURIComponent(String(categoryId)));
3411
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3412
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3413
            let baseOptions;
3414
            if (configuration) {
3415
                baseOptions = configuration.baseOptions;
3416
            }
3417

    
3418
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3419
            const localVarHeaderParameter = {} as any;
3420
            const localVarQueryParameter = {} as any;
3421

    
3422

    
3423
    
3424
            localVarHeaderParameter['Content-Type'] = 'application/json';
3425

    
3426
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3427
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3428
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3429
            localVarRequestOptions.data = serializeDataIfNeeded(modifyCategoryRequest, localVarRequestOptions, configuration)
3430

    
3431
            return {
3432
                url: toPathString(localVarUrlObj),
3433
                options: localVarRequestOptions,
3434
            };
3435
        },
3436
        /**
3437
         * 
3438
         * @param {string} subtagId 
3439
         * @param {*} [options] Override http request option.
3440
         * @throws {RequiredError}
3441
         */
3442
        subtagSubtagIdDelete: async (subtagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3443
            // verify required parameter 'subtagId' is not null or undefined
3444
            assertParamExists('subtagSubtagIdDelete', 'subtagId', subtagId)
3445
            const localVarPath = `/subtag/{subtagId}`
3446
                .replace(`{${"subtagId"}}`, encodeURIComponent(String(subtagId)));
3447
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3448
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3449
            let baseOptions;
3450
            if (configuration) {
3451
                baseOptions = configuration.baseOptions;
3452
            }
3453

    
3454
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3455
            const localVarHeaderParameter = {} as any;
3456
            const localVarQueryParameter = {} as any;
3457

    
3458

    
3459
    
3460
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3461
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3462
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3463

    
3464
            return {
3465
                url: toPathString(localVarUrlObj),
3466
                options: localVarRequestOptions,
3467
            };
3468
        },
3469
        /**
3470
         * 
3471
         * @param {string} subtagId 
3472
         * @param {ModifySubTagRequest} [modifySubTagRequest] 
3473
         * @param {*} [options] Override http request option.
3474
         * @throws {RequiredError}
3475
         */
3476
        subtagSubtagIdPut: async (subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3477
            // verify required parameter 'subtagId' is not null or undefined
3478
            assertParamExists('subtagSubtagIdPut', 'subtagId', subtagId)
3479
            const localVarPath = `/subtag/{subtagId}`
3480
                .replace(`{${"subtagId"}}`, encodeURIComponent(String(subtagId)));
3481
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3482
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3483
            let baseOptions;
3484
            if (configuration) {
3485
                baseOptions = configuration.baseOptions;
3486
            }
3487

    
3488
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3489
            const localVarHeaderParameter = {} as any;
3490
            const localVarQueryParameter = {} as any;
3491

    
3492

    
3493
    
3494
            localVarHeaderParameter['Content-Type'] = 'application/json';
3495

    
3496
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3497
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3498
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3499
            localVarRequestOptions.data = serializeDataIfNeeded(modifySubTagRequest, localVarRequestOptions, configuration)
3500

    
3501
            return {
3502
                url: toPathString(localVarUrlObj),
3503
                options: localVarRequestOptions,
3504
            };
3505
        },
3506
        /**
3507
         * 
3508
         * @param {CreateSubTagRequest} [createSubTagRequest] 
3509
         * @param {*} [options] Override http request option.
3510
         * @throws {RequiredError}
3511
         */
3512
        subtagsPost: async (createSubTagRequest?: CreateSubTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3513
            const localVarPath = `/subtags`;
3514
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3515
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3516
            let baseOptions;
3517
            if (configuration) {
3518
                baseOptions = configuration.baseOptions;
3519
            }
3520

    
3521
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3522
            const localVarHeaderParameter = {} as any;
3523
            const localVarQueryParameter = {} as any;
3524

    
3525

    
3526
    
3527
            localVarHeaderParameter['Content-Type'] = 'application/json';
3528

    
3529
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3530
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3531
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3532
            localVarRequestOptions.data = serializeDataIfNeeded(createSubTagRequest, localVarRequestOptions, configuration)
3533

    
3534
            return {
3535
                url: toPathString(localVarUrlObj),
3536
                options: localVarRequestOptions,
3537
            };
3538
        },
3539
        /**
3540
         * 
3541
         * @param {string} tagId 
3542
         * @param {*} [options] Override http request option.
3543
         * @throws {RequiredError}
3544
         */
3545
        tagTagIdDelete: async (tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3546
            // verify required parameter 'tagId' is not null or undefined
3547
            assertParamExists('tagTagIdDelete', 'tagId', tagId)
3548
            const localVarPath = `/tag/{tagId}`
3549
                .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
3550
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3551
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3552
            let baseOptions;
3553
            if (configuration) {
3554
                baseOptions = configuration.baseOptions;
3555
            }
3556

    
3557
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3558
            const localVarHeaderParameter = {} as any;
3559
            const localVarQueryParameter = {} as any;
3560

    
3561

    
3562
    
3563
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3564
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3565
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3566

    
3567
            return {
3568
                url: toPathString(localVarUrlObj),
3569
                options: localVarRequestOptions,
3570
            };
3571
        },
3572
        /**
3573
         * 
3574
         * @param {string} tagId 
3575
         * @param {ModifyTagRequest} [modifyTagRequest] 
3576
         * @param {*} [options] Override http request option.
3577
         * @throws {RequiredError}
3578
         */
3579
        tagTagIdPut: async (tagId: string, modifyTagRequest?: ModifyTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3580
            // verify required parameter 'tagId' is not null or undefined
3581
            assertParamExists('tagTagIdPut', 'tagId', tagId)
3582
            const localVarPath = `/tag/{tagId}`
3583
                .replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
3584
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3585
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3586
            let baseOptions;
3587
            if (configuration) {
3588
                baseOptions = configuration.baseOptions;
3589
            }
3590

    
3591
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3592
            const localVarHeaderParameter = {} as any;
3593
            const localVarQueryParameter = {} as any;
3594

    
3595

    
3596
    
3597
            localVarHeaderParameter['Content-Type'] = 'application/json';
3598

    
3599
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3600
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3601
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3602
            localVarRequestOptions.data = serializeDataIfNeeded(modifyTagRequest, localVarRequestOptions, configuration)
3603

    
3604
            return {
3605
                url: toPathString(localVarUrlObj),
3606
                options: localVarRequestOptions,
3607
            };
3608
        },
3609
        /**
3610
         * 
3611
         * @param {*} [options] Override http request option.
3612
         * @throws {RequiredError}
3613
         */
3614
        tagsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3615
            const localVarPath = `/tags`;
3616
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3617
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3618
            let baseOptions;
3619
            if (configuration) {
3620
                baseOptions = configuration.baseOptions;
3621
            }
3622

    
3623
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3624
            const localVarHeaderParameter = {} as any;
3625
            const localVarQueryParameter = {} as any;
3626

    
3627

    
3628
    
3629
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3630
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3631
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3632

    
3633
            return {
3634
                url: toPathString(localVarUrlObj),
3635
                options: localVarRequestOptions,
3636
            };
3637
        },
3638
        /**
3639
         * 
3640
         * @param {CreateTagRequest} [createTagRequest] 
3641
         * @param {*} [options] Override http request option.
3642
         * @throws {RequiredError}
3643
         */
3644
        tagsPost: async (createTagRequest?: CreateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3645
            const localVarPath = `/tags`;
3646
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
3647
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3648
            let baseOptions;
3649
            if (configuration) {
3650
                baseOptions = configuration.baseOptions;
3651
            }
3652

    
3653
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3654
            const localVarHeaderParameter = {} as any;
3655
            const localVarQueryParameter = {} as any;
3656

    
3657

    
3658
    
3659
            localVarHeaderParameter['Content-Type'] = 'application/json';
3660

    
3661
            setSearchParams(localVarUrlObj, localVarQueryParameter);
3662
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3663
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3664
            localVarRequestOptions.data = serializeDataIfNeeded(createTagRequest, localVarRequestOptions, configuration)
3665

    
3666
            return {
3667
                url: toPathString(localVarUrlObj),
3668
                options: localVarRequestOptions,
3669
            };
3670
        },
3671
    }
3672
};
3673

    
3674
/**
3675
 * TagApi - functional programming interface
3676
 * @export
3677
 */
3678
export const TagApiFp = function(configuration?: Configuration) {
3679
    const localVarAxiosParamCreator = TagApiAxiosParamCreator(configuration)
3680
    return {
3681
        /**
3682
         * 
3683
         * @param {CreateCategoryRequest} [createCategoryRequest] 
3684
         * @param {*} [options] Override http request option.
3685
         * @throws {RequiredError}
3686
         */
3687
        async categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3688
            const localVarAxiosArgs = await localVarAxiosParamCreator.categoriesPost(createCategoryRequest, options);
3689
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3690
        },
3691
        /**
3692
         * 
3693
         * @param {string} categoryId 
3694
         * @param {*} [options] Override http request option.
3695
         * @throws {RequiredError}
3696
         */
3697
        async categoryCategoryIdDelete(categoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3698
            const localVarAxiosArgs = await localVarAxiosParamCreator.categoryCategoryIdDelete(categoryId, options);
3699
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3700
        },
3701
        /**
3702
         * 
3703
         * @param {string} categoryId 
3704
         * @param {ModifyCategoryRequest} [modifyCategoryRequest] 
3705
         * @param {*} [options] Override http request option.
3706
         * @throws {RequiredError}
3707
         */
3708
        async categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3709
            const localVarAxiosArgs = await localVarAxiosParamCreator.categoryCategoryIdPut(categoryId, modifyCategoryRequest, options);
3710
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3711
        },
3712
        /**
3713
         * 
3714
         * @param {string} subtagId 
3715
         * @param {*} [options] Override http request option.
3716
         * @throws {RequiredError}
3717
         */
3718
        async subtagSubtagIdDelete(subtagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3719
            const localVarAxiosArgs = await localVarAxiosParamCreator.subtagSubtagIdDelete(subtagId, options);
3720
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3721
        },
3722
        /**
3723
         * 
3724
         * @param {string} subtagId 
3725
         * @param {ModifySubTagRequest} [modifySubTagRequest] 
3726
         * @param {*} [options] Override http request option.
3727
         * @throws {RequiredError}
3728
         */
3729
        async subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3730
            const localVarAxiosArgs = await localVarAxiosParamCreator.subtagSubtagIdPut(subtagId, modifySubTagRequest, options);
3731
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3732
        },
3733
        /**
3734
         * 
3735
         * @param {CreateSubTagRequest} [createSubTagRequest] 
3736
         * @param {*} [options] Override http request option.
3737
         * @throws {RequiredError}
3738
         */
3739
        async subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3740
            const localVarAxiosArgs = await localVarAxiosParamCreator.subtagsPost(createSubTagRequest, options);
3741
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3742
        },
3743
        /**
3744
         * 
3745
         * @param {string} tagId 
3746
         * @param {*} [options] Override http request option.
3747
         * @throws {RequiredError}
3748
         */
3749
        async tagTagIdDelete(tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3750
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagTagIdDelete(tagId, options);
3751
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3752
        },
3753
        /**
3754
         * 
3755
         * @param {string} tagId 
3756
         * @param {ModifyTagRequest} [modifyTagRequest] 
3757
         * @param {*} [options] Override http request option.
3758
         * @throws {RequiredError}
3759
         */
3760
        async tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3761
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagTagIdPut(tagId, modifyTagRequest, options);
3762
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3763
        },
3764
        /**
3765
         * 
3766
         * @param {*} [options] Override http request option.
3767
         * @throws {RequiredError}
3768
         */
3769
        async tagsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagTreeResponse>> {
3770
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(options);
3771
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3772
        },
3773
        /**
3774
         * 
3775
         * @param {CreateTagRequest} [createTagRequest] 
3776
         * @param {*} [options] Override http request option.
3777
         * @throws {RequiredError}
3778
         */
3779
        async tagsPost(createTagRequest?: CreateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3780
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagsPost(createTagRequest, options);
3781
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3782
        },
3783
    }
3784
};
3785

    
3786
/**
3787
 * TagApi - factory interface
3788
 * @export
3789
 */
3790
export const TagApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3791
    const localVarFp = TagApiFp(configuration)
3792
    return {
3793
        /**
3794
         * 
3795
         * @param {CreateCategoryRequest} [createCategoryRequest] 
3796
         * @param {*} [options] Override http request option.
3797
         * @throws {RequiredError}
3798
         */
3799
        categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: any): AxiosPromise<void> {
3800
            return localVarFp.categoriesPost(createCategoryRequest, options).then((request) => request(axios, basePath));
3801
        },
3802
        /**
3803
         * 
3804
         * @param {string} categoryId 
3805
         * @param {*} [options] Override http request option.
3806
         * @throws {RequiredError}
3807
         */
3808
        categoryCategoryIdDelete(categoryId: string, options?: any): AxiosPromise<void> {
3809
            return localVarFp.categoryCategoryIdDelete(categoryId, options).then((request) => request(axios, basePath));
3810
        },
3811
        /**
3812
         * 
3813
         * @param {string} categoryId 
3814
         * @param {ModifyCategoryRequest} [modifyCategoryRequest] 
3815
         * @param {*} [options] Override http request option.
3816
         * @throws {RequiredError}
3817
         */
3818
        categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: any): AxiosPromise<void> {
3819
            return localVarFp.categoryCategoryIdPut(categoryId, modifyCategoryRequest, options).then((request) => request(axios, basePath));
3820
        },
3821
        /**
3822
         * 
3823
         * @param {string} subtagId 
3824
         * @param {*} [options] Override http request option.
3825
         * @throws {RequiredError}
3826
         */
3827
        subtagSubtagIdDelete(subtagId: string, options?: any): AxiosPromise<void> {
3828
            return localVarFp.subtagSubtagIdDelete(subtagId, options).then((request) => request(axios, basePath));
3829
        },
3830
        /**
3831
         * 
3832
         * @param {string} subtagId 
3833
         * @param {ModifySubTagRequest} [modifySubTagRequest] 
3834
         * @param {*} [options] Override http request option.
3835
         * @throws {RequiredError}
3836
         */
3837
        subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: any): AxiosPromise<void> {
3838
            return localVarFp.subtagSubtagIdPut(subtagId, modifySubTagRequest, options).then((request) => request(axios, basePath));
3839
        },
3840
        /**
3841
         * 
3842
         * @param {CreateSubTagRequest} [createSubTagRequest] 
3843
         * @param {*} [options] Override http request option.
3844
         * @throws {RequiredError}
3845
         */
3846
        subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: any): AxiosPromise<void> {
3847
            return localVarFp.subtagsPost(createSubTagRequest, options).then((request) => request(axios, basePath));
3848
        },
3849
        /**
3850
         * 
3851
         * @param {string} tagId 
3852
         * @param {*} [options] Override http request option.
3853
         * @throws {RequiredError}
3854
         */
3855
        tagTagIdDelete(tagId: string, options?: any): AxiosPromise<void> {
3856
            return localVarFp.tagTagIdDelete(tagId, options).then((request) => request(axios, basePath));
3857
        },
3858
        /**
3859
         * 
3860
         * @param {string} tagId 
3861
         * @param {ModifyTagRequest} [modifyTagRequest] 
3862
         * @param {*} [options] Override http request option.
3863
         * @throws {RequiredError}
3864
         */
3865
        tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: any): AxiosPromise<void> {
3866
            return localVarFp.tagTagIdPut(tagId, modifyTagRequest, options).then((request) => request(axios, basePath));
3867
        },
3868
        /**
3869
         * 
3870
         * @param {*} [options] Override http request option.
3871
         * @throws {RequiredError}
3872
         */
3873
        tagsGet(options?: any): AxiosPromise<TagTreeResponse> {
3874
            return localVarFp.tagsGet(options).then((request) => request(axios, basePath));
3875
        },
3876
        /**
3877
         * 
3878
         * @param {CreateTagRequest} [createTagRequest] 
3879
         * @param {*} [options] Override http request option.
3880
         * @throws {RequiredError}
3881
         */
3882
        tagsPost(createTagRequest?: CreateTagRequest, options?: any): AxiosPromise<void> {
3883
            return localVarFp.tagsPost(createTagRequest, options).then((request) => request(axios, basePath));
3884
        },
3885
    };
3886
};
3887

    
3888
/**
3889
 * TagApi - object-oriented interface
3890
 * @export
3891
 * @class TagApi
3892
 * @extends {BaseAPI}
3893
 */
3894
export class TagApi extends BaseAPI {
3895
    /**
3896
     * 
3897
     * @param {CreateCategoryRequest} [createCategoryRequest] 
3898
     * @param {*} [options] Override http request option.
3899
     * @throws {RequiredError}
3900
     * @memberof TagApi
3901
     */
3902
    public categoriesPost(createCategoryRequest?: CreateCategoryRequest, options?: AxiosRequestConfig) {
3903
        return TagApiFp(this.configuration).categoriesPost(createCategoryRequest, options).then((request) => request(this.axios, this.basePath));
3904
    }
3905

    
3906
    /**
3907
     * 
3908
     * @param {string} categoryId 
3909
     * @param {*} [options] Override http request option.
3910
     * @throws {RequiredError}
3911
     * @memberof TagApi
3912
     */
3913
    public categoryCategoryIdDelete(categoryId: string, options?: AxiosRequestConfig) {
3914
        return TagApiFp(this.configuration).categoryCategoryIdDelete(categoryId, options).then((request) => request(this.axios, this.basePath));
3915
    }
3916

    
3917
    /**
3918
     * 
3919
     * @param {string} categoryId 
3920
     * @param {ModifyCategoryRequest} [modifyCategoryRequest] 
3921
     * @param {*} [options] Override http request option.
3922
     * @throws {RequiredError}
3923
     * @memberof TagApi
3924
     */
3925
    public categoryCategoryIdPut(categoryId: string, modifyCategoryRequest?: ModifyCategoryRequest, options?: AxiosRequestConfig) {
3926
        return TagApiFp(this.configuration).categoryCategoryIdPut(categoryId, modifyCategoryRequest, options).then((request) => request(this.axios, this.basePath));
3927
    }
3928

    
3929
    /**
3930
     * 
3931
     * @param {string} subtagId 
3932
     * @param {*} [options] Override http request option.
3933
     * @throws {RequiredError}
3934
     * @memberof TagApi
3935
     */
3936
    public subtagSubtagIdDelete(subtagId: string, options?: AxiosRequestConfig) {
3937
        return TagApiFp(this.configuration).subtagSubtagIdDelete(subtagId, options).then((request) => request(this.axios, this.basePath));
3938
    }
3939

    
3940
    /**
3941
     * 
3942
     * @param {string} subtagId 
3943
     * @param {ModifySubTagRequest} [modifySubTagRequest] 
3944
     * @param {*} [options] Override http request option.
3945
     * @throws {RequiredError}
3946
     * @memberof TagApi
3947
     */
3948
    public subtagSubtagIdPut(subtagId: string, modifySubTagRequest?: ModifySubTagRequest, options?: AxiosRequestConfig) {
3949
        return TagApiFp(this.configuration).subtagSubtagIdPut(subtagId, modifySubTagRequest, options).then((request) => request(this.axios, this.basePath));
3950
    }
3951

    
3952
    /**
3953
     * 
3954
     * @param {CreateSubTagRequest} [createSubTagRequest] 
3955
     * @param {*} [options] Override http request option.
3956
     * @throws {RequiredError}
3957
     * @memberof TagApi
3958
     */
3959
    public subtagsPost(createSubTagRequest?: CreateSubTagRequest, options?: AxiosRequestConfig) {
3960
        return TagApiFp(this.configuration).subtagsPost(createSubTagRequest, options).then((request) => request(this.axios, this.basePath));
3961
    }
3962

    
3963
    /**
3964
     * 
3965
     * @param {string} tagId 
3966
     * @param {*} [options] Override http request option.
3967
     * @throws {RequiredError}
3968
     * @memberof TagApi
3969
     */
3970
    public tagTagIdDelete(tagId: string, options?: AxiosRequestConfig) {
3971
        return TagApiFp(this.configuration).tagTagIdDelete(tagId, options).then((request) => request(this.axios, this.basePath));
3972
    }
3973

    
3974
    /**
3975
     * 
3976
     * @param {string} tagId 
3977
     * @param {ModifyTagRequest} [modifyTagRequest] 
3978
     * @param {*} [options] Override http request option.
3979
     * @throws {RequiredError}
3980
     * @memberof TagApi
3981
     */
3982
    public tagTagIdPut(tagId: string, modifyTagRequest?: ModifyTagRequest, options?: AxiosRequestConfig) {
3983
        return TagApiFp(this.configuration).tagTagIdPut(tagId, modifyTagRequest, options).then((request) => request(this.axios, this.basePath));
3984
    }
3985

    
3986
    /**
3987
     * 
3988
     * @param {*} [options] Override http request option.
3989
     * @throws {RequiredError}
3990
     * @memberof TagApi
3991
     */
3992
    public tagsGet(options?: AxiosRequestConfig) {
3993
        return TagApiFp(this.configuration).tagsGet(options).then((request) => request(this.axios, this.basePath));
3994
    }
3995

    
3996
    /**
3997
     * 
3998
     * @param {CreateTagRequest} [createTagRequest] 
3999
     * @param {*} [options] Override http request option.
4000
     * @throws {RequiredError}
4001
     * @memberof TagApi
4002
     */
4003
    public tagsPost(createTagRequest?: CreateTagRequest, options?: AxiosRequestConfig) {
4004
        return TagApiFp(this.configuration).tagsPost(createTagRequest, options).then((request) => request(this.axios, this.basePath));
4005
    }
4006
}
4007

    
4008

    
4009
/**
4010
 * UserApi - axios parameter creator
4011
 * @export
4012
 */
4013
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
4014
    return {
4015
        /**
4016
         * 
4017
         * @param {*} [options] Override http request option.
4018
         * @throws {RequiredError}
4019
         */
4020
        userAnnotationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4021
            const localVarPath = `/user/annotations`;
4022
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
4023
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4024
            let baseOptions;
4025
            if (configuration) {
4026
                baseOptions = configuration.baseOptions;
4027
            }
4028

    
4029
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4030
            const localVarHeaderParameter = {} as any;
4031
            const localVarQueryParameter = {} as any;
4032

    
4033

    
4034
    
4035
            setSearchParams(localVarUrlObj, localVarQueryParameter);
4036
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4037
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4038

    
4039
            return {
4040
                url: toPathString(localVarUrlObj),
4041
                options: localVarRequestOptions,
4042
            };
4043
        },
4044
        /**
4045
         * 
4046
         * @param {string} userId 
4047
         * @param {*} [options] Override http request option.
4048
         * @throws {RequiredError}
4049
         */
4050
        userUserIdAnnotationsGet: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4051
            // verify required parameter 'userId' is not null or undefined
4052
            assertParamExists('userUserIdAnnotationsGet', 'userId', userId)
4053
            const localVarPath = `/user/{userId}/annotations`
4054
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
4055
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
4056
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4057
            let baseOptions;
4058
            if (configuration) {
4059
                baseOptions = configuration.baseOptions;
4060
            }
4061

    
4062
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4063
            const localVarHeaderParameter = {} as any;
4064
            const localVarQueryParameter = {} as any;
4065

    
4066

    
4067
    
4068
            setSearchParams(localVarUrlObj, localVarQueryParameter);
4069
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4070
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4071

    
4072
            return {
4073
                url: toPathString(localVarUrlObj),
4074
                options: localVarRequestOptions,
4075
            };
4076
        },
4077
        /**
4078
         * 
4079
         * @param {string} userId 
4080
         * @param {*} [options] Override http request option.
4081
         * @throws {RequiredError}
4082
         */
4083
        userUserIdDelete: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4084
            // verify required parameter 'userId' is not null or undefined
4085
            assertParamExists('userUserIdDelete', 'userId', userId)
4086
            const localVarPath = `/user/{userId}`
4087
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
4088
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
4089
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4090
            let baseOptions;
4091
            if (configuration) {
4092
                baseOptions = configuration.baseOptions;
4093
            }
4094

    
4095
            const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4096
            const localVarHeaderParameter = {} as any;
4097
            const localVarQueryParameter = {} as any;
4098

    
4099

    
4100
    
4101
            setSearchParams(localVarUrlObj, localVarQueryParameter);
4102
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4103
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4104

    
4105
            return {
4106
                url: toPathString(localVarUrlObj),
4107
                options: localVarRequestOptions,
4108
            };
4109
        },
4110
        /**
4111
         * 
4112
         * @param {string} userId 
4113
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
4114
         * @param {*} [options] Override http request option.
4115
         * @throws {RequiredError}
4116
         */
4117
        userUserIdPut: async (userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4118
            // verify required parameter 'userId' is not null or undefined
4119
            assertParamExists('userUserIdPut', 'userId', userId)
4120
            const localVarPath = `/user/{userId}`
4121
                .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
4122
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
4123
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4124
            let baseOptions;
4125
            if (configuration) {
4126
                baseOptions = configuration.baseOptions;
4127
            }
4128

    
4129
            const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4130
            const localVarHeaderParameter = {} as any;
4131
            const localVarQueryParameter = {} as any;
4132

    
4133

    
4134
    
4135
            localVarHeaderParameter['Content-Type'] = 'application/json';
4136

    
4137
            setSearchParams(localVarUrlObj, localVarQueryParameter);
4138
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4139
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4140
            localVarRequestOptions.data = serializeDataIfNeeded(changeUserInfoRequest, localVarRequestOptions, configuration)
4141

    
4142
            return {
4143
                url: toPathString(localVarUrlObj),
4144
                options: localVarRequestOptions,
4145
            };
4146
        },
4147
        /**
4148
         * 
4149
         * @param {*} [options] Override http request option.
4150
         * @throws {RequiredError}
4151
         */
4152
        usersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4153
            const localVarPath = `/users`;
4154
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
4155
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4156
            let baseOptions;
4157
            if (configuration) {
4158
                baseOptions = configuration.baseOptions;
4159
            }
4160

    
4161
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4162
            const localVarHeaderParameter = {} as any;
4163
            const localVarQueryParameter = {} as any;
4164

    
4165

    
4166
    
4167
            setSearchParams(localVarUrlObj, localVarQueryParameter);
4168
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4169
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4170

    
4171
            return {
4172
                url: toPathString(localVarUrlObj),
4173
                options: localVarRequestOptions,
4174
            };
4175
        },
4176
        /**
4177
         * 
4178
         * @param {*} [options] Override http request option.
4179
         * @throws {RequiredError}
4180
         */
4181
        usersMeGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4182
            const localVarPath = `/users/me`;
4183
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
4184
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4185
            let baseOptions;
4186
            if (configuration) {
4187
                baseOptions = configuration.baseOptions;
4188
            }
4189

    
4190
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4191
            const localVarHeaderParameter = {} as any;
4192
            const localVarQueryParameter = {} as any;
4193

    
4194

    
4195
    
4196
            setSearchParams(localVarUrlObj, localVarQueryParameter);
4197
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4198
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4199

    
4200
            return {
4201
                url: toPathString(localVarUrlObj),
4202
                options: localVarRequestOptions,
4203
            };
4204
        },
4205
        /**
4206
         * 
4207
         * @param {CreateUserRequest} [createUserRequest] 
4208
         * @param {*} [options] Override http request option.
4209
         * @throws {RequiredError}
4210
         */
4211
        usersPost: async (createUserRequest?: CreateUserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4212
            const localVarPath = `/users`;
4213
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
4214
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4215
            let baseOptions;
4216
            if (configuration) {
4217
                baseOptions = configuration.baseOptions;
4218
            }
4219

    
4220
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4221
            const localVarHeaderParameter = {} as any;
4222
            const localVarQueryParameter = {} as any;
4223

    
4224

    
4225
    
4226
            localVarHeaderParameter['Content-Type'] = 'application/json';
4227

    
4228
            setSearchParams(localVarUrlObj, localVarQueryParameter);
4229
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4230
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4231
            localVarRequestOptions.data = serializeDataIfNeeded(createUserRequest, localVarRequestOptions, configuration)
4232

    
4233
            return {
4234
                url: toPathString(localVarUrlObj),
4235
                options: localVarRequestOptions,
4236
            };
4237
        },
4238
    }
4239
};
4240

    
4241
/**
4242
 * UserApi - functional programming interface
4243
 * @export
4244
 */
4245
export const UserApiFp = function(configuration?: Configuration) {
4246
    const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
4247
    return {
4248
        /**
4249
         * 
4250
         * @param {*} [options] Override http request option.
4251
         * @throws {RequiredError}
4252
         */
4253
        async userAnnotationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
4254
            const localVarAxiosArgs = await localVarAxiosParamCreator.userAnnotationsGet(options);
4255
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4256
        },
4257
        /**
4258
         * 
4259
         * @param {string} userId 
4260
         * @param {*} [options] Override http request option.
4261
         * @throws {RequiredError}
4262
         */
4263
        async userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
4264
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdAnnotationsGet(userId, options);
4265
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4266
        },
4267
        /**
4268
         * 
4269
         * @param {string} userId 
4270
         * @param {*} [options] Override http request option.
4271
         * @throws {RequiredError}
4272
         */
4273
        async userUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4274
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdDelete(userId, options);
4275
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4276
        },
4277
        /**
4278
         * 
4279
         * @param {string} userId 
4280
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
4281
         * @param {*} [options] Override http request option.
4282
         * @throws {RequiredError}
4283
         */
4284
        async userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4285
            const localVarAxiosArgs = await localVarAxiosParamCreator.userUserIdPut(userId, changeUserInfoRequest, options);
4286
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4287
        },
4288
        /**
4289
         * 
4290
         * @param {*} [options] Override http request option.
4291
         * @throws {RequiredError}
4292
         */
4293
        async usersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>> {
4294
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersGet(options);
4295
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4296
        },
4297
        /**
4298
         * 
4299
         * @param {*} [options] Override http request option.
4300
         * @throws {RequiredError}
4301
         */
4302
        async usersMeGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserMeResponse>> {
4303
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersMeGet(options);
4304
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4305
        },
4306
        /**
4307
         * 
4308
         * @param {CreateUserRequest} [createUserRequest] 
4309
         * @param {*} [options] Override http request option.
4310
         * @throws {RequiredError}
4311
         */
4312
        async usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4313
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersPost(createUserRequest, options);
4314
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4315
        },
4316
    }
4317
};
4318

    
4319
/**
4320
 * UserApi - factory interface
4321
 * @export
4322
 */
4323
export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4324
    const localVarFp = UserApiFp(configuration)
4325
    return {
4326
        /**
4327
         * 
4328
         * @param {*} [options] Override http request option.
4329
         * @throws {RequiredError}
4330
         */
4331
        userAnnotationsGet(options?: any): AxiosPromise<AnnotationListResponse> {
4332
            return localVarFp.userAnnotationsGet(options).then((request) => request(axios, basePath));
4333
        },
4334
        /**
4335
         * 
4336
         * @param {string} userId 
4337
         * @param {*} [options] Override http request option.
4338
         * @throws {RequiredError}
4339
         */
4340
        userUserIdAnnotationsGet(userId: string, options?: any): AxiosPromise<AnnotationListResponse> {
4341
            return localVarFp.userUserIdAnnotationsGet(userId, options).then((request) => request(axios, basePath));
4342
        },
4343
        /**
4344
         * 
4345
         * @param {string} userId 
4346
         * @param {*} [options] Override http request option.
4347
         * @throws {RequiredError}
4348
         */
4349
        userUserIdDelete(userId: string, options?: any): AxiosPromise<void> {
4350
            return localVarFp.userUserIdDelete(userId, options).then((request) => request(axios, basePath));
4351
        },
4352
        /**
4353
         * 
4354
         * @param {string} userId 
4355
         * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
4356
         * @param {*} [options] Override http request option.
4357
         * @throws {RequiredError}
4358
         */
4359
        userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: any): AxiosPromise<void> {
4360
            return localVarFp.userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(axios, basePath));
4361
        },
4362
        /**
4363
         * 
4364
         * @param {*} [options] Override http request option.
4365
         * @throws {RequiredError}
4366
         */
4367
        usersGet(options?: any): AxiosPromise<UserList> {
4368
            return localVarFp.usersGet(options).then((request) => request(axios, basePath));
4369
        },
4370
        /**
4371
         * 
4372
         * @param {*} [options] Override http request option.
4373
         * @throws {RequiredError}
4374
         */
4375
        usersMeGet(options?: any): AxiosPromise<UserMeResponse> {
4376
            return localVarFp.usersMeGet(options).then((request) => request(axios, basePath));
4377
        },
4378
        /**
4379
         * 
4380
         * @param {CreateUserRequest} [createUserRequest] 
4381
         * @param {*} [options] Override http request option.
4382
         * @throws {RequiredError}
4383
         */
4384
        usersPost(createUserRequest?: CreateUserRequest, options?: any): AxiosPromise<void> {
4385
            return localVarFp.usersPost(createUserRequest, options).then((request) => request(axios, basePath));
4386
        },
4387
    };
4388
};
4389

    
4390
/**
4391
 * UserApi - object-oriented interface
4392
 * @export
4393
 * @class UserApi
4394
 * @extends {BaseAPI}
4395
 */
4396
export class UserApi extends BaseAPI {
4397
    /**
4398
     * 
4399
     * @param {*} [options] Override http request option.
4400
     * @throws {RequiredError}
4401
     * @memberof UserApi
4402
     */
4403
    public userAnnotationsGet(options?: AxiosRequestConfig) {
4404
        return UserApiFp(this.configuration).userAnnotationsGet(options).then((request) => request(this.axios, this.basePath));
4405
    }
4406

    
4407
    /**
4408
     * 
4409
     * @param {string} userId 
4410
     * @param {*} [options] Override http request option.
4411
     * @throws {RequiredError}
4412
     * @memberof UserApi
4413
     */
4414
    public userUserIdAnnotationsGet(userId: string, options?: AxiosRequestConfig) {
4415
        return UserApiFp(this.configuration).userUserIdAnnotationsGet(userId, options).then((request) => request(this.axios, this.basePath));
4416
    }
4417

    
4418
    /**
4419
     * 
4420
     * @param {string} userId 
4421
     * @param {*} [options] Override http request option.
4422
     * @throws {RequiredError}
4423
     * @memberof UserApi
4424
     */
4425
    public userUserIdDelete(userId: string, options?: AxiosRequestConfig) {
4426
        return UserApiFp(this.configuration).userUserIdDelete(userId, options).then((request) => request(this.axios, this.basePath));
4427
    }
4428

    
4429
    /**
4430
     * 
4431
     * @param {string} userId 
4432
     * @param {ChangeUserInfoRequest} [changeUserInfoRequest] 
4433
     * @param {*} [options] Override http request option.
4434
     * @throws {RequiredError}
4435
     * @memberof UserApi
4436
     */
4437
    public userUserIdPut(userId: string, changeUserInfoRequest?: ChangeUserInfoRequest, options?: AxiosRequestConfig) {
4438
        return UserApiFp(this.configuration).userUserIdPut(userId, changeUserInfoRequest, options).then((request) => request(this.axios, this.basePath));
4439
    }
4440

    
4441
    /**
4442
     * 
4443
     * @param {*} [options] Override http request option.
4444
     * @throws {RequiredError}
4445
     * @memberof UserApi
4446
     */
4447
    public usersGet(options?: AxiosRequestConfig) {
4448
        return UserApiFp(this.configuration).usersGet(options).then((request) => request(this.axios, this.basePath));
4449
    }
4450

    
4451
    /**
4452
     * 
4453
     * @param {*} [options] Override http request option.
4454
     * @throws {RequiredError}
4455
     * @memberof UserApi
4456
     */
4457
    public usersMeGet(options?: AxiosRequestConfig) {
4458
        return UserApiFp(this.configuration).usersMeGet(options).then((request) => request(this.axios, this.basePath));
4459
    }
4460

    
4461
    /**
4462
     * 
4463
     * @param {CreateUserRequest} [createUserRequest] 
4464
     * @param {*} [options] Override http request option.
4465
     * @throws {RequiredError}
4466
     * @memberof UserApi
4467
     */
4468
    public usersPost(createUserRequest?: CreateUserRequest, options?: AxiosRequestConfig) {
4469
        return UserApiFp(this.configuration).usersPost(createUserRequest, options).then((request) => request(this.axios, this.basePath));
4470
    }
4471
}
4472

    
4473

    
(4-4/9)