@volant-autonomy/via-sdk 1.3800.1 → 1.3816.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
@@ -1575,6 +1575,7 @@ export declare class Direct {
1575
1575
  } : never) | {
1576
1576
  data: {
1577
1577
  id: string;
1578
+ name: string;
1578
1579
  type?: "cost_dataset";
1579
1580
  attributes: import("./volant-schema").components["schemas"]["CostDatasetAttributes"];
1580
1581
  };
@@ -1605,6 +1606,7 @@ export declare class Direct {
1605
1606
  } : never) | {
1606
1607
  data: {
1607
1608
  id: string;
1609
+ name: string;
1608
1610
  type?: "cost_dataset";
1609
1611
  attributes: import("./volant-schema").components["schemas"]["CostDatasetAttributes"];
1610
1612
  }[];
@@ -1618,6 +1620,7 @@ export declare class Direct {
1618
1620
  */
1619
1621
  createCostDataset<Opts extends requestOptions = {}>(args: {
1620
1622
  chart_id: string;
1623
+ name: schemas['CostDatasetResponse']['name'];
1621
1624
  valid_time_ranges: schemas['RasterValidityTime'][];
1622
1625
  geotiff: Blob;
1623
1626
  }, opts?: Opts | requestOptions): Promise<{
@@ -1643,6 +1646,7 @@ export declare class Direct {
1643
1646
  } : never) | {
1644
1647
  data: {
1645
1648
  id: string;
1649
+ name: string;
1646
1650
  type?: "cost_dataset";
1647
1651
  attributes: import("./volant-schema").components["schemas"]["CostDatasetAttributes"];
1648
1652
  };
package/dist/index.cjs.js CHANGED
@@ -556,6 +556,7 @@ class Direct {
556
556
  async createCostDataset(args, opts) {
557
557
  const formData = new FormData();
558
558
  formData.append('chart_id', args.chart_id);
559
+ formData.append('name', args.name);
559
560
  formData.append('valid_time_ranges', JSON.stringify(args.valid_time_ranges));
560
561
  formData.append('geotiff', args.geotiff);
561
562
  const resp = await this.fetcher.POST('/cost_datasets/', { body: formData }, Object.assign(Object.assign({}, opts), {
@@ -785,7 +786,7 @@ function defaultPathSerializer(pathname, pathParams) {
785
786
  return nextURL;
786
787
  }
787
788
 
788
- var version = "1.3800.1";
789
+ var version = "1.3816.1";
789
790
 
790
791
  const querySerializer = createQuerySerializer();
791
792
  class Fetcher {