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,557 @@
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}/datasources/{datasource}/cut-fill": {
8
+ parameters: {
9
+ query?: never
10
+ header?: never
11
+ path?: never
12
+ cookie?: never
13
+ }
14
+ get?: never
15
+ put?: never
16
+ /**
17
+ * Get cut and fill volumes from a DEM data source, a target elevation and a reference polygonal area
18
+ * @description ### Role required
19
+ * `ORG_VIEWER`
20
+ */
21
+ post: operations["calculateCutAndFillVolume"]
22
+ delete?: never
23
+ options?: never
24
+ head?: never
25
+ patch?: never
26
+ trace?: never
27
+ }
28
+ "/rest/v1/organizations/{organization}/datasources/{datasource}/elevation": {
29
+ parameters: {
30
+ query?: never
31
+ header?: never
32
+ path?: never
33
+ cookie?: never
34
+ }
35
+ /**
36
+ * Get elevation at coordinate from a DEM data source
37
+ * @description ### Role required
38
+ * `ORG_VIEWER`
39
+ */
40
+ get: operations["getElevation"]
41
+ put?: never
42
+ post?: never
43
+ delete?: never
44
+ options?: never
45
+ head?: never
46
+ patch?: never
47
+ trace?: never
48
+ }
49
+ "/rest/v1/organizations/{organization}/datasources/{datasource}/extent": {
50
+ parameters: {
51
+ query?: never
52
+ header?: never
53
+ path?: never
54
+ cookie?: never
55
+ }
56
+ /**
57
+ * Get data source extent
58
+ * @description ### Role required
59
+ * `ORG_VIEWER`
60
+ */
61
+ get: operations["getSpatialDataSourceExtent"]
62
+ put?: never
63
+ post?: never
64
+ delete?: never
65
+ options?: never
66
+ head?: never
67
+ patch?: never
68
+ trace?: never
69
+ }
70
+ "/rest/v1/organizations/{organization}/metrics": {
71
+ parameters: {
72
+ query?: never
73
+ header?: never
74
+ path?: never
75
+ cookie?: never
76
+ }
77
+ /**
78
+ * Get metrics
79
+ * @description ### Role required
80
+ * `ORG_ADMIN`
81
+ */
82
+ get: operations["getMetrics"]
83
+ put?: never
84
+ post?: never
85
+ delete?: never
86
+ options?: never
87
+ head?: never
88
+ patch?: never
89
+ trace?: never
90
+ }
91
+ }
92
+ export type webhooks = Record<string, never>
93
+ export interface components {
94
+ schemas: {
95
+ /** @description Calculation parameters */
96
+ ParamCalculateCutAndFill: {
97
+ /** @description The polygonal feature used to delimit the cut and fill calculation */
98
+ cutline?: components["schemas"]["ParamFeature"]
99
+ /**
100
+ * Format: float
101
+ * @description The target elevation
102
+ */
103
+ targetElevation?: number
104
+ }
105
+ ParamFeature: {
106
+ /**
107
+ * @example {
108
+ * "type": "EPSG",
109
+ * "properties": {
110
+ * "code": 4326
111
+ * }
112
+ * }
113
+ */
114
+ crs?: components["schemas"]["ParamFeatureCrs"]
115
+ /**
116
+ * @example {
117
+ * "coordinates": [
118
+ * [
119
+ * [
120
+ * 100,
121
+ * 0
122
+ * ],
123
+ * [
124
+ * 101,
125
+ * 0
126
+ * ],
127
+ * [
128
+ * 101,
129
+ * 1
130
+ * ],
131
+ * [
132
+ * 100,
133
+ * 1
134
+ * ],
135
+ * [
136
+ * 100,
137
+ * 0
138
+ * ]
139
+ * ]
140
+ * ],
141
+ * "type": "POLYGON"
142
+ * }
143
+ */
144
+ geometry?: {
145
+ [key: string]: unknown
146
+ }
147
+ /**
148
+ * @example {
149
+ * "property1": "value1",
150
+ * "property2": "value2"
151
+ * }
152
+ */
153
+ properties?: {
154
+ [key: string]: unknown
155
+ }
156
+ }
157
+ ParamFeatureCrs: {
158
+ properties?: components["schemas"]["ParamFeatureCrsProperties"]
159
+ /** @example EPSG */
160
+ type?: string
161
+ }
162
+ ParamFeatureCrsProperties: {
163
+ /**
164
+ * Format: int32
165
+ * @example 4326
166
+ */
167
+ code?: number
168
+ /** @example urn:ogc:def:crs:OGC:1.3:CRS84 */
169
+ name?: string
170
+ }
171
+ ResponseBody400: {
172
+ errors?: string[]
173
+ message?: string
174
+ }
175
+ ResponseBody401: {
176
+ errors?: string[]
177
+ message?: string
178
+ }
179
+ ResponseBody403: {
180
+ errors?: string[]
181
+ message?: string
182
+ }
183
+ ResponseBody404: {
184
+ errors?: string[]
185
+ /** @example ORGANIZATION: 95f6ea8d-e8f0-4b7d-adfb-8bf7059b4d95 */
186
+ message?: string
187
+ /** @example 95f6ea8d-e8f0-4b7d-adfb-8bf7059b4d95 */
188
+ resourceId?: string
189
+ /**
190
+ * @example ORGANIZATION
191
+ * @enum {string}
192
+ */
193
+ resourceType?:
194
+ | "API_KEY"
195
+ | "ATTACHMENT"
196
+ | "CONDITION_EXPRESSION"
197
+ | "DATA_SOURCE"
198
+ | "DOCUMENT"
199
+ | "DYNAMIC_FILTER"
200
+ | "EXTENSION"
201
+ | "FEATURE"
202
+ | "FILE"
203
+ | "FORM"
204
+ | "GROUP"
205
+ | "GROUP_MEMBER"
206
+ | "LAYER"
207
+ | "LAYER_GROUP"
208
+ | "MEMBER_RESOURCE"
209
+ | "MOUSE_OVER_CONFIGURATION"
210
+ | "ORGANIZATION"
211
+ | "ORGANIZATION_EXTENSION"
212
+ | "ORGANIZATION_MEMBER"
213
+ | "PROCESS"
214
+ | "PROCESS_JOB"
215
+ | "PROJECT"
216
+ | "RELATIONSHIP"
217
+ | "REPORT"
218
+ | "ROW"
219
+ | "RULE_CONDITION"
220
+ | "SEARCH_FORM"
221
+ | "STYLE"
222
+ | "STYLE_MAP_SCALE"
223
+ | "STYLE_RULE"
224
+ | "SYMBOLOGY_RESOURCE"
225
+ | "TABLE_DATASET"
226
+ | "TAG"
227
+ | "TAGGED_RESOURCE"
228
+ | "USER"
229
+ | "USER_METADATA"
230
+ }
231
+ ResponseBody500: {
232
+ errors?: string[]
233
+ message?: string
234
+ }
235
+ ResponseGetMetrics: {
236
+ /** @example The result is metrics */
237
+ message?: string
238
+ /**
239
+ * @example {
240
+ * "totalFileSize": 404240,
241
+ * "fileCount": 12
242
+ * }
243
+ */
244
+ result?: {
245
+ [key: string]: unknown
246
+ }
247
+ }
248
+ }
249
+ responses: never
250
+ parameters: never
251
+ requestBodies: never
252
+ headers: never
253
+ pathItems: never
254
+ }
255
+ export type $defs = Record<string, never>
256
+ export interface operations {
257
+ calculateCutAndFillVolume: {
258
+ parameters: {
259
+ query?: never
260
+ header?: never
261
+ path: {
262
+ /** @description The id of the organization */
263
+ organization: string
264
+ /** @description The id of the data source */
265
+ datasource: string
266
+ }
267
+ cookie?: never
268
+ }
269
+ requestBody: {
270
+ content: {
271
+ "application/json": components["schemas"]["ParamCalculateCutAndFill"]
272
+ }
273
+ }
274
+ responses: {
275
+ /** @description Successfully computed cut and fill volumes */
276
+ 200: {
277
+ headers: {
278
+ [name: string]: unknown
279
+ }
280
+ content: {
281
+ "application/json": string
282
+ }
283
+ }
284
+ /** @description Parameter(s) has not a good data format */
285
+ 400: {
286
+ headers: {
287
+ [name: string]: unknown
288
+ }
289
+ content: {
290
+ "application/json": components["schemas"]["ResponseBody400"]
291
+ }
292
+ }
293
+ /** @description You are not authorized to view the resource */
294
+ 401: {
295
+ headers: {
296
+ [name: string]: unknown
297
+ }
298
+ content: {
299
+ "application/json": components["schemas"]["ResponseBody401"]
300
+ }
301
+ }
302
+ /** @description Accessing the resource you were trying to reach is forbidden */
303
+ 403: {
304
+ headers: {
305
+ [name: string]: unknown
306
+ }
307
+ content: {
308
+ "application/json": components["schemas"]["ResponseBody403"]
309
+ }
310
+ }
311
+ /** @description The resource you were trying to reach is not found */
312
+ 404: {
313
+ headers: {
314
+ [name: string]: unknown
315
+ }
316
+ content: {
317
+ "application/json": components["schemas"]["ResponseBody404"]
318
+ }
319
+ }
320
+ /** @description The server encounters an unexpected internal error */
321
+ 500: {
322
+ headers: {
323
+ [name: string]: unknown
324
+ }
325
+ content: {
326
+ "application/json": components["schemas"]["ResponseBody500"]
327
+ }
328
+ }
329
+ }
330
+ }
331
+ getElevation: {
332
+ parameters: {
333
+ query: {
334
+ /** @description The X coordinate (longitude). */
335
+ x: number
336
+ /** @description The Y coordinate (latitude). */
337
+ y: number
338
+ /**
339
+ * @description The coordinate reference system of the coordinates.
340
+ *
341
+ * - If not specified, coordinate reference system is presumed to be the CRS of the data source.
342
+ */
343
+ crs?: string
344
+ }
345
+ header?: never
346
+ path: {
347
+ /** @description The id of the organization */
348
+ organization: string
349
+ /** @description The id of the data source */
350
+ datasource: string
351
+ }
352
+ cookie?: never
353
+ }
354
+ requestBody?: never
355
+ responses: {
356
+ /** @description Successfully retrieved elevation */
357
+ 200: {
358
+ headers: {
359
+ [name: string]: unknown
360
+ }
361
+ content: {
362
+ "application/json": string
363
+ }
364
+ }
365
+ /** @description Parameter(s) has not a good data format */
366
+ 400: {
367
+ headers: {
368
+ [name: string]: unknown
369
+ }
370
+ content: {
371
+ "application/json": components["schemas"]["ResponseBody400"]
372
+ }
373
+ }
374
+ /** @description You are not authorized to view the resource */
375
+ 401: {
376
+ headers: {
377
+ [name: string]: unknown
378
+ }
379
+ content: {
380
+ "application/json": components["schemas"]["ResponseBody401"]
381
+ }
382
+ }
383
+ /** @description Accessing the resource you were trying to reach is forbidden */
384
+ 403: {
385
+ headers: {
386
+ [name: string]: unknown
387
+ }
388
+ content: {
389
+ "application/json": components["schemas"]["ResponseBody403"]
390
+ }
391
+ }
392
+ /** @description The resource you were trying to reach is not found */
393
+ 404: {
394
+ headers: {
395
+ [name: string]: unknown
396
+ }
397
+ content: {
398
+ "application/json": components["schemas"]["ResponseBody404"]
399
+ }
400
+ }
401
+ /** @description The server encounters an unexpected internal error */
402
+ 500: {
403
+ headers: {
404
+ [name: string]: unknown
405
+ }
406
+ content: {
407
+ "application/json": components["schemas"]["ResponseBody500"]
408
+ }
409
+ }
410
+ }
411
+ }
412
+ getSpatialDataSourceExtent: {
413
+ parameters: {
414
+ query?: {
415
+ /**
416
+ * @description The coordinate reference system of the resulting spatial data source extent.
417
+ *
418
+ * - If not specified, the extent will be in the CRS of the data source.
419
+ */
420
+ crs?: string
421
+ }
422
+ header?: never
423
+ path: {
424
+ /** @description The id of the organization */
425
+ organization: string
426
+ /** @description The id of the data source */
427
+ datasource: string
428
+ }
429
+ cookie?: never
430
+ }
431
+ requestBody?: never
432
+ responses: {
433
+ /** @description Successfully retrieved data source extent */
434
+ 200: {
435
+ headers: {
436
+ [name: string]: unknown
437
+ }
438
+ content: {
439
+ "application/json": string
440
+ }
441
+ }
442
+ /** @description Parameter(s) has not a good data format */
443
+ 400: {
444
+ headers: {
445
+ [name: string]: unknown
446
+ }
447
+ content: {
448
+ "application/json": components["schemas"]["ResponseBody400"]
449
+ }
450
+ }
451
+ /** @description You are not authorized to view the resource */
452
+ 401: {
453
+ headers: {
454
+ [name: string]: unknown
455
+ }
456
+ content: {
457
+ "application/json": components["schemas"]["ResponseBody401"]
458
+ }
459
+ }
460
+ /** @description Accessing the resource you were trying to reach is forbidden */
461
+ 403: {
462
+ headers: {
463
+ [name: string]: unknown
464
+ }
465
+ content: {
466
+ "application/json": components["schemas"]["ResponseBody403"]
467
+ }
468
+ }
469
+ /** @description The resource you were trying to reach is not found */
470
+ 404: {
471
+ headers: {
472
+ [name: string]: unknown
473
+ }
474
+ content: {
475
+ "application/json": components["schemas"]["ResponseBody404"]
476
+ }
477
+ }
478
+ /** @description The server encounters an unexpected internal error */
479
+ 500: {
480
+ headers: {
481
+ [name: string]: unknown
482
+ }
483
+ content: {
484
+ "application/json": components["schemas"]["ResponseBody500"]
485
+ }
486
+ }
487
+ }
488
+ }
489
+ getMetrics: {
490
+ parameters: {
491
+ query?: never
492
+ header?: never
493
+ path: {
494
+ /** @description The id of the organization */
495
+ organization: string
496
+ }
497
+ cookie?: never
498
+ }
499
+ requestBody?: never
500
+ responses: {
501
+ /** @description Successfully retrieved metrics */
502
+ 200: {
503
+ headers: {
504
+ [name: string]: unknown
505
+ }
506
+ content: {
507
+ "application/json": components["schemas"]["ResponseGetMetrics"]
508
+ }
509
+ }
510
+ /** @description Parameter(s) has not a good data format */
511
+ 400: {
512
+ headers: {
513
+ [name: string]: unknown
514
+ }
515
+ content: {
516
+ "application/json": components["schemas"]["ResponseBody400"]
517
+ }
518
+ }
519
+ /** @description You are not authorized to view the resource */
520
+ 401: {
521
+ headers: {
522
+ [name: string]: unknown
523
+ }
524
+ content: {
525
+ "application/json": components["schemas"]["ResponseBody401"]
526
+ }
527
+ }
528
+ /** @description Accessing the resource you were trying to reach is forbidden */
529
+ 403: {
530
+ headers: {
531
+ [name: string]: unknown
532
+ }
533
+ content: {
534
+ "application/json": components["schemas"]["ResponseBody403"]
535
+ }
536
+ }
537
+ /** @description The resource you were trying to reach is not found */
538
+ 404: {
539
+ headers: {
540
+ [name: string]: unknown
541
+ }
542
+ content: {
543
+ "application/json": components["schemas"]["ResponseBody404"]
544
+ }
545
+ }
546
+ /** @description The server encounters an unexpected internal error */
547
+ 500: {
548
+ headers: {
549
+ [name: string]: unknown
550
+ }
551
+ content: {
552
+ "application/json": components["schemas"]["ResponseBody500"]
553
+ }
554
+ }
555
+ }
556
+ }
557
+ }