@volant-autonomy/via-sdk 1.3567.1 → 1.3583.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 CHANGED
@@ -19,7 +19,7 @@ const SDK = createSDK({
19
19
  password: "password"
20
20
  })
21
21
 
22
- const {error, data} = await SDK.direct.getAllAircraft()
22
+ const {error, data} = await SDK.direct.getAllCharts()
23
23
  ```
24
24
 
25
25
  ## Further information
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'];
@@ -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';