@volant-autonomy/via-sdk 1.3003.1 → 1.3033.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 CHANGED
@@ -33,6 +33,7 @@ export type createSoraReportV2_5 = paths['/risk_assessment/sora/v2.5/report']['p
33
33
  export type createSoraSemanticModelVolumesV2_5 = paths['/risk_assessment/sora/v2.5/semantic_model_volumes']['post'];
34
34
  export type getAllArcsUk = paths['/risk_assessment/sora/uk/air_risk_classifications']['get'];
35
35
  export type getArcUk = paths['/risk_assessment/sora/uk/air_risk_classifications/{arc_id}']['get'];
36
+ export type createSoraSemanticModelVolumesUk = paths['/risk_assessment/sora/uk/semantic_model_volumes']['post'];
36
37
  export type createSoraClassification = paths['/risk_assessment/sora/classifications']['post'];
37
38
  export type getSoraClassification = paths['/risk_assessment/sora/classifications/{classification_id}']['get'];
38
39
  export type getAllControlledGroundAreas = paths['/risk_assessment/sora/controlled_ground_areas/']['get'];
@@ -850,7 +851,7 @@ export declare class Direct {
850
851
  } : never) | {
851
852
  data: {
852
853
  type: "FeatureCollection";
853
- features: (import("./volant-schema").components["schemas"]["GeoJsonPolygonFeature_GeoJsonSemanticModelProperties_"] | import("./volant-schema").components["schemas"]["GeoJsonMultiPolygonFeature_GeoJsonSemanticModelProperties_"])[];
854
+ features: (import("./volant-schema").components["schemas"]["GeoJsonPolygonFeature_SemanticModelProperties_"] | import("./volant-schema").components["schemas"]["GeoJsonMultiPolygonFeature_SemanticModelProperties_"])[];
854
855
  };
855
856
  error?: never;
856
857
  response: Response;
@@ -916,6 +917,35 @@ export declare class Direct {
916
917
  response: Response;
917
918
  aborted: false;
918
919
  }>;
920
+ /**
921
+ * Generate volumes that correspond to the SORA Semantic Model
922
+ * @description Generate volumes that correspond to the SORA Semantic Model
923
+ */
924
+ createSoraSemanticModelVolumesUk<Opts extends requestOptions = {}>(args: bodyOf<createSoraSemanticModelVolumesV2_5>, opts?: Opts | requestOptions): Promise<{
925
+ data?: never;
926
+ error: {
927
+ errors: {
928
+ detail: string;
929
+ status: "401" | "400" | "422";
930
+ }[];
931
+ status: "401" | "400" | "422";
932
+ };
933
+ response: Response;
934
+ aborted: false;
935
+ } | (keyof Opts extends never ? never : Opts["abortKey"] extends undefined ? never : Opts["abortKey"] extends string | undefined ? {
936
+ data?: never;
937
+ error?: never;
938
+ response?: never;
939
+ aborted: true;
940
+ } : never) | {
941
+ data: {
942
+ type: "FeatureCollection";
943
+ features: (import("./volant-schema").components["schemas"]["GeoJsonPolygonFeature_SemanticModelProperties_"] | import("./volant-schema").components["schemas"]["GeoJsonMultiPolygonFeature_SemanticModelProperties_"])[];
944
+ };
945
+ error?: never;
946
+ response: Response;
947
+ aborted: false;
948
+ }>;
919
949
  /**
920
950
  * Create a SORA Classification
921
951
  * @description Create a SORA Classification
package/dist/direct.js CHANGED
@@ -278,6 +278,15 @@ class Direct {
278
278
  return resp;
279
279
  });
280
280
  }
281
+ createSoraSemanticModelVolumesUk(args, opts) {
282
+ return __awaiter(this, void 0, void 0, function* () {
283
+ const resp = yield this.fetcher.POST('/risk_assessment/sora/uk/semantic_model_volumes', { body: args }, opts);
284
+ if (resp.error === undefined && !resp.aborted) {
285
+ return Object.assign(Object.assign({}, resp), { data: resp.data.data });
286
+ }
287
+ return resp;
288
+ });
289
+ }
281
290
  createSoraClassification(args, opts) {
282
291
  return __awaiter(this, void 0, void 0, function* () {
283
292
  const resp = yield this.fetcher.POST('/risk_assessment/sora/classifications', { body: args }, opts);
@@ -652,6 +652,26 @@ export interface paths {
652
652
  patch?: never;
653
653
  trace?: never;
654
654
  };
655
+ "/risk_assessment/sora/uk/semantic_model_volumes": {
656
+ parameters: {
657
+ query?: never;
658
+ header?: never;
659
+ path?: never;
660
+ cookie?: never;
661
+ };
662
+ get?: never;
663
+ put?: never;
664
+ /**
665
+ * Generate volumes that correspond to the SORA Semantic Model
666
+ * @description Generate volumes that correspond to the SORA Semantic Model
667
+ */
668
+ post: operations["uk_semantic_model_volumes_v1_risk_assessment_sora_uk_semantic_model_volumes_post"];
669
+ delete?: never;
670
+ options?: never;
671
+ head?: never;
672
+ patch?: never;
673
+ trace?: never;
674
+ };
655
675
  "/risk_assessment/sora/classifications": {
656
676
  parameters: {
657
677
  query?: never;
@@ -1314,8 +1334,8 @@ export interface components {
1314
1334
  meta: components["schemas"]["FlightplanMeta"];
1315
1335
  attributes: components["schemas"]["Flightplan-Output"];
1316
1336
  };
1317
- /** GeoJsonCollection[GeoJsonSemanticModelProperties] */
1318
- GeoJsonCollection_GeoJsonSemanticModelProperties_: {
1337
+ /** GeoJsonCollection[SemanticModelProperties] */
1338
+ GeoJsonCollection_SemanticModelProperties_: {
1319
1339
  /**
1320
1340
  * Type
1321
1341
  * @constant
@@ -1323,7 +1343,7 @@ export interface components {
1323
1343
  */
1324
1344
  type: "FeatureCollection";
1325
1345
  /** Features */
1326
- features: (components["schemas"]["GeoJsonPolygonFeature_GeoJsonSemanticModelProperties_"] | components["schemas"]["GeoJsonMultiPolygonFeature_GeoJsonSemanticModelProperties_"])[];
1346
+ features: (components["schemas"]["GeoJsonPolygonFeature_SemanticModelProperties_"] | components["schemas"]["GeoJsonMultiPolygonFeature_SemanticModelProperties_"])[];
1327
1347
  };
1328
1348
  /** GeoJsonMultiPolygon */
1329
1349
  GeoJsonMultiPolygon: {
@@ -1339,8 +1359,8 @@ export interface components {
1339
1359
  number
1340
1360
  ][][][];
1341
1361
  };
1342
- /** GeoJsonMultiPolygonFeature[GeoJsonSemanticModelProperties] */
1343
- GeoJsonMultiPolygonFeature_GeoJsonSemanticModelProperties_: {
1362
+ /** GeoJsonMultiPolygonFeature[SemanticModelProperties] */
1363
+ GeoJsonMultiPolygonFeature_SemanticModelProperties_: {
1344
1364
  /**
1345
1365
  * Type
1346
1366
  * @constant
@@ -1348,7 +1368,7 @@ export interface components {
1348
1368
  */
1349
1369
  type: "Feature";
1350
1370
  geometry: components["schemas"]["GeoJsonMultiPolygon"];
1351
- properties: components["schemas"]["GeoJsonSemanticModelProperties"];
1371
+ properties: components["schemas"]["SemanticModelProperties"];
1352
1372
  };
1353
1373
  /** GeoJsonPolygon */
1354
1374
  GeoJsonPolygon: {
@@ -1386,8 +1406,8 @@ export interface components {
1386
1406
  geometry: components["schemas"]["GeoJsonPolygon"];
1387
1407
  properties: components["schemas"]["ControlledGroundAreaProperties"];
1388
1408
  };
1389
- /** GeoJsonPolygonFeature[GeoJsonSemanticModelProperties] */
1390
- GeoJsonPolygonFeature_GeoJsonSemanticModelProperties_: {
1409
+ /** GeoJsonPolygonFeature[SemanticModelProperties] */
1410
+ GeoJsonPolygonFeature_SemanticModelProperties_: {
1391
1411
  /**
1392
1412
  * Type
1393
1413
  * @constant
@@ -1395,16 +1415,7 @@ export interface components {
1395
1415
  */
1396
1416
  type: "Feature";
1397
1417
  geometry: components["schemas"]["GeoJsonPolygon"];
1398
- properties: components["schemas"]["GeoJsonSemanticModelProperties"];
1399
- };
1400
- /** GeoJsonSemanticModelProperties */
1401
- GeoJsonSemanticModelProperties: {
1402
- /**
1403
- * Name
1404
- * @description Identifier for the type of volume related to the semantic model
1405
- * @enum {string}
1406
- */
1407
- name: "Flight Geography" | "Contingency Buffer" | "Ground Risk Buffer" | "Adjacent Area";
1418
+ properties: components["schemas"]["SemanticModelProperties"];
1408
1419
  };
1409
1420
  /**
1410
1421
  * GotoPathingCheckpoint
@@ -1626,9 +1637,9 @@ export interface components {
1626
1637
  data: components["schemas"]["FlightplanResponse"];
1627
1638
  links: components["schemas"]["Links"];
1628
1639
  };
1629
- /** JsonApiResponse[GeoJsonCollection[GeoJsonSemanticModelProperties]] */
1630
- JsonApiResponse_GeoJsonCollection_GeoJsonSemanticModelProperties__: {
1631
- data: components["schemas"]["GeoJsonCollection_GeoJsonSemanticModelProperties_"];
1640
+ /** JsonApiResponse[GeoJsonCollection[SemanticModelProperties]] */
1641
+ JsonApiResponse_GeoJsonCollection_SemanticModelProperties__: {
1642
+ data: components["schemas"]["GeoJsonCollection_SemanticModelProperties_"];
1632
1643
  links: components["schemas"]["Links"];
1633
1644
  };
1634
1645
  /** JsonApiResponse[PathingTaskResponse] */
@@ -1977,6 +1988,15 @@ export interface components {
1977
1988
  id: number;
1978
1989
  attributes: components["schemas"]["SailAttributes"];
1979
1990
  };
1991
+ /** SemanticModelProperties */
1992
+ SemanticModelProperties: {
1993
+ /**
1994
+ * Name
1995
+ * @description Identifier for the type of volume related to the semantic model
1996
+ * @enum {string}
1997
+ */
1998
+ name: "Flight Geography" | "Contingency Buffer" | "Ground Risk Buffer" | "Adjacent Area";
1999
+ };
1980
2000
  /** SoraClassification */
1981
2001
  "SoraClassification-Input": {
1982
2002
  /** @description The implementation of SORA that is described by `payload` */
@@ -2380,6 +2400,34 @@ export interface components {
2380
2400
  type?: "air_risk_classification";
2381
2401
  attributes: components["schemas"]["UkArcAttributes"];
2382
2402
  };
2403
+ /** UkSemanticModelVolumesRequest */
2404
+ UkSemanticModelVolumesRequest: {
2405
+ /**
2406
+ * Chart ID
2407
+ * @description Unique identifier for a chart.
2408
+ */
2409
+ chart_id: string;
2410
+ /**
2411
+ * @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.
2412
+ * @default NASADEM
2413
+ */
2414
+ terrain_source?: components["schemas"]["TerrainSource"];
2415
+ /** @default {
2416
+ * "max_cruise_speed": 20,
2417
+ * "characteristic_dimension": 0.5
2418
+ * } */
2419
+ aircraft?: components["schemas"]["Aircraft"];
2420
+ /**
2421
+ * Waypoints
2422
+ * @description Points defining a Flightplan that must be passed through along with flight parameters. The first waypoint must be of type: WaypointType.START and only occur once
2423
+ */
2424
+ waypoints: (components["schemas"]["StartWaypoint"] | components["schemas"]["GotoWaypoint-Input"])[];
2425
+ /**
2426
+ * Ground Risk Buffer
2427
+ * @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.
2428
+ */
2429
+ ground_risk_buffer: number;
2430
+ };
2383
2431
  /** ValidationError */
2384
2432
  ValidationError: {
2385
2433
  /** Location */
@@ -4721,7 +4769,7 @@ export interface operations {
4721
4769
  [name: string]: unknown;
4722
4770
  };
4723
4771
  content: {
4724
- "application/json": components["schemas"]["JsonApiResponse_GeoJsonCollection_GeoJsonSemanticModelProperties__"];
4772
+ "application/json": components["schemas"]["JsonApiResponse_GeoJsonCollection_SemanticModelProperties__"];
4725
4773
  };
4726
4774
  };
4727
4775
  /** @description One or more input parameters were missing or invalid. */
@@ -4875,6 +4923,57 @@ export interface operations {
4875
4923
  };
4876
4924
  };
4877
4925
  };
4926
+ uk_semantic_model_volumes_v1_risk_assessment_sora_uk_semantic_model_volumes_post: {
4927
+ parameters: {
4928
+ query?: never;
4929
+ header?: never;
4930
+ path?: never;
4931
+ cookie?: never;
4932
+ };
4933
+ requestBody: {
4934
+ content: {
4935
+ "application/json": components["schemas"]["UkSemanticModelVolumesRequest"];
4936
+ };
4937
+ };
4938
+ responses: {
4939
+ /** @description Successful Response */
4940
+ 200: {
4941
+ headers: {
4942
+ [name: string]: unknown;
4943
+ };
4944
+ content: {
4945
+ "application/json": components["schemas"]["JsonApiResponse_GeoJsonCollection_SemanticModelProperties__"];
4946
+ };
4947
+ };
4948
+ /** @description One or more input parameters were missing or invalid. */
4949
+ 400: {
4950
+ headers: {
4951
+ [name: string]: unknown;
4952
+ };
4953
+ content: {
4954
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
4955
+ };
4956
+ };
4957
+ /** @description Bearer access token was not provided in Authorization header, token could not be decoded, or token was invalid. */
4958
+ 401: {
4959
+ headers: {
4960
+ [name: string]: unknown;
4961
+ };
4962
+ content: {
4963
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
4964
+ };
4965
+ };
4966
+ /** @description Validation Error */
4967
+ 422: {
4968
+ headers: {
4969
+ [name: string]: unknown;
4970
+ };
4971
+ content: {
4972
+ "application/json": components["schemas"]["HTTPValidationError"];
4973
+ };
4974
+ };
4975
+ };
4976
+ };
4878
4977
  create_sora_classification_v1_risk_assessment_sora_classifications_post: {
4879
4978
  parameters: {
4880
4979
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volant-autonomy/via-sdk",
3
- "version": "1.3003.1",
3
+ "version": "1.3033.1",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "types": "dist/index.d.ts",