Projekt

Obecné

Profil

Stáhnout (41.6 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 AnnotationGetRequest
28
 */
29
export interface AnnotationGetRequest {
30
    /**
31
     * 
32
     * @type {string}
33
     * @memberof AnnotationGetRequest
34
     */
35
    'annotationId'?: string;
36
}
37
/**
38
 * 
39
 * @export
40
 * @interface AnnotationInfo
41
 */
42
export interface AnnotationInfo {
43
    /**
44
     * 
45
     * @type {string}
46
     * @memberof AnnotationInfo
47
     */
48
    'documentText'?: string | null;
49
    /**
50
     * 
51
     * @type {EState}
52
     * @memberof AnnotationInfo
53
     */
54
    'state'?: EState;
55
    /**
56
     * 
57
     * @type {EDocumentType}
58
     * @memberof AnnotationInfo
59
     */
60
    'type'?: EDocumentType;
61
    /**
62
     * 
63
     * @type {string}
64
     * @memberof AnnotationInfo
65
     */
66
    'note'?: string | null;
67
    /**
68
     * 
69
     * @type {Array<TagInstanceInfo>}
70
     * @memberof AnnotationInfo
71
     */
72
    'tagInstances'?: Array<TagInstanceInfo> | null;
73
}
74
/**
75
 * 
76
 * @export
77
 * @interface AnnotationListInfo
78
 */
79
export interface AnnotationListInfo {
80
    /**
81
     * 
82
     * @type {string}
83
     * @memberof AnnotationListInfo
84
     */
85
    'documentName'?: string | null;
86
    /**
87
     * 
88
     * @type {EState}
89
     * @memberof AnnotationListInfo
90
     */
91
    'state'?: EState;
92
    /**
93
     * 
94
     * @type {string}
95
     * @memberof AnnotationListInfo
96
     */
97
    'annotationId'?: string;
98
}
99
/**
100
 * 
101
 * @export
102
 * @interface AnnotationListResponse
103
 */
104
export interface AnnotationListResponse {
105
    /**
106
     * 
107
     * @type {Array<AnnotationListInfo>}
108
     * @memberof AnnotationListResponse
109
     */
110
    'annotations'?: Array<AnnotationListInfo> | null;
111
}
112
/**
113
 * 
114
 * @export
115
 * @interface AnnotationsAddRequest
116
 */
117
export interface AnnotationsAddRequest {
118
    /**
119
     * 
120
     * @type {Array<string>}
121
     * @memberof AnnotationsAddRequest
122
     */
123
    'userIdList'?: Array<string> | null;
124
    /**
125
     * 
126
     * @type {Array<string>}
127
     * @memberof AnnotationsAddRequest
128
     */
129
    'documentIdList'?: Array<string> | null;
130
}
131
/**
132
 * 
133
 * @export
134
 * @interface ClientInfo
135
 */
136
export interface ClientInfo {
137
    /**
138
     * 
139
     * @type {boolean}
140
     * @memberof ClientInfo
141
     */
142
    'isLogged'?: boolean;
143
    /**
144
     * 
145
     * @type {User}
146
     * @memberof ClientInfo
147
     */
148
    'loggedUser'?: User;
149
    /**
150
     * 
151
     * @type {string}
152
     * @memberof ClientInfo
153
     */
154
    'ip'?: string | null;
155
}
156
/**
157
 * 
158
 * @export
159
 * @interface DocumentAddInfo
160
 */
161
export interface DocumentAddInfo {
162
    /**
163
     * 
164
     * @type {string}
165
     * @memberof DocumentAddInfo
166
     */
167
    'name'?: string | null;
168
    /**
169
     * 
170
     * @type {EAddDocumentFormat}
171
     * @memberof DocumentAddInfo
172
     */
173
    'format'?: EAddDocumentFormat;
174
    /**
175
     * 
176
     * @type {string}
177
     * @memberof DocumentAddInfo
178
     */
179
    'content'?: string | null;
180
}
181
/**
182
 * 
183
 * @export
184
 * @interface DocumentAddRequest
185
 */
186
export interface DocumentAddRequest {
187
    /**
188
     * 
189
     * @type {Array<DocumentAddInfo>}
190
     * @memberof DocumentAddRequest
191
     */
192
    'documents'?: Array<DocumentAddInfo> | null;
193
}
194
/**
195
 * 
196
 * @export
197
 * @interface DocumentListInfo
198
 */
199
export interface DocumentListInfo {
200
    /**
201
     * 
202
     * @type {string}
203
     * @memberof DocumentListInfo
204
     */
205
    'id'?: string;
206
    /**
207
     * 
208
     * @type {string}
209
     * @memberof DocumentListInfo
210
     */
211
    'name'?: string | null;
212
    /**
213
     * 
214
     * @type {number}
215
     * @memberof DocumentListInfo
216
     */
217
    'length'?: number;
218
    /**
219
     * 
220
     * @type {number}
221
     * @memberof DocumentListInfo
222
     */
223
    'requiredAnnotations'?: number;
224
    /**
225
     * 
226
     * @type {Array<UserInfo>}
227
     * @memberof DocumentListInfo
228
     */
229
    'annotatingUsers'?: Array<UserInfo> | null;
230
}
231
/**
232
 * 
233
 * @export
234
 * @interface DocumentListRequest
235
 */
236
export interface DocumentListRequest {
237
    /**
238
     * 
239
     * @type {number}
240
     * @memberof DocumentListRequest
241
     */
242
    'pageIndex'?: number;
243
    /**
244
     * 
245
     * @type {number}
246
     * @memberof DocumentListRequest
247
     */
248
    'pageSize'?: number;
249
}
250
/**
251
 * 
252
 * @export
253
 * @interface DocumentListResponse
254
 */
255
export interface DocumentListResponse {
256
    /**
257
     * 
258
     * @type {number}
259
     * @memberof DocumentListResponse
260
     */
261
    'totalCount'?: number;
262
    /**
263
     * 
264
     * @type {number}
265
     * @memberof DocumentListResponse
266
     */
267
    'pageCount'?: number;
268
    /**
269
     * 
270
     * @type {number}
271
     * @memberof DocumentListResponse
272
     */
273
    'pageIndex'?: number;
274
    /**
275
     * 
276
     * @type {Array<DocumentListInfo>}
277
     * @memberof DocumentListResponse
278
     */
279
    'documents'?: Array<DocumentListInfo> | null;
280
}
281
/**
282
 * 
283
 * @export
284
 * @enum {string}
285
 */
286

    
287
export const EAddDocumentFormat = {
288
    Zip: 'ZIP',
289
    Textfile: 'TEXTFILE'
290
} as const;
291

    
292
export type EAddDocumentFormat = typeof EAddDocumentFormat[keyof typeof EAddDocumentFormat];
293

    
294

    
295
/**
296
 * 
297
 * @export
298
 * @enum {string}
299
 */
300

    
301
export const EDocumentType = {
302
    Html: 'HTML',
303
    Text: 'TEXT'
304
} as const;
305

    
306
export type EDocumentType = typeof EDocumentType[keyof typeof EDocumentType];
307

    
308

    
309
/**
310
 * 
311
 * @export
312
 * @enum {string}
313
 */
314

    
315
export const ERole = {
316
    Annotator: 'ANNOTATOR',
317
    Administrator: 'ADMINISTRATOR'
318
} as const;
319

    
320
export type ERole = typeof ERole[keyof typeof ERole];
321

    
322

    
323
/**
324
 * 
325
 * @export
326
 * @enum {string}
327
 */
328

    
329
export const EState = {
330
    Done: 'DONE',
331
    InProgress: 'IN_PROGRESS',
332
    New: 'NEW'
333
} as const;
334

    
335
export type EState = typeof EState[keyof typeof EState];
336

    
337

    
338
/**
339
 * 
340
 * @export
341
 * @interface LoginRequest
342
 */
343
export interface LoginRequest {
344
    /**
345
     * 
346
     * @type {string}
347
     * @memberof LoginRequest
348
     */
349
    'username'?: string | null;
350
    /**
351
     * 
352
     * @type {string}
353
     * @memberof LoginRequest
354
     */
355
    'password'?: string | null;
356
}
357
/**
358
 * 
359
 * @export
360
 * @interface LoginResponse
361
 */
362
export interface LoginResponse {
363
    /**
364
     * 
365
     * @type {boolean}
366
     * @memberof LoginResponse
367
     */
368
    'ok'?: boolean;
369
    /**
370
     * 
371
     * @type {string}
372
     * @memberof LoginResponse
373
     */
374
    'token'?: string | null;
375
    /**
376
     * 
377
     * @type {string}
378
     * @memberof LoginResponse
379
     */
380
    'expiration'?: string;
381
    /**
382
     * 
383
     * @type {ERole}
384
     * @memberof LoginResponse
385
     */
386
    'role'?: ERole;
387
}
388
/**
389
 * 
390
 * @export
391
 * @interface ProblemDetails
392
 */
393
export interface ProblemDetails {
394
    [key: string]: any | any;
395

    
396
    /**
397
     * 
398
     * @type {string}
399
     * @memberof ProblemDetails
400
     */
401
    'type'?: string | null;
402
    /**
403
     * 
404
     * @type {string}
405
     * @memberof ProblemDetails
406
     */
407
    'title'?: string | null;
408
    /**
409
     * 
410
     * @type {number}
411
     * @memberof ProblemDetails
412
     */
413
    'status'?: number | null;
414
    /**
415
     * 
416
     * @type {string}
417
     * @memberof ProblemDetails
418
     */
419
    'detail'?: string | null;
420
    /**
421
     * 
422
     * @type {string}
423
     * @memberof ProblemDetails
424
     */
425
    'instance'?: string | null;
426
}
427
/**
428
 * 
429
 * @export
430
 * @interface SubTagInfo
431
 */
432
export interface SubTagInfo {
433
    /**
434
     * 
435
     * @type {string}
436
     * @memberof SubTagInfo
437
     */
438
    'id'?: string;
439
    /**
440
     * 
441
     * @type {string}
442
     * @memberof SubTagInfo
443
     */
444
    'name'?: string | null;
445
    /**
446
     * 
447
     * @type {string}
448
     * @memberof SubTagInfo
449
     */
450
    'description'?: string | null;
451
}
452
/**
453
 * 
454
 * @export
455
 * @interface TagCategoryInfo
456
 */
457
export interface TagCategoryInfo {
458
    /**
459
     * 
460
     * @type {string}
461
     * @memberof TagCategoryInfo
462
     */
463
    'id'?: string;
464
    /**
465
     * 
466
     * @type {string}
467
     * @memberof TagCategoryInfo
468
     */
469
    'name'?: string | null;
470
    /**
471
     * 
472
     * @type {string}
473
     * @memberof TagCategoryInfo
474
     */
475
    'description'?: string | null;
476
    /**
477
     * 
478
     * @type {string}
479
     * @memberof TagCategoryInfo
480
     */
481
    'color'?: string | null;
482
    /**
483
     * 
484
     * @type {Array<TagInfo>}
485
     * @memberof TagCategoryInfo
486
     */
487
    'tags'?: Array<TagInfo> | null;
488
}
489
/**
490
 * 
491
 * @export
492
 * @interface TagInfo
493
 */
494
export interface TagInfo {
495
    /**
496
     * 
497
     * @type {string}
498
     * @memberof TagInfo
499
     */
500
    'id'?: string;
501
    /**
502
     * 
503
     * @type {string}
504
     * @memberof TagInfo
505
     */
506
    'name'?: string | null;
507
    /**
508
     * 
509
     * @type {string}
510
     * @memberof TagInfo
511
     */
512
    'description'?: string | null;
513
    /**
514
     * 
515
     * @type {string}
516
     * @memberof TagInfo
517
     */
518
    'color'?: string | null;
519
    /**
520
     * 
521
     * @type {Array<SubTagInfo>}
522
     * @memberof TagInfo
523
     */
524
    'subTags'?: Array<SubTagInfo> | null;
525
}
526
/**
527
 * 
528
 * @export
529
 * @interface TagInstanceInfo
530
 */
531
export interface TagInstanceInfo {
532
    /**
533
     * 
534
     * @type {string}
535
     * @memberof TagInstanceInfo
536
     */
537
    'tagName'?: string | null;
538
    /**
539
     * 
540
     * @type {string}
541
     * @memberof TagInstanceInfo
542
     */
543
    'tagId'?: string;
544
    /**
545
     * 
546
     * @type {string}
547
     * @memberof TagInstanceInfo
548
     */
549
    'tagCategoryName'?: string | null;
550
    /**
551
     * 
552
     * @type {string}
553
     * @memberof TagInstanceInfo
554
     */
555
    'tagCategoryId'?: string;
556
    /**
557
     * 
558
     * @type {string}
559
     * @memberof TagInstanceInfo
560
     */
561
    'subTagName'?: string | null;
562
    /**
563
     * 
564
     * @type {string}
565
     * @memberof TagInstanceInfo
566
     */
567
    'subTagId'?: string | null;
568
    /**
569
     * 
570
     * @type {number}
571
     * @memberof TagInstanceInfo
572
     */
573
    'instance'?: number;
574
    /**
575
     * 
576
     * @type {number}
577
     * @memberof TagInstanceInfo
578
     */
579
    'position'?: number;
580
    /**
581
     * 
582
     * @type {number}
583
     * @memberof TagInstanceInfo
584
     */
585
    'length'?: number;
586
    /**
587
     * 
588
     * @type {string}
589
     * @memberof TagInstanceInfo
590
     */
591
    'note'?: string | null;
592
}
593
/**
594
 * 
595
 * @export
596
 * @interface TagTreeResponse
597
 */
598
export interface TagTreeResponse {
599
    /**
600
     * 
601
     * @type {Array<TagCategoryInfo>}
602
     * @memberof TagTreeResponse
603
     */
604
    'tagCategories'?: Array<TagCategoryInfo> | null;
605
}
606
/**
607
 * 
608
 * @export
609
 * @interface User
610
 */
611
export interface User {
612
    /**
613
     * 
614
     * @type {string}
615
     * @memberof User
616
     */
617
    'id'?: string;
618
    /**
619
     * 
620
     * @type {string}
621
     * @memberof User
622
     */
623
    'username'?: string | null;
624
    /**
625
     * 
626
     * @type {string}
627
     * @memberof User
628
     */
629
    'name'?: string | null;
630
    /**
631
     * 
632
     * @type {string}
633
     * @memberof User
634
     */
635
    'surname'?: string | null;
636
    /**
637
     * 
638
     * @type {ERole}
639
     * @memberof User
640
     */
641
    'role'?: ERole;
642
}
643
/**
644
 * 
645
 * @export
646
 * @interface UserInfo
647
 */
648
export interface UserInfo {
649
    /**
650
     * 
651
     * @type {string}
652
     * @memberof UserInfo
653
     */
654
    'id'?: string;
655
    /**
656
     * 
657
     * @type {string}
658
     * @memberof UserInfo
659
     */
660
    'username'?: string | null;
661
    /**
662
     * 
663
     * @type {string}
664
     * @memberof UserInfo
665
     */
666
    'name'?: string | null;
667
    /**
668
     * 
669
     * @type {string}
670
     * @memberof UserInfo
671
     */
672
    'surname'?: string | null;
673
}
674
/**
675
 * 
676
 * @export
677
 * @interface UserList
678
 */
679
export interface UserList {
680
    /**
681
     * 
682
     * @type {Array<UserInfo>}
683
     * @memberof UserList
684
     */
685
    'users'?: Array<UserInfo> | null;
686
}
687

    
688
/**
689
 * AnnotationApi - axios parameter creator
690
 * @export
691
 */
692
export const AnnotationApiAxiosParamCreator = function (configuration?: Configuration) {
693
    return {
694
        /**
695
         * 
696
         * @param {AnnotationGetRequest} [annotationGetRequest] 
697
         * @param {*} [options] Override http request option.
698
         * @throws {RequiredError}
699
         */
700
        annotationGet: async (annotationGetRequest?: AnnotationGetRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
701
            const localVarPath = `/annotation`;
702
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
703
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
704
            let baseOptions;
705
            if (configuration) {
706
                baseOptions = configuration.baseOptions;
707
            }
708

    
709
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
710
            const localVarHeaderParameter = {} as any;
711
            const localVarQueryParameter = {} as any;
712

    
713

    
714
    
715
            localVarHeaderParameter['Content-Type'] = 'application/json';
716

    
717
            setSearchParams(localVarUrlObj, localVarQueryParameter);
718
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
719
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
720
            localVarRequestOptions.data = serializeDataIfNeeded(annotationGetRequest, localVarRequestOptions, configuration)
721

    
722
            return {
723
                url: toPathString(localVarUrlObj),
724
                options: localVarRequestOptions,
725
            };
726
        },
727
        /**
728
         * 
729
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
730
         * @param {*} [options] Override http request option.
731
         * @throws {RequiredError}
732
         */
733
        annotationsPost: async (annotationsAddRequest?: AnnotationsAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
734
            const localVarPath = `/annotations`;
735
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
736
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
737
            let baseOptions;
738
            if (configuration) {
739
                baseOptions = configuration.baseOptions;
740
            }
741

    
742
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
743
            const localVarHeaderParameter = {} as any;
744
            const localVarQueryParameter = {} as any;
745

    
746

    
747
    
748
            localVarHeaderParameter['Content-Type'] = 'application/json';
749

    
750
            setSearchParams(localVarUrlObj, localVarQueryParameter);
751
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
752
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
753
            localVarRequestOptions.data = serializeDataIfNeeded(annotationsAddRequest, localVarRequestOptions, configuration)
754

    
755
            return {
756
                url: toPathString(localVarUrlObj),
757
                options: localVarRequestOptions,
758
            };
759
        },
760
    }
761
};
762

    
763
/**
764
 * AnnotationApi - functional programming interface
765
 * @export
766
 */
767
export const AnnotationApiFp = function(configuration?: Configuration) {
768
    const localVarAxiosParamCreator = AnnotationApiAxiosParamCreator(configuration)
769
    return {
770
        /**
771
         * 
772
         * @param {AnnotationGetRequest} [annotationGetRequest] 
773
         * @param {*} [options] Override http request option.
774
         * @throws {RequiredError}
775
         */
776
        async annotationGet(annotationGetRequest?: AnnotationGetRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationInfo>> {
777
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationGet(annotationGetRequest, options);
778
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
779
        },
780
        /**
781
         * 
782
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
783
         * @param {*} [options] Override http request option.
784
         * @throws {RequiredError}
785
         */
786
        async annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
787
            const localVarAxiosArgs = await localVarAxiosParamCreator.annotationsPost(annotationsAddRequest, options);
788
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
789
        },
790
    }
791
};
792

    
793
/**
794
 * AnnotationApi - factory interface
795
 * @export
796
 */
797
export const AnnotationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
798
    const localVarFp = AnnotationApiFp(configuration)
799
    return {
800
        /**
801
         * 
802
         * @param {AnnotationGetRequest} [annotationGetRequest] 
803
         * @param {*} [options] Override http request option.
804
         * @throws {RequiredError}
805
         */
806
        annotationGet(annotationGetRequest?: AnnotationGetRequest, options?: any): AxiosPromise<AnnotationInfo> {
807
            return localVarFp.annotationGet(annotationGetRequest, options).then((request) => request(axios, basePath));
808
        },
809
        /**
810
         * 
811
         * @param {AnnotationsAddRequest} [annotationsAddRequest] 
812
         * @param {*} [options] Override http request option.
813
         * @throws {RequiredError}
814
         */
815
        annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: any): AxiosPromise<void> {
816
            return localVarFp.annotationsPost(annotationsAddRequest, options).then((request) => request(axios, basePath));
817
        },
818
    };
