@geowiki/evoland-orval-api-proxy 0.15.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,948 @@
1
+ import * as _tanstack_react_query from '@tanstack/react-query';
2
+ import { UseMutationOptions, UseQueryOptions, QueryKey, UseQueryResult } from '@tanstack/react-query';
3
+ import * as axios from 'axios';
4
+ import { AxiosError, AxiosRequestConfig } from 'axios';
5
+
6
+ /**
7
+ * Generated by orval v6.17.0 🍺
8
+ * Do not edit manually.
9
+ * FastAPI
10
+ * OpenAPI spec version: 0.0.0
11
+ */
12
+ /**
13
+ * Request body when asking for cluster image.
14
+
15
+ */
16
+ interface ClusterRequest {
17
+ n_clusters: number;
18
+ band_list: string[];
19
+ location_id: string;
20
+ }
21
+
22
+ /**
23
+ * Generated by orval v6.17.0 🍺
24
+ * Do not edit manually.
25
+ * FastAPI
26
+ * OpenAPI spec version: 0.0.0
27
+ */
28
+ /**
29
+ * Request to create a location to a given project.
30
+
31
+ */
32
+ interface CreateLocationRequest {
33
+ project_id: number;
34
+ lat: number;
35
+ lon: number;
36
+ width: number;
37
+ height: number;
38
+ }
39
+
40
+ /**
41
+ * Generated by orval v6.17.0 🍺
42
+ * Do not edit manually.
43
+ * FastAPI
44
+ * OpenAPI spec version: 0.0.0
45
+ */
46
+ interface CreateProjectRequest {
47
+ project_name: string;
48
+ }
49
+
50
+ /**
51
+ * Generated by orval v6.17.0 🍺
52
+ * Do not edit manually.
53
+ * FastAPI
54
+ * OpenAPI spec version: 0.0.0
55
+ */
56
+ interface CreateProjectResponse {
57
+ project_id: number;
58
+ project_name: string;
59
+ }
60
+
61
+ /**
62
+ * Generated by orval v6.17.0 🍺
63
+ * Do not edit manually.
64
+ * FastAPI
65
+ * OpenAPI spec version: 0.0.0
66
+ */
67
+ type GenericResponseMessage = string | null;
68
+
69
+ /**
70
+ * Generated by orval v6.17.0 🍺
71
+ * Do not edit manually.
72
+ * FastAPI
73
+ * OpenAPI spec version: 0.0.0
74
+ */
75
+
76
+ /**
77
+ * Generic response when an action is requested by the user to the API
78
+ but the call doesn't return any data.
79
+ */
80
+ interface GenericResponse {
81
+ success: boolean;
82
+ message: GenericResponseMessage;
83
+ }
84
+
85
+ /**
86
+ * Generated by orval v6.17.0 🍺
87
+ * Do not edit manually.
88
+ * FastAPI
89
+ * OpenAPI spec version: 0.0.0
90
+ */
91
+ /**
92
+ * Request sent for getting the polygon information of a particolar
93
+ location
94
+ */
95
+ interface GetLocationRequest {
96
+ location_id: string;
97
+ project_id: number;
98
+ }
99
+
100
+ /**
101
+ * Generated by orval v6.17.0 🍺
102
+ * Do not edit manually.
103
+ * FastAPI
104
+ * OpenAPI spec version: 0.0.0
105
+ */
106
+ type ValidationErrorLocItem = string | number;
107
+
108
+ /**
109
+ * Generated by orval v6.17.0 🍺
110
+ * Do not edit manually.
111
+ * FastAPI
112
+ * OpenAPI spec version: 0.0.0
113
+ */
114
+
115
+ interface ValidationError {
116
+ loc: ValidationErrorLocItem[];
117
+ msg: string;
118
+ type: string;
119
+ }
120
+
121
+ /**
122
+ * Generated by orval v6.17.0 🍺
123
+ * Do not edit manually.
124
+ * FastAPI
125
+ * OpenAPI spec version: 0.0.0
126
+ */
127
+
128
+ interface HTTPValidationError {
129
+ detail?: ValidationError[];
130
+ }
131
+
132
+ /**
133
+ * Generated by orval v6.17.0 🍺
134
+ * Do not edit manually.
135
+ * FastAPI
136
+ * OpenAPI spec version: 0.0.0
137
+ */
138
+ /**
139
+ * Just a model used for documentation, contains a byte encoding of
140
+ a PNG image
141
+ */
142
+ interface ImageResponse {
143
+ image: Blob;
144
+ }
145
+
146
+ /**
147
+ * Generated by orval v6.17.0 🍺
148
+ * Do not edit manually.
149
+ * FastAPI
150
+ * OpenAPI spec version: 0.0.0
151
+ */
152
+ /**
153
+ * Request sent for listing location points given a project
154
+ */
155
+ interface ListLocationsRequest {
156
+ project_id: number;
157
+ minx: number;
158
+ miny: number;
159
+ maxx: number;
160
+ maxy: number;
161
+ }
162
+
163
+ /**
164
+ * Generated by orval v6.17.0 🍺
165
+ * Do not edit manually.
166
+ * FastAPI
167
+ * OpenAPI spec version: 0.0.0
168
+ */
169
+ type LocationElementLocationId = string | null;
170
+
171
+ /**
172
+ * Generated by orval v6.17.0 🍺
173
+ * Do not edit manually.
174
+ * FastAPI
175
+ * OpenAPI spec version: 0.0.0
176
+ */
177
+ type LocationElementNLocations = number | null;
178
+
179
+ /**
180
+ * Generated by orval v6.17.0 🍺
181
+ * Do not edit manually.
182
+ * FastAPI
183
+ * OpenAPI spec version: 0.0.0
184
+ */
185
+ type LocationElementLocationStatus = string | null;
186
+
187
+ /**
188
+ * Generated by orval v6.17.0 🍺
189
+ * Do not edit manually.
190
+ * FastAPI
191
+ * OpenAPI spec version: 0.0.0
192
+ */
193
+ type LocationElementGeometry = {
194
+ [key: string]: any;
195
+ };
196
+
197
+ /**
198
+ * Generated by orval v6.17.0 🍺
199
+ * Do not edit manually.
200
+ * FastAPI
201
+ * OpenAPI spec version: 0.0.0
202
+ */
203
+
204
+ /**
205
+ * Represents either a location or a cluster
206
+ */
207
+ interface LocationElement {
208
+ location_id?: LocationElementLocationId;
209
+ n_locations?: LocationElementNLocations;
210
+ location_status?: LocationElementLocationStatus;
211
+ geometry: LocationElementGeometry;
212
+ }
213
+
214
+ /**
215
+ * Generated by orval v6.17.0 🍺
216
+ * Do not edit manually.
217
+ * FastAPI
218
+ * OpenAPI spec version: 0.0.0
219
+ */
220
+
221
+ /**
222
+ * Response containing locations IDs or clusters of location
223
+ */
224
+ interface ListLocationsResponse {
225
+ is_locations?: boolean;
226
+ elements: LocationElement[];
227
+ }
228
+
229
+ /**
230
+ * Generated by orval v6.17.0 🍺
231
+ * Do not edit manually.
232
+ * FastAPI
233
+ * OpenAPI spec version: 0.0.0
234
+ */
235
+ interface ProjectElement {
236
+ project_id: number;
237
+ project_name: string;
238
+ creation_date: string;
239
+ project_owner: string;
240
+ n_locations: number;
241
+ is_deleted: boolean;
242
+ }
243
+
244
+ /**
245
+ * Generated by orval v6.17.0 🍺
246
+ * Do not edit manually.
247
+ * FastAPI
248
+ * OpenAPI spec version: 0.0.0
249
+ */
250
+
251
+ /**
252
+ * List of all the projects that an user is part of
253
+ */
254
+ interface ListProjectResponse {
255
+ projects: ProjectElement[];
256
+ }
257
+
258
+ /**
259
+ * Generated by orval v6.17.0 🍺
260
+ * Do not edit manually.
261
+ * FastAPI
262
+ * OpenAPI spec version: 0.0.0
263
+ */
264
+ type LocationContentResponseIsOnlySaved = boolean | null;
265
+
266
+ /**
267
+ * Generated by orval v6.17.0 🍺
268
+ * Do not edit manually.
269
+ * FastAPI
270
+ * OpenAPI spec version: 0.0.0
271
+ */
272
+ type LocationContentResponseBase64Array = string | null;
273
+
274
+ /**
275
+ * Generated by orval v6.17.0 🍺
276
+ * Do not edit manually.
277
+ * FastAPI
278
+ * OpenAPI spec version: 0.0.0
279
+ */
280
+ type LocationContentResponseArrayWidth = number | null;
281
+
282
+ /**
283
+ * Generated by orval v6.17.0 🍺
284
+ * Do not edit manually.
285
+ * FastAPI
286
+ * OpenAPI spec version: 0.0.0
287
+ */
288
+ type LocationContentResponseArrayHeight = number | null;
289
+
290
+ /**
291
+ * Generated by orval v6.17.0 🍺
292
+ * Do not edit manually.
293
+ * FastAPI
294
+ * OpenAPI spec version: 0.0.0
295
+ */
296
+
297
+ interface LocationContentResponse {
298
+ has_content: boolean;
299
+ is_only_saved: LocationContentResponseIsOnlySaved;
300
+ base64_array: LocationContentResponseBase64Array;
301
+ array_width: LocationContentResponseArrayWidth;
302
+ array_height: LocationContentResponseArrayHeight;
303
+ }
304
+
305
+ /**
306
+ * Generated by orval v6.17.0 🍺
307
+ * Do not edit manually.
308
+ * FastAPI
309
+ * OpenAPI spec version: 0.0.0
310
+ */
311
+ type PolygonResponseGeometry = {
312
+ [key: string]: any;
313
+ };
314
+
315
+ /**
316
+ * Generated by orval v6.17.0 🍺
317
+ * Do not edit manually.
318
+ * FastAPI
319
+ * OpenAPI spec version: 0.0.0
320
+ */
321
+
322
+ interface PolygonResponse {
323
+ geometry: PolygonResponseGeometry;
324
+ epsg: number;
325
+ utm_bounds: number[];
326
+ location_id: string;
327
+ }
328
+
329
+ /**
330
+ * Generated by orval v6.17.0 🍺
331
+ * Do not edit manually.
332
+ * FastAPI
333
+ * OpenAPI spec version: 0.0.0
334
+ */
335
+
336
+ type LocationCreatedResponsePolygon = PolygonResponse | null;
337
+
338
+ /**
339
+ * Generated by orval v6.17.0 🍺
340
+ * Do not edit manually.
341
+ * FastAPI
342
+ * OpenAPI spec version: 0.0.0
343
+ */
344
+
345
+ /**
346
+ * Response to the create location request. Says if the location was
347
+ created or not and if it was created, also contains a PolygonResponse
348
+ object, showing the location information.
349
+ */
350
+ interface LocationCreatedResponse {
351
+ created: boolean;
352
+ polygon: LocationCreatedResponsePolygon;
353
+ }
354
+
355
+ /**
356
+ * Generated by orval v6.17.0 🍺
357
+ * Do not edit manually.
358
+ * FastAPI
359
+ * OpenAPI spec version: 0.0.0
360
+ */
361
+ /**
362
+ * Enumerating the status of locations
363
+ */
364
+ type LocationStatus = (typeof LocationStatus)[keyof typeof LocationStatus];
365
+ declare const LocationStatus: {
366
+ readonly NOT_STARTED: "NOT_STARTED";
367
+ readonly INCOMPLETED: "INCOMPLETED";
368
+ readonly COMPLETED: "COMPLETED";
369
+ };
370
+
371
+ /**
372
+ * Generated by orval v6.17.0 🍺
373
+ * Do not edit manually.
374
+ * FastAPI
375
+ * OpenAPI spec version: 0.0.0
376
+ */
377
+ /**
378
+ * Request to get the first location from the project that is either not
379
+ started or not marked as finished
380
+ */
381
+ interface NextLocationRequest {
382
+ project_id: number;
383
+ only_not_started: boolean;
384
+ }
385
+
386
+ /**
387
+ * Generated by orval v6.17.0 🍺
388
+ * Do not edit manually.
389
+ * FastAPI
390
+ * OpenAPI spec version: 0.0.0
391
+ */
392
+
393
+ type NextLocationResponseLocation = PolygonResponse | null;
394
+
395
+ /**
396
+ * Generated by orval v6.17.0 🍺
397
+ * Do not edit manually.
398
+ * FastAPI
399
+ * OpenAPI spec version: 0.0.0
400
+ */
401
+
402
+ interface NextLocationResponse {
403
+ exists: boolean;
404
+ location: NextLocationResponseLocation;
405
+ }
406
+
407
+ /**
408
+ * Generated by orval v6.17.0 🍺
409
+ * Do not edit manually.
410
+ * FastAPI
411
+ * OpenAPI spec version: 0.0.0
412
+ */
413
+ interface RemoveUserRequest {
414
+ project_id: number;
415
+ user_id: string;
416
+ }
417
+
418
+ /**
419
+ * Generated by orval v6.17.0 🍺
420
+ * Do not edit manually.
421
+ * FastAPI
422
+ * OpenAPI spec version: 0.0.0
423
+ */
424
+ /**
425
+ * Different ranks a user can have in a project
426
+ */
427
+ type UserRank = (typeof UserRank)[keyof typeof UserRank];
428
+ declare const UserRank: {
429
+ readonly MEMBER: "MEMBER";
430
+ readonly ADMIN: "ADMIN";
431
+ readonly OWNER: "OWNER";
432
+ };
433
+
434
+ /**
435
+ * Generated by orval v6.17.0 🍺
436
+ * Do not edit manually.
437
+ * FastAPI
438
+ * OpenAPI spec version: 0.0.0
439
+ */
440
+
441
+ interface SetUserRoleRequest {
442
+ user_id: string;
443
+ project_id: number;
444
+ target_role: UserRank;
445
+ }
446
+
447
+ /**
448
+ * Generated by orval v6.17.0 🍺
449
+ * Do not edit manually.
450
+ * FastAPI
451
+ * OpenAPI spec version: 0.0.0
452
+ */
453
+ /**
454
+ * Sent for adding a comment to a specific location
455
+ */
456
+ interface SubmitCommentRequest {
457
+ project_id: number;
458
+ location_id: string;
459
+ content: string;
460
+ }
461
+
462
+ /**
463
+ * Generated by orval v6.17.0 🍺
464
+ * Do not edit manually.
465
+ * FastAPI
466
+ * OpenAPI spec version: 0.0.0
467
+ */
468
+ /**
469
+ * Reques type sent by frontend to submit a labelled tile
470
+ */
471
+ interface SubmitRequest {
472
+ location_id: string;
473
+ project_id: number;
474
+ is_only_saved: boolean;
475
+ base64_array: string;
476
+ array_width: number;
477
+ array_height: number;
478
+ }
479
+
480
+ /**
481
+ * Generated by orval v6.17.0 🍺
482
+ * Do not edit manually.
483
+ * FastAPI
484
+ * OpenAPI spec version: 0.0.0
485
+ */
486
+ type SubmitResponseMessage = string | null;
487
+
488
+ /**
489
+ * Generated by orval v6.17.0 🍺
490
+ * Do not edit manually.
491
+ * FastAPI
492
+ * OpenAPI spec version: 0.0.0
493
+ */
494
+
495
+ /**
496
+ * Response upon the submission of a labelled tile
497
+ */
498
+ interface SubmitResponse {
499
+ success: boolean;
500
+ message: SubmitResponseMessage;
501
+ submitted_status: LocationStatus;
502
+ }
503
+
504
+ declare const evolandAxiosInstance: axios.AxiosInstance;
505
+ declare const http: <T>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<T>;
506
+ type ErrorType<Error> = AxiosError<Error>;
507
+
508
+ type AwaitedInput<T> = PromiseLike<T> | T;
509
+ type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
510
+ type SecondParameter<T extends (...args: any) => any> = T extends (config: any, args: infer P) => any ? P : never;
511
+ /**
512
+ * @summary Read Root
513
+ */
514
+ declare const readRootGet: (options?: SecondParameter<typeof http>, signal?: AbortSignal) => Promise<unknown>;
515
+ declare const getReadRootGetQueryKey: () => readonly ["/"];
516
+ declare const getReadRootGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
517
+ query?: UseQueryOptions<Awaited<ReturnType<typeof readRootGet>>, TError, TData>;
518
+ request?: SecondParameter<typeof http>;
519
+ }) => UseQueryOptions<unknown, TError, TData, QueryKey> & {
520
+ queryKey: QueryKey;
521
+ };
522
+ type ReadRootGetQueryResult = NonNullable<Awaited<ReturnType<typeof readRootGet>>>;
523
+ type ReadRootGetQueryError = ErrorType<unknown>;
524
+ /**
525
+ * @summary Read Root
526
+ */
527
+ declare const useReadRootGet: <TData = unknown, TError = ErrorType<unknown>>(options?: {
528
+ query?: UseQueryOptions<Awaited<ReturnType<typeof readRootGet>>, TError, TData>;
529
+ request?: SecondParameter<typeof http>;
530
+ }) => UseQueryResult<TData, TError> & {
531
+ queryKey: QueryKey;
532
+ };
533
+ /**
534
+ * @summary Get personal information by decoding the user token (specified inside the Authorization header field).
535
+ */
536
+ declare const getUserMeGet: (options?: SecondParameter<typeof http>, signal?: AbortSignal) => Promise<unknown>;
537
+ declare const getGetUserMeGetQueryKey: () => readonly ["/me/"];
538
+ declare const getGetUserMeGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
539
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getUserMeGet>>, TError, TData>;
540
+ request?: SecondParameter<typeof http>;
541
+ }) => UseQueryOptions<unknown, TError, TData, QueryKey> & {
542
+ queryKey: QueryKey;
543
+ };
544
+ type GetUserMeGetQueryResult = NonNullable<Awaited<ReturnType<typeof getUserMeGet>>>;
545
+ type GetUserMeGetQueryError = ErrorType<unknown>;
546
+ /**
547
+ * @summary Get personal information by decoding the user token (specified inside the Authorization header field).
548
+ */
549
+ declare const useGetUserMeGet: <TData = unknown, TError = ErrorType<unknown>>(options?: {
550
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getUserMeGet>>, TError, TData>;
551
+ request?: SecondParameter<typeof http>;
552
+ }) => UseQueryResult<TData, TError> & {
553
+ queryKey: QueryKey;
554
+ };
555
+ /**
556
+ * @summary Get Available Bands
557
+ */
558
+ declare const getAvailableBandsAvailablebandsGet: (options?: SecondParameter<typeof http>, signal?: AbortSignal) => Promise<unknown>;
559
+ declare const getGetAvailableBandsAvailablebandsGetQueryKey: () => readonly ["/availablebands/"];
560
+ declare const getGetAvailableBandsAvailablebandsGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
561
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getAvailableBandsAvailablebandsGet>>, TError, TData>;
562
+ request?: SecondParameter<typeof http>;
563
+ }) => UseQueryOptions<unknown, TError, TData, QueryKey> & {
564
+ queryKey: QueryKey;
565
+ };
566
+ type GetAvailableBandsAvailablebandsGetQueryResult = NonNullable<Awaited<ReturnType<typeof getAvailableBandsAvailablebandsGet>>>;
567
+ type GetAvailableBandsAvailablebandsGetQueryError = ErrorType<unknown>;
568
+ /**
569
+ * @summary Get Available Bands
570
+ */
571
+ declare const useGetAvailableBandsAvailablebandsGet: <TData = unknown, TError = ErrorType<unknown>>(options?: {
572
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getAvailableBandsAvailablebandsGet>>, TError, TData>;
573
+ request?: SecondParameter<typeof http>;
574
+ }) => UseQueryResult<TData, TError> & {
575
+ queryKey: QueryKey;
576
+ };
577
+ /**
578
+ * @summary Get Available Layers
579
+ */
580
+ declare const getAvailableLayersAvailablelayersGet: (options?: SecondParameter<typeof http>, signal?: AbortSignal) => Promise<unknown>;
581
+ declare const getGetAvailableLayersAvailablelayersGetQueryKey: () => readonly ["/availablelayers/"];
582
+ declare const getGetAvailableLayersAvailablelayersGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
583
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getAvailableLayersAvailablelayersGet>>, TError, TData>;
584
+ request?: SecondParameter<typeof http>;
585
+ }) => UseQueryOptions<unknown, TError, TData, QueryKey> & {
586
+ queryKey: QueryKey;
587
+ };
588
+ type GetAvailableLayersAvailablelayersGetQueryResult = NonNullable<Awaited<ReturnType<typeof getAvailableLayersAvailablelayersGet>>>;
589
+ type GetAvailableLayersAvailablelayersGetQueryError = ErrorType<unknown>;
590
+ /**
591
+ * @summary Get Available Layers
592
+ */
593
+ declare const useGetAvailableLayersAvailablelayersGet: <TData = unknown, TError = ErrorType<unknown>>(options?: {
594
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getAvailableLayersAvailablelayersGet>>, TError, TData>;
595
+ request?: SecondParameter<typeof http>;
596
+ }) => UseQueryResult<TData, TError> & {
597
+ queryKey: QueryKey;
598
+ };
599
+ /**
600
+ * @summary Get Labels
601
+ */
602
+ declare const getLabelsLabelsGet: (options?: SecondParameter<typeof http>, signal?: AbortSignal) => Promise<unknown>;
603
+ declare const getGetLabelsLabelsGetQueryKey: () => readonly ["/labels/"];
604
+ declare const getGetLabelsLabelsGetQueryOptions: <TData = unknown, TError = ErrorType<unknown>>(options?: {
605
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getLabelsLabelsGet>>, TError, TData>;
606
+ request?: SecondParameter<typeof http>;
607
+ }) => UseQueryOptions<unknown, TError, TData, QueryKey> & {
608
+ queryKey: QueryKey;
609
+ };
610
+ type GetLabelsLabelsGetQueryResult = NonNullable<Awaited<ReturnType<typeof getLabelsLabelsGet>>>;
611
+ type GetLabelsLabelsGetQueryError = ErrorType<unknown>;
612
+ /**
613
+ * @summary Get Labels
614
+ */
615
+ declare const useGetLabelsLabelsGet: <TData = unknown, TError = ErrorType<unknown>>(options?: {
616
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getLabelsLabelsGet>>, TError, TData>;
617
+ request?: SecondParameter<typeof http>;
618
+ }) => UseQueryResult<TData, TError> & {
619
+ queryKey: QueryKey;
620
+ };
621
+ /**
622
+ * @summary Lists all the project that the user is part of. If the user is an administrator, then lists all the projects currently in the datbase, including the deleted projects.
623
+ */
624
+ declare const listProjectsListprojectsStartidxStartidxAmountAmountGet: (startidx: number, amount: number, options?: SecondParameter<typeof http>, signal?: AbortSignal) => Promise<ListProjectResponse>;
625
+ declare const getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryKey: (startidx: number, amount: number) => readonly [`/listprojects/startidx=${number}&amount=${number}`];
626
+ declare const getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryOptions: <TData = ListProjectResponse, TError = ErrorType<HTTPValidationError>>(startidx: number, amount: number, options?: {
627
+ query?: UseQueryOptions<Awaited<ReturnType<typeof listProjectsListprojectsStartidxStartidxAmountAmountGet>>, TError, TData>;
628
+ request?: SecondParameter<typeof http>;
629
+ }) => UseQueryOptions<ListProjectResponse, TError, TData, QueryKey> & {
630
+ queryKey: QueryKey;
631
+ };
632
+ type ListProjectsListprojectsStartidxStartidxAmountAmountGetQueryResult = NonNullable<Awaited<ReturnType<typeof listProjectsListprojectsStartidxStartidxAmountAmountGet>>>;
633
+ type ListProjectsListprojectsStartidxStartidxAmountAmountGetQueryError = ErrorType<HTTPValidationError>;
634
+ /**
635
+ * @summary Lists all the project that the user is part of. If the user is an administrator, then lists all the projects currently in the datbase, including the deleted projects.
636
+ */
637
+ declare const useListProjectsListprojectsStartidxStartidxAmountAmountGet: <TData = ListProjectResponse, TError = ErrorType<HTTPValidationError>>(startidx: number, amount: number, options?: {
638
+ query?: UseQueryOptions<Awaited<ReturnType<typeof listProjectsListprojectsStartidxStartidxAmountAmountGet>>, TError, TData>;
639
+ request?: SecondParameter<typeof http>;
640
+ }) => UseQueryResult<TData, TError> & {
641
+ queryKey: QueryKey;
642
+ };
643
+ /**
644
+ * @summary Creates a project, adding the curent user as owner. Only GeoWiki admins can create a new project.
645
+ */
646
+ declare const createProjectCreateprojectPost: (createProjectRequest: CreateProjectRequest, options?: SecondParameter<typeof http>) => Promise<CreateProjectResponse>;
647
+ declare const getCreateProjectCreateprojectPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
648
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createProjectCreateprojectPost>>, TError, {
649
+ data: CreateProjectRequest;
650
+ }, TContext>;
651
+ request?: SecondParameter<typeof http>;
652
+ }) => UseMutationOptions<Awaited<ReturnType<typeof createProjectCreateprojectPost>>, TError, {
653
+ data: CreateProjectRequest;
654
+ }, TContext>;
655
+ type CreateProjectCreateprojectPostMutationResult = NonNullable<Awaited<ReturnType<typeof createProjectCreateprojectPost>>>;
656
+ type CreateProjectCreateprojectPostMutationBody = CreateProjectRequest;
657
+ type CreateProjectCreateprojectPostMutationError = ErrorType<HTTPValidationError>;
658
+ /**
659
+ * @summary Creates a project, adding the curent user as owner. Only GeoWiki admins can create a new project.
660
+ */
661
+ declare const useCreateProjectCreateprojectPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
662
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createProjectCreateprojectPost>>, TError, {
663
+ data: CreateProjectRequest;
664
+ }, TContext>;
665
+ request?: SecondParameter<typeof http>;
666
+ }) => _tanstack_react_query.UseMutationResult<CreateProjectResponse, TError, {
667
+ data: CreateProjectRequest;
668
+ }, TContext>;
669
+ /**
670
+ * @summary Sets the user role in a project. If the user does not exists, then adds it to the project with the target role.
671
+ */
672
+ declare const setUserRoleSetuserrolePost: (setUserRoleRequest: SetUserRoleRequest, options?: SecondParameter<typeof http>) => Promise<GenericResponse>;
673
+ declare const getSetUserRoleSetuserrolePostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
674
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof setUserRoleSetuserrolePost>>, TError, {
675
+ data: SetUserRoleRequest;
676
+ }, TContext>;
677
+ request?: SecondParameter<typeof http>;
678
+ }) => UseMutationOptions<Awaited<ReturnType<typeof setUserRoleSetuserrolePost>>, TError, {
679
+ data: SetUserRoleRequest;
680
+ }, TContext>;
681
+ type SetUserRoleSetuserrolePostMutationResult = NonNullable<Awaited<ReturnType<typeof setUserRoleSetuserrolePost>>>;
682
+ type SetUserRoleSetuserrolePostMutationBody = SetUserRoleRequest;
683
+ type SetUserRoleSetuserrolePostMutationError = ErrorType<HTTPValidationError>;
684
+ /**
685
+ * @summary Sets the user role in a project. If the user does not exists, then adds it to the project with the target role.
686
+ */
687
+ declare const useSetUserRoleSetuserrolePost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
688
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof setUserRoleSetuserrolePost>>, TError, {
689
+ data: SetUserRoleRequest;
690
+ }, TContext>;
691
+ request?: SecondParameter<typeof http>;
692
+ }) => _tanstack_react_query.UseMutationResult<GenericResponse, TError, {
693
+ data: SetUserRoleRequest;
694
+ }, TContext>;
695
+ /**
696
+ * @summary Removes an user from a project.
697
+ */
698
+ declare const removeUserRemoveuserPost: (removeUserRequest: RemoveUserRequest, options?: SecondParameter<typeof http>) => Promise<GenericResponse>;
699
+ declare const getRemoveUserRemoveuserPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
700
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof removeUserRemoveuserPost>>, TError, {
701
+ data: RemoveUserRequest;
702
+ }, TContext>;
703
+ request?: SecondParameter<typeof http>;
704
+ }) => UseMutationOptions<Awaited<ReturnType<typeof removeUserRemoveuserPost>>, TError, {
705
+ data: RemoveUserRequest;
706
+ }, TContext>;
707
+ type RemoveUserRemoveuserPostMutationResult = NonNullable<Awaited<ReturnType<typeof removeUserRemoveuserPost>>>;
708
+ type RemoveUserRemoveuserPostMutationBody = RemoveUserRequest;
709
+ type RemoveUserRemoveuserPostMutationError = ErrorType<HTTPValidationError>;
710
+ /**
711
+ * @summary Removes an user from a project.
712
+ */
713
+ declare const useRemoveUserRemoveuserPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
714
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof removeUserRemoveuserPost>>, TError, {
715
+ data: RemoveUserRequest;
716
+ }, TContext>;
717
+ request?: SecondParameter<typeof http>;
718
+ }) => _tanstack_react_query.UseMutationResult<GenericResponse, TError, {
719
+ data: RemoveUserRequest;
720
+ }, TContext>;
721
+ /**
722
+ * @summary From a (lon, lat) coordinate and width and height expressed in meters, obtains a UTM tile of the given width and height for the best possible UTM projection. The user gets back the
723
+ */
724
+ declare const getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet: (lon: number, lat: number, width: number, height: number, options?: SecondParameter<typeof http>, signal?: AbortSignal) => Promise<PolygonResponse>;
725
+ declare const getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryKey: (lon: number, lat: number, width: number, height: number) => readonly [`/utmlocation/lon=${number}&lat=${number}&width=${number}&height=${number}`];
726
+ declare const getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryOptions: <TData = PolygonResponse, TError = ErrorType<HTTPValidationError>>(lon: number, lat: number, width: number, height: number, options?: {
727
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet>>, TError, TData>;
728
+ request?: SecondParameter<typeof http>;
729
+ }) => UseQueryOptions<PolygonResponse, TError, TData, QueryKey> & {
730
+ queryKey: QueryKey;
731
+ };
732
+ type GetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryResult = NonNullable<Awaited<ReturnType<typeof getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet>>>;
733
+ type GetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryError = ErrorType<HTTPValidationError>;
734
+ /**
735
+ * @summary From a (lon, lat) coordinate and width and height expressed in meters, obtains a UTM tile of the given width and height for the best possible UTM projection. The user gets back the
736
+ */
737
+ declare const useGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet: <TData = PolygonResponse, TError = ErrorType<HTTPValidationError>>(lon: number, lat: number, width: number, height: number, options?: {
738
+ query?: UseQueryOptions<Awaited<ReturnType<typeof getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet>>, TError, TData>;
739
+ request?: SecondParameter<typeof http>;
740
+ }) => UseQueryResult<TData, TError> & {
741
+ queryKey: QueryKey;
742
+ };
743
+ /**
744
+ * @summary From a location id and a project id, gets the polygon of the location, aligned in the grid.
745
+ */
746
+ declare const getLocationGetlocationPost: (getLocationRequest: GetLocationRequest, options?: SecondParameter<typeof http>) => Promise<PolygonResponse>;
747
+ declare const getGetLocationGetlocationPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
748
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof getLocationGetlocationPost>>, TError, {
749
+ data: GetLocationRequest;
750
+ }, TContext>;
751
+ request?: SecondParameter<typeof http>;
752
+ }) => UseMutationOptions<Awaited<ReturnType<typeof getLocationGetlocationPost>>, TError, {
753
+ data: GetLocationRequest;
754
+ }, TContext>;
755
+ type GetLocationGetlocationPostMutationResult = NonNullable<Awaited<ReturnType<typeof getLocationGetlocationPost>>>;
756
+ type GetLocationGetlocationPostMutationBody = GetLocationRequest;
757
+ type GetLocationGetlocationPostMutationError = ErrorType<HTTPValidationError>;
758
+ /**
759
+ * @summary From a location id and a project id, gets the polygon of the location, aligned in the grid.
760
+ */
761
+ declare const useGetLocationGetlocationPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
762
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof getLocationGetlocationPost>>, TError, {
763
+ data: GetLocationRequest;
764
+ }, TContext>;
765
+ request?: SecondParameter<typeof http>;
766
+ }) => _tanstack_react_query.UseMutationResult<PolygonResponse, TError, {
767
+ data: GetLocationRequest;
768
+ }, TContext>;
769
+ /**
770
+ * @summary Returns the first location from a project that is not started or not finished (depending on the request flag)
771
+ */
772
+ declare const getNextLocationNextlocationPost: (nextLocationRequest: NextLocationRequest, options?: SecondParameter<typeof http>) => Promise<NextLocationResponse>;
773
+ declare const getGetNextLocationNextlocationPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
774
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof getNextLocationNextlocationPost>>, TError, {
775
+ data: NextLocationRequest;
776
+ }, TContext>;
777
+ request?: SecondParameter<typeof http>;
778
+ }) => UseMutationOptions<Awaited<ReturnType<typeof getNextLocationNextlocationPost>>, TError, {
779
+ data: NextLocationRequest;
780
+ }, TContext>;
781
+ type GetNextLocationNextlocationPostMutationResult = NonNullable<Awaited<ReturnType<typeof getNextLocationNextlocationPost>>>;
782
+ type GetNextLocationNextlocationPostMutationBody = NextLocationRequest;
783
+ type GetNextLocationNextlocationPostMutationError = ErrorType<HTTPValidationError>;
784
+ /**
785
+ * @summary Returns the first location from a project that is not started or not finished (depending on the request flag)
786
+ */
787
+ declare const useGetNextLocationNextlocationPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
788
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof getNextLocationNextlocationPost>>, TError, {
789
+ data: NextLocationRequest;
790
+ }, TContext>;
791
+ request?: SecondParameter<typeof http>;
792
+ }) => _tanstack_react_query.UseMutationResult<NextLocationResponse, TError, {
793
+ data: NextLocationRequest;
794
+ }, TContext>;
795
+ /**
796
+ * @summary Creates a location from a given lon/lat/width/height and project id. Only the admin and owner users can add a location to a project.
797
+ */
798
+ declare const createLocationCreatelocationPost: (createLocationRequest: CreateLocationRequest, options?: SecondParameter<typeof http>) => Promise<LocationCreatedResponse>;
799
+ declare const getCreateLocationCreatelocationPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
800
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createLocationCreatelocationPost>>, TError, {
801
+ data: CreateLocationRequest;
802
+ }, TContext>;
803
+ request?: SecondParameter<typeof http>;
804
+ }) => UseMutationOptions<Awaited<ReturnType<typeof createLocationCreatelocationPost>>, TError, {
805
+ data: CreateLocationRequest;
806
+ }, TContext>;
807
+ type CreateLocationCreatelocationPostMutationResult = NonNullable<Awaited<ReturnType<typeof createLocationCreatelocationPost>>>;
808
+ type CreateLocationCreatelocationPostMutationBody = CreateLocationRequest;
809
+ type CreateLocationCreatelocationPostMutationError = ErrorType<HTTPValidationError>;
810
+ /**
811
+ * @summary Creates a location from a given lon/lat/width/height and project id. Only the admin and owner users can add a location to a project.
812
+ */
813
+ declare const useCreateLocationCreatelocationPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
814
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createLocationCreatelocationPost>>, TError, {
815
+ data: CreateLocationRequest;
816
+ }, TContext>;
817
+ request?: SecondParameter<typeof http>;
818
+ }) => _tanstack_react_query.UseMutationResult<LocationCreatedResponse, TError, {
819
+ data: CreateLocationRequest;
820
+ }, TContext>;
821
+ /**
822
+ * @summary Submits a labelled location, either as temporal or finished.The location must be existant in the database for the project
823
+ */
824
+ declare const submitLabelingSubmitPost: (submitRequest: SubmitRequest, options?: SecondParameter<typeof http>) => Promise<SubmitResponse>;
825
+ declare const getSubmitLabelingSubmitPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
826
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof submitLabelingSubmitPost>>, TError, {
827
+ data: SubmitRequest;
828
+ }, TContext>;
829
+ request?: SecondParameter<typeof http>;
830
+ }) => UseMutationOptions<Awaited<ReturnType<typeof submitLabelingSubmitPost>>, TError, {
831
+ data: SubmitRequest;
832
+ }, TContext>;
833
+ type SubmitLabelingSubmitPostMutationResult = NonNullable<Awaited<ReturnType<typeof submitLabelingSubmitPost>>>;
834
+ type SubmitLabelingSubmitPostMutationBody = SubmitRequest;
835
+ type SubmitLabelingSubmitPostMutationError = ErrorType<HTTPValidationError>;
836
+ /**
837
+ * @summary Submits a labelled location, either as temporal or finished.The location must be existant in the database for the project
838
+ */
839
+ declare const useSubmitLabelingSubmitPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
840
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof submitLabelingSubmitPost>>, TError, {
841
+ data: SubmitRequest;
842
+ }, TContext>;
843
+ request?: SecondParameter<typeof http>;
844
+ }) => _tanstack_react_query.UseMutationResult<SubmitResponse, TError, {
845
+ data: SubmitRequest;
846
+ }, TContext>;
847
+ /**
848
+ * @summary Returns a set of locations, or a sets of clusters given a bounding box
849
+ */
850
+ declare const searchLocationsLocationsPost: (listLocationsRequest: ListLocationsRequest, options?: SecondParameter<typeof http>) => Promise<ListLocationsResponse>;
851
+ declare const getSearchLocationsLocationsPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
852
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof searchLocationsLocationsPost>>, TError, {
853
+ data: ListLocationsRequest;
854
+ }, TContext>;
855
+ request?: SecondParameter<typeof http>;
856
+ }) => UseMutationOptions<Awaited<ReturnType<typeof searchLocationsLocationsPost>>, TError, {
857
+ data: ListLocationsRequest;
858
+ }, TContext>;
859
+ type SearchLocationsLocationsPostMutationResult = NonNullable<Awaited<ReturnType<typeof searchLocationsLocationsPost>>>;
860
+ type SearchLocationsLocationsPostMutationBody = ListLocationsRequest;
861
+ type SearchLocationsLocationsPostMutationError = ErrorType<HTTPValidationError>;
862
+ /**
863
+ * @summary Returns a set of locations, or a sets of clusters given a bounding box
864
+ */
865
+ declare const useSearchLocationsLocationsPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
866
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof searchLocationsLocationsPost>>, TError, {
867
+ data: ListLocationsRequest;
868
+ }, TContext>;
869
+ request?: SecondParameter<typeof http>;
870
+ }) => _tanstack_react_query.UseMutationResult<ListLocationsResponse, TError, {
871
+ data: ListLocationsRequest;
872
+ }, TContext>;
873
+ /**
874
+ * @summary Submits a string comment on a given location for a given project.
875
+ */
876
+ declare const submitCommentCommentPost: (submitCommentRequest: SubmitCommentRequest, options?: SecondParameter<typeof http>) => Promise<GenericResponse>;
877
+ declare const getSubmitCommentCommentPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
878
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof submitCommentCommentPost>>, TError, {
879
+ data: SubmitCommentRequest;
880
+ }, TContext>;
881
+ request?: SecondParameter<typeof http>;
882
+ }) => UseMutationOptions<Awaited<ReturnType<typeof submitCommentCommentPost>>, TError, {
883
+ data: SubmitCommentRequest;
884
+ }, TContext>;
885
+ type SubmitCommentCommentPostMutationResult = NonNullable<Awaited<ReturnType<typeof submitCommentCommentPost>>>;
886
+ type SubmitCommentCommentPostMutationBody = SubmitCommentRequest;
887
+ type SubmitCommentCommentPostMutationError = ErrorType<HTTPValidationError>;
888
+ /**
889
+ * @summary Submits a string comment on a given location for a given project.
890
+ */
891
+ declare const useSubmitCommentCommentPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
892
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof submitCommentCommentPost>>, TError, {
893
+ data: SubmitCommentRequest;
894
+ }, TContext>;
895
+ request?: SecondParameter<typeof http>;
896
+ }) => _tanstack_react_query.UseMutationResult<GenericResponse, TError, {
897
+ data: SubmitCommentRequest;
898
+ }, TContext>;
899
+ /**
900
+ * @summary Retrieves the saved annotation content, if exists, of a location
901
+ */
902
+ declare const locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet: (locationId: string, projectId: number, options?: SecondParameter<typeof http>, signal?: AbortSignal) => Promise<LocationContentResponse>;
903
+ declare const getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryKey: (locationId: string, projectId: number) => readonly [`/locationcontent/location_id=${string}&project_id=${number}`];
904
+ declare const getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryOptions: <TData = LocationContentResponse, TError = ErrorType<HTTPValidationError>>(locationId: string, projectId: number, options?: {
905
+ query?: UseQueryOptions<Awaited<ReturnType<typeof locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet>>, TError, TData>;
906
+ request?: SecondParameter<typeof http>;
907
+ }) => UseQueryOptions<LocationContentResponse, TError, TData, QueryKey> & {
908
+ queryKey: QueryKey;
909
+ };
910
+ type LocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryResult = NonNullable<Awaited<ReturnType<typeof locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet>>>;
911
+ type LocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryError = ErrorType<HTTPValidationError>;
912
+ /**
913
+ * @summary Retrieves the saved annotation content, if exists, of a location
914
+ */
915
+ declare const useLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet: <TData = LocationContentResponse, TError = ErrorType<HTTPValidationError>>(locationId: string, projectId: number, options?: {
916
+ query?: UseQueryOptions<Awaited<ReturnType<typeof locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet>>, TError, TData>;
917
+ request?: SecondParameter<typeof http>;
918
+ }) => UseQueryResult<TData, TError> & {
919
+ queryKey: QueryKey;
920
+ };
921
+ /**
922
+ * @summary Perform clustering, returning a GeoTiff grayscale image containing clusters numbered from 0 to the parameter n_clusters as a first band, and a second band giving unique connected clustered pixels (two patches of pixels belonging to the same cluster that are not connected will be considered as different cluster in that second band)
923
+ */
924
+ declare const getClustersClusterPost: (clusterRequest: ClusterRequest, options?: SecondParameter<typeof http>) => Promise<void>;
925
+ declare const getGetClustersClusterPostMutationOptions: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
926
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof getClustersClusterPost>>, TError, {
927
+ data: ClusterRequest;
928
+ }, TContext>;
929
+ request?: SecondParameter<typeof http>;
930
+ }) => UseMutationOptions<Awaited<ReturnType<typeof getClustersClusterPost>>, TError, {
931
+ data: ClusterRequest;
932
+ }, TContext>;
933
+ type GetClustersClusterPostMutationResult = NonNullable<Awaited<ReturnType<typeof getClustersClusterPost>>>;
934
+ type GetClustersClusterPostMutationBody = ClusterRequest;
935
+ type GetClustersClusterPostMutationError = ErrorType<HTTPValidationError>;
936
+ /**
937
+ * @summary Perform clustering, returning a GeoTiff grayscale image containing clusters numbered from 0 to the parameter n_clusters as a first band, and a second band giving unique connected clustered pixels (two patches of pixels belonging to the same cluster that are not connected will be considered as different cluster in that second band)
938
+ */
939
+ declare const useGetClustersClusterPost: <TError = ErrorType<HTTPValidationError>, TContext = unknown>(options?: {
940
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof getClustersClusterPost>>, TError, {
941
+ data: ClusterRequest;
942
+ }, TContext>;
943
+ request?: SecondParameter<typeof http>;
944
+ }) => _tanstack_react_query.UseMutationResult<void, TError, {
945
+ data: ClusterRequest;
946
+ }, TContext>;
947
+
948
+ export { type ClusterRequest, type CreateLocationCreatelocationPostMutationBody, type CreateLocationCreatelocationPostMutationError, type CreateLocationCreatelocationPostMutationResult, type CreateLocationRequest, type CreateProjectCreateprojectPostMutationBody, type CreateProjectCreateprojectPostMutationError, type CreateProjectCreateprojectPostMutationResult, type CreateProjectRequest, type CreateProjectResponse, type ErrorType, type GenericResponse, type GenericResponseMessage, type GetAvailableBandsAvailablebandsGetQueryError, type GetAvailableBandsAvailablebandsGetQueryResult, type GetAvailableLayersAvailablelayersGetQueryError, type GetAvailableLayersAvailablelayersGetQueryResult, type GetClustersClusterPostMutationBody, type GetClustersClusterPostMutationError, type GetClustersClusterPostMutationResult, type GetLabelsLabelsGetQueryError, type GetLabelsLabelsGetQueryResult, type GetLocationGetlocationPostMutationBody, type GetLocationGetlocationPostMutationError, type GetLocationGetlocationPostMutationResult, type GetLocationRequest, type GetNextLocationNextlocationPostMutationBody, type GetNextLocationNextlocationPostMutationError, type GetNextLocationNextlocationPostMutationResult, type GetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryError, type GetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryResult, type GetUserMeGetQueryError, type GetUserMeGetQueryResult, type HTTPValidationError, type ImageResponse, type ListLocationsRequest, type ListLocationsResponse, type ListProjectResponse, type ListProjectsListprojectsStartidxStartidxAmountAmountGetQueryError, type ListProjectsListprojectsStartidxStartidxAmountAmountGetQueryResult, type LocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryError, type LocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryResult, type LocationContentResponse, type LocationContentResponseArrayHeight, type LocationContentResponseArrayWidth, type LocationContentResponseBase64Array, type LocationContentResponseIsOnlySaved, type LocationCreatedResponse, type LocationCreatedResponsePolygon, type LocationElement, type LocationElementGeometry, type LocationElementLocationId, type LocationElementLocationStatus, type LocationElementNLocations, LocationStatus, type NextLocationRequest, type NextLocationResponse, type NextLocationResponseLocation, type PolygonResponse, type PolygonResponseGeometry, type ProjectElement, type ReadRootGetQueryError, type ReadRootGetQueryResult, type RemoveUserRemoveuserPostMutationBody, type RemoveUserRemoveuserPostMutationError, type RemoveUserRemoveuserPostMutationResult, type RemoveUserRequest, type SearchLocationsLocationsPostMutationBody, type SearchLocationsLocationsPostMutationError, type SearchLocationsLocationsPostMutationResult, type SetUserRoleRequest, type SetUserRoleSetuserrolePostMutationBody, type SetUserRoleSetuserrolePostMutationError, type SetUserRoleSetuserrolePostMutationResult, type SubmitCommentCommentPostMutationBody, type SubmitCommentCommentPostMutationError, type SubmitCommentCommentPostMutationResult, type SubmitCommentRequest, type SubmitLabelingSubmitPostMutationBody, type SubmitLabelingSubmitPostMutationError, type SubmitLabelingSubmitPostMutationResult, type SubmitRequest, type SubmitResponse, type SubmitResponseMessage, UserRank, type ValidationError, type ValidationErrorLocItem, createLocationCreatelocationPost, createProjectCreateprojectPost, evolandAxiosInstance, getAvailableBandsAvailablebandsGet, getAvailableLayersAvailablelayersGet, getClustersClusterPost, getCreateLocationCreatelocationPostMutationOptions, getCreateProjectCreateprojectPostMutationOptions, getGetAvailableBandsAvailablebandsGetQueryKey, getGetAvailableBandsAvailablebandsGetQueryOptions, getGetAvailableLayersAvailablelayersGetQueryKey, getGetAvailableLayersAvailablelayersGetQueryOptions, getGetClustersClusterPostMutationOptions, getGetLabelsLabelsGetQueryKey, getGetLabelsLabelsGetQueryOptions, getGetLocationGetlocationPostMutationOptions, getGetNextLocationNextlocationPostMutationOptions, getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryKey, getGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGetQueryOptions, getGetUserMeGetQueryKey, getGetUserMeGetQueryOptions, getLabelsLabelsGet, getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryKey, getListProjectsListprojectsStartidxStartidxAmountAmountGetQueryOptions, getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryKey, getLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGetQueryOptions, getLocationGetlocationPost, getNextLocationNextlocationPost, getPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet, getReadRootGetQueryKey, getReadRootGetQueryOptions, getRemoveUserRemoveuserPostMutationOptions, getSearchLocationsLocationsPostMutationOptions, getSetUserRoleSetuserrolePostMutationOptions, getSubmitCommentCommentPostMutationOptions, getSubmitLabelingSubmitPostMutationOptions, getUserMeGet, http, listProjectsListprojectsStartidxStartidxAmountAmountGet, locationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet, readRootGet, removeUserRemoveuserPost, searchLocationsLocationsPost, setUserRoleSetuserrolePost, submitCommentCommentPost, submitLabelingSubmitPost, useCreateLocationCreatelocationPost, useCreateProjectCreateprojectPost, useGetAvailableBandsAvailablebandsGet, useGetAvailableLayersAvailablelayersGet, useGetClustersClusterPost, useGetLabelsLabelsGet, useGetLocationGetlocationPost, useGetNextLocationNextlocationPost, useGetPolygonUtmlocationLonLonLatLatWidthWidthHeightHeightGet, useGetUserMeGet, useListProjectsListprojectsStartidxStartidxAmountAmountGet, useLocationContentLocationcontentLocationIdLocationIdProjectIdProjectIdGet, useReadRootGet, useRemoveUserRemoveuserPost, useSearchLocationsLocationsPost, useSetUserRoleSetuserrolePost, useSubmitCommentCommentPost, useSubmitLabelingSubmitPost };