@volant-autonomy/via-sdk 1.3567.1 → 1.3595.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/README.md +1 -1
- package/dist/direct.d.ts +1 -65
- package/dist/index.cjs.d.ts +7 -0
- package/dist/index.cjs.js +910 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.d.ts +7 -0
- package/dist/index.esm.js +905 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/volant-schema.d.ts +28 -187
- package/package.json +16 -4
- package/dist/client.js +0 -21
- package/dist/composite.js +0 -104
- package/dist/direct.js +0 -507
- package/dist/docstringTransformer.d.ts +0 -3
- package/dist/docstringTransformer.js +0 -194
- package/dist/fetch.js +0 -201
- package/dist/index.js +0 -22
- package/dist/types.js +0 -19
- package/dist/utils.js +0 -59
- package/dist/volant-schema.js +0 -6
package/README.md
CHANGED
package/dist/direct.d.ts
CHANGED
|
@@ -22,8 +22,6 @@ export type modifyAirspaceConstraint = paths['/airspace_constraints/{airspace_co
|
|
|
22
22
|
export type changeAirspaceConstraintState = paths['/airspace_constraints/{airspace_constraints_id}/state']['post'];
|
|
23
23
|
export type createPathingTask = paths['/pathing_tasks/']['post'];
|
|
24
24
|
export type getPathingTask = paths['/pathing_tasks/{pathing_task_id}']['get'];
|
|
25
|
-
export type getAllAircraft = paths['/aircraft/']['get'];
|
|
26
|
-
export type getAircraft = paths['/aircraft/{aircraft_id}']['get'];
|
|
27
25
|
export type getAllCharts = paths['/charts/']['get'];
|
|
28
26
|
export type getChart = paths['/charts/{chart_id}']['get'];
|
|
29
27
|
export type getSailV2_5 = paths['/risk_assessment/sora/v2.5/sail']['get'];
|
|
@@ -220,7 +218,7 @@ export declare class Direct {
|
|
|
220
218
|
* Retrieve Flightplan Statistics
|
|
221
219
|
* @description Retrieve statistics for the specified flightplan, including the nominal time and cost.
|
|
222
220
|
*/
|
|
223
|
-
getFlightplanStatistics<Opts extends requestOptions = {}>(id: pathOf<getFlightplanStatistics>['flightplan_id'], opts?: Opts | requestOptions): Promise<{
|
|
221
|
+
getFlightplanStatistics<Opts extends requestOptions = {}>(id: pathOf<getFlightplanStatistics>['flightplan_id'], args: queryOf<getFlightplanStatistics>, opts?: Opts | requestOptions): Promise<{
|
|
224
222
|
data?: never;
|
|
225
223
|
error: {
|
|
226
224
|
errors: {
|
|
@@ -592,68 +590,6 @@ export declare class Direct {
|
|
|
592
590
|
response: Response;
|
|
593
591
|
aborted: false;
|
|
594
592
|
}>;
|
|
595
|
-
/**
|
|
596
|
-
* List available aircraft
|
|
597
|
-
* @deprecated
|
|
598
|
-
* @description List available aircraft.
|
|
599
|
-
*/
|
|
600
|
-
getAllAircraft<Opts extends requestOptions = {}>(opts?: Opts | requestOptions): Promise<{
|
|
601
|
-
data?: never;
|
|
602
|
-
error: {
|
|
603
|
-
errors: {
|
|
604
|
-
detail: string;
|
|
605
|
-
status: "401" | "400";
|
|
606
|
-
}[];
|
|
607
|
-
status: "401" | "400";
|
|
608
|
-
};
|
|
609
|
-
response: Response;
|
|
610
|
-
aborted: false;
|
|
611
|
-
} | (keyof Opts extends never ? never : Opts["abortKey"] extends undefined ? never : Opts["abortKey"] extends string | undefined ? {
|
|
612
|
-
data?: never;
|
|
613
|
-
error?: never;
|
|
614
|
-
response?: never;
|
|
615
|
-
aborted: true;
|
|
616
|
-
} : never) | {
|
|
617
|
-
data: {
|
|
618
|
-
id: string;
|
|
619
|
-
type?: "aircraft";
|
|
620
|
-
attributes: import("./volant-schema").components["schemas"]["AircraftAttributes"];
|
|
621
|
-
}[];
|
|
622
|
-
error?: never;
|
|
623
|
-
response: Response;
|
|
624
|
-
aborted: false;
|
|
625
|
-
}>;
|
|
626
|
-
/**
|
|
627
|
-
* Retrieve the specified aircraft
|
|
628
|
-
* @deprecated
|
|
629
|
-
* @description Retrieve the specified aircraft.
|
|
630
|
-
*/
|
|
631
|
-
getAircraft<Opts extends requestOptions = {}>(id: pathOf<getAircraft>['aircraft_id'], opts?: Opts | requestOptions): Promise<{
|
|
632
|
-
data?: never;
|
|
633
|
-
error: {
|
|
634
|
-
errors: {
|
|
635
|
-
detail: string;
|
|
636
|
-
status: "401" | "400" | "422" | "404";
|
|
637
|
-
}[];
|
|
638
|
-
status: "401" | "400" | "422" | "404";
|
|
639
|
-
};
|
|
640
|
-
response: Response;
|
|
641
|
-
aborted: false;
|
|
642
|
-
} | (keyof Opts extends never ? never : Opts["abortKey"] extends undefined ? never : Opts["abortKey"] extends string | undefined ? {
|
|
643
|
-
data?: never;
|
|
644
|
-
error?: never;
|
|
645
|
-
response?: never;
|
|
646
|
-
aborted: true;
|
|
647
|
-
} : never) | {
|
|
648
|
-
data: {
|
|
649
|
-
id: string;
|
|
650
|
-
type?: "aircraft";
|
|
651
|
-
attributes: import("./volant-schema").components["schemas"]["AircraftAttributes"];
|
|
652
|
-
};
|
|
653
|
-
error?: never;
|
|
654
|
-
response: Response;
|
|
655
|
-
aborted: false;
|
|
656
|
-
}>;
|
|
657
593
|
/**
|
|
658
594
|
* List all available Charts
|
|
659
595
|
* @description List user's charts, including chart id and bounds.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { createSDK } from './client';
|
|
2
|
+
export * from './utils';
|
|
3
|
+
export type { SdkErrorModel } from './fetch';
|
|
4
|
+
export type { schemas, UnauthenticatedError } from './types';
|
|
5
|
+
export type { paths } from './volant-schema';
|
|
6
|
+
export type { Direct } from './direct';
|
|
7
|
+
export type { Composite } from './composite';
|