819
};
820

    
821
/**
822
 * AnnotationApi - object-oriented interface
823
 * @export
824
 * @class AnnotationApi
825
 * @extends {BaseAPI}
826
 */
827
export class AnnotationApi extends BaseAPI {
828
    /**
829
     * 
830
     * @param {AnnotationGetRequest} [annotationGetRequest] 
831
     * @param {*} [options] Override http request option.
832
     * @throws {RequiredError}
833
     * @memberof AnnotationApi
834
     */
835
    public annotationGet(annotationGetRequest?: AnnotationGetRequest, options?: AxiosRequestConfig) {
836
        return AnnotationApiFp(this.configuration).annotationGet(annotationGetRequest, options).then((request) => request(this.axios, this.basePath));
837
    }
838

    
839
    /**
840
     * 
841
     * @param {AnnotationsAddRequest} [annotationsAddRequest] 
842
     * @param {*} [options] Override http request option.
843
     * @throws {RequiredError}
844
     * @memberof AnnotationApi
845
     */
846
    public annotationsPost(annotationsAddRequest?: AnnotationsAddRequest, options?: AxiosRequestConfig) {
847
        return AnnotationApiFp(this.configuration).annotationsPost(annotationsAddRequest, options).then((request) => request(this.axios, this.basePath));
848
    }
849
}
850

    
851

    
852
/**
853
 * AuthApi - axios parameter creator
854
 * @export
855
 */
