@volant-autonomy/via-sdk 1.3188.1 → 1.3194.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
@@ -29,11 +29,12 @@ export type getChart = paths['/charts/{chart_id}']['get'];
29
29
  export type getSailV2_5 = paths['/risk_assessment/sora/v2.5/sail']['get'];
30
30
  export type getAllArcsV2_5 = paths['/risk_assessment/sora/v2.5/air_risk_classifications']['get'];
31
31
  export type getArcV2_5 = paths['/risk_assessment/sora/v2.5/air_risk_classifications/{arc_id}']['get'];
32
- export type createSoraReportV2_5 = paths['/risk_assessment/sora/v2.5/report']['post'];
33
- export type createSoraSemanticModelVolumesV2_5 = paths['/risk_assessment/sora/v2.5/semantic_model_volumes']['post'];
32
+ export type generateSoraReportV2_5 = paths['/risk_assessment/sora/v2.5/report']['post'];
33
+ export type generateSoraSemanticModelVolumesV2_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
36
  export type getSailUk = paths['/risk_assessment/sora/uk/sail']['get'];
37
+ export type createSoraReportUk = paths['/risk_assessment/sora/uk/report']['post'];
37
38
  export type createSoraSemanticModelVolumesUk = paths['/risk_assessment/sora/uk/semantic_model_volumes']['post'];
38
39
  export type createSoraClassification = paths['/risk_assessment/sora/classifications']['post'];
39
40
  export type updateSoraClassification = paths['/risk_assessment/sora/classifications/{classification_id}']['put'];
