@volant-autonomy/via-sdk 1.3554.1 → 1.3556.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.
@@ -897,6 +897,54 @@ export interface paths {
897
897
  patch?: never;
898
898
  trace?: never;
899
899
  };
900
+ "/cost_datasets/": {
901
+ parameters: {
902
+ query?: never;
903
+ header?: never;
904
+ path?: never;
905
+ cookie?: never;
906
+ };
907
+ /**
908
+ * List Cost Datasets
909
+ * @description Get a list of Cost Datasets, ordered by last time updated
910
+ */
911
+ get: operations["list_cost_dataset_v1_cost_datasets__get"];
912
+ put?: never;
913
+ /**
914
+ * Create a Cost Dataset
915
+ * @description Create a Cost Dataset
916
+ */
917
+ post: operations["create_cost_dataset_v1_cost_datasets__post"];
918
+ delete?: never;
919
+ options?: never;
920
+ head?: never;
921
+ patch?: never;
922
+ trace?: never;
923
+ };
924
+ "/cost_datasets/{cost_dataset_id}": {
925
+ parameters: {
926
+ query?: never;
927
+ header?: never;
928
+ path?: never;
929
+ cookie?: never;
930
+ };
931
+ /**
932
+ * Get a Cost Dataset
933
+ * @description Get a Cost Dataset
934
+ */
935
+ get: operations["get_cost_dataset_v1_cost_datasets__cost_dataset_id__get"];
936
+ put?: never;
937
+ post?: never;
938
+ /**
939
+ * Delete a Cost Dataset
940
+ * @description Delete a Cost Dataset.
941
+ */
942
+ delete: operations["delete_cost_dataset_v1_cost_datasets__cost_dataset_id__delete"];
943
+ options?: never;
944
+ head?: never;
945
+ patch?: never;
946
+ trace?: never;
947
+ };
900
948
  }
901
949
  export type webhooks = Record<string, never>;