856
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
857
    return {
858
        /**
859
         * 
860
         * @param {LoginRequest} [loginRequest] 
861
         * @param {*} [options] Override http request option.
862
         * @throws {RequiredError}
863
         */
864
        authLoginPost: async (loginRequest?: LoginRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
865
            const localVarPath = `/auth/login`;
866
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
867
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
868
            let baseOptions;
869
            if (configuration) {
870
                baseOptions = configuration.baseOptions;
871
            }
872

    
873
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
874
            const localVarHeaderParameter = {} as any;
875
            const localVarQueryParameter = {} as any;
876

    
877

    
878
    
879
            localVarHeaderParameter['Content-Type'] = 'application/json';
880

    
881
            setSearchParams(localVarUrlObj, localVarQueryParameter);
882
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
883
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
884
            localVarRequestOptions.data = serializeDataIfNeeded(loginRequest, localVarRequestOptions, configuration)
885

    
886
            return {
887
                url: toPathString(localVarUrlObj),
888
                options: localVarRequestOptions,
889
            };
890
        },
891
        /**
892
         * 
893
         * @param {*} [options] Override http request option.
894
         * @throws {RequiredError}
895
         */
896
        authTestAaGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
897
            const localVarPath = `/auth/test/aa`;
898
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
899
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
900
            let baseOptions;
901
            if (configuration) {
902
                baseOptions = configuration.baseOptions;
903
            }
904

    
905
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
906
            const localVarHeaderParameter = {} as any;
907
            const localVarQueryParameter = {} as any;
908

    
909

    
910
    
911
            setSearchParams(localVarUrlObj, localVarQueryParameter);
912
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
913
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
914

    
915
            return {
916
                url: toPathString(localVarUrlObj),
917
                options: localVarRequestOptions,
918
            };
919
        },
