jmapcloud-types 0.0.1 → 2.0.23-qa.10

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,1033 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/rest/v1/organizations/{organization}/files": {
8
+ parameters: {
9
+ query?: never
10
+ header?: never
11
+ path?: never
12
+ cookie?: never
13
+ }
14
+ /**
15
+ * Get files
16
+ * @description ### Role required
17
+ * `ORG_EDITOR`
18
+ */
19
+ get: operations["getFileInfos"]
20
+ put?: never
21
+ post?: never
22
+ delete?: never
23
+ options?: never
24
+ head?: never
25
+ patch?: never
26
+ trace?: never
27
+ }
28
+ "/rest/v1/organizations/{organization}/files/{file}": {
29
+ parameters: {
30
+ query?: never
31
+ header?: never
32
+ path?: never
33
+ cookie?: never
34
+ }
35
+ /**
36
+ * Get file
37
+ * @description ### Role required
38
+ * `ORG_VIEWER`
39
+ */
40
+ get: operations["getFileInfo"]
41
+ put?: never
42
+ post?: never
43
+ /**
44
+ * Delete file
45
+ * @description ### Role required
46
+ * `ORG_EDITOR`
47
+ */
48
+ delete: operations["deleteFileInfo"]
49
+ options?: never
50
+ head?: never
51
+ patch?: never
52
+ trace?: never
53
+ }
54
+ "/rest/v1/organizations/{organization}/metrics": {
55
+ parameters: {
56
+ query?: never
57
+ header?: never
58
+ path?: never
59
+ cookie?: never
60
+ }
61
+ /**
62
+ * Get metrics
63
+ * @description ### Role required
64
+ * `ORG_ADMIN`
65
+ */
66
+ get: operations["getMetrics"]
67
+ put?: never
68
+ post?: never
69
+ delete?: never
70
+ options?: never
71
+ head?: never
72
+ patch?: never
73
+ trace?: never
74
+ }
75
+ "/rest/v1/organizations/{organization}/upload": {
76
+ parameters: {
77
+ query?: never
78
+ header?: never
79
+ path?: never
80
+ cookie?: never
81
+ }
82
+ get?: never
83
+ put?: never
84
+ /**
85
+ * Initiate a resumable upload
86
+ * @description ### Role required
87
+ * `ORG_VIEWER` or `ORG_EDITOR`
88
+ */
89
+ post: operations["initiateResumableUpload"]
90
+ delete?: never
91
+ options?: never
92
+ head?: never
93
+ patch?: never
94
+ trace?: never
95
+ }
96
+ "/rest/v1/organizations/{organization}/upload/{fileId}": {
97
+ parameters: {
98
+ query?: never
99
+ header?: never
100
+ path?: never
101
+ cookie?: never
102
+ }
103
+ get?: never
104
+ put?: never
105
+ post?: never
106
+ delete?: never
107
+ options?: never
108
+ head?: never
109
+ /**
110
+ * Upload the content / chunk
111
+ * @description ### Role required
112
+ * `ORG_VIEWER` or `ORG_EDITOR`
113
+ */
114
+ patch: operations["uploadFileParts"]
115
+ trace?: never
116
+ }
117
+ }
118
+ export type webhooks = Record<string, never>
119
+ export interface components {
120
+ schemas: {
121
+ Address: {
122
+ administrativeArea?: components["schemas"]["InternationalString"]
123
+ city?: components["schemas"]["InternationalString"]
124
+ country?: components["schemas"]["InternationalString"]
125
+ deliveryPoints?: string[]
126
+ electronicMailAddresses?: string[]
127
+ postalCode?: string
128
+ }
129
+ BoundingBox: {
130
+ bounds?: components["schemas"]["BoundingBox"]
131
+ coordinateReferenceSystem?: components["schemas"]["CoordinateReferenceSystem"]
132
+ /** Format: int32 */
133
+ dimension?: number
134
+ empty?: boolean
135
+ /** Format: double */
136
+ height?: number
137
+ lowerCorner?: components["schemas"]["Position"]
138
+ /** Format: double */
139
+ maxX?: number
140
+ /** Format: double */
141
+ maxY?: number
142
+ /** Format: double */
143
+ minX?: number
144
+ /** Format: double */
145
+ minY?: number
146
+ upperCorner?: components["schemas"]["Position"]
147
+ /** Format: double */
148
+ width?: number
149
+ }
150
+ Citation: {
151
+ alternateTitles?: components["schemas"]["InternationalString"][]
152
+ citedResponsibleParties?: components["schemas"]["ResponsibleParty"][]
153
+ collectiveTitle?: components["schemas"]["InternationalString"]
154
+ edition?: components["schemas"]["InternationalString"]
155
+ /** Format: date-time */
156
+ editionDate?: string
157
+ identifiers?: {
158
+ authority?: components["schemas"]["Citation"]
159
+ code?: string
160
+ }[]
161
+ isbn?: string
162
+ issn?: string
163
+ otherCitationDetails?: components["schemas"]["InternationalString"]
164
+ presentationForm?: components["schemas"]["PresentationForm"][]
165
+ title?: components["schemas"]["InternationalString"]
166
+ }
167
+ Contact: {
168
+ address?: components["schemas"]["Address"]
169
+ contactInstructions?: components["schemas"]["InternationalString"]
170
+ hoursOfService?: components["schemas"]["InternationalString"]
171
+ onLineResource?: components["schemas"]["OnLineResource"]
172
+ phone?: components["schemas"]["Telephone"]
173
+ }
174
+ CoordinateReferenceSystem: {
175
+ alias?: components["schemas"]["GenericName"][]
176
+ coordinateSystem?: components["schemas"]["CoordinateSystem"]
177
+ domainOfValidity?: components["schemas"]["Extent"]
178
+ identifiers?: components["schemas"]["ReferenceIdentifier"][]
179
+ name?: components["schemas"]["ReferenceIdentifier"]
180
+ remarks?: components["schemas"]["InternationalString"]
181
+ scope?: components["schemas"]["InternationalString"]
182
+ }
183
+ CoordinateSystem: {
184
+ alias?: components["schemas"]["GenericName"][]
185
+ /** Format: int32 */
186
+ dimension?: number
187
+ identifiers?: components["schemas"]["ReferenceIdentifier"][]
188
+ name?: components["schemas"]["ReferenceIdentifier"]
189
+ remarks?: components["schemas"]["InternationalString"]
190
+ }
191
+ DocumentFileInfoDTO: {
192
+ type: "DocumentFileInfoDTO"
193
+ } & (Omit<WithRequired<components["schemas"]["FileInfoDTO"], "fileSize" | "filename" | "id" | "organizationId" | "status" | "type">, "type"> & {
194
+ /**
195
+ * @example DOCUMENT
196
+ * @enum {string}
197
+ */
198
+ type: "VECTOR_DATA" | "RASTER_DATA" | "TABULAR_DATA" | "DOCUMENT" | "MEDIA"
199
+ })
200
+ Extent: {
201
+ description?: components["schemas"]["InternationalString"]
202
+ geographicElements?: components["schemas"]["GeographicExtent"][]
203
+ temporalElements?: components["schemas"]["TemporalExtent"][]
204
+ verticalElements?: components["schemas"]["VerticalExtent"][]
205
+ }
206
+ FileAttributeDTO: {
207
+ originalName?: string
208
+ standardizedName?: string
209
+ /** @enum {string} */
210
+ type?:
211
+ | "BIT"
212
+ | "TINYINT"
213
+ | "SMALLINT"
214
+ | "INTEGER"
215
+ | "BIGINT"
216
+ | "FLOAT"
217
+ | "REAL"
218
+ | "DOUBLE"
219
+ | "NUMERIC"
220
+ | "DECIMAL"
221
+ | "CHAR"
222
+ | "VARCHAR"
223
+ | "LONGVARCHAR"
224
+ | "DATE"
225
+ | "TIME"
226
+ | "TIMESTAMP"
227
+ | "BINARY"
228
+ | "VARBINARY"
229
+ | "LONGVARBINARY"
230
+ | "NULL"
231
+ | "OTHER"
232
+ | "JAVA_OBJECT"
233
+ | "DISTINCT"
234
+ | "STRUCT"
235
+ | "ARRAY"
236
+ | "BLOB"
237
+ | "CLOB"
238
+ | "REF"
239
+ | "DATALINK"
240
+ | "BOOLEAN"
241
+ | "ROWID"
242
+ | "NCHAR"
243
+ | "NVARCHAR"
244
+ | "LONGNVARCHAR"
245
+ | "NCLOB"
246
+ | "SQLXML"
247
+ | "REF_CURSOR"
248
+ | "TIME_WITH_TIMEZONE"
249
+ | "TIMESTAMP_WITH_TIMEZONE"
250
+ }
251
+ FileInfoDTO: {
252
+ /** @enum {string} */
253
+ containerType?: "GDB"
254
+ /** @example john.doe@example.com */
255
+ createdBy?: string
256
+ /** Format: date-time */
257
+ creationDate?: string
258
+ /** Format: int64 */
259
+ fileSize: number
260
+ filename: string
261
+ id: string
262
+ /** Format: date-time */
263
+ lastModificationDate?: string
264
+ /** @example jane.doe@example.com */
265
+ lastModifiedBy?: string
266
+ mimeType?: string
267
+ /** Format: uuid */
268
+ organizationId: string
269
+ partFilename?: string
270
+ /** Format: uuid */
271
+ partId?: string
272
+ /** Format: int32 */
273
+ partNumber?: number
274
+ /** @enum {string} */
275
+ status: "WAITING" | "ANALYZING" | "ANALYZED" | "ERROR" | "UPLOADING" | "FINISHING_UPLOAD" | "THREAT_DETECTED" | "UPLOADED"
276
+ /** Format: int32 */
277
+ totalParts?: number
278
+ /** @enum {string} */
279
+ type: "VECTOR_DATA" | "RASTER_DATA" | "TABULAR_DATA" | "DOCUMENT" | "MEDIA"
280
+ }
281
+ GenericName: {
282
+ parsedNames?: components["schemas"]["LocalName"][]
283
+ }
284
+ GeographicExtent: {
285
+ inclusion?: boolean
286
+ }
287
+ InternationalString: {
288
+ empty?: boolean
289
+ }
290
+ Link: {
291
+ deprecation?: string
292
+ href?: string
293
+ hreflang?: string
294
+ name?: string
295
+ profile?: string
296
+ templated?: boolean
297
+ title?: string
298
+ type?: string
299
+ }
300
+ LocalName: {
301
+ parsedNames?: components["schemas"]["LocalName"][]
302
+ }
303
+ MediaFileInfoDTO: {
304
+ type: "MediaFileInfoDTO"
305
+ } & (Omit<WithRequired<components["schemas"]["FileInfoDTO"], "fileSize" | "filename" | "id" | "organizationId" | "status" | "type">, "type"> & {
306
+ /**
307
+ * @example MEDIA
308
+ * @enum {string}
309
+ */
310
+ type: "VECTOR_DATA" | "RASTER_DATA" | "TABULAR_DATA" | "DOCUMENT" | "MEDIA"
311
+ })
312
+ OnLineFunction: unknown
313
+ OnLineResource: {
314
+ applicationProfile?: string
315
+ description?: components["schemas"]["InternationalString"]
316
+ function?: components["schemas"]["OnLineFunction"]
317
+ /** Format: uri */
318
+ linkage?: string
319
+ name?: string
320
+ protocol?: string
321
+ }
322
+ PageMetadata: {
323
+ /** Format: int64 */
324
+ number?: number
325
+ /** Format: int64 */
326
+ size?: number
327
+ /** Format: int64 */
328
+ totalElements?: number
329
+ /** Format: int64 */
330
+ totalPages?: number
331
+ }
332
+ Position: {
333
+ coordinate?: number[]
334
+ coordinateReferenceSystem?: components["schemas"]["CoordinateReferenceSystem"]
335
+ /** Format: int32 */
336
+ dimension?: number
337
+ directPosition?: components["schemas"]["Position"]
338
+ }
339
+ PresentationForm: unknown
340
+ RasterFileInfoDTO: {
341
+ type: "RasterFileInfoDTO"
342
+ } & (Omit<WithRequired<components["schemas"]["FileInfoDTO"], "fileSize" | "filename" | "id" | "organizationId" | "status" | "type">, "type"> & {
343
+ /** Format: uuid */
344
+ jobId?: string
345
+ metadata?: components["schemas"]["RasterFileMetadataDTO"]
346
+ /**
347
+ * @example RASTER_DATA
348
+ * @enum {string}
349
+ */
350
+ type: "VECTOR_DATA" | "RASTER_DATA" | "TABULAR_DATA" | "DOCUMENT" | "MEDIA"
351
+ })
352
+ RasterFileMetadataDTO: {
353
+ bbox?: {
354
+ [key: string]: number
355
+ }
356
+ crs?: string
357
+ crsDefined?: boolean
358
+ fileType?: string
359
+ files?: string[]
360
+ isCOG?: boolean
361
+ name?: string
362
+ size?: number[]
363
+ title?: string
364
+ type?: string
365
+ wgs84Extent?: {
366
+ [key: string]: number
367
+ }
368
+ }
369
+ ReferenceIdentifier: {
370
+ authority?: components["schemas"]["Citation"]
371
+ code?: string
372
+ codeSpace?: string
373
+ version?: string
374
+ }
375
+ ResponseBody400: {
376
+ errors?: string[]
377
+ message?: string
378
+ }
379
+ ResponseBody401: {
380
+ errors?: string[]
381
+ message?: string
382
+ }
383
+ ResponseBody403: {
384
+ errors?: string[]
385
+ message?: string
386
+ }
387
+ ResponseBody404: {
388
+ errors?: string[]
389
+ /** @example ORGANIZATION: 95f6ea8d-e8f0-4b7d-adfb-8bf7059b4d95 */
390
+ message?: string
391
+ /** @example 95f6ea8d-e8f0-4b7d-adfb-8bf7059b4d95 */
392
+ resourceId?: string
393
+ /**
394
+ * @example ORGANIZATION
395
+ * @enum {string}
396
+ */
397
+ resourceType?:
398
+ | "API_KEY"
399
+ | "ATTACHMENT"
400
+ | "CONDITION_EXPRESSION"
401
+ | "DATA_SOURCE"
402
+ | "DOCUMENT"
403
+ | "DYNAMIC_FILTER"
404
+ | "EXTENSION"
405
+ | "FEATURE"
406
+ | "FILE"
407
+ | "FORM"
408
+ | "GROUP"
409
+ | "GROUP_MEMBER"
410
+ | "LAYER"
411
+ | "LAYER_GROUP"
412
+ | "MEMBER_RESOURCE"
413
+ | "MOUSE_OVER_CONFIGURATION"
414
+ | "ORGANIZATION"
415
+ | "ORGANIZATION_EXTENSION"
416
+ | "ORGANIZATION_MEMBER"
417
+ | "PROCESS"
418
+ | "PROCESS_JOB"
419
+ | "PROJECT"
420
+ | "RELATIONSHIP"
421
+ | "REPORT"
422
+ | "ROW"
423
+ | "RULE_CONDITION"
424
+ | "SEARCH_FORM"
425
+ | "STYLE"
426
+ | "STYLE_MAP_SCALE"
427
+ | "STYLE_RULE"
428
+ | "SYMBOLOGY_RESOURCE"
429
+ | "TABLE_DATASET"
430
+ | "TAG"
431
+ | "TAGGED_RESOURCE"
432
+ | "USER"
433
+ | "USER_METADATA"
434
+ }
435
+ ResponseBody500: {
436
+ errors?: string[]
437
+ message?: string
438
+ }
439
+ ResponseDeleteFileInfo: {
440
+ /** @example The result is the deleted file id */
441
+ message?: string
442
+ /** Format: uuid */
443
+ result?: string
444
+ }
445
+ ResponseGetFileInfo: {
446
+ /** @example The result is a file */
447
+ message?: string
448
+ result?:
449
+ | components["schemas"]["DocumentFileInfoDTO"]
450
+ | components["schemas"]["MediaFileInfoDTO"]
451
+ | components["schemas"]["RasterFileInfoDTO"]
452
+ | components["schemas"]["TabularFileInfoDTO"]
453
+ | components["schemas"]["VectorFileInfoDTO"]
454
+ }
455
+ ResponseGetFileInfos: {
456
+ links?: components["schemas"]["Link"][]
457
+ /** @example The result is a list of files for an organization */
458
+ message?: string
459
+ page?: components["schemas"]["PageMetadata"]
460
+ result?: (
461
+ | components["schemas"]["DocumentFileInfoDTO"]
462
+ | components["schemas"]["MediaFileInfoDTO"]
463
+ | components["schemas"]["RasterFileInfoDTO"]
464
+ | components["schemas"]["TabularFileInfoDTO"]
465
+ | components["schemas"]["VectorFileInfoDTO"]
466
+ )[]
467
+ }
468
+ ResponseGetMetrics: {
469
+ /** @example The result is metrics */
470
+ message?: string
471
+ /**
472
+ * @example {
473
+ * "totalFileSize": 404240,
474
+ * "fileCount": 12
475
+ * }
476
+ */
477
+ result?: {
478
+ [key: string]: unknown
479
+ }
480
+ }
481
+ ResponseSuccess: {
482
+ message?: string
483
+ result?: unknown
484
+ }
485
+ ResponsibleParty: {
486
+ contactInfo?: components["schemas"]["Contact"]
487
+ individualName?: string
488
+ organisationName?: components["schemas"]["InternationalString"]
489
+ positionName?: components["schemas"]["InternationalString"]
490
+ role?: components["schemas"]["Role"]
491
+ }
492
+ Role: unknown
493
+ TabularFileInfoDTO: {
494
+ type: "TabularFileInfoDTO"
495
+ } & (Omit<WithRequired<components["schemas"]["FileInfoDTO"], "fileSize" | "filename" | "id" | "organizationId" | "status" | "type">, "type"> & {
496
+ /** Format: uuid */
497
+ jobId?: string
498
+ metadata?: components["schemas"]["TabularFileMetadataDTO"]
499
+ /**
500
+ * @example TABULAR_DATA
501
+ * @enum {string}
502
+ */
503
+ type: "VECTOR_DATA" | "RASTER_DATA" | "TABULAR_DATA" | "DOCUMENT" | "MEDIA"
504
+ })
505
+ TabularFileMetadataDTO: {
506
+ fileAttributes?: components["schemas"]["FileAttributeDTO"][]
507
+ fileName?: string
508
+ /** Format: int64 */
509
+ rowsCount?: number
510
+ type?: string
511
+ }
512
+ Telephone: {
513
+ facsimiles?: string[]
514
+ voices?: string[]
515
+ }
516
+ TemporalExtent: {
517
+ extent?: components["schemas"]["TemporalPrimitive"]
518
+ }
519
+ TemporalPrimitive: unknown
520
+ VectorFileInfoDTO: {
521
+ type: "VectorFileInfoDTO"
522
+ } & (Omit<WithRequired<components["schemas"]["FileInfoDTO"], "fileSize" | "filename" | "id" | "organizationId" | "status" | "type">, "type"> & {
523
+ /** Format: uuid */
524
+ jobId?: string
525
+ metadata?: components["schemas"]["VectorFileMetadataDTO"]
526
+ /**
527
+ * @example VECTOR_DATA
528
+ * @enum {string}
529
+ */
530
+ type: "VECTOR_DATA" | "RASTER_DATA" | "TABULAR_DATA" | "DOCUMENT" | "MEDIA"
531
+ })
532
+ VectorFileLayerMetadataDTO: {
533
+ crs?: string
534
+ fileAttributes?: components["schemas"]["FileAttributeDTO"][]
535
+ geometryTypes?: ("NONE" | "POINT" | "CURVE" | "SURFACE" | "ANNOTATION" | "RASTER" | "COMPLEX" | "ELLIPSE" | "ALL" | "ALL_EXCEPT_RASTER")[]
536
+ name?: string
537
+ }
538
+ VectorFileMetadataDTO: {
539
+ boundingBox?: components["schemas"]["BoundingBox"]
540
+ crs?: string
541
+ /** Format: int64 */
542
+ elementsCount?: number
543
+ fileAttributes?: components["schemas"]["FileAttributeDTO"][]
544
+ fileNames?: string[]
545
+ /** @enum {string} */
546
+ fileType?: "SHAPE" | "MAPINFO" | "DWG" | "DXF" | "GML" | "KML" | "GEOPACKAGE" | "FILEGDB" | "GEOJSON" | "CSV"
547
+ layers?: components["schemas"]["VectorFileLayerMetadataDTO"][]
548
+ type?: string
549
+ }
550
+ VerticalCRS: {
551
+ alias?: components["schemas"]["GenericName"][]
552
+ coordinateSystem?: components["schemas"]["VerticalCS"]
553
+ datum?: components["schemas"]["VerticalDatum"]
554
+ domainOfValidity?: components["schemas"]["Extent"]
555
+ identifiers?: components["schemas"]["ReferenceIdentifier"][]
556
+ name?: components["schemas"]["ReferenceIdentifier"]
557
+ remarks?: components["schemas"]["InternationalString"]
558
+ scope?: components["schemas"]["InternationalString"]
559
+ }
560
+ VerticalCS: {
561
+ alias?: components["schemas"]["GenericName"][]
562
+ /** Format: int32 */
563
+ dimension?: number
564
+ identifiers?: components["schemas"]["ReferenceIdentifier"][]
565
+ name?: components["schemas"]["ReferenceIdentifier"]
566
+ remarks?: components["schemas"]["InternationalString"]
567
+ }
568
+ VerticalDatum: {
569
+ alias?: components["schemas"]["GenericName"][]
570
+ anchorPoint?: components["schemas"]["InternationalString"]
571
+ domainOfValidity?: components["schemas"]["Extent"]
572
+ identifiers?: components["schemas"]["ReferenceIdentifier"][]
573
+ name?: components["schemas"]["ReferenceIdentifier"]
574
+ /** Format: date-time */
575
+ realizationEpoch?: string
576
+ remarks?: components["schemas"]["InternationalString"]
577
+ scope?: components["schemas"]["InternationalString"]
578
+ verticalDatumType?: components["schemas"]["VerticalDatumType"]
579
+ }
580
+ VerticalDatumType: unknown
581
+ VerticalExtent: {
582
+ /** Format: double */
583
+ maximumValue?: number
584
+ /** Format: double */
585
+ minimumValue?: number
586
+ verticalCRS?: components["schemas"]["VerticalCRS"]
587
+ }
588
+ }
589
+ responses: never
590
+ parameters: never
591
+ requestBodies: never
592
+ headers: never
593
+ pathItems: never
594
+ }
595
+ export type $defs = Record<string, never>
596
+ export interface operations {
597
+ getFileInfos: {
598
+ parameters: {
599
+ query?: {
600
+ /** @description A page number */
601
+ page?: number
602
+ /** @description Items per page (maximum 200) */
603
+ size?: number
604
+ /** @description Query to filter and sort */
605
+ q?: string
606
+ /** @description Whether multipart upload parts should be included */
607
+ includeParts?: boolean
608
+ }
609
+ header?: never
610
+ path: {
611
+ /** @description The id of the organization */
612
+ organization: string
613
+ }
614
+ cookie?: never
615
+ }
616
+ requestBody?: never
617
+ responses: {
618
+ /** @description Successfully retrieved the files */
619
+ 200: {
620
+ headers: {
621
+ [name: string]: unknown
622
+ }
623
+ content: {
624
+ "application/json": components["schemas"]["ResponseGetFileInfos"]
625
+ }
626
+ }
627
+ /** @description Parameter(s) has not a good data format */
628
+ 400: {
629
+ headers: {
630
+ [name: string]: unknown
631
+ }
632
+ content: {
633
+ "application/json": components["schemas"]["ResponseBody400"]
634
+ }
635
+ }
636
+ /** @description You are not authorized to view the resource */
637
+ 401: {
638
+ headers: {
639
+ [name: string]: unknown
640
+ }
641
+ content: {
642
+ "application/json": components["schemas"]["ResponseBody401"]
643
+ }
644
+ }
645
+ /** @description Accessing the resource you were trying to reach is forbidden */
646
+ 403: {
647
+ headers: {
648
+ [name: string]: unknown
649
+ }
650
+ content: {
651
+ "application/json": components["schemas"]["ResponseBody403"]
652
+ }
653
+ }
654
+ /** @description The resource you were trying to reach is not found */
655
+ 404: {
656
+ headers: {
657
+ [name: string]: unknown
658
+ }
659
+ content: {
660
+ "application/json": components["schemas"]["ResponseBody404"]
661
+ }
662
+ }
663
+ /** @description The server encounters an unexpected internal error */
664
+ 500: {
665
+ headers: {
666
+ [name: string]: unknown
667
+ }
668
+ content: {
669
+ "application/json": components["schemas"]["ResponseBody500"]
670
+ }
671
+ }
672
+ }
673
+ }
674
+ getFileInfo: {
675
+ parameters: {
676
+ query?: never
677
+ header?: never
678
+ path: {
679
+ /** @description The id of the organization */
680
+ organization: string
681
+ /** @description The id of the file */
682
+ file: string
683
+ }
684
+ cookie?: never
685
+ }
686
+ requestBody?: never
687
+ responses: {
688
+ /** @description Successfully retrieved file */
689
+ 200: {
690
+ headers: {
691
+ [name: string]: unknown
692
+ }
693
+ content: {
694
+ "application/json": components["schemas"]["ResponseGetFileInfo"]
695
+ }
696
+ }
697
+ /** @description Parameter(s) has not a good data format */
698
+ 400: {
699
+ headers: {
700
+ [name: string]: unknown
701
+ }
702
+ content: {
703
+ "application/json": components["schemas"]["ResponseBody400"]
704
+ }
705
+ }
706
+ /** @description You are not authorized to view the resource */
707
+ 401: {
708
+ headers: {
709
+ [name: string]: unknown
710
+ }
711
+ content: {
712
+ "application/json": components["schemas"]["ResponseBody401"]
713
+ }
714
+ }
715
+ /** @description Accessing the resource you were trying to reach is forbidden */
716
+ 403: {
717
+ headers: {
718
+ [name: string]: unknown
719
+ }
720
+ content: {
721
+ "application/json": components["schemas"]["ResponseBody403"]
722
+ }
723
+ }
724
+ /** @description The resource you were trying to reach is not found */
725
+ 404: {
726
+ headers: {
727
+ [name: string]: unknown
728
+ }
729
+ content: {
730
+ "application/json": components["schemas"]["ResponseBody404"]
731
+ }
732
+ }
733
+ /** @description The server encounters an unexpected internal error */
734
+ 500: {
735
+ headers: {
736
+ [name: string]: unknown
737
+ }
738
+ content: {
739
+ "application/json": components["schemas"]["ResponseBody500"]
740
+ }
741
+ }
742
+ }
743
+ }
744
+ deleteFileInfo: {
745
+ parameters: {
746
+ query?: never
747
+ header?: never
748
+ path: {
749
+ /** @description The id of the organization */
750
+ organization: string
751
+ /** @description The id of the file */
752
+ file: string
753
+ }
754
+ cookie?: never
755
+ }
756
+ requestBody?: never
757
+ responses: {
758
+ /** @description Successfully deleted file */
759
+ 200: {
760
+ headers: {
761
+ [name: string]: unknown
762
+ }
763
+ content: {
764
+ "application/json": components["schemas"]["ResponseDeleteFileInfo"]
765
+ }
766
+ }
767
+ /** @description Parameter(s) has not a good data format */
768
+ 400: {
769
+ headers: {
770
+ [name: string]: unknown
771
+ }
772
+ content: {
773
+ "application/json": components["schemas"]["ResponseBody400"]
774
+ }
775
+ }
776
+ /** @description You are not authorized to view the resource */
777
+ 401: {
778
+ headers: {
779
+ [name: string]: unknown
780
+ }
781
+ content: {
782
+ "application/json": components["schemas"]["ResponseBody401"]
783
+ }
784
+ }
785
+ /** @description Accessing the resource you were trying to reach is forbidden */
786
+ 403: {
787
+ headers: {
788
+ [name: string]: unknown
789
+ }
790
+ content: {
791
+ "application/json": components["schemas"]["ResponseBody403"]
792
+ }
793
+ }
794
+ /** @description The resource you were trying to reach is not found */
795
+ 404: {
796
+ headers: {
797
+ [name: string]: unknown
798
+ }
799
+ content: {
800
+ "application/json": components["schemas"]["ResponseBody404"]
801
+ }
802
+ }
803
+ /** @description The server encounters an unexpected internal error */
804
+ 500: {
805
+ headers: {
806
+ [name: string]: unknown
807
+ }
808
+ content: {
809
+ "application/json": components["schemas"]["ResponseBody500"]
810
+ }
811
+ }
812
+ }
813
+ }
814
+ getMetrics: {
815
+ parameters: {
816
+ query?: never
817
+ header?: never
818
+ path: {
819
+ /** @description The id of the organization */
820
+ organization: string
821
+ }
822
+ cookie?: never
823
+ }
824
+ requestBody?: never
825
+ responses: {
826
+ /** @description Successfully retrieved metrics */
827
+ 200: {
828
+ headers: {
829
+ [name: string]: unknown
830
+ }
831
+ content: {
832
+ "application/json": components["schemas"]["ResponseGetMetrics"]
833
+ }
834
+ }
835
+ /** @description Parameter(s) has not a good data format */
836
+ 400: {
837
+ headers: {
838
+ [name: string]: unknown
839
+ }
840
+ content: {
841
+ "application/json": components["schemas"]["ResponseBody400"]
842
+ }
843
+ }
844
+ /** @description You are not authorized to view the resource */
845
+ 401: {
846
+ headers: {
847
+ [name: string]: unknown
848
+ }
849
+ content: {
850
+ "application/json": components["schemas"]["ResponseBody401"]
851
+ }
852
+ }
853
+ /** @description Accessing the resource you were trying to reach is forbidden */
854
+ 403: {
855
+ headers: {
856
+ [name: string]: unknown
857
+ }
858
+ content: {
859
+ "application/json": components["schemas"]["ResponseBody403"]
860
+ }
861
+ }
862
+ /** @description The resource you were trying to reach is not found */
863
+ 404: {
864
+ headers: {
865
+ [name: string]: unknown
866
+ }
867
+ content: {
868
+ "application/json": components["schemas"]["ResponseBody404"]
869
+ }
870
+ }
871
+ /** @description The server encounters an unexpected internal error */
872
+ 500: {
873
+ headers: {
874
+ [name: string]: unknown
875
+ }
876
+ content: {
877
+ "application/json": components["schemas"]["ResponseBody500"]
878
+ }
879
+ }
880
+ }
881
+ }
882
+ initiateResumableUpload: {
883
+ parameters: {
884
+ query?: never
885
+ header: {
886
+ "Tus-Resumable": string
887
+ "Upload-Length": string
888
+ /** @description <p>The Upload-Metadata header. <code>filename</code> and <code>JMC-fileType</code> are required. Values must be encoded in Base64.</p></br>Possible values for <code>JMC-fileType</code> are <code>VECTOR_DATA</code>, <code>RASTER_DATA</code>, <code>TABULAR_DATA</code> or <code>DOCUMENT</code></br></br><p>Example</p></br><code>filename myData.zip JMC-fileType VECTOR_DATA</code> should be <code>filename bXlEYXRhLnppcA== JMC-fileType VkVDVE9SX0RBVEE=</code></br><p>&#160;</p> */
889
+ "Upload-Metadata": string
890
+ }
891
+ path: {
892
+ /** @description The id of the organization */
893
+ organization: string
894
+ }
895
+ cookie?: never
896
+ }
897
+ requestBody?: never
898
+ responses: {
899
+ /** @description Successfully initiated resumable upload */
900
+ 201: {
901
+ headers: {
902
+ [name: string]: unknown
903
+ }
904
+ content: {
905
+ "application/json": components["schemas"]["ResponseSuccess"]
906
+ }
907
+ }
908
+ /** @description Parameter(s) has not a good data format */
909
+ 400: {
910
+ headers: {
911
+ [name: string]: unknown
912
+ }
913
+ content: {
914
+ "application/json": components["schemas"]["ResponseBody400"]
915
+ }
916
+ }
917
+ /** @description You are not authorized to view the resource */
918
+ 401: {
919
+ headers: {
920
+ [name: string]: unknown
921
+ }
922
+ content: {
923
+ "application/json": components["schemas"]["ResponseBody401"]
924
+ }
925
+ }
926
+ /** @description Accessing the resource you were trying to reach is forbidden */
927
+ 403: {
928
+ headers: {
929
+ [name: string]: unknown
930
+ }
931
+ content: {
932
+ "application/json": components["schemas"]["ResponseBody403"]
933
+ }
934
+ }
935
+ /** @description The resource you were trying to reach is not found */
936
+ 404: {
937
+ headers: {
938
+ [name: string]: unknown
939
+ }
940
+ content: {
941
+ "application/json": components["schemas"]["ResponseBody404"]
942
+ }
943
+ }
944
+ /** @description The server encounters an unexpected internal error */
945
+ 500: {
946
+ headers: {
947
+ [name: string]: unknown
948
+ }
949
+ content: {
950
+ "application/json": components["schemas"]["ResponseBody500"]
951
+ }
952
+ }
953
+ }
954
+ }
955
+ uploadFileParts: {
956
+ parameters: {
957
+ query?: never
958
+ header: {
959
+ "Tus-Resumable": string
960
+ "Upload-Length": string
961
+ "Content-Type": string
962
+ "Upload-Offset": string
963
+ }
964
+ path: {
965
+ /** @description The id of the organization */
966
+ organization: string
967
+ /** @description The id of the file */
968
+ fileId: string
969
+ }
970
+ cookie?: never
971
+ }
972
+ requestBody?: never
973
+ responses: {
974
+ /** @description Successfully uploaded content / chunk */
975
+ 200: {
976
+ headers: {
977
+ [name: string]: unknown
978
+ }
979
+ content: {
980
+ "application/json": components["schemas"]["ResponseSuccess"]
981
+ }
982
+ }
983
+ /** @description Parameter(s) has not a good data format */
984
+ 400: {
985
+ headers: {
986
+ [name: string]: unknown
987
+ }
988
+ content: {
989
+ "application/json": components["schemas"]["ResponseBody400"]
990
+ }
991
+ }
992
+ /** @description You are not authorized to view the resource */
993
+ 401: {
994
+ headers: {
995
+ [name: string]: unknown
996
+ }
997
+ content: {
998
+ "application/json": components["schemas"]["ResponseBody401"]
999
+ }
1000
+ }
1001
+ /** @description Accessing the resource you were trying to reach is forbidden */
1002
+ 403: {
1003
+ headers: {
1004
+ [name: string]: unknown
1005
+ }
1006
+ content: {
1007
+ "application/json": components["schemas"]["ResponseBody403"]
1008
+ }
1009
+ }
1010
+ /** @description The resource you were trying to reach is not found */
1011
+ 404: {
1012
+ headers: {
1013
+ [name: string]: unknown
1014
+ }
1015
+ content: {
1016
+ "application/json": components["schemas"]["ResponseBody404"]
1017
+ }
1018
+ }
1019
+ /** @description The server encounters an unexpected internal error */
1020
+ 500: {
1021
+ headers: {
1022
+ [name: string]: unknown
1023
+ }
1024
+ content: {
1025
+ "application/json": components["schemas"]["ResponseBody500"]
1026
+ }
1027
+ }
1028
+ }
1029
+ }
1030
+ }
1031
+ type WithRequired<T, K extends keyof T> = T & {
1032
+ [P in K]-?: T[P]
1033
+ }