@volant-autonomy/via-sdk 1.5936.1 → 1.5944.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.
- package/dist/direct.d.ts +3 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/volant-schema.d.ts +80 -5
- package/package.json +1 -1
package/dist/direct.d.ts
CHANGED
|
@@ -1474,7 +1474,7 @@ export declare class Direct {
|
|
|
1474
1474
|
data: {
|
|
1475
1475
|
id: string;
|
|
1476
1476
|
type?: "geocage";
|
|
1477
|
-
attributes: import("./volant-schema").components["schemas"]["Geocage"];
|
|
1477
|
+
attributes: import("./volant-schema").components["schemas"]["Geocage-Output"];
|
|
1478
1478
|
};
|
|
1479
1479
|
error?: never;
|
|
1480
1480
|
response: Response;
|
|
@@ -1504,7 +1504,7 @@ export declare class Direct {
|
|
|
1504
1504
|
data: {
|
|
1505
1505
|
id: string;
|
|
1506
1506
|
type?: "geocage";
|
|
1507
|
-
attributes: import("./volant-schema").components["schemas"]["Geocage"];
|
|
1507
|
+
attributes: import("./volant-schema").components["schemas"]["Geocage-Output"];
|
|
1508
1508
|
};
|
|
1509
1509
|
error?: never;
|
|
1510
1510
|
response: Response;
|
|
@@ -1563,7 +1563,7 @@ export declare class Direct {
|
|
|
1563
1563
|
data: {
|
|
1564
1564
|
id: string;
|
|
1565
1565
|
type?: "geocage";
|
|
1566
|
-
attributes: import("./volant-schema").components["schemas"]["Geocage"];
|
|
1566
|
+
attributes: import("./volant-schema").components["schemas"]["Geocage-Output"];
|
|
1567
1567
|
};
|
|
1568
1568
|
error?: never;
|
|
1569
1569
|
response: Response;
|
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
package/dist/volant-schema.d.ts
CHANGED
|
@@ -2268,7 +2268,7 @@ export interface components {
|
|
|
2268
2268
|
};
|
|
2269
2269
|
/**
|
|
2270
2270
|
* Geocage
|
|
2271
|
-
* @description An area that the operation must be contained within.
|
|
2271
|
+
* @description An area that the operation must be contained within or not enter.
|
|
2272
2272
|
*
|
|
2273
2273
|
* If the supplied Feature Collection has a feature that is invalid, due to self-intersections or otherwise malformed
|
|
2274
2274
|
* geometry, an attempt will be made to fix it. During this process, any collapsed geometries will be discarded and
|
|
@@ -2311,7 +2311,7 @@ export interface components {
|
|
|
2311
2311
|
* "type": "FeatureCollection"
|
|
2312
2312
|
* }
|
|
2313
2313
|
*/
|
|
2314
|
-
Geocage: {
|
|
2314
|
+
"Geocage-Input": {
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Type
|
|
2317
2317
|
* @constant
|
|
@@ -2328,6 +2328,81 @@ export interface components {
|
|
|
2328
2328
|
* @example Bath_Geocage 2
|
|
2329
2329
|
*/
|
|
2330
2330
|
viaName?: string | null;
|
|
2331
|
+
/**
|
|
2332
|
+
* Isfence
|
|
2333
|
+
* @description Whether to treat the geocage as a geofence. If true, areas touched by the geocage are considered non-flyable. If false, areas wholly contained inside the geocage as considered flyable.
|
|
2334
|
+
* @default false
|
|
2335
|
+
*/
|
|
2336
|
+
isFence?: boolean;
|
|
2337
|
+
};
|
|
2338
|
+
/**
|
|
2339
|
+
* Geocage
|
|
2340
|
+
* @description An area that the operation must be contained within or not enter.
|
|
2341
|
+
*
|
|
2342
|
+
* If the supplied Feature Collection has a feature that is invalid, due to self-intersections or otherwise malformed
|
|
2343
|
+
* geometry, an attempt will be made to fix it. During this process, any collapsed geometries will be discarded and
|
|
2344
|
+
* composite types decomposed into Polygon types, this may mean that the resulting returned payload is different to
|
|
2345
|
+
* the original request.
|
|
2346
|
+
* @example {
|
|
2347
|
+
* "features": [
|
|
2348
|
+
* {
|
|
2349
|
+
* "geometry": {
|
|
2350
|
+
* "coordinates": [
|
|
2351
|
+
* [
|
|
2352
|
+
* [
|
|
2353
|
+
* -2.363,
|
|
2354
|
+
* 51.381
|
|
2355
|
+
* ],
|
|
2356
|
+
* [
|
|
2357
|
+
* -2.391,
|
|
2358
|
+
* 51.381
|
|
2359
|
+
* ],
|
|
2360
|
+
* [
|
|
2361
|
+
* -2.391,
|
|
2362
|
+
* 51.37
|
|
2363
|
+
* ],
|
|
2364
|
+
* [
|
|
2365
|
+
* -2.363,
|
|
2366
|
+
* 51.37
|
|
2367
|
+
* ],
|
|
2368
|
+
* [
|
|
2369
|
+
* -2.363,
|
|
2370
|
+
* 51.381
|
|
2371
|
+
* ]
|
|
2372
|
+
* ]
|
|
2373
|
+
* ],
|
|
2374
|
+
* "type": "Polygon"
|
|
2375
|
+
* },
|
|
2376
|
+
* "properties": {},
|
|
2377
|
+
* "type": "Feature"
|
|
2378
|
+
* }
|
|
2379
|
+
* ],
|
|
2380
|
+
* "type": "FeatureCollection"
|
|
2381
|
+
* }
|
|
2382
|
+
*/
|
|
2383
|
+
"Geocage-Output": {
|
|
2384
|
+
/**
|
|
2385
|
+
* Type
|
|
2386
|
+
* @constant
|
|
2387
|
+
*/
|
|
2388
|
+
type: "FeatureCollection";
|
|
2389
|
+
/**
|
|
2390
|
+
* Features
|
|
2391
|
+
* @description RFC 7946 compliant GeoJSON 'Polygon' format with particular reference given to coordinates defined as [Longitude, Latitude] with the winding order of exterior rings being counter-clockwise and holes are clockwise. Unclosed polygons will be automatically closed by setting the final coordinate equal to the first coordinate.
|
|
2392
|
+
*/
|
|
2393
|
+
features: components["schemas"]["GeoJsonPolygonFeature_GeocageProperties_"][];
|
|
2394
|
+
/**
|
|
2395
|
+
* Geocage name
|
|
2396
|
+
* @description User set name for a Geocage, it can have a maximum of 255 characters, as well as contain symbols and spacing.
|
|
2397
|
+
* @example Bath_Geocage 2
|
|
2398
|
+
*/
|
|
2399
|
+
viaName: string | null;
|
|
2400
|
+
/**
|
|
2401
|
+
* Isfence
|
|
2402
|
+
* @description Whether to treat the geocage as a geofence. If true, areas touched by the geocage are considered non-flyable. If false, areas wholly contained inside the geocage as considered flyable.
|
|
2403
|
+
* @default false
|
|
2404
|
+
*/
|
|
2405
|
+
isFence: boolean;
|
|
2331
2406
|
};
|
|
2332
2407
|
/** GeocageProperties */
|
|
2333
2408
|
GeocageProperties: Record<string, never>;
|
|
@@ -2346,7 +2421,7 @@ export interface components {
|
|
|
2346
2421
|
* @constant
|
|
2347
2422
|
*/
|
|
2348
2423
|
type?: "geocage";
|
|
2349
|
-
attributes: components["schemas"]["Geocage"];
|
|
2424
|
+
attributes: components["schemas"]["Geocage-Output"];
|
|
2350
2425
|
};
|
|
2351
2426
|
/**
|
|
2352
2427
|
* Georeference
|
|
@@ -8360,7 +8435,7 @@ export interface operations {
|
|
|
8360
8435
|
};
|
|
8361
8436
|
requestBody: {
|
|
8362
8437
|
content: {
|
|
8363
|
-
"application/json": components["schemas"]["Geocage"];
|
|
8438
|
+
"application/json": components["schemas"]["Geocage-Input"];
|
|
8364
8439
|
};
|
|
8365
8440
|
};
|
|
8366
8441
|
responses: {
|
|
@@ -8490,7 +8565,7 @@ export interface operations {
|
|
|
8490
8565
|
};
|
|
8491
8566
|
requestBody: {
|
|
8492
8567
|
content: {
|
|
8493
|
-
"application/json": components["schemas"]["Geocage"];
|
|
8568
|
+
"application/json": components["schemas"]["Geocage-Input"];
|
|
8494
8569
|
};
|
|
8495
8570
|
};
|
|
8496
8571
|
responses: {
|