920
        /**
921
         * 
922
         * @param {*} [options] Override http request option.
923
         * @throws {RequiredError}
924
         */
925
        authTestGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
926
            const localVarPath = `/auth/test`;
927
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
928
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
929
            let baseOptions;
930
            if (configuration) {
931
                baseOptions = configuration.baseOptions;
932
            }
933

    
934
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
935
            const localVarHeaderParameter = {} as any;
936
            const localVarQueryParameter = {} as any;
937

    
938

    
939
    
940
            setSearchParams(localVarUrlObj, localVarQueryParameter);
941
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
942
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
943

    
944
            return {
945
                url: toPathString(localVarUrlObj),
946
                options: localVarRequestOptions,
947
            };
948
        },
949
    }
950
};
951

    
952
/**
953
 * AuthApi - functional programming interface
954
 * @export
955
 */
956
export const AuthApiFp = function(configuration?: Configuration) {
957
    const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
958
    return {
959
        /**
960
         * 
961
         * @param {LoginRequest} [loginRequest] 
962
         * @param {*} [options] Override http request option.
963
         * @throws {RequiredError}
964
         */
965
        async authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>> {
966
            const localVarAxiosArgs = await localVarAxiosParamCreator.authLoginPost(loginRequest, options);
967
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
968
        },
969
        /**
970
         * 
971
         * @param {*} [options] Override http request option.
972
         * @throws {RequiredError}
973
         */
974
        async authTestAaGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
975
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestAaGet(options);
976
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
977
        },
978
        /**
979
         * 
980
         * @param {*} [options] Override http request option.
981
         * @throws {RequiredError}
982
         */
983
        async authTestGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientInfo>> {
984
            const localVarAxiosArgs = await localVarAxiosParamCreator.authTestGet(options);
985
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
986
        },
987
    }
