@volant-autonomy/via-sdk 1.3025.1 → 1.3070.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 +31 -1
- package/dist/direct.js +9 -0
- package/dist/volant-schema.d.ts +132 -26
- package/package.json +1 -1
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"]["
|
|
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);
|
package/dist/volant-schema.d.ts
CHANGED
|
@@ -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;
|
|
@@ -1061,6 +1081,13 @@ export interface components {
|
|
|
1061
1081
|
* "characteristic_dimension": 0.5
|
|
1062
1082
|
* } */
|
|
1063
1083
|
aircraft?: components["schemas"]["Aircraft"];
|
|
1084
|
+
/**
|
|
1085
|
+
* Containment Robustness
|
|
1086
|
+
* @description Level of technical and operational mitigations intended to contain the flight of the UA within the defined operational volume and ground risk buffer.
|
|
1087
|
+
* @default low
|
|
1088
|
+
* @enum {string}
|
|
1089
|
+
*/
|
|
1090
|
+
containment_robustness?: "low" | "medium" | "high";
|
|
1064
1091
|
};
|
|
1065
1092
|
/**
|
|
1066
1093
|
* ContainmentRequirements
|
|
@@ -1314,8 +1341,8 @@ export interface components {
|
|
|
1314
1341
|
meta: components["schemas"]["FlightplanMeta"];
|
|
1315
1342
|
attributes: components["schemas"]["Flightplan-Output"];
|
|
1316
1343
|
};
|
|
1317
|
-
/** GeoJsonCollection[
|
|
1318
|
-
|
|
1344
|
+
/** GeoJsonCollection[SemanticModelProperties] */
|
|
1345
|
+
GeoJsonCollection_SemanticModelProperties_: {
|
|
1319
1346
|
/**
|
|
1320
1347
|
* Type
|
|
1321
1348
|
* @constant
|
|
@@ -1323,7 +1350,7 @@ export interface components {
|
|
|
1323
1350
|
*/
|
|
1324
1351
|
type: "FeatureCollection";
|
|
1325
1352
|
/** Features */
|
|
1326
|
-
features: (components["schemas"]["
|
|
1353
|
+
features: (components["schemas"]["GeoJsonPolygonFeature_SemanticModelProperties_"] | components["schemas"]["GeoJsonMultiPolygonFeature_SemanticModelProperties_"])[];
|
|
1327
1354
|
};
|
|
1328
1355
|
/** GeoJsonMultiPolygon */
|
|
1329
1356
|
GeoJsonMultiPolygon: {
|
|
@@ -1339,8 +1366,8 @@ export interface components {
|
|
|
1339
1366
|
number
|
|
1340
1367
|
][][][];
|
|
1341
1368
|
};
|
|
1342
|
-
/** GeoJsonMultiPolygonFeature[
|
|
1343
|
-
|
|
1369
|
+
/** GeoJsonMultiPolygonFeature[SemanticModelProperties] */
|
|
1370
|
+
GeoJsonMultiPolygonFeature_SemanticModelProperties_: {
|
|
1344
1371
|
/**
|
|
1345
1372
|
* Type
|
|
1346
1373
|
* @constant
|
|
@@ -1348,7 +1375,7 @@ export interface components {
|
|
|
1348
1375
|
*/
|
|
1349
1376
|
type: "Feature";
|
|
1350
1377
|
geometry: components["schemas"]["GeoJsonMultiPolygon"];
|
|
1351
|
-
properties: components["schemas"]["
|
|
1378
|
+
properties: components["schemas"]["SemanticModelProperties"];
|
|
1352
1379
|
};
|
|
1353
1380
|
/** GeoJsonPolygon */
|
|
1354
1381
|
GeoJsonPolygon: {
|
|
@@ -1386,8 +1413,8 @@ export interface components {
|
|
|
1386
1413
|
geometry: components["schemas"]["GeoJsonPolygon"];
|
|
1387
1414
|
properties: components["schemas"]["ControlledGroundAreaProperties"];
|
|
1388
1415
|
};
|
|
1389
|
-
/** GeoJsonPolygonFeature[
|
|
1390
|
-
|
|
1416
|
+
/** GeoJsonPolygonFeature[SemanticModelProperties] */
|
|
1417
|
+
GeoJsonPolygonFeature_SemanticModelProperties_: {
|
|
1391
1418
|
/**
|
|
1392
1419
|
* Type
|
|
1393
1420
|
* @constant
|
|
@@ -1395,16 +1422,7 @@ export interface components {
|
|
|
1395
1422
|
*/
|
|
1396
1423
|
type: "Feature";
|
|
1397
1424
|
geometry: components["schemas"]["GeoJsonPolygon"];
|
|
1398
|
-
properties: components["schemas"]["
|
|
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";
|
|
1425
|
+
properties: components["schemas"]["SemanticModelProperties"];
|
|
1408
1426
|
};
|
|
1409
1427
|
/**
|
|
1410
1428
|
* GotoPathingCheckpoint
|
|
@@ -1518,7 +1536,7 @@ export interface components {
|
|
|
1518
1536
|
* IntrinsicGRC
|
|
1519
1537
|
* @enum {integer}
|
|
1520
1538
|
*/
|
|
1521
|
-
IntrinsicGRC:
|
|
1539
|
+
IntrinsicGRC: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
1522
1540
|
/** JsonApiException */
|
|
1523
1541
|
JsonApiException: {
|
|
1524
1542
|
/**
|
|
@@ -1626,9 +1644,9 @@ export interface components {
|
|
|
1626
1644
|
data: components["schemas"]["FlightplanResponse"];
|
|
1627
1645
|
links: components["schemas"]["Links"];
|
|
1628
1646
|
};
|
|
1629
|
-
/** JsonApiResponse[GeoJsonCollection[
|
|
1630
|
-
|
|
1631
|
-
data: components["schemas"]["
|
|
1647
|
+
/** JsonApiResponse[GeoJsonCollection[SemanticModelProperties]] */
|
|
1648
|
+
JsonApiResponse_GeoJsonCollection_SemanticModelProperties__: {
|
|
1649
|
+
data: components["schemas"]["GeoJsonCollection_SemanticModelProperties_"];
|
|
1632
1650
|
links: components["schemas"]["Links"];
|
|
1633
1651
|
};
|
|
1634
1652
|
/** JsonApiResponse[PathingTaskResponse] */
|
|
@@ -1977,6 +1995,15 @@ export interface components {
|
|
|
1977
1995
|
id: number;
|
|
1978
1996
|
attributes: components["schemas"]["SailAttributes"];
|
|
1979
1997
|
};
|
|
1998
|
+
/** SemanticModelProperties */
|
|
1999
|
+
SemanticModelProperties: {
|
|
2000
|
+
/**
|
|
2001
|
+
* Name
|
|
2002
|
+
* @description Identifier for the type of volume related to the semantic model
|
|
2003
|
+
* @enum {string}
|
|
2004
|
+
*/
|
|
2005
|
+
name: "Flight Geography" | "Contingency Buffer" | "Ground Risk Buffer" | "Adjacent Area";
|
|
2006
|
+
};
|
|
1980
2007
|
/** SoraClassification */
|
|
1981
2008
|
"SoraClassification-Input": {
|
|
1982
2009
|
/** @description The implementation of SORA that is described by `payload` */
|
|
@@ -2380,6 +2407,34 @@ export interface components {
|
|
|
2380
2407
|
type?: "air_risk_classification";
|
|
2381
2408
|
attributes: components["schemas"]["UkArcAttributes"];
|
|
2382
2409
|
};
|
|
2410
|
+
/** UkSemanticModelVolumesRequest */
|
|
2411
|
+
UkSemanticModelVolumesRequest: {
|
|
2412
|
+
/**
|
|
2413
|
+
* Chart ID
|
|
2414
|
+
* @description Unique identifier for a chart.
|
|
2415
|
+
*/
|
|
2416
|
+
chart_id: string;
|
|
2417
|
+
/**
|
|
2418
|
+
* @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.
|
|
2419
|
+
* @default NASADEM
|
|
2420
|
+
*/
|
|
2421
|
+
terrain_source?: components["schemas"]["TerrainSource"];
|
|
2422
|
+
/** @default {
|
|
2423
|
+
* "max_cruise_speed": 20,
|
|
2424
|
+
* "characteristic_dimension": 0.5
|
|
2425
|
+
* } */
|
|
2426
|
+
aircraft?: components["schemas"]["Aircraft"];
|
|
2427
|
+
/**
|
|
2428
|
+
* Waypoints
|
|
2429
|
+
* @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
|
|
2430
|
+
*/
|
|
2431
|
+
waypoints: (components["schemas"]["StartWaypoint"] | components["schemas"]["GotoWaypoint-Input"])[];
|
|
2432
|
+
/**
|
|
2433
|
+
* Ground Risk Buffer
|
|
2434
|
+
* @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.
|
|
2435
|
+
*/
|
|
2436
|
+
ground_risk_buffer: number;
|
|
2437
|
+
};
|
|
2383
2438
|
/** ValidationError */
|
|
2384
2439
|
ValidationError: {
|
|
2385
2440
|
/** Location */
|
|
@@ -2927,7 +2982,7 @@ export interface operations {
|
|
|
2927
2982
|
"application/json": components["schemas"]["JsonApiExceptionResponse"];
|
|
2928
2983
|
};
|
|
2929
2984
|
};
|
|
2930
|
-
/** @description The flightplan could not be accepted due to conflicts with existing accepted flightplans */
|
|
2985
|
+
/** @description The flightplan could not be accepted due to conflicts with existing accepted flightplans, non-flyable regions or, if using SORA, due to failing a SORA containment check */
|
|
2931
2986
|
409: {
|
|
2932
2987
|
headers: {
|
|
2933
2988
|
[name: string]: unknown;
|
|
@@ -3337,7 +3392,7 @@ export interface operations {
|
|
|
3337
3392
|
"application/json": components["schemas"]["JsonApiExceptionResponse"];
|
|
3338
3393
|
};
|
|
3339
3394
|
};
|
|
3340
|
-
/** @description The flightplan could not be accepted due to conflicts with existing accepted flightplans */
|
|
3395
|
+
/** @description The flightplan could not be accepted due to conflicts with existing accepted flightplans, non-flyable regions or, if using SORA, due to failing a SORA containment check */
|
|
3341
3396
|
409: {
|
|
3342
3397
|
headers: {
|
|
3343
3398
|
[name: string]: unknown;
|
|
@@ -3538,7 +3593,7 @@ export interface operations {
|
|
|
3538
3593
|
"application/json": components["schemas"]["JsonApiExceptionResponse"];
|
|
3539
3594
|
};
|
|
3540
3595
|
};
|
|
3541
|
-
/** @description The flightplan could not be accepted due to conflicts with existing accepted flightplans */
|
|
3596
|
+
/** @description The flightplan could not be accepted due to conflicts with existing accepted flightplans, non-flyable regions or, if using SORA, due to failing a SORA containment check */
|
|
3542
3597
|
409: {
|
|
3543
3598
|
headers: {
|
|
3544
3599
|
[name: string]: unknown;
|
|
@@ -4721,7 +4776,7 @@ export interface operations {
|
|
|
4721
4776
|
[name: string]: unknown;
|
|
4722
4777
|
};
|
|
4723
4778
|
content: {
|
|
4724
|
-
"application/json": components["schemas"]["
|
|
4779
|
+
"application/json": components["schemas"]["JsonApiResponse_GeoJsonCollection_SemanticModelProperties__"];
|
|
4725
4780
|
};
|
|
4726
4781
|
};
|
|
4727
4782
|
/** @description One or more input parameters were missing or invalid. */
|
|
@@ -4875,6 +4930,57 @@ export interface operations {
|
|
|
4875
4930
|
};
|
|
4876
4931
|
};
|
|
4877
4932
|
};
|
|
4933
|
+
uk_semantic_model_volumes_v1_risk_assessment_sora_uk_semantic_model_volumes_post: {
|
|
4934
|
+
parameters: {
|
|
4935
|
+
query?: never;
|
|
4936
|
+
header?: never;
|
|
4937
|
+
path?: never;
|
|
4938
|
+
cookie?: never;
|
|
4939
|
+
};
|
|
4940
|
+
requestBody: {
|
|
4941
|
+
content: {
|
|
4942
|
+
"application/json": components["schemas"]["UkSemanticModelVolumesRequest"];
|
|
4943
|
+
};
|
|
4944
|
+
};
|
|
4945
|
+
responses: {
|
|
4946
|
+
/** @description Successful Response */
|
|
4947
|
+
200: {
|
|
4948
|
+
headers: {
|
|
4949
|
+
[name: string]: unknown;
|
|
4950
|
+
};
|
|
4951
|
+
content: {
|
|
4952
|
+
"application/json": components["schemas"]["JsonApiResponse_GeoJsonCollection_SemanticModelProperties__"];
|
|
4953
|
+
};
|
|
4954
|
+
};
|
|
4955
|
+
/** @description One or more input parameters were missing or invalid. */
|
|
4956
|
+
400: {
|
|
4957
|
+
headers: {
|
|
4958
|
+
[name: string]: unknown;
|
|
4959
|
+
};
|
|
4960
|
+
content: {
|
|
4961
|
+
"application/json": components["schemas"]["JsonApiExceptionResponse"];
|
|
4962
|
+
};
|
|
4963
|
+
};
|
|
4964
|
+
/** @description Bearer access token was not provided in Authorization header, token could not be decoded, or token was invalid. */
|
|
4965
|
+
401: {
|
|
4966
|
+
headers: {
|
|
4967
|
+
[name: string]: unknown;
|
|
4968
|
+
};
|
|
4969
|
+
content: {
|
|
4970
|
+
"application/json": components["schemas"]["JsonApiExceptionResponse"];
|
|
4971
|
+
};
|
|
4972
|
+
};
|
|
4973
|
+
/** @description Validation Error */
|
|
4974
|
+
422: {
|
|
4975
|
+
headers: {
|
|
4976
|
+
[name: string]: unknown;
|
|
4977
|
+
};
|
|
4978
|
+
content: {
|
|
4979
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
4980
|
+
};
|
|
4981
|
+
};
|
|
4982
|
+
};
|
|
4983
|
+
};
|
|
4878
4984
|
create_sora_classification_v1_risk_assessment_sora_classifications_post: {
|
|
4879
4985
|
parameters: {
|
|
4880
4986
|
query?: never;
|