@@ -805,7 +806,7 @@ export declare class Direct {
805
806
  * Intrinsic GRC determined and the highest likelihood to encounter another aircraft (as defined by Airspace Encounter
806
807
  * Class) determining the ARC.
807
808
  */
808
- createSoraReportV2_5<Opts extends requestOptions = {}>(args: bodyOf<createSoraReportV2_5>, opts?: Opts | requestOptions): Promise<{
809
+ generateSoraReportV2_5<Opts extends requestOptions = {}>(args: bodyOf<generateSoraReportV2_5>, opts?: Opts | requestOptions): Promise<{
809
810
  data?: never;
810
811
  error: {
811
812
  errors: {
@@ -834,7 +835,7 @@ export declare class Direct {
834
835
  * Generate volumes that correspond to the SORA Semantic Model
835
836
  * @description Generate volumes that correspond to the SORA Semantic Model
836
837
  */
837
- createSoraSemanticModelVolumesV2_5<Opts extends requestOptions = {}>(args: bodyOf<createSoraSemanticModelVolumesV2_5>, opts?: Opts | requestOptions): Promise<{
838
+ generateSoraSemanticModelVolumesV2_5<Opts extends requestOptions = {}>(args: bodyOf<generateSoraSemanticModelVolumesV2_5>, opts?: Opts | requestOptions): Promise<{
838
839
  data?: never;
839
840
  error: {
840
841
  errors: {
@@ -948,11 +949,32 @@ export declare class Direct {
948
949
  response: Response;
949
950
  aborted: false;
950
951
  }>;
951
- /**
952
- * Generate volumes that correspond to the SORA Semantic Model
953
- * @description Generate volumes that correspond to the SORA Semantic Model
954
- */
955
- createSoraSemanticModelVolumesUk<Opts extends requestOptions = {}>(args: bodyOf<createSoraSemanticModelVolumesV2_5>, opts?: Opts | requestOptions): Promise<{
952
+ generateSoraReportUk<Opts extends requestOptions = {}>(args: bodyOf<createSoraReportUk>, opts?: Opts | requestOptions): Promise<{
953
+ data?: never;
954
+ error: {
955
+ errors: {
956
+ detail: string;
957
+ status: "401" | "400" | "422";
958
+ }[];
959
+ status: "401" | "400" | "422";
960
+ };
961
+ response: Response;
962
+ aborted: false;
963
+ } | (keyof Opts extends never ? never : Opts["abortKey"] extends undefined ? never : Opts["abortKey"] extends string | undefined ? {
964
+ data?: never;
965
+ error?: never;
966
+ response?: never;
967
+ aborted: true;
968
+ } : never) | {
969
+ data: {
970
+ attributes: import("./volant-schema").components["schemas"]["UkSoraReportAttributes"];
971
+ type?: "sora_report";
972
+ };
973
+ error?: never;
974
+ response: Response;
975
+ aborted: false;
976
+ }>;
977
+ generateSoraSemanticModelVolumesUk<Opts extends requestOptions = {}>(args: bodyOf<generateSoraSemanticModelVolumesV2_5>, opts?: Opts | requestOptions): Promise<{
956
978
  data?: never;
957
979
  error: {
958
980
  errors: {
package/dist/direct.js CHANGED
@@ -241,7 +241,7 @@ class Direct {
241
241
  return resp;
242
242
  });
243
243
  }
244
- createSoraReportV2_5(args, opts) {
244
+ generateSoraReportV2_5(args, opts) {
245
245
  return __awaiter(this, void 0, void 0, function* () {
246
246
  const resp = yield this.fetcher.POST('/risk_assessment/sora/v2.5/report', { body: args }, opts);
247
247
  if (resp.error === undefined && !resp.aborted) {
@@ -250,7 +250,7 @@ class Direct {
250
250
  return resp;
251
251
  });
252
252
  }
253
- createSoraSemanticModelVolumesV2_5(args, opts) {
253
+ generateSoraSemanticModelVolumesV2_5(args, opts) {
254
254
  return __awaiter(this, void 0, void 0, function* () {
255
255
  const resp = yield this.fetcher.POST('/risk_assessment/sora/v2.5/semantic_model_volumes', { body: args }, opts);
256
256
  if (resp.error === undefined && !resp.aborted) {
@@ -286,7 +286,16 @@ class Direct {
286
286
  return resp;
287
287
  });
288
288
  }
289
- createSoraSemanticModelVolumesUk(args, opts) {
289
+ generateSoraReportUk(args, opts) {
290
+ return __awaiter(this, void 0, void 0, function* () {
291
+ const resp = yield this.fetcher.POST('/risk_assessment/sora/uk/report', { body: args }, opts);
292
+ if (resp.error === undefined && !resp.aborted) {
293
+ return Object.assign(Object.assign({}, resp), { data: resp.data.data });
294
+ }
295
+ return resp;
296
+ });
297
+ }
298
+ generateSoraSemanticModelVolumesUk(args, opts) {
290
299
  return __awaiter(this, void 0, void 0, function* () {
291
300
  const resp = yield this.fetcher.POST('/risk_assessment/sora/uk/semantic_model_volumes', { body: args }, opts);
292
301
  if (resp.error === undefined && !resp.aborted) {
@@ -672,6 +672,31 @@ export interface paths {
672
672
  patch?: never;
673
673
  trace?: never;
674
674
  };
675
+ "/risk_assessment/sora/uk/report": {
676
+ parameters: {
677
+ query?: never;
678
+ header?: never;
679
+ path?: never;
680
+ cookie?: never;
681
+ };
682
+ get?: never;
683
+ put?: never;
684
+ /**
685
+ * Generate a report containing derived information used for regulatory evidence
686
+ * @description Generate a report containing derived SORA information used for regulatory evidence.
687
+ *
688
+ *
689
+ * GRC and ARC determination is considered across the entire operational volume as determined by the supplied
690
+ * `waypoints`. Where the operational environment differs across the volume, the worst case is taken, i.e. the highest
691
+ * Intrinsic GRC determined and the highest risk Air Risk Classification.
692
+ */
693
+ post: operations["uk_sora_report_v1_risk_assessment_sora_uk_report_post"];
694
+ delete?: never;
695
+ options?: never;
696
+ head?: never;
697
+ patch?: never;
698
+ trace?: never;
699
+ };
675
700
  "/risk_assessment/sora/uk/semantic_model_volumes": {
676
701
  parameters: {
677
702
  query?: never;
@@ -1733,6 +1758,11 @@ export interface components {
1733
1758
  data: components["schemas"]["UkSailResponse"];
1734
1759
  links: components["schemas"]["Links"];
1735
1760
  };
1761
+ /** JsonApiResponse[UkSoraReportResponse] */
1762
+ JsonApiResponse_UkSoraReportResponse_: {
1763
+ data: components["schemas"]["UkSoraReportResponse"];
1764
+ links: components["schemas"]["Links"];
1765
+ };
1736
1766
  /** JsonApiResponse[VolumeResponse] */
1737
1767
  JsonApiResponse_VolumeResponse_: {
1738
1768
  data: components["schemas"]["VolumeResponse"];
@@ -2141,11 +2171,6 @@ export interface components {
2141
2171
  */
2142
2172
  sail: ("NA" | "I" | "II" | "III" | "IV" | "V" | "VI" | "VII") | "Category C";
2143
2173
  containment: components["schemas"]["ContainmentRequirements"];
2144
- /**
2145
- * Avg Adjacent Area Population Density
2146
- * @deprecated
2147
- */
2148
- readonly avg_adjacent_area_population_density: number;
2149
2174
  };
2150
2175
  /** SoraReportRequest */
2151
2176
  SoraReportRequest: {
@@ -2154,22 +2179,12 @@ export interface components {
2154
2179
  * @description Unique identifier for a chart.
2155
2180
  */
2156
2181
  chart_id: string;
2157
- /**
2158
- * Aircraft Id
2159
- * @deprecated
2160
- * @description Deprecated, if provided will override `aircraft`
2161
- */
2162
- aircraft_id?: string | null;
2163
2182
  /**
2164
2183
  * Waypoints
2165
2184
  * @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
2166
2185
  */
2167
2186
  waypoints: (components["schemas"]["StartWaypoint"] | components["schemas"]["GotoWaypoint-Input"])[];
2168
- /** @default {
2169
- * "max_cruise_speed": 20,
2170
- * "characteristic_dimension": 0.5
2171
- * } */
2172
- aircraft?: components["schemas"]["Aircraft"];
2187
+ aircraft: components["schemas"]["Aircraft"];
2173
2188
  mitigations: components["schemas"]["Mitigations"];
2174
2189
  /** @description Population Density Data Source. Data has been re-projected 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. The values are normalised by source data cell area to derive a density value of people per square metre. */
2175
2190
  population_density_source: components["schemas"]["PopulationSource"];
@@ -2185,12 +2200,12 @@ export interface components {
2185
2200
  ground_risk_buffer: number;
2186
2201
  /**
2187
2202
  * Controlled Ground Area Id
2188
- * @description Applies a Controlled Ground Area to the determination of the GRC for the provided waypoints. If any 2 waypoints and their associated ground risk footprint are found to be wholly contained within the Controlled Ground Area then the intrinsic GRC for this section will be equal to that of a Controlled Ground Area for the supplied aircraft. If there is partial overlap, then any population within it will be set to 0 for the purposes of determining maximum overflown population density.
2203
+ * @description Applies a Controlled Ground Area to the determination of the GRC for the provided waypoints. If any 2 waypoints and their associated ground risk footprint are found to be wholly contained within the Controlled Ground Area then the intrinsic GRC for this section will be equal to that of a Controlled Ground Area for the supplied aircraft. If there is partial overlap, then any population within it will be set to 0 for the purposes of determining maximum overflown population density.
2189
2204
  */
2190
2205
  controlled_ground_area_id?: string | null;
2191
2206
  /**
2192
2207
  * Atypical Airspace Id
2193
- * @description Applies an Atypical Airspace to the determination of the ARC for the provided waypoints. If any 2 waypoints and their associated operational volume are found to be wholly contained within the the Atypical Airspace in 3D space then the ARC for this section will be ARC-A. Atypical Airspaces will not have an effect if there is only partial overlap.
2208
+ * @description Applies an Atypical Airspace to the determination of the ARC for the provided waypoints. If any 2 waypoints and their associated operational volume are found to be wholly contained within the the Atypical Airspace in 3D space then the ARC for this section will be ARC-A. Atypical Airspaces will not have an effect if there is only partial overlap.
2194
2209
  */
2195
2210
  atypical_airspace_id?: string | null;
2196
2211
  };
@@ -2217,17 +2232,7 @@ export interface components {
2217
2232
  * @default NASADEM
2218
2233
  */
2219
2234
  terrain_source?: components["schemas"]["TerrainSource"];
2220
- /**
2221
- * Aircraft Id
2222
- * @deprecated
2223
- * @description Deprecated, if provided will override `aircraft`
2224
- */
2225
- aircraft_id?: string | null;
2226
- /** @default {
2227
- * "max_cruise_speed": 20,
2228
- * "characteristic_dimension": 0.5
2229
- * } */
2230
- aircraft?: components["schemas"]["Aircraft"];
2235
+ aircraft: components["schemas"]["Aircraft"];
2231
2236
  /**
2232
2237
  * Waypoints
2233
2238
  * @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
@@ -2478,6 +2483,41 @@ export interface components {
2478
2483
  */
2479
2484
  containment_robustness?: "low" | "medium" | "high";
2480
2485
  };
2486
+ /**
2487
+ * UkContainmentRequirements
2488
+ * @description The containment requirements ensure that the target level of safety can be met for both ground and air risk in the
2489
+ * adjacent area, they encompass a set of operational limits and a derived level of robustness. Each level of
2490
+ * robustness comes with a set of safety requirements.
2491
+ */
2492
+ UkContainmentRequirements: {
2493
+ /**
2494
+ * Robustness
2495
+ * @description The combination of level of integrity (how good the mitigation is at reducing risk) and level of assurance (the degree of certainty to which the level of integrity is ensured) in ensuring the target level of safety can be met in the adjacent area. 'out of scope' indicates that the operation cannot be conducted in the specific category.
2496
+ */
2497
+ robustness: ("low" | "medium" | "high" | "out of scope") | "Category C";
2498
+ /**
2499
+ * Adjacent Area Average Population Density Operational Limit
2500
+ * @description The limit of population density in the adjacent area permissible to keep the same level of containment robustness, defined in people/km².
2501
+ * @enum {string}
2502
+ */
2503
+ adjacent_area_average_population_density_operational_limit: "<50" | "<500" | "<5000" | "<50000" | "none";
2504
+ /**
2505
+ * Outdoor Assembly Size Operational Limit
2506
+ * @description The maximum size of outdoor assemblies permissible within 1km of the operational volume to to keep the same level of containment robustness, defined in people.
2507
+ * @enum {string}
2508
+ */
2509
+ outdoor_assembly_size_operational_limit: "<40000" | "<=400000" | "none";
2510
+ /**
2511
+ * Adjacent Area Average Population Density
2512
+ * @description The average population density within the adjacent area used in determining containment requirements, defined in people/km². The adjacent area spans from the outer limit of the ground risk buffer up to 3 minutes flight time from the outer limit of the operational volume at max cruise speed of the aircraft. The adjacent area is fixed between a lower limit of 5km and upper limit of 35km.
2513
+ */
2514
+ adjacent_area_average_population_density: number;
2515
+ /**
2516
+ * Sheltering Applied
2517
+ * @description Whether the assumption of sheltering was applied in the determination of the containment robustness level and operational limits.
2518
+ */
2519
+ sheltering_applied: boolean;
2520
+ };
2481
2521
  /** UkMitigations */
2482
2522
  UkMitigations: {
2483
2523
  /**
@@ -2536,11 +2576,7 @@ export interface components {
2536
2576
  * @default NASADEM
2537
2577
  */
2538
2578
  terrain_source?: components["schemas"]["TerrainSource"];
2539
- /** @default {
2540
- * "max_cruise_speed": 20,
2541
- * "characteristic_dimension": 0.5
2542
- * } */
2543
- aircraft?: components["schemas"]["Aircraft"];
2579
+ aircraft: components["schemas"]["Aircraft"];
2544
2580
  /**
2545
2581
  * Waypoints
2546
2582
  * @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
@@ -2572,6 +2608,85 @@ export interface components {
2572
2608
  implementation: "uk";
2573
2609
  payload: components["schemas"]["UkClassificationPayload"];
2574
2610
  };
2611
+ /** UkSoraReportAttributes */
2612
+ UkSoraReportAttributes: {
2613
+ /**
2614
+ * Final GRC Determination
2615
+ * @description The Final GRC determination, based on the availability and correct application of mitigations to the operation after determination of the intrinsic GRC.
2616
+ */
2617
+ final_grc: number | "Category C";
2618
+ /**
2619
+ * Intrinsic UAS Ground Risk Class (iGRC)
2620
+ * @description The intrinsic UAS ground risk relates to the risk of a person being fatally struck by the UAS in the case where the UAS operation is out of control) absent of any mitigations being present
2621
+ */
2622
+ intrinsic_grc: (0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10) | "Category C";
2623
+ /**
2624
+ * Max Operational Population Density
2625
+ * @description The maximum population density overflown within the nominal flight operational volume and ground risk buffer, defined in people/km². Determined in the assessment of intrinsic ground risk before application of any mitigations.
2626
+ */
2627
+ max_operational_population_density: number;
2628
+ /**
2629
+ * Residual Air Risk Classification
2630
+ * @description Determination of Air Risk after the application of any strategic mitigations intended to control the crewed aircraft type, encounter rates or time of exposure, prior to take-off
2631
+ * @example arc-c
2632
+ * @enum {string}
2633
+ */
2634
+ residual_arc: "arc-a" | "arc-b" | "arc-c" | "arc-d";
2635
+ /**
2636
+ * SAIL
2637
+ * @description The SAIL represents the level of confidence that the UAS operation will stay under control.
2638
+ */
2639
+ sail: ("NA" | "I" | "II" | "III" | "IV" | "V" | "VI" | "VII") | "Category C";
2640
+ containment: components["schemas"]["UkContainmentRequirements"];
2641
+ };
2642
+ /** UkSoraReportRequest */
2643
+ UkSoraReportRequest: {
2644
+ /**
2645
+ * Chart ID
2646
+ * @description Unique identifier for a chart.
2647
+ */
2648
+ chart_id: string;
2649
+ /**
2650
+ * Waypoints
2651
+ * @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
2652
+ */
2653
+ waypoints: (components["schemas"]["StartWaypoint"] | components["schemas"]["GotoWaypoint-Input"])[];
2654
+ aircraft: components["schemas"]["Aircraft"];
2655
+ mitigations: components["schemas"]["UkMitigations"];
2656
+ /** @description Population Density Data Source. Data has been re-projected 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. The values are normalised by source data cell area to derive a density value of people per square metre. */
2657
+ population_density_source: components["schemas"]["PopulationSource"];
2658
+ /**
2659
+ * @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.
2660
+ * @default NASADEM
2661
+ */
2662
+ terrain_source?: components["schemas"]["TerrainSource"];
2663
+ /**
2664
+ * Ground Risk Buffer
2665
+ * @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.
2666
+ */
2667
+ ground_risk_buffer: number;
2668
+ /**
2669
+ * Controlled Ground Area Id
2670
+ * @description Applies a Controlled Ground Area to the determination of the GRC for the provided waypoints. If any 2 waypoints and their associated ground risk footprint are found to be wholly contained within the Controlled Ground Area then the intrinsic GRC for this section will be equal to that of a Controlled Ground Area for the supplied aircraft. If there is partial overlap, then any population within it will be set to 0 for the purposes of determining maximum overflown population density.
2671
+ */
2672
+ controlled_ground_area_id?: string | null;
2673
+ /**
2674
+ * Atypical Airspace Id
2675
+ * @description Applies an Atypical Airspace to the determination of the ARC for the provided waypoints. If any 2 waypoints and their associated operational volume are found to be wholly contained within the the Atypical Airspace in 3D space then the ARC for this section will be ARC-A. Atypical Airspaces will not have an effect if there is only partial overlap.
2676
+ */
2677
+ atypical_airspace_id?: string | null;
2678
+ };
2679
+ /** UkSoraReportResponse */
2680
+ UkSoraReportResponse: {
2681
+ attributes: components["schemas"]["UkSoraReportAttributes"];
2682
+ /**
2683
+ * Type
2684
+ * @default sora_report
2685
+ * @constant
2686
+ * @enum {string}
2687
+ */
2688
+ type?: "sora_report";
2689
+ };
2575
2690
  /** ValidationError */
2576
2691
  ValidationError: {
2577
2692
  /** Location */
@@ -5150,6 +5265,57 @@ export interface operations {
5150
5265
  };
5151
5266
  };
5152
5267
  };
5268
+ uk_sora_report_v1_risk_assessment_sora_uk_report_post: {
5269
+ parameters: {
5270
+ query?: never;
5271
+ header?: never;
5272
+ path?: never;
5273
+ cookie?: never;
5274
+ };
5275
+ requestBody: {
5276
+ content: {
5277
+ "application/json": components["schemas"]["UkSoraReportRequest"];
5278
+ };
5279
+ };
5280
+ responses: {
5281
+ /** @description Successful Response */
5282
+ 200: {
5283
+ headers: {
5284
+ [name: string]: unknown;
5285
+ };
5286
+ content: {
5287
+ "application/json": components["schemas"]["JsonApiResponse_UkSoraReportResponse_"];
5288
+ };
5289
+ };
5290
+ /** @description One or more input parameters were missing or invalid. */
5291
+ 400: {
5292
+ headers: {
5293
+ [name: string]: unknown;
5294
+ };
5295
+ content: {
5296
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
5297
+ };
5298
+ };
5299
+ /** @description Bearer access token was not provided in Authorization header, token could not be decoded, or token was invalid. */
5300
+ 401: {
5301
+ headers: {
5302
+ [name: string]: unknown;
5303
+ };
5304
+ content: {
5305
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
5306
+ };
5307
+ };
5308
+ /** @description Validation Error */
5309
+ 422: {
5310
+ headers: {
5311
+ [name: string]: unknown;
5312
+ };
5313
+ content: {
5314
+ "application/json": components["schemas"]["HTTPValidationError"];
5315
+ };
5316
+ };
5317
+ };
5318
+ };
5153
5319
  uk_semantic_model_volumes_v1_risk_assessment_sora_uk_semantic_model_volumes_post: {
5154
5320
  parameters: {
5155
5321
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volant-autonomy/via-sdk",
3
- "version": "1.3188.1",
3
+ "version": "1.3194.1",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "types": "dist/index.d.ts",