988
};
989

    
990
/**
991
 * AuthApi - factory interface
992
 * @export
993
 */
994
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
995
    const localVarFp = AuthApiFp(configuration)
996
    return {
997
        /**
998
         * 
999
         * @param {LoginRequest} [loginRequest] 
1000
         * @param {*} [options] Override http request option.
1001
         * @throws {RequiredError}
1002
         */
1003
        authLoginPost(loginRequest?: LoginRequest, options?: any): AxiosPromise<LoginResponse> {
1004
            return localVarFp.authLoginPost(loginRequest, options).then((request) => request(axios, basePath));
1005
        },
1006
        /**
1007
         * 
1008
         * @param {*} [options] Override http request option.
1009
         * @throws {RequiredError}
1010
         */
1011
        authTestAaGet(options?: any): AxiosPromise<ClientInfo> {
1012
            return localVarFp.authTestAaGet(options).then((request) => request(axios, basePath));
1013
        },
1014
        /**
1015
         * 
1016
         * @param {*} [options] Override http request option.
1017
         * @throws {RequiredError}
1018
         */
1019
        authTestGet(options?: any): AxiosPromise<ClientInfo> {
1020
            return localVarFp.authTestGet(options).then((request) => request(axios, basePath));
1021
        },
1022
    };
1023
};
1024

    
1025
/**
1026
 * AuthApi - object-oriented interface
1027
 * @export
1028
 * @class AuthApi
1029
 * @extends {BaseAPI}
1030
 */
