@volant-autonomy/via-sdk 1.4707.1 → 1.4712.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 +4 -4
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/volant-schema.d.ts +60 -58
- package/package.json +1 -1
package/dist/direct.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type getFlightplanWaypointsDetailed = paths['/flightplans/{flightplan_id}
|
|
|
17
17
|
export type getFlightplanStatistics = paths['/flightplans/{flightplan_id}/statistics']['get'];
|
|
18
18
|
export type getFlightplanVolumes = paths['/flightplans/{flightplan_id}/volumes']['get'];
|
|
19
19
|
export type getFlightplanDeconflictedStartTime = paths['/flightplans/{flightplan_id}/start_time_deconflict']['get'];
|
|
20
|
-
export type
|
|
20
|
+
export type getFlightplanProfile = paths['/flightplans/{flightplan_id}/profile']['get'];
|
|
21
21
|
export type changeFlightplanState = paths['/flightplans/{flightplan_id}/state']['post'];
|
|
22
22
|
export type getFlightplanAsFile = paths['/flightplans/{flightplan_id}/content']['get'];
|
|
23
23
|
export type createAirspaceConstraint = paths['/airspace_constraints/']['post'];
|
|
@@ -224,10 +224,10 @@ export declare class Direct {
|
|
|
224
224
|
aborted: false;
|
|
225
225
|
}>;
|
|
226
226
|
/**
|
|
227
|
-
* Retrieve
|
|
227
|
+
* Retrieve Data Profile of Specified Type Overflown By Flightplan
|
|
228
228
|
* @description Retrieve data describing the elevation profile of the terrain directly underneath the specified flightplan.
|
|
229
229
|
*/
|
|
230
|
-
|
|
230
|
+
getFlightplanProfile<Opts extends requestOptions = {}>(id: pathOf<getFlightplanProfile>['flightplan_id'], args: queryOf<getFlightplanProfile>, opts?: Opts | requestOptions): Promise<{
|
|
231
231
|
data?: never;
|
|
232
232
|
error: {
|
|
233
233
|
errors: {
|
|
@@ -247,7 +247,7 @@ export declare class Direct {
|
|
|
247
247
|
data: {
|
|
248
248
|
id: string;
|
|
249
249
|
type?: "data_profile";
|
|
250
|
-
attributes: import("./volant-schema").components["schemas"]["
|
|
250
|
+
attributes: import("./volant-schema").components["schemas"]["ProfileAttributes"];
|
|
251
251
|
};
|
|
252
252
|
error?: never;
|
|
253
253
|
response: Response;
|
package/dist/index.cjs.js
CHANGED
|
@@ -208,8 +208,8 @@ class Direct {
|
|
|
208
208
|
}
|
|
209
209
|
return resp;
|
|
210
210
|
}
|
|
211
|
-
async
|
|
212
|
-
const resp = await this.fetcher.GET('/flightplans/{flightplan_id}/
|
|
211
|
+
async getFlightplanProfile(id, args, opts) {
|
|
212
|
+
const resp = await this.fetcher.GET('/flightplans/{flightplan_id}/profile', { path: { flightplan_id: id }, query: args }, opts);
|
|
213
213
|
if (resp.error === undefined && !resp.aborted) {
|
|
214
214
|
return Object.assign(Object.assign({}, resp), { data: resp.data.data });
|
|
215
215
|
}
|
|
@@ -791,7 +791,7 @@ function defaultPathSerializer(pathname, pathParams) {
|
|
|
791
791
|
return nextURL;
|
|
792
792
|
}
|
|
793
793
|
|
|
794
|
-
var version = "1.
|
|
794
|
+
var version = "1.4712.1";
|
|
795
795
|
|
|
796
796
|
const querySerializer = createQuerySerializer();
|
|
797
797
|
class Fetcher {
|