@viadukt/connect 2.5.1 → 2.6.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +11 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2953,6 +2953,7 @@ type GetAddressLookupV3Data = {
2953
2953
  query: {
2954
2954
  city: string;
2955
2955
  postcode: string;
2956
+ representation?: '3d' | '2d';
2956
2957
  resolution?: 'address' | 'geometry';
2957
2958
  solarMode?: 'sync' | 'async';
2958
2959
  street: string;
@@ -2978,6 +2979,7 @@ type GetCoordinateLookupV3Data = {
2978
2979
  query?: {
2979
2980
  lat?: number | null;
2980
2981
  lng?: number | null;
2982
+ representation?: '3d' | '2d';
2981
2983
  resolution?: 'address' | 'geometry';
2982
2984
  solarMode?: 'sync' | 'async';
2983
2985
  };
@@ -3005,6 +3007,14 @@ type PostCoordinateBatchLookupV3Data = {
3005
3007
  [key: string]: {
3006
3008
  lat: number | null;
3007
3009
  lng: number | null;
3010
+ /**
3011
+ *
3012
+ * The geometry of the response. If no geometry is provided, the geometry precision will
3013
+ * be used.
3014
+ *
3015
+ * The 3d geometries are represented as MultiPolygon with an additional `z` coordinate.
3016
+ */
3017
+ representation?: '3d' | '2d';
3008
3018
  /**
3009
3019
  *
3010
3020
  * The resolution of the response. If no resolution is provided, the geometry precision will
@@ -3021,6 +3031,7 @@ type PostCoordinateBatchLookupV3Data = {
3021
3031
  };
3022
3032
  };
3023
3033
  query?: {
3034
+ representation?: '3d' | '2d';
3024
3035
  resolution?: 'address' | 'geometry';
3025
3036
  };
3026
3037
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@viadukt/connect",
4
- "version": "2.5.1",
4
+ "version": "2.6.0",
5
5
  "description": "",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",