@volant-autonomy/via-sdk 1.5324.1 → 1.5334.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/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 {
@@ -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;
@@ -1788,6 +1790,8 @@ export interface components {
1788
1790
  population_density: components["schemas"]["PopulationSource"][];
1789
1791
  /** Terrain Elevation */
1790
1792
  terrain_elevation: components["schemas"]["TerrainSource"][];
1793
+ /** Surface Elevation */
1794
+ surface_elevation: components["schemas"]["SurfaceSource"][];
1791
1795
  };
1792
1796
  /**
1793
1797
  * FinalGRC
@@ -1899,7 +1903,7 @@ export interface components {
1899
1903
  * }
1900
1904
  * ]
1901
1905
  */
1902
- waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
1906
+ waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
1903
1907
  /**
1904
1908
  * @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
1909
  * @default NASADEM
@@ -2010,7 +2014,7 @@ export interface components {
2010
2014
  * }
2011
2015
  * ]
2012
2016
  */
2013
- waypoints: (components["schemas"]["StartWaypoint-Output"] | components["schemas"]["GotoWaypoint-Output"])[];
2017
+ waypoints: (components["schemas"]["StartWaypoint-Output"] | components["schemas"]["GotoWaypoint-Output"] | components["schemas"]["GotoLoiterWaypoint-Output"])[];
2014
2018
  /**
2015
2019
  * @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
2020
  * @default NASADEM
@@ -2391,6 +2395,120 @@ export interface components {
2391
2395
  */
2392
2396
  affine_transform: number[];
2393
2397
  };
2398
+ /**
2399
+ * GotoLoiterWaypoint
2400
+ * @description Fly to a specified location under given `flight_parameters` accounting for given `wind_parameters` and loiter at the
2401
+ * location.
2402
+ *
2403
+ * All parameters are defined as to be used during the leg flying towards this waypoint. Loiters are defined as
2404
+ * circular about the position with diameter equal to the volumes derived for the goto section with altitude bounds
2405
+ * derived as a "puck" about the position's altitude.
2406
+ *
2407
+ * NOTE: The `speed` provided in `wind_parameters` must be less than the `airspeed` provided in `flight_parameters`
2408
+ */
2409
+ "GotoLoiterWaypoint-Input": {
2410
+ /**
2411
+ * @description The type of a `Waypoint`
2412
+ *
2413
+ * - `START`: The beginning of a `Flightplan`
2414
+ * - `GOTO` : Fly to and directly pass through a location under certain parameters
2415
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
2416
+ * (enum property replaced by openapi-typescript)
2417
+ * @enum {string}
2418
+ */
2419
+ type: "goto_loiter";
2420
+ position: components["schemas"]["Wgs84Position-Input"];
2421
+ flight_parameters: components["schemas"]["FlightParameters"];
2422
+ wind_parameters?: components["schemas"]["WindParameters"];
2423
+ loiter_parameters: components["schemas"]["LoiterParameters"];
2424
+ };
2425
+ /**
2426
+ * GotoLoiterWaypoint
2427
+ * @description Fly to a specified location under given `flight_parameters` accounting for given `wind_parameters` and loiter at the
2428
+ * location.
2429
+ *
2430
+ * All parameters are defined as to be used during the leg flying towards this waypoint. Loiters are defined as
2431
+ * circular about the position with diameter equal to the volumes derived for the goto section with altitude bounds
2432
+ * derived as a "puck" about the position's altitude.
2433
+ *
2434
+ * NOTE: The `speed` provided in `wind_parameters` must be less than the `airspeed` provided in `flight_parameters`
2435
+ */
2436
+ "GotoLoiterWaypoint-Output": {
2437
+ /**
2438
+ * @description The type of a `Waypoint`
2439
+ *
2440
+ * - `START`: The beginning of a `Flightplan`
2441
+ * - `GOTO` : Fly to and directly pass through a location under certain parameters
2442
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
2443
+ * (enum property replaced by openapi-typescript)
2444
+ * @enum {string}
2445
+ */
2446
+ type: "goto_loiter";
2447
+ position: components["schemas"]["Wgs84Position-Output"];
2448
+ flight_parameters: components["schemas"]["FlightParameters"];
2449
+ wind_parameters?: components["schemas"]["WindParameters"];
2450
+ loiter_parameters: components["schemas"]["LoiterParameters"];
2451
+ };
2452
+ /** GotoLoiterWaypointDetail */
2453
+ GotoLoiterWaypointDetail: {
2454
+ /**
2455
+ * Type
2456
+ * @description The type of a `Waypoint`
2457
+ *
2458
+ * - `START`: The beginning of a `Flightplan`
2459
+ * - `GOTO` : Fly to and directly pass through a location under certain parameters
2460
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
2461
+ * @constant
2462
+ */
2463
+ type: "goto_loiter";
2464
+ position: components["schemas"]["Wgs84Position-Output"];
2465
+ flight_parameters: components["schemas"]["FlightParameters"];
2466
+ wind_parameters?: components["schemas"]["WindParameters"];
2467
+ loiter_parameters: components["schemas"]["LoiterParameters"];
2468
+ /**
2469
+ * Waypoint ID
2470
+ * Format: uuid
2471
+ * @description Unique identifier of the waypoint.
2472
+ * @default {
2473
+ * "strict": false
2474
+ * }
2475
+ * @example 03e5572a-f733-49af-bc14-8a18bd53ee39
2476
+ */
2477
+ id?: string;
2478
+ /**
2479
+ * Waypoint Index
2480
+ * @description The position of the waypoint in the flightplan.
2481
+ * @example 0
2482
+ * @example 1
2483
+ * @example 2
2484
+ */
2485
+ index: number;
2486
+ /**
2487
+ * Time
2488
+ * Format: date-time
2489
+ * @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'.
2490
+ * @example 2023-10-30T10:57:57Z
2491
+ * @example 2023-10-30T10:57:57+00:00
2492
+ */
2493
+ time: string;
2494
+ /**
2495
+ * Planar Distance
2496
+ * @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.
2497
+ */
2498
+ planar_distance: number;
2499
+ /**
2500
+ * Above Mean Sea Level (AMSL) Altitude
2501
+ * @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.
2502
+ * @example 100
2503
+ */
2504
+ altitude_amsl: number;
2505
+ /**
2506
+ * WGS84 Ellipsoidal Altitude
2507
+ * @description Height above the WGS84 Ellipsoid, expressed in metres.
2508
+ * @example 120
2509
+ */
2510
+ altitude_wgs84_ellipsoidal: number;
2511
+ };
2394
2512
  /**
2395
2513
  * GotoPathingCheckpoint
2396
2514
  * @description A position that the resulting path must pass through.
@@ -2425,6 +2543,7 @@ export interface components {
2425
2543
  *
2426
2544
  * - `START`: The beginning of a `Flightplan`
2427
2545
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
2546
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
2428
2547
  * (enum property replaced by openapi-typescript)
2429
2548
  * @enum {string}
2430
2549
  */