1031
export class AuthApi extends BaseAPI {
1032
    /**
1033
     * 
1034
     * @param {LoginRequest} [loginRequest] 
1035
     * @param {*} [options] Override http request option.
1036
     * @throws {RequiredError}
1037
     * @memberof AuthApi
1038
     */
1039
    public authLoginPost(loginRequest?: LoginRequest, options?: AxiosRequestConfig) {
1040
        return AuthApiFp(this.configuration).authLoginPost(loginRequest, options).then((request) => request(this.axios, this.basePath));
1041
    }
1042

    
1043
    /**
1044
     * 
1045
     * @param {*} [options] Override http request option.
1046
     * @throws {RequiredError}
1047
     * @memberof AuthApi
1048
     */
1049
    public authTestAaGet(options?: AxiosRequestConfig) {
1050
        return AuthApiFp(this.configuration).authTestAaGet(options).then((request) => request(this.axios, this.basePath));
1051
    }
1052

    
1053
    /**
1054
     * 
1055
     * @param {*} [options] Override http request option.
1056
     * @throws {RequiredError}
1057
     * @memberof AuthApi
1058
     */
1059
    public authTestGet(options?: AxiosRequestConfig) {
1060
        return AuthApiFp(this.configuration).authTestGet(options).then((request) => request(this.axios, this.basePath));
1061
    }
1062
}
1063

    
1064

    
1065
/**
1066
 * DocumentApi - axios parameter creator
1067
 * @export
1068
 */
1069
export const DocumentApiAxiosParamCreator = function (configuration?: Configuration) {
1070
    return {
1071
        /**
1072
         * 
1073
         * @param {DocumentListRequest} [documentListRequest] 
1074
         * @param {*} [options] Override http request option.
1075
         * @throws {RequiredError}
1076
         */
1077
        documentsGet: async (documentListRequest?: DocumentListRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1078
            const localVarPath = `/documents`;
1079
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1080
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1081
            let baseOptions;
1082
            if (configuration) {
1083
                baseOptions = configuration.baseOptions;
1084
            }
1085

    
1086
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1087
            const localVarHeaderParameter = {} as any;
1088
            const localVarQueryParameter = {} as any;
1089

    
1090

    
1091
    
1092
            localVarHeaderParameter['Content-Type'] = 'application/json';
1093

    
1094
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1095
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1096
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1097
            localVarRequestOptions.data = serializeDataIfNeeded(documentListRequest, localVarRequestOptions, configuration)
1098

    
1099
            return {
1100
                url: toPathString(localVarUrlObj),
1101
                options: localVarRequestOptions,
1102
            };
1103
        },
1104
        /**
1105
         * 
1106
         * @param {DocumentAddRequest} [documentAddRequest] 
1107
         * @param {*} [options] Override http request option.
1108
         * @throws {RequiredError}
1109
         */
1110
        documentsPost: async (documentAddRequest?: DocumentAddRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1111
            const localVarPath = `/documents`;
1112
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1113
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1114
            let baseOptions;
1115
            if (configuration) {
1116
                baseOptions = configuration.baseOptions;
1117
            }
1118

    
1119
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1120
            const localVarHeaderParameter = {} as any;
1121
            const localVarQueryParameter = {} as any;
1122

    
1123

    
1124
    
1125
            localVarHeaderParameter['Content-Type'] = 'application/json';
1126

    
1127
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1128
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1129
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1130
            localVarRequestOptions.data = serializeDataIfNeeded(documentAddRequest, localVarRequestOptions, configuration)
1131

    
1132
            return {
1133
                url: toPathString(localVarUrlObj),
1134
                options: localVarRequestOptions,
1135
            };
1136
        },
1137
    }
1138
};
1139

    
1140
/**
1141
 * DocumentApi - functional programming interface
1142
 * @export
1143
 */
