@volant-autonomy/via-sdk 1.5324.1 → 1.5328.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 +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/volant-schema.d.ts +145 -12
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type Expand<T> = T extends infer O ? {
|
|
|
18
18
|
} : never;
|
|
19
19
|
/** The raw API schemas from openapi.json */
|
|
20
20
|
export type schemas = components['schemas'];
|
|
21
|
-
export type Waypoint = schemas['StartWaypoint-Input'] | schemas['GotoWaypoint-Input'];
|
|
21
|
+
export type Waypoint = schemas['StartWaypoint-Input'] | schemas['GotoWaypoint-Input'] | schemas['GotoLoiterWaypoint-Input'];
|
|
22
22
|
export type Checkpoint = schemas['GotoPathingCheckpoint'] | schemas['StartPathingCheckpoint'];
|
|
23
23
|
export type PathingTaskState = schemas['PathingTaskState'];
|
|
24
24
|
export declare class UnauthenticatedError extends Error {
|
package/dist/volant-schema.d.ts
CHANGED
|
@@ -212,6 +212,8 @@ export interface paths {
|
|
|
212
212
|
/**
|
|
213
213
|
* Retrieve a formatted version of a Flightplan
|
|
214
214
|
* @description Retrieve a formatted version of the specified flightplan to download as a file.
|
|
215
|
+
*
|
|
216
|
+
* Exports flightplan waypoints with AMSL (Above Mean Sea Level) altitudes in KML format.
|
|
215
217
|
*/
|
|
216
218
|
get: operations["flightplan_content_download_v1_flightplans__flightplan_id__content_get"];
|
|
217
219
|
put?: never;
|
|
@@ -1899,7 +1901,7 @@ export interface components {
|
|
|
1899
1901
|
* }
|
|
1900
1902
|
* ]
|
|
1901
1903
|
*/
|
|
1902
|
-
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
|
|
1904
|
+
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
|
|
1903
1905
|
/**
|
|
1904
1906
|
* @description Terrain Elevation Data Source. Data has been reprojected and resampled to a square grid in UTM coordinates to work in the context of VIA's services. The value in each cell of the grid is the largest value present in any of the cells of the source grid it intersects. Terrain is reported as elevation in metres above the EGM2008 Geoid (EPSG:3855) and does not include buildings or man-made structures.
|
|
1905
1907
|
* @default NASADEM
|
|
@@ -2010,7 +2012,7 @@ export interface components {
|
|
|
2010
2012
|
* }
|
|
2011
2013
|
* ]
|
|
2012
2014
|
*/
|
|
2013
|
-
waypoints: (components["schemas"]["StartWaypoint-Output"] | components["schemas"]["GotoWaypoint-Output"])[];
|
|
2015
|
+
waypoints: (components["schemas"]["StartWaypoint-Output"] | components["schemas"]["GotoWaypoint-Output"] | components["schemas"]["GotoLoiterWaypoint-Output"])[];
|
|
2014
2016
|
/**
|
|
2015
2017
|
* @description Terrain Elevation Data Source. Data has been reprojected and resampled to a square grid in UTM coordinates to work in the context of VIA's services. The value in each cell of the grid is the largest value present in any of the cells of the source grid it intersects. Terrain is reported as elevation in metres above the EGM2008 Geoid (EPSG:3855) and does not include buildings or man-made structures.
|
|
2016
2018
|
* @default NASADEM
|
|
@@ -2391,6 +2393,120 @@ export interface components {
|
|
|
2391
2393
|
*/
|
|
2392
2394
|
affine_transform: number[];
|
|
2393
2395
|
};
|
|
2396
|
+
/**
|
|
2397
|
+
* GotoLoiterWaypoint
|
|
2398
|
+
* @description Fly to a specified location under given `flight_parameters` accounting for given `wind_parameters` and loiter at the
|
|
2399
|
+
* location.
|
|
2400
|
+
*
|
|
2401
|
+
* All parameters are defined as to be used during the leg flying towards this waypoint. Loiters are defined as
|
|
2402
|
+
* circular about the position with diameter equal to the volumes derived for the goto section with altitude bounds
|
|
2403
|
+
* derived as a "puck" about the position's altitude.
|
|
2404
|
+
*
|
|
2405
|
+
* NOTE: The `speed` provided in `wind_parameters` must be less than the `airspeed` provided in `flight_parameters`
|
|
2406
|
+
*/
|
|
2407
|
+
"GotoLoiterWaypoint-Input": {
|
|
2408
|
+
/**
|
|
2409
|
+
* @description The type of a `Waypoint`
|
|
2410
|
+
*
|
|
2411
|
+
* - `START`: The beginning of a `Flightplan`
|
|
2412
|
+
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
2413
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
2414
|
+
* (enum property replaced by openapi-typescript)
|
|
2415
|
+
* @enum {string}
|
|
2416
|
+
*/
|
|
2417
|
+
type: "goto_loiter";
|
|
2418
|
+
position: components["schemas"]["Wgs84Position-Input"];
|
|
2419
|
+
flight_parameters: components["schemas"]["FlightParameters"];
|
|
2420
|
+
wind_parameters?: components["schemas"]["WindParameters"];
|
|
2421
|
+
loiter_parameters: components["schemas"]["LoiterParameters"];
|
|
2422
|
+
};
|
|
2423
|
+
/**
|
|
2424
|
+
* GotoLoiterWaypoint
|
|
2425
|
+
* @description Fly to a specified location under given `flight_parameters` accounting for given `wind_parameters` and loiter at the
|
|
2426
|
+
* location.
|
|
2427
|
+
*
|
|
2428
|
+
* All parameters are defined as to be used during the leg flying towards this waypoint. Loiters are defined as
|
|
2429
|
+
* circular about the position with diameter equal to the volumes derived for the goto section with altitude bounds
|
|
2430
|
+
* derived as a "puck" about the position's altitude.
|
|
2431
|
+
*
|
|
2432
|
+
* NOTE: The `speed` provided in `wind_parameters` must be less than the `airspeed` provided in `flight_parameters`
|
|
2433
|
+
*/
|
|
2434
|
+
"GotoLoiterWaypoint-Output": {
|
|
2435
|
+
/**
|
|
2436
|
+
* @description The type of a `Waypoint`
|
|
2437
|
+
*
|
|
2438
|
+
* - `START`: The beginning of a `Flightplan`
|
|
2439
|
+
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
2440
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
2441
|
+
* (enum property replaced by openapi-typescript)
|
|
2442
|
+
* @enum {string}
|
|
2443
|
+
*/
|
|
2444
|
+
type: "goto_loiter";
|
|
2445
|
+
position: components["schemas"]["Wgs84Position-Output"];
|
|
2446
|
+
flight_parameters: components["schemas"]["FlightParameters"];
|
|
2447
|
+
wind_parameters?: components["schemas"]["WindParameters"];
|
|
2448
|
+
loiter_parameters: components["schemas"]["LoiterParameters"];
|
|
2449
|
+
};
|
|
2450
|
+
/** GotoLoiterWaypointDetail */
|
|
2451
|
+
GotoLoiterWaypointDetail: {
|
|
2452
|
+
/**
|
|
2453
|
+
* Type
|
|
2454
|
+
* @description The type of a `Waypoint`
|
|
2455
|
+
*
|
|
2456
|
+
* - `START`: The beginning of a `Flightplan`
|
|
2457
|
+
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
2458
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
2459
|
+
* @constant
|
|
2460
|
+
*/
|
|
2461
|
+
type: "goto_loiter";
|
|
2462
|
+
position: components["schemas"]["Wgs84Position-Output"];
|
|
2463
|
+
flight_parameters: components["schemas"]["FlightParameters"];
|
|
2464
|
+
wind_parameters?: components["schemas"]["WindParameters"];
|
|
2465
|
+
loiter_parameters: components["schemas"]["LoiterParameters"];
|
|
2466
|
+
/**
|
|
2467
|
+
* Waypoint ID
|
|
2468
|
+
* Format: uuid
|
|
2469
|
+
* @description Unique identifier of the waypoint.
|
|
2470
|
+
* @default {
|
|
2471
|
+
* "strict": false
|
|
2472
|
+
* }
|
|
2473
|
+
* @example 03e5572a-f733-49af-bc14-8a18bd53ee39
|
|
2474
|
+
*/
|
|
2475
|
+
id?: string;
|
|
2476
|
+
/**
|
|
2477
|
+
* Waypoint Index
|
|
2478
|
+
* @description The position of the waypoint in the flightplan.
|
|
2479
|
+
* @example 0
|
|
2480
|
+
* @example 1
|
|
2481
|
+
* @example 2
|
|
2482
|
+
*/
|
|
2483
|
+
index: number;
|
|
2484
|
+
/**
|
|
2485
|
+
* Time
|
|
2486
|
+
* Format: date-time
|
|
2487
|
+
* @description RFC3339-formatted (section 5.6) and ISO8601-compatible. The date/time separator must be 'T' and the time zone must be 'Z' or '+00:00'. Values must be between '1970-01-01T00:00:00Z' and '2100-01-01T00:00:00Z'.
|
|
2488
|
+
* @example 2023-10-30T10:57:57Z
|
|
2489
|
+
* @example 2023-10-30T10:57:57+00:00
|
|
2490
|
+
*/
|
|
2491
|
+
time: string;
|
|
2492
|
+
/**
|
|
2493
|
+
* Planar Distance
|
|
2494
|
+
* @description The cumulative distance along a flat horizontal 2D plane (ignoring altitude) of the projected path between the start position and this position following all prior waypoints. This value is expressed in metres and is the result of a cartesian reprojection and therefore is not guaranteed to match the minimum straight-line distance between waypoints.
|
|
2495
|
+
*/
|
|
2496
|
+
planar_distance: number;
|
|
2497
|
+
/**
|
|
2498
|
+
* Above Mean Sea Level (AMSL) Altitude
|
|
2499
|
+
* @description Altitude above mean sea level (AMSL), expressed in metres. This value is derived by combining the input altitude (specified above ground level (AGL)) with the terrain elevation from the selected elevation dataset.
|
|
2500
|
+
* @example 100
|
|
2501
|
+
*/
|
|
2502
|
+
altitude_amsl: number;
|
|
2503
|
+
/**
|
|
2504
|
+
* WGS84 Ellipsoidal Altitude
|
|
2505
|
+
* @description Height above the WGS84 Ellipsoid, expressed in metres.
|
|
2506
|
+
* @example 120
|
|
2507
|
+
*/
|
|
2508
|
+
altitude_wgs84_ellipsoidal: number;
|
|
2509
|
+
};
|
|
2394
2510
|
/**
|
|
2395
2511
|
* GotoPathingCheckpoint
|
|
2396
2512
|
* @description A position that the resulting path must pass through.
|
|
@@ -2425,6 +2541,7 @@ export interface components {
|
|
|
2425
2541
|
*
|
|
2426
2542
|
* - `START`: The beginning of a `Flightplan`
|
|
2427
2543
|
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
2544
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
2428
2545
|
* (enum property replaced by openapi-typescript)
|
|
2429
2546
|
* @enum {string}
|
|
2430
2547
|
*/
|
|
@@ -2447,6 +2564,7 @@ export interface components {
|
|
|
2447
2564
|
*
|
|
2448
2565
|
* - `START`: The beginning of a `Flightplan`
|
|
2449
2566
|
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
2567
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
2450
2568
|
* (enum property replaced by openapi-typescript)
|
|
2451
2569
|
* @enum {string}
|
|
2452
2570
|
*/
|
|
@@ -2463,6 +2581,7 @@ export interface components {
|
|
|
2463
2581
|
*
|
|
2464
2582
|
* - `START`: The beginning of a `Flightplan`
|
|
2465
2583
|
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
2584
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
2466
2585
|
* @constant
|
|
2467
2586
|
*/
|
|
2468
2587
|
type: "goto";
|
|
@@ -2480,8 +2599,8 @@ export interface components {
|
|
|
2480
2599
|
*/
|
|
2481
2600
|
id?: string;
|
|
2482
2601
|
/**
|
|
2483
|
-
* Index
|
|
2484
|
-
* @description The position of the waypoint in the flightplan
|
|
2602
|
+
* Waypoint Index
|
|
2603
|
+
* @description The position of the waypoint in the flightplan.
|
|
2485
2604
|
* @example 0
|
|
2486
2605
|
* @example 1
|
|
2487
2606
|
* @example 2
|
|
@@ -2905,6 +3024,16 @@ export interface components {
|
|
|
2905
3024
|
*/
|
|
2906
3025
|
expires_in: number;
|
|
2907
3026
|
};
|
|
3027
|
+
/** LoiterParameters */
|
|
3028
|
+
LoiterParameters: {
|
|
3029
|
+
/**
|
|
3030
|
+
* Duration
|
|
3031
|
+
* Format: duration
|
|
3032
|
+
* @description The duration to loiter at the waypoint position.
|
|
3033
|
+
* @example PT5M
|
|
3034
|
+
*/
|
|
3035
|
+
duration: string;
|
|
3036
|
+
};
|
|
2908
3037
|
/**
|
|
2909
3038
|
* ManagedCostDatasetMetadata
|
|
2910
3039
|
* @description Set of parameters to calculate the pre-processed chart cost fields that uniquely specify a pre-processed cost field.
|
|
@@ -3036,7 +3165,7 @@ export interface components {
|
|
|
3036
3165
|
* }
|
|
3037
3166
|
* ]
|
|
3038
3167
|
*/
|
|
3039
|
-
waypoints: (components["schemas"]["StartWaypoint-Output"] | components["schemas"]["GotoWaypoint-Output"])[];
|
|
3168
|
+
waypoints: (components["schemas"]["StartWaypoint-Output"] | components["schemas"]["GotoWaypoint-Output"] | components["schemas"]["GotoLoiterWaypoint-Output"])[];
|
|
3040
3169
|
/**
|
|
3041
3170
|
* Time Start
|
|
3042
3171
|
* Format: date-time
|
|
@@ -3623,7 +3752,7 @@ export interface components {
|
|
|
3623
3752
|
* }
|
|
3624
3753
|
* ]
|
|
3625
3754
|
*/
|
|
3626
|
-
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
|
|
3755
|
+
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
|
|
3627
3756
|
aircraft: components["schemas"]["Aircraft"];
|
|
3628
3757
|
ground_risk_mitigations: components["schemas"]["JarusV25GroundRiskMitigations"];
|
|
3629
3758
|
/**
|
|
@@ -3722,7 +3851,7 @@ export interface components {
|
|
|
3722
3851
|
* }
|
|
3723
3852
|
* ]
|
|
3724
3853
|
*/
|
|
3725
|
-
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
|
|
3854
|
+
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
|
|
3726
3855
|
/**
|
|
3727
3856
|
* Ground Risk Buffer
|
|
3728
3857
|
* @description The ground risk buffer is an area on the ground that surrounds the footprint of the contingency volume. It is expected that if the flight exits the contingency volume during a loss of control of the operation that the flight will be terminated within this lateral distance.
|
|
@@ -3760,6 +3889,7 @@ export interface components {
|
|
|
3760
3889
|
*
|
|
3761
3890
|
* - `START`: The beginning of a `Flightplan`
|
|
3762
3891
|
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
3892
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
3763
3893
|
* (enum property replaced by openapi-typescript)
|
|
3764
3894
|
* @enum {string}
|
|
3765
3895
|
*/
|
|
@@ -3776,6 +3906,7 @@ export interface components {
|
|
|
3776
3906
|
*
|
|
3777
3907
|
* - `START`: The beginning of a `Flightplan`
|
|
3778
3908
|
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
3909
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
3779
3910
|
* (enum property replaced by openapi-typescript)
|
|
3780
3911
|
* @enum {string}
|
|
3781
3912
|
*/
|
|
@@ -3790,6 +3921,7 @@ export interface components {
|
|
|
3790
3921
|
*
|
|
3791
3922
|
* - `START`: The beginning of a `Flightplan`
|
|
3792
3923
|
* - `GOTO` : Fly to and directly pass through a location under certain parameters
|
|
3924
|
+
* - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
|
|
3793
3925
|
* @constant
|
|
3794
3926
|
*/
|
|
3795
3927
|
type: "start";
|
|
@@ -3805,8 +3937,8 @@ export interface components {
|
|
|
3805
3937
|
*/
|
|
3806
3938
|
id?: string;
|
|
3807
3939
|
/**
|
|
3808
|
-
* Index
|
|
3809
|
-
* @description The position of the waypoint in the flightplan
|
|
3940
|
+
* Waypoint Index
|
|
3941
|
+
* @description The position of the waypoint in the flightplan.
|
|
3810
3942
|
* @example 0
|
|
3811
3943
|
* @example 1
|
|
3812
3944
|
* @example 2
|
|
@@ -4272,7 +4404,7 @@ export interface components {
|
|
|
4272
4404
|
* }
|
|
4273
4405
|
* ]
|
|
4274
4406
|
*/
|
|
4275
|
-
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
|
|
4407
|
+
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
|
|
4276
4408
|
/**
|
|
4277
4409
|
* Ground Risk Buffer
|
|
4278
4410
|
* @description The ground risk buffer is an area on the ground that surrounds the footprint of the contingency volume. It is expected that if the flight exits the contingency volume during a loss of control of the operation that the flight will be terminated within this lateral distance.
|
|
@@ -4375,7 +4507,7 @@ export interface components {
|
|
|
4375
4507
|
* }
|
|
4376
4508
|
* ]
|
|
4377
4509
|
*/
|
|
4378
|
-
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
|
|
4510
|
+
waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
|
|
4379
4511
|
aircraft: components["schemas"]["Aircraft"];
|
|
4380
4512
|
ground_risk_mitigations: components["schemas"]["UkGroundRiskMitigations"];
|
|
4381
4513
|
/**
|
|
@@ -4562,6 +4694,7 @@ export interface components {
|
|
|
4562
4694
|
*/
|
|
4563
4695
|
maximum_length?: number | null;
|
|
4564
4696
|
};
|
|
4697
|
+
WaypointDetail: components["schemas"]["StartWaypointDetail"] | components["schemas"]["GotoWaypointDetail"] | components["schemas"]["GotoLoiterWaypointDetail"];
|
|
4565
4698
|
/** WaypointDetailAttributes */
|
|
4566
4699
|
WaypointDetailAttributes: {
|
|
4567
4700
|
/**
|
|
@@ -4615,7 +4748,7 @@ export interface components {
|
|
|
4615
4748
|
* }
|
|
4616
4749
|
* ]
|
|
4617
4750
|
*/
|
|
4618
|
-
waypoints:
|
|
4751
|
+
waypoints: components["schemas"]["WaypointDetail"][];
|
|
4619
4752
|
};
|
|
4620
4753
|
/**
|
|
4621
4754
|
* WaypointDetailResponse
|