@volant-autonomy/via-sdk 1.3583.1 → 1.3619.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 +145 -2
- package/dist/fetch.d.ts +2 -1
- package/dist/index.cjs.js +91 -22
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +91 -22
- package/dist/index.esm.js.map +1 -1
- package/dist/types.d.ts +3 -7
- package/dist/volant-schema.d.ts +62 -56
- package/package.json +5 -8
package/dist/volant-schema.d.ts
CHANGED
|
@@ -1185,74 +1185,54 @@ export interface components {
|
|
|
1185
1185
|
* When `None` is provided, it is considered an infinite bound.
|
|
1186
1186
|
*
|
|
1187
1187
|
*
|
|
1188
|
-
* Must be of the form of a **JSON string** that
|
|
1188
|
+
* Must be of the form of a **JSON string** with a list of objects that each abide by the following schema:
|
|
1189
1189
|
*
|
|
1190
1190
|
*
|
|
1191
1191
|
* ```json
|
|
1192
1192
|
* {
|
|
1193
|
-
* "
|
|
1194
|
-
*
|
|
1195
|
-
*
|
|
1196
|
-
*
|
|
1197
|
-
* "
|
|
1198
|
-
*
|
|
1199
|
-
* "
|
|
1200
|
-
*
|
|
1201
|
-
*
|
|
1202
|
-
*
|
|
1203
|
-
* "2023-10-30T10:57:57Z",
|
|
1204
|
-
* "2023-10-30T10:57:57+00:00"
|
|
1205
|
-
* ],
|
|
1206
|
-
* "format": "date-time",
|
|
1207
|
-
* "type": "string"
|
|
1208
|
-
* },
|
|
1209
|
-
* {
|
|
1210
|
-
* "type": "null"
|
|
1211
|
-
* }
|
|
1193
|
+
* "additionalProperties": false,
|
|
1194
|
+
* "description": "Time range in which a raster of data is valid.\n\nBounds are defined as [start, end) such that the the raster is valid from the `start` time up until (but not\nincluding) the `end` time.\n\nWhen `None` is provided, it is considered an infinite bound.",
|
|
1195
|
+
* "properties": {
|
|
1196
|
+
* "start": {
|
|
1197
|
+
* "anyOf": [
|
|
1198
|
+
* {
|
|
1199
|
+
* "description": "RFC3339-formatted (section 5.6) and ISO8601-compatible. The date/time separator must be 'T' and the time zone must be 'Z' or '+00:00'. Values must be between '1970-01-01T00:00:00Z' and '2100-01-01T00:00:00Z'.",
|
|
1200
|
+
* "examples": [
|
|
1201
|
+
* "2023-10-30T10:57:57Z",
|
|
1202
|
+
* "2023-10-30T10:57:57+00:00"
|
|
1212
1203
|
* ],
|
|
1213
|
-
* "
|
|
1204
|
+
* "format": "date-time",
|
|
1205
|
+
* "type": "string"
|
|
1214
1206
|
* },
|
|
1215
|
-
*
|
|
1216
|
-
* "
|
|
1217
|
-
*
|
|
1218
|
-
*
|
|
1219
|
-
*
|
|
1220
|
-
*
|
|
1221
|
-
*
|
|
1222
|
-
*
|
|
1223
|
-
*
|
|
1224
|
-
*
|
|
1225
|
-
*
|
|
1226
|
-
*
|
|
1227
|
-
*
|
|
1228
|
-
* }
|
|
1207
|
+
* {
|
|
1208
|
+
* "type": "null"
|
|
1209
|
+
* }
|
|
1210
|
+
* ],
|
|
1211
|
+
* "title": "Start"
|
|
1212
|
+
* },
|
|
1213
|
+
* "end": {
|
|
1214
|
+
* "anyOf": [
|
|
1215
|
+
* {
|
|
1216
|
+
* "description": "RFC3339-formatted (section 5.6) and ISO8601-compatible. The date/time separator must be 'T' and the time zone must be 'Z' or '+00:00'. Values must be between '1970-01-01T00:00:00Z' and '2100-01-01T00:00:00Z'.",
|
|
1217
|
+
* "examples": [
|
|
1218
|
+
* "2023-10-30T10:57:57Z",
|
|
1219
|
+
* "2023-10-30T10:57:57+00:00"
|
|
1229
1220
|
* ],
|
|
1230
|
-
* "
|
|
1221
|
+
* "format": "date-time",
|
|
1222
|
+
* "type": "string"
|
|
1223
|
+
* },
|
|
1224
|
+
* {
|
|
1225
|
+
* "type": "null"
|
|
1231
1226
|
* }
|
|
1232
|
-
* },
|
|
1233
|
-
* "required": [
|
|
1234
|
-
* "start",
|
|
1235
|
-
* "end"
|
|
1236
1227
|
* ],
|
|
1237
|
-
* "title": "
|
|
1238
|
-
* "type": "object"
|
|
1239
|
-
* }
|
|
1240
|
-
* },
|
|
1241
|
-
* "properties": {
|
|
1242
|
-
* "times": {
|
|
1243
|
-
* "items": {
|
|
1244
|
-
* "$ref": "#/$defs/RasterValidityTime"
|
|
1245
|
-
* },
|
|
1246
|
-
* "maxItems": 100,
|
|
1247
|
-
* "minItems": 1,
|
|
1248
|
-
* "title": "Times",
|
|
1249
|
-
* "type": "array"
|
|
1228
|
+
* "title": "End"
|
|
1250
1229
|
* }
|
|
1251
1230
|
* },
|
|
1252
1231
|
* "required": [
|
|
1253
|
-
* "
|
|
1232
|
+
* "start",
|
|
1233
|
+
* "end"
|
|
1254
1234
|
* ],
|
|
1255
|
-
* "title": "
|
|
1235
|
+
* "title": "RasterValidityTime",
|
|
1256
1236
|
* "type": "object"
|
|
1257
1237
|
* }
|
|
1258
1238
|
* ```
|
|
@@ -2304,6 +2284,8 @@ export interface components {
|
|
|
2304
2284
|
terrain_source?: components["schemas"]["TerrainSource"];
|
|
2305
2285
|
/** Geocage Id */
|
|
2306
2286
|
geocage_id?: string | null;
|
|
2287
|
+
/** Cost Dataset Id */
|
|
2288
|
+
cost_dataset_id?: string | null;
|
|
2307
2289
|
/**
|
|
2308
2290
|
* Time Start
|
|
2309
2291
|
* @deprecated
|
|
@@ -3264,6 +3246,21 @@ export interface components {
|
|
|
3264
3246
|
*/
|
|
3265
3247
|
speed?: number;
|
|
3266
3248
|
};
|
|
3249
|
+
/**
|
|
3250
|
+
* RasterValidityTime
|
|
3251
|
+
* @description Time range in which a raster of data is valid.
|
|
3252
|
+
*
|
|
3253
|
+
* Bounds are defined as [start, end) such that the the raster is valid from the `start` time up until (but not
|
|
3254
|
+
* including) the `end` time.
|
|
3255
|
+
*
|
|
3256
|
+
* When `None` is provided, it is considered an infinite bound.
|
|
3257
|
+
*/
|
|
3258
|
+
RasterValidityTime: {
|
|
3259
|
+
/** Start */
|
|
3260
|
+
start: string | null;
|
|
3261
|
+
/** End */
|
|
3262
|
+
end: string | null;
|
|
3263
|
+
};
|
|
3267
3264
|
};
|
|
3268
3265
|
responses: never;
|
|
3269
3266
|
parameters: never;
|
|
@@ -3688,7 +3685,16 @@ export interface operations {
|
|
|
3688
3685
|
};
|
|
3689
3686
|
flightplan_statistics_v1_flightplans__flightplan_id__statistics_get: {
|
|
3690
3687
|
parameters: {
|
|
3691
|
-
query?:
|
|
3688
|
+
query?: {
|
|
3689
|
+
/** @description
|
|
3690
|
+
* External user defined [Cost Dataset](#Cost%20Datasets) to use when calculating statistics of the flightplan subject to
|
|
3691
|
+
* the following limitations:
|
|
3692
|
+
*
|
|
3693
|
+
* * Temporal variation is ignored, the first raster band in the Cost Dataset is used without consideration for time.
|
|
3694
|
+
* * Data within the Cost Dataset is directly added to Via internal costs which is reflected in `total_cost`.
|
|
3695
|
+
* */
|
|
3696
|
+
cost_dataset_id?: string | null;
|
|
3697
|
+
};
|
|
3692
3698
|
header?: never;
|
|
3693
3699
|
path: {
|
|
3694
3700
|
/** @description Unique identifier of the flightplan. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volant-autonomy/via-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3619.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,36 +22,33 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@jest/globals": "^29.6.4",
|
|
26
25
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
26
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
27
27
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
28
28
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
29
|
-
"@types/jest": "^29.5.11",
|
|
30
29
|
"@typescript-eslint/eslint-plugin": "^7.15.0",
|
|
31
30
|
"@typescript-eslint/parser": "^7.15.0",
|
|
32
31
|
"eslint": "^8.57.0",
|
|
33
32
|
"eslint-config-prettier": "^9.1.0",
|
|
34
33
|
"eslint-plugin-import": "^2.29.1",
|
|
35
|
-
"eslint-plugin-jest": "^28.6.0",
|
|
36
34
|
"eslint-plugin-jsdoc": "^48.5.0",
|
|
37
35
|
"esm": "^3.2.25",
|
|
38
|
-
"jest": "^29.7.0",
|
|
39
36
|
"openapi-typescript": "^7.1.0",
|
|
40
37
|
"prettier": "^3.3.2",
|
|
41
38
|
"prettier-eslint": "^16.3.0",
|
|
42
39
|
"rollup": "^4.32.0",
|
|
43
40
|
"rollup-plugin-dts": "^6.1.1",
|
|
44
41
|
"standard": "^17.0.0",
|
|
45
|
-
"ts-jest": "^29.1.5",
|
|
46
42
|
"ts-node": "^10.9.2",
|
|
47
|
-
"typescript": "^5.7.2"
|
|
43
|
+
"typescript": "^5.7.2",
|
|
44
|
+
"vitest": "^3.2.4"
|
|
48
45
|
},
|
|
49
46
|
"scripts": {
|
|
50
47
|
"prepack": "npm run build",
|
|
51
48
|
"build": "./build.sh",
|
|
52
49
|
"build-test": "./build-test.sh",
|
|
53
50
|
"gen-schema": "./gen-schema.sh",
|
|
54
|
-
"test": "
|
|
51
|
+
"test": "vitest --run",
|
|
55
52
|
"fix-prettier": "prettier \"**/*.[ts][tsx]\" --write",
|
|
56
53
|
"fix-eslint": "eslint --fix .",
|
|
57
54
|
"fix-all": "npm run fix-prettier && npm run fix-eslint",
|