1144
export const DocumentApiFp = function(configuration?: Configuration) {
1145
    const localVarAxiosParamCreator = DocumentApiAxiosParamCreator(configuration)
1146
    return {
1147
        /**
1148
         * 
1149
         * @param {DocumentListRequest} [documentListRequest] 
1150
         * @param {*} [options] Override http request option.
1151
         * @throws {RequiredError}
1152
         */
1153
        async documentsGet(documentListRequest?: DocumentListRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentListResponse>> {
1154
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsGet(documentListRequest, options);
1155
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1156
        },
1157
        /**
1158
         * 
1159
         * @param {DocumentAddRequest} [documentAddRequest] 
1160
         * @param {*} [options] Override http request option.
1161
         * @throws {RequiredError}
1162
         */
1163
        async documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1164
            const localVarAxiosArgs = await localVarAxiosParamCreator.documentsPost(documentAddRequest, options);
1165
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1166
        },
1167
    }
1168
};
1169

    
1170
/**
1171
 * DocumentApi - factory interface
1172
 * @export
1173
 */
1174
export const DocumentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1175
    const localVarFp = DocumentApiFp(configuration)
1176
    return {
1177
        /**
1178
         * 
1179
         * @param {DocumentListRequest} [documentListRequest] 
1180
         * @param {*} [options] Override http request option.
1181
         * @throws {RequiredError}
1182
         */
1183
        documentsGet(documentListRequest?: DocumentListRequest, options?: any): AxiosPromise<DocumentListResponse> {
1184
            return localVarFp.documentsGet(documentListRequest, options).then((request) => request(axios, basePath));
1185
        },
1186
        /**
1187
         * 
1188
         * @param {DocumentAddRequest} [documentAddRequest] 
1189
         * @param {*} [options] Override http request option.
1190
         * @throws {RequiredError}
1191
         */
1192
        documentsPost(documentAddRequest?: DocumentAddRequest, options?: any): AxiosPromise<void> {
1193
            return localVarFp.documentsPost(documentAddRequest, options).then((request) => request(axios, basePath));
1194
        },
1195
    };
1196
};
1197

    
1198
/**
1199
 * DocumentApi - object-oriented interface
1200
 * @export
1201
 * @class DocumentApi
1202
 * @extends {BaseAPI}
1203
 */
1204
export class DocumentApi extends BaseAPI {
1205
    /**
1206
     * 
1207
     * @param {DocumentListRequest} [documentListRequest] 
1208
     * @param {*} [options] Override http request option.
1209
     * @throws {RequiredError}
1210
     * @memberof DocumentApi
1211
     */
1212
    public documentsGet(documentListRequest?: DocumentListRequest, options?: AxiosRequestConfig) {
1213
        return DocumentApiFp(this.configuration).documentsGet(documentListRequest, options).then((request) => request(this.axios, this.basePath));
1214
    }
1215

    
1216
    /**
1217
     * 
1218
     * @param {DocumentAddRequest} [documentAddRequest] 
1219
     * @param {*} [options] Override http request option.
1220
     * @throws {RequiredError}
1221
     * @memberof DocumentApi
1222
     */
1223
    public documentsPost(documentAddRequest?: DocumentAddRequest, options?: AxiosRequestConfig) {
1224
        return DocumentApiFp(this.configuration).documentsPost(documentAddRequest, options).then((request) => request(this.axios, this.basePath));
1225
    }
1226
}
1227

    
1228

    
1229
/**
1230
 * TagApi - axios parameter creator
1231
 * @export
1232
 */
1233
export const TagApiAxiosParamCreator = function (configuration?: Configuration) {
1234
    return {
1235
        /**
1236
         * 
1237
         * @param {*} [options] Override http request option.
1238
         * @throws {RequiredError}
1239
         */
1240
        tagsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1241
            const localVarPath = `/tags`;
1242
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1243
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1244
            let baseOptions;
1245
            if (configuration) {
1246
                baseOptions = configuration.baseOptions;
1247
            }
1248

    
1249
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1250
            const localVarHeaderParameter = {} as any;
1251
            const localVarQueryParameter = {} as any;
1252

    
1253

    
1254
    
1255
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1256
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1257
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1258

    
1259
            return {
1260
                url: toPathString(localVarUrlObj),
1261
                options: localVarRequestOptions,
1262
            };
1263
        },
1264
    }
1265
};
1266

    
1267
/**
1268
 * TagApi - functional programming interface
1269
 * @export
1270
 */
1271
export const TagApiFp = function(configuration?: Configuration) {
1272
    const localVarAxiosParamCreator = TagApiAxiosParamCreator(configuration)
1273
    return {
1274
        /**
1275
         * 
1276
         * @param {*} [options] Override http request option.
1277
         * @throws {RequiredError}
1278
         */
1279
        async tagsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagTreeResponse>> {
1280
            const localVarAxiosArgs = await localVarAxiosParamCreator.tagsGet(options);
1281
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1282
        },
1283
    }
1284
};
1285

    
1286
/**
1287
 * TagApi - factory interface
1288
 * @export
1289
 */
1290
export const TagApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1291
    const localVarFp = TagApiFp(configuration)
1292
    return {
1293
        /**
1294
         * 
1295
         * @param {*} [options] Override http request option.
1296
         * @throws {RequiredError}
1297
         */
1298
        tagsGet(options?: any): AxiosPromise<TagTreeResponse> {
1299
            return localVarFp.tagsGet(options).then((request) => request(axios, basePath));
1300
        },
1301
    };