902
950
  export interface components {
@@ -1190,6 +1238,105 @@ export interface components {
1190
1238
  type?: "atypical_airspace";
1191
1239
  attributes: components["schemas"]["AtypicalAirspace-Output"];
1192
1240
  };
1241
+ /** Body_create_cost_dataset_v1_cost_datasets__post */
1242
+ Body_create_cost_dataset_v1_cost_datasets__post: {
1243
+ /**
1244
+ * Chart ID
1245
+ * @description Unique identifier for a chart.
1246
+ */
1247
+ chart_id: string;
1248
+ /**
1249
+ * Raster Valid Time Ranges
1250
+ * @description
1251
+ * Series of time ranges that must match the number of bands within the GeoTiff and must not overlap. Each range may be
1252
+ * described as:
1253
+ *
1254
+ *
1255
+ * Time range in which a raster of data is valid.
1256
+ *
1257
+ * Bounds are defined as [start, end) such that the the raster is valid from the `start` time up until (but not
1258
+ * including) the `end` time.
1259
+ *
1260
+ * When `None` is provided, it is considered an infinite bound.
1261
+ *
1262
+ *
1263
+ * Must be of the form of a **JSON string** that abides by the following schema:
1264
+ *
1265
+ * ```{
1266
+ * "$defs": {
1267
+ * "RasterValidityTime": {
1268
+ * "additionalProperties": false,
1269
+ * "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.",
1270
+ * "properties": {
1271
+ * "start": {
1272
+ * "anyOf": [
1273
+ * {
1274
+ * "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'.",
1275
+ * "examples": [
1276
+ * "2023-10-30T10:57:57Z",
1277
+ * "2023-10-30T10:57:57+00:00"
1278
+ * ],
1279
+ * "format": "date-time",
1280
+ * "type": "string"
1281
+ * },
1282
+ * {
1283
+ * "type": "null"
1284
+ * }
1285
+ * ],
1286
+ * "title": "Start"
1287
+ * },
1288
+ * "end": {
1289
+ * "anyOf": [
1290
+ * {
1291
+ * "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'.",
1292
+ * "examples": [
1293
+ * "2023-10-30T10:57:57Z",
1294
+ * "2023-10-30T10:57:57+00:00"
1295
+ * ],
1296
+ * "format": "date-time",
1297
+ * "type": "string"
1298
+ * },
1299
+ * {
1300
+ * "type": "null"
1301
+ * }
1302
+ * ],
1303
+ * "title": "End"
1304
+ * }
1305
+ * },
1306
+ * "required": [
1307
+ * "start",
1308
+ * "end"
1309
+ * ],
1310
+ * "title": "RasterValidityTime",
1311
+ * "type": "object"
1312
+ * }
1313
+ * },
1314
+ * "properties": {
1315
+ * "times": {
1316
+ * "items": {
1317
+ * "$ref": "#/$defs/RasterValidityTime"
1318
+ * },
1319
+ * "maxItems": 100,
1320
+ * "minItems": 1,
1321
+ * "title": "Times",
1322
+ * "type": "array"
1323
+ * }
1324
+ * },
1325
+ * "required": [
1326
+ * "times"
1327
+ * ],
1328
+ * "title": "RasterValidityTimeList",
1329
+ * "type": "object"
1330
+ * }```
1331
+ *
1332
+ */
1333
+ valid_time_ranges: string;
1334
+ /**
1335
+ * Geotiff
1336
+ * Format: binary
1337
+ */
1338
+ geotiff: string;
1339
+ };
1193
1340
  /** ChartAttributes */
1194
1341
  ChartAttributes: {
1195
1342
  aoi_bounding: components["schemas"]["AoiBounding"];
@@ -1296,6 +1443,30 @@ export interface components {
1296
1443
  type?: "controlled_ground_area";
1297
1444
  attributes: components["schemas"]["ControlledGroundArea-Output"];
1298
1445
  };
1446
+ /** CostDatasetAttributes */
1447
+ CostDatasetAttributes: {
1448
+ /**
1449
+ * Chart ID
1450
+ * @description Unique identifier for a chart.
1451
+ */
1452
+ chart_id: string;
1453
+ };
1454
+ /** CostDatasetResponse */
1455
+ CostDatasetResponse: {
1456
+ /**
1457
+ * Cost Dataset ID
1458
+ * Format: uuid
1459
+ * @description Unique identifier of the cost dataset.
1460
+ */
1461
+ id: string;
1462
+ /**
1463
+ * Type
1464
+ * @default cost_dataset
1465
+ * @constant
1466
+ */
1467
+ type?: "cost_dataset";
1468
+ attributes: components["schemas"]["CostDatasetAttributes"];
1469
+ };
1299
1470
  /**
1300
1471
  * DataSources
1301
1472
  * @description Available data sources for the chart
@@ -1899,6 +2070,12 @@ export interface components {
1899
2070
  data: components["schemas"]["JsonApiResponse_ControlledGroundAreaResponse_"][];
1900
2071
  links: components["schemas"]["Links"];
1901
2072
  };
2073
+ /** JsonApiListResponse[JsonApiResponse[CostDatasetResponse]] */
2074
+ JsonApiListResponse_JsonApiResponse_CostDatasetResponse__: {
2075
+ /** Data */
2076
+ data: components["schemas"]["JsonApiResponse_CostDatasetResponse_"][];
2077
+ links: components["schemas"]["Links"];
2078
+ };
1902
2079
  /** JsonApiListResponse[JsonApiResponse[FlightplanResponse]] */
1903
2080
  JsonApiListResponse_JsonApiResponse_FlightplanResponse__: {
1904
2081
  /** Data */
@@ -1953,6 +2130,11 @@ export interface components {
1953
2130
  data: components["schemas"]["ControlledGroundAreaResponse"];
1954
2131
  links: components["schemas"]["Links"];
1955
2132
  };
2133
+ /** JsonApiResponse[CostDatasetResponse] */
2134
+ JsonApiResponse_CostDatasetResponse_: {
2135
+ data: components["schemas"]["CostDatasetResponse"];
2136
+ links: components["schemas"]["Links"];
2137
+ };
1956
2138
  /** JsonApiResponse[FlightplanResponse] */
1957
2139
  JsonApiResponse_FlightplanResponse_: {
1958
2140
  data: components["schemas"]["FlightplanResponse"];
@@ -6307,4 +6489,221 @@ export interface operations {
6307
6489
  };
6308
6490
  };
6309
6491
  };
6492
+ list_cost_dataset_v1_cost_datasets__get: {
6493
+ parameters: {
6494
+ query?: {
6495
+ "page[offset]"?: number;
6496
+ "page[limit]"?: number;
6497
+ };
6498
+ header?: never;
6499
+ path?: never;
6500
+ cookie?: never;
6501
+ };
6502
+ requestBody?: never;
6503
+ responses: {
6504
+ /** @description Successful Response */
6505
+ 200: {
6506
+ headers: {
6507
+ [name: string]: unknown;
6508
+ };
6509
+ content: {
6510
+ "application/json": components["schemas"]["JsonApiListResponse_JsonApiResponse_CostDatasetResponse__"];
6511
+ };
6512
+ };
6513
+ /** @description One or more input parameters were missing or invalid. */
6514
+ 400: {
6515
+ headers: {
6516
+ [name: string]: unknown;
6517
+ };
6518
+ content: {
6519
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6520
+ };
6521
+ };
6522
+ /** @description Bearer access token was not provided in Authorization header, token could not be decoded, or token was invalid. */
6523
+ 401: {
6524
+ headers: {
6525
+ [name: string]: unknown;
6526
+ };
6527
+ content: {
6528
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6529
+ };
6530
+ };
6531
+ /** @description Validation Error */
6532
+ 422: {
6533
+ headers: {
6534
+ [name: string]: unknown;
6535
+ };
6536
+ content: {
6537
+ "application/json": components["schemas"]["HTTPValidationError"];
6538
+ };
6539
+ };
6540
+ };
6541
+ };
6542
+ create_cost_dataset_v1_cost_datasets__post: {
6543
+ parameters: {
6544
+ query?: never;
6545
+ header?: never;
6546
+ path?: never;
6547
+ cookie?: never;
6548
+ };
6549
+ requestBody: {
6550
+ content: {
6551
+ "multipart/form-data": components["schemas"]["Body_create_cost_dataset_v1_cost_datasets__post"];
6552
+ };
6553
+ };
6554
+ responses: {
6555
+ /** @description Successful Response */
6556
+ 200: {
6557
+ headers: {
6558
+ [name: string]: unknown;
6559
+ };
6560
+ content: {
6561
+ "application/json": components["schemas"]["JsonApiResponse_CostDatasetResponse_"];
6562
+ };
6563
+ };
6564
+ /** @description One or more input parameters were missing or invalid. */
6565
+ 400: {
6566
+ headers: {
6567
+ [name: string]: unknown;
6568
+ };
6569
+ content: {
6570
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6571
+ };
6572
+ };
6573
+ /** @description Bearer access token was not provided in Authorization header, token could not be decoded, or token was invalid. */
6574
+ 401: {
6575
+ headers: {
6576
+ [name: string]: unknown;
6577
+ };
6578
+ content: {
6579
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6580
+ };
6581
+ };
6582
+ /** @description Validation Error */
6583
+ 422: {
6584
+ headers: {
6585
+ [name: string]: unknown;
6586
+ };
6587
+ content: {
6588
+ "application/json": components["schemas"]["HTTPValidationError"];
6589
+ };
6590
+ };
6591
+ };
6592
+ };
6593
+ get_cost_dataset_v1_cost_datasets__cost_dataset_id__get: {
6594
+ parameters: {
6595
+ query?: never;
6596
+ header?: never;
6597
+ path: {
6598
+ /** @description Unique identifier of the cost dataset. */
6599
+ cost_dataset_id: string;
6600
+ };
6601
+ cookie?: never;
6602
+ };
6603
+ requestBody?: never;
6604
+ responses: {
6605
+ /** @description Successful Response */
6606
+ 200: {
6607
+ headers: {
6608
+ [name: string]: unknown;
6609
+ };
6610
+ content: {
6611
+ "application/json": components["schemas"]["JsonApiResponse_CostDatasetResponse_"];
6612
+ };
6613
+ };
6614
+ /** @description One or more input parameters were missing or invalid. */
6615
+ 400: {
6616
+ headers: {
6617
+ [name: string]: unknown;
6618
+ };
6619
+ content: {
6620
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6621
+ };
6622
+ };
6623
+ /** @description Bearer access token was not provided in Authorization header, token could not be decoded, or token was invalid. */
6624
+ 401: {
6625
+ headers: {
6626
+ [name: string]: unknown;
6627
+ };
6628
+ content: {
6629
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6630
+ };
6631
+ };
6632
+ /** @description The requested resource could not be found */
6633
+ 404: {
6634
+ headers: {
6635
+ [name: string]: unknown;
6636
+ };
6637
+ content: {
6638
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6639
+ };
6640
+ };
6641
+ /** @description Validation Error */
6642
+ 422: {
6643
+ headers: {
6644
+ [name: string]: unknown;
6645
+ };
6646
+ content: {
6647
+ "application/json": components["schemas"]["HTTPValidationError"];
6648
+ };
6649
+ };
6650
+ };
6651
+ };
6652
+ delete_cost_dataset_v1_cost_datasets__cost_dataset_id__delete: {
6653
+ parameters: {
6654
+ query?: never;
6655
+ header?: never;
6656
+ path: {
6657
+ /** @description Unique identifier of the cost dataset. */
6658
+ cost_dataset_id: string;
6659
+ };
6660
+ cookie?: never;
6661
+ };
6662
+ requestBody?: never;
6663
+ responses: {
6664
+ /** @description Successful Response */
6665
+ 204: {
6666
+ headers: {
6667
+ [name: string]: unknown;
6668
+ };
6669
+ content?: never;
6670
+ };
6671
+ /** @description One or more input parameters were missing or invalid. */
6672
+ 400: {
6673
+ headers: {
6674
+ [name: string]: unknown;
6675
+ };
6676
+ content: {
6677
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6678
+ };
6679
+ };
6680
+ /** @description Bearer access token was not provided in Authorization header, token could not be decoded, or token was invalid. */
6681
+ 401: {
6682
+ headers: {
6683
+ [name: string]: unknown;
6684
+ };
6685
+ content: {
6686
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6687
+ };
6688
+ };
6689
+ /** @description The requested resource could not be found */
6690
+ 404: {
6691
+ headers: {
6692
+ [name: string]: unknown;
6693
+ };
6694
+ content: {
6695
+ "application/json": components["schemas"]["JsonApiExceptionResponse"];
6696
+ };
6697
+ };
6698
+ /** @description Validation Error */
6699
+ 422: {
6700
+ headers: {
6701
+ [name: string]: unknown;
6702
+ };
6703
+ content: {
6704
+ "application/json": components["schemas"]["HTTPValidationError"];
6705
+ };
6706
+ };
6707
+ };
6708
+ };
6310
6709
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volant-autonomy/via-sdk",
3
- "version": "1.3554.1",
3
+ "version": "1.3556.1",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "types": "dist/index.d.ts",