@volant-autonomy/via-sdk 1.3512.1 → 1.3554.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.
@@ -314,6 +314,31 @@ export interface paths {
314
314
  patch?: never;
315
315
  trace?: never;
316
316
  };
317
+ "/pathing_tasks/{pathing_task_id}/state": {
318
+ parameters: {
319
+ query?: never;
320
+ header?: never;
321
+ path?: never;
322
+ cookie?: never;
323
+ };
324
+ /**
325
+ * Receive state change updates for a pathing task
326
+ * @description Opens a persistent connection that sends real-time updates about changes in a pathing task's state using Server-Sent
327
+ * Events (SSE).
328
+ *
329
+ * Provides an event stream that can be connected to that will provide updates when the state of the specified pathing
330
+ * task changes. Once it has reached it's final state, the last update is pushed and the stream is automatically
331
+ * closed.
332
+ */
333
+ get: operations["get_pathing_task_result_v1_pathing_tasks__pathing_task_id__state_get"];
334
+ put?: never;
335
+ post?: never;
336
+ delete?: never;
337
+ options?: never;
338
+ head?: never;
339
+ patch?: never;
340
+ trace?: never;
341
+ };
317
342
  "/aircraft/": {
318
343
  parameters: {
319
344
  query?: never;
@@ -1174,6 +1199,7 @@ export interface components {
1174
1199
  */
1175
1200
  bounding_polygon: components["schemas"]["Wgs84Point"][];
1176
1201
  data_sources: components["schemas"]["DataSources"];
1202
+ georeference: components["schemas"]["Georeference"];
1177
1203
  };
1178
1204
  /** ChartResponse */
1179
1205
  ChartResponse: {
@@ -1571,6 +1597,42 @@ export interface components {
1571
1597
  type?: "geocage";
1572
1598
  attributes: components["schemas"]["Geocage-Output"];
1573
1599
  };
1600
+ /**
1601
+ * Georeference
1602
+ * @description Geospatial reference information for a Chart in native CRS, typically a UTM zone.
1603
+ */
1604
+ Georeference: {
1605
+ /**
1606
+ * Coordinate Reference System
1607
+ * @description CRS (Coordinate Reference System) of the underlying raster data, typically a UTM zone represented using an EPSG code in standardised format EPSG:EPSG_CODE, where EPSG_CODE is an integer. Refer to https://epsg.org/home.html for more information regarding specific EPSG codes.
1608
+ */
1609
+ crs: string;
1610
+ /**
1611
+ * Resolution
1612
+ * @description The resolution of each cell, defined in metres.
1613
+ */
1614
+ resolution: number;
1615
+ /**
1616
+ * Raster Shape
1617
+ * @description Shape of the underlying raster grid defined as (height, width) in cells.
1618
+ */
1619
+ shape: number[];
1620
+ /**
1621
+ * Affine Transform
1622
+ * @description
1623
+ * Affine transformation represented in GDAL format:
1624
+ * [a, b, c, d, e, f]
1625
+ * This corresponds to the 2D affine transformation matrix:
1626
+ * | a b c |
1627
+ * | d e f |
1628
+ * Used to transform pixel coordinates (col, row) to spatial coordinates (x, y) as:
1629
+ * x = a * col + b * row + c
1630
+ * y = d * col + e * row + f
1631
+ * Note that this transform is created assuming North-Down convention such that the cell (0,0) represents the NW cell of the raster with the y-coordinate decreasing with increasing y-index.
1632
+ *
1633
+ */
1634
+ affine_transform: number[];
1635
+ };
1574
1636
  /**
1575
1637
  * GotoPathingCheckpoint
1576
1638
  * @description Generate a path to a specified location under given `flight_parameters` accounting for given `wind_parameters` and
@@ -1578,13 +1640,12 @@ export interface components {
1578
1640
  */
1579
1641
  GotoPathingCheckpoint: {
1580
1642
  /**
1581
- * Type
1582
1643
  * @description The type of a Pathing Checkpoint
1583
1644
  *
1584
1645
  * - `START`: The beginning of a Pathing Task
1585
1646
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
1586
- *
1587
- * @constant
1647
+ * (enum property replaced by openapi-typescript)
1648
+ * @enum {string}
1588
1649
  */
1589
1650
  type: "goto";
1590
1651
  position: components["schemas"]["Wgs84Position"];
@@ -1599,13 +1660,12 @@ export interface components {
1599
1660
  */
1600
1661
  "GotoWaypoint-Input": {
1601
1662
  /**
1602
- * Type
1603
1663
  * @description The type of a `Waypoint`
1604
1664
  *
1605
1665
  * - `START`: The beginning of a `Flightplan`
1606
1666
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
1607
- *
1608
- * @constant
1667
+ * (enum property replaced by openapi-typescript)
1668
+ * @enum {string}
1609
1669
  */
1610
1670
  type: "goto";
1611
1671
  position: components["schemas"]["Wgs84Position"];
@@ -1621,13 +1681,12 @@ export interface components {
1621
1681
  */
1622
1682
  "GotoWaypoint-Output": {
1623
1683
  /**
1624
- * Type
1625
1684
  * @description The type of a `Waypoint`
1626
1685
  *
1627
1686
  * - `START`: The beginning of a `Flightplan`
1628
1687
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
1629
- *
1630
- * @constant
1688
+ * (enum property replaced by openapi-typescript)
1689
+ * @enum {string}
1631
1690
  */
1632
1691
  type: "goto";
1633
1692
  position: components["schemas"]["Wgs84Position"];
@@ -2414,13 +2473,12 @@ export interface components {
2414
2473
  */
2415
2474
  StartPathingCheckpoint: {
2416
2475
  /**
2417
- * Type
2418
2476
  * @description The type of a Pathing Checkpoint
2419
2477
  *
2420
2478
  * - `START`: The beginning of a Pathing Task
2421
2479
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
2422
- *
2423
- * @constant
2480
+ * (enum property replaced by openapi-typescript)
2481
+ * @enum {string}
2424
2482
  */
2425
2483
  type: "start";
2426
2484
  position: components["schemas"]["Wgs84Position"];
@@ -2431,13 +2489,12 @@ export interface components {
2431
2489
  */
2432
2490
  StartWaypoint: {
2433
2491
  /**
2434
- * Type
2435
2492
  * @description The type of a `Waypoint`
2436
2493
  *
2437
2494
  * - `START`: The beginning of a `Flightplan`
2438
2495
  * - `GOTO` : Fly to and directly pass through a location under certain parameters
2439
- *
2440
- * @constant
2496
+ * (enum property replaced by openapi-typescript)
2497
+ * @enum {string}
2441
2498
  */
2442
2499
  type: "start";
2443
2500
  position: components["schemas"]["Wgs84Position"];
@@ -4192,6 +4249,58 @@ export interface operations {
4192
4249
  };
4193
4250
  };
4194
4251
  };
4252
+ get_pathing_task_result_v1_pathing_tasks__pathing_task_id__state_get: {
4253
+ parameters: {
4254
+ query?: never;
4255
+ header?: never;
4256
+ path: {
4257
+ /** @description Unique identifier of the pathing task */
4258
+ pathing_task_id: string;
4259
+ };
4260
+ cookie?: never;
4261
+ };
4262
+ requestBody?: never;
4263
+ responses: {
4264
+ /** @description A stream of Server-Sent Events (SSE).
4265
+ *
4266
+ * */
4267
+ 200: {
4268
+ headers: {
4269
+ [name: string]: unknown;
4270
+ };
4271
+ content: {
4272
+ "text/event-stream": unknown;
4273
+ };
4274
+ };
4275
+ /** @description One or more input parameters were missing or invalid. */
4276
+ 400: {
4277
+ headers: {
4278
+ [name: string]: unknown;
4279
+ };
4280
+ content: {
4281
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
4282
+ };
4283
+ };
4284
+ /** @description Bearer access token was not provided in Authorization header, token could not be decoded, or token was invalid. */
4285
+ 401: {
4286
+ headers: {
4287
+ [name: string]: unknown;
4288
+ };
4289
+ content: {
4290
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
4291
+ };
4292
+ };
4293
+ /** @description Validation Error */
4294
+ 422: {
4295
+ headers: {
4296
+ [name: string]: unknown;
4297
+ };
4298
+ content: {
4299
+ "application/json": components["schemas"]["HTTPValidationError"];
4300
+ };
4301
+ };
4302
+ };
4303
+ };
4195
4304
  aircraft_list_v1_aircraft__get: {
4196
4305
  parameters: {
4197
4306
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volant-autonomy/via-sdk",
3
- "version": "1.3512.1",
3
+ "version": "1.3554.1",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "types": "dist/index.d.ts",