1302
};
1303

    
1304
/**
1305
 * TagApi - object-oriented interface
1306
 * @export
1307
 * @class TagApi
1308
 * @extends {BaseAPI}
1309
 */
1310
export class TagApi extends BaseAPI {
1311
    /**
1312
     * 
1313
     * @param {*} [options] Override http request option.
1314
     * @throws {RequiredError}
1315
     * @memberof TagApi
1316
     */
1317
    public tagsGet(options?: AxiosRequestConfig) {
1318
        return TagApiFp(this.configuration).tagsGet(options).then((request) => request(this.axios, this.basePath));
1319
    }
1320
}
1321

    
1322

    
1323
/**
1324
 * UserApi - axios parameter creator
1325
 * @export
1326
 */
1327
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
1328
    return {
1329
        /**
1330
         * 
1331
         * @param {*} [options] Override http request option.
1332
         * @throws {RequiredError}
1333
         */
1334
        userAnnotationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1335
            const localVarPath = `/user/annotations`;
1336
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1337
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1338
            let baseOptions;
1339
            if (configuration) {
1340
                baseOptions = configuration.baseOptions;
1341
            }
1342

    
1343
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1344
            const localVarHeaderParameter = {} as any;
1345
            const localVarQueryParameter = {} as any;
1346

    
1347

    
1348
    
1349
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1350
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1351
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1352

    
1353
            return {
1354
                url: toPathString(localVarUrlObj),
1355
                options: localVarRequestOptions,
1356
            };
1357
        },
1358
        /**
1359
         * 
1360
         * @param {*} [options] Override http request option.
1361
         * @throws {RequiredError}
1362
         */
1363
        usersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1364
            const localVarPath = `/users`;
1365
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
1366
            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1367
            let baseOptions;
1368
            if (configuration) {
1369
                baseOptions = configuration.baseOptions;
1370
            }
1371

    
1372
            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1373
            const localVarHeaderParameter = {} as any;
1374
            const localVarQueryParameter = {} as any;
1375

    
1376

    
1377
    
1378
            setSearchParams(localVarUrlObj, localVarQueryParameter);
1379
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1380
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1381

    
1382
            return {
1383
                url: toPathString(localVarUrlObj),
1384
                options: localVarRequestOptions,
1385
            };
1386
        },
1387
    }
1388
};
1389

    
1390
/**
1391
 * UserApi - functional programming interface
1392
 * @export
1393
 */
1394
export const UserApiFp = function(configuration?: Configuration) {
1395
    const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
1396
    return {
1397
        /**
1398
         * 
1399
         * @param {*} [options] Override http request option.
1400
         * @throws {RequiredError}
1401
         */
1402
        async userAnnotationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnnotationListResponse>> {
1403
            const localVarAxiosArgs = await localVarAxiosParamCreator.userAnnotationsGet(options);
1404
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1405
        },
1406
        /**
1407
         * 
1408
         * @param {*} [options] Override http request option.
1409
         * @throws {RequiredError}
1410
         */
1411
        async usersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserList>> {
1412
            const localVarAxiosArgs = await localVarAxiosParamCreator.usersGet(options);
1413
            return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1414
        },
1415
    }
1416
};
1417

    
1418
/**
1419
 * UserApi - factory interface
1420
 * @export
1421
 */
1422
export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1423
    const localVarFp = UserApiFp(configuration)
1424
    return {
1425
        /**
1426
         * 
1427
         * @param {*} [options] Override http request option.
1428
         * @throws {RequiredError}
1429
         */
1430
        userAnnotationsGet(options?: any): AxiosPromise<AnnotationListResponse> {
1431
            return localVarFp.userAnnotationsGet(options).then((request) => request(axios, basePath));
1432
        },
1433
        /**
1434
         * 
1435
         * @param {*} [options] Override http request option.
1436
         * @throws {RequiredError}
1437
         */
1438
        usersGet(options?: any): AxiosPromise<UserList> {
1439
            return localVarFp.usersGet(options).then((request) => request(axios, basePath));
1440
        },
1441
    };
1442
};
1443

    
1444
/**
1445
 * UserApi - object-oriented interface
1446
 * @export
1447
 * @class UserApi
1448
 * @extends {BaseAPI}
1449
 */
1450
export class UserApi extends BaseAPI {
1451
    /**
1452
     * 
1453
     * @param {*} [options] Override http request option.
1454
     * @throws {RequiredError}
1455
     * @memberof UserApi
1456
     */
1457
    public userAnnotationsGet(options?: AxiosRequestConfig) {
1458
        return UserApiFp(this.configuration).userAnnotationsGet(options).then((request) => request(this.axios, this.basePath));
1459
    }
1460

    
1461
    /**
1462
     * 
1463
     * @param {*} [options] Override http request option.
1464
     * @throws {RequiredError}
1465
     * @memberof UserApi
1466
     */
1467
    public usersGet(options?: AxiosRequestConfig) {
1468
        return UserApiFp(this.configuration).usersGet(options).then((request) => request(this.axios, this.basePath));
1469
    }
1470
}
1471

    
1472

    
(4-4/9)