@volant-autonomy/via-sdk 1.5402.1 → 1.5424.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
@@ -316,8 +316,10 @@ export declare class Direct {
316
316
  aborted: true;
317
317
  } : never) | {
318
318
  data: {
319
- data: import("./volant-schema").components["schemas"]["VolumeResponse"];
320
- links: import("./volant-schema").components["schemas"]["Links"];
319
+ id: string;
320
+ type?: "volumes";
321
+ attributes: import("./volant-schema").components["schemas"]["FlightplanVolume4D"];
322
+ meta: import("./volant-schema").components["schemas"]["VolumeMeta"];
321
323
  }[];
322
324
  error?: never;
323
325
  response: Response;
package/dist/index.cjs.js CHANGED
@@ -225,7 +225,7 @@ class Direct {
225
225
  async getFlightplanVolumes(id, args, opts) {
226
226
  const resp = await this.fetcher.GET('/flightplans/{flightplan_id}/volumes', { path: { flightplan_id: id }, query: args }, opts);
227
227
  if (resp.error === undefined && !resp.aborted) {
228
- return { ...resp, data: resp.data.data };
228
+ return { ...resp, data: resp.data.data.map((volume) => volume.data) };
229
229
  }
230
230
  return resp;
231
231
  }
@@ -785,7 +785,7 @@ function defaultPathSerializer(pathname, pathParams) {
785
785
  return nextURL;
786
786
  }
787
787
 
788
- var version = "1.5402.1";
788
+ var version = "1.5424.1";
789
789
 
790
790
  const querySerializer = createQuerySerializer();
791
791
  class Fetcher {