@@ -2447,6 +2566,7 @@ export interface components {
2447
2566
  *
2448
2567
  * - `START`: The beginning of a `Flightplan`
2449
2568
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
2569
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
2450
2570
  * (enum property replaced by openapi-typescript)
2451
2571
  * @enum {string}
2452
2572
  */
@@ -2463,6 +2583,7 @@ export interface components {
2463
2583
  *
2464
2584
  * - `START`: The beginning of a `Flightplan`
2465
2585
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
2586
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
2466
2587
  * @constant
2467
2588
  */
2468
2589
  type: "goto";
@@ -2480,8 +2601,8 @@ export interface components {
2480
2601
  */
2481
2602
  id?: string;
2482
2603
  /**
2483
- * Index
2484
- * @description The position of the waypoint in the flightplan
2604
+ * Waypoint Index
2605
+ * @description The position of the waypoint in the flightplan.
2485
2606
  * @example 0
2486
2607
  * @example 1
2487
2608
  * @example 2
@@ -2905,6 +3026,16 @@ export interface components {
2905
3026
  */
2906
3027
  expires_in: number;
2907
3028
  };
3029
+ /** LoiterParameters */
3030
+ LoiterParameters: {
3031
+ /**
3032
+ * Duration
3033
+ * Format: duration
3034
+ * @description The duration to loiter at the waypoint position.
3035
+ * @example PT5M
3036
+ */
3037
+ duration: string;
3038
+ };
2908
3039
  /**
2909
3040
  * ManagedCostDatasetMetadata
2910
3041
  * @description Set of parameters to calculate the pre-processed chart cost fields that uniquely specify a pre-processed cost field.
@@ -3036,7 +3167,7 @@ export interface components {
3036
3167
  * }
3037
3168
  * ]
3038
3169
  */
3039
- waypoints: (components["schemas"]["StartWaypoint-Output"] | components["schemas"]["GotoWaypoint-Output"])[];
3170
+ waypoints: (components["schemas"]["StartWaypoint-Output"] | components["schemas"]["GotoWaypoint-Output"] | components["schemas"]["GotoLoiterWaypoint-Output"])[];
3040
3171
  /**
3041
3172
  * Time Start
3042
3173
  * Format: date-time
@@ -3623,7 +3754,7 @@ export interface components {
3623
3754
  * }
3624
3755
  * ]
3625
3756
  */
3626
- waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
3757
+ waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
3627
3758
  aircraft: components["schemas"]["Aircraft"];
3628
3759
  ground_risk_mitigations: components["schemas"]["JarusV25GroundRiskMitigations"];
3629
3760
  /**
@@ -3722,7 +3853,7 @@ export interface components {
3722
3853
  * }
3723
3854
  * ]
3724
3855
  */
3725
- waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
3856
+ waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
3726
3857
  /**
3727
3858
  * Ground Risk Buffer
3728
3859
  * @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 +3891,7 @@ export interface components {
3760
3891
  *
3761
3892
  * - `START`: The beginning of a `Flightplan`
3762
3893
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
3894
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
3763
3895
  * (enum property replaced by openapi-typescript)
3764
3896
  * @enum {string}
3765
3897
  */
@@ -3776,6 +3908,7 @@ export interface components {
3776
3908
  *
3777
3909
  * - `START`: The beginning of a `Flightplan`
3778
3910
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
3911
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
3779
3912
  * (enum property replaced by openapi-typescript)
3780
3913
  * @enum {string}
3781
3914
  */
@@ -3790,6 +3923,7 @@ export interface components {
3790
3923
  *
3791
3924
  * - `START`: The beginning of a `Flightplan`
3792
3925
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
3926
+ * - `GOTO_LOITER`: Fly to and loiter at a location under certain parameters
3793
3927
  * @constant
3794
3928
  */
3795
3929
  type: "start";
@@ -3805,8 +3939,8 @@ export interface components {
3805
3939
  */
3806
3940
  id?: string;
3807
3941
  /**
3808
- * Index
3809
- * @description The position of the waypoint in the flightplan
3942
+ * Waypoint Index
3943
+ * @description The position of the waypoint in the flightplan.
3810
3944
  * @example 0
3811
3945
  * @example 1
3812
3946
  * @example 2
@@ -4272,7 +4406,7 @@ export interface components {
4272
4406
  * }
4273
4407
  * ]
4274
4408
  */
4275
- waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
4409
+ waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
4276
4410
  /**
4277
4411
  * Ground Risk Buffer
4278
4412
  * @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 +4509,7 @@ export interface components {
4375
4509
  * }
4376
4510
  * ]
4377
4511
  */
4378
- waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"])[];
4512
+ waypoints: (components["schemas"]["StartWaypoint-Input"] | components["schemas"]["GotoWaypoint-Input"] | components["schemas"]["GotoLoiterWaypoint-Input"])[];
4379
4513
  aircraft: components["schemas"]["Aircraft"];
4380
4514
  ground_risk_mitigations: components["schemas"]["UkGroundRiskMitigations"];
4381
4515
  /**
@@ -4562,6 +4696,7 @@ export interface components {
4562
4696
  */
4563
4697
  maximum_length?: number | null;
4564
4698
  };
4699
+ WaypointDetail: components["schemas"]["StartWaypointDetail"] | components["schemas"]["GotoWaypointDetail"] | components["schemas"]["GotoLoiterWaypointDetail"];
4565
4700
  /** WaypointDetailAttributes */
4566
4701
  WaypointDetailAttributes: {
4567
4702
  /**
@@ -4615,7 +4750,7 @@ export interface components {
4615
4750
  * }
4616
4751
  * ]
4617
4752
  */
4618
- waypoints: (components["schemas"]["StartWaypointDetail"] | components["schemas"]["GotoWaypointDetail"])[];
4753
+ waypoints: components["schemas"]["WaypointDetail"][];
4619
4754
  };
4620
4755
  /**
4621
4756
  * WaypointDetailResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volant-autonomy/via-sdk",
3
- "version": "1.5324.1",
3
+ "version": "1.5334.1",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "types": "dist/index.d.ts",