@stuartshay/otel-data-types 1.0.636 → 1.0.642
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/index.d.ts +170 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -779,6 +779,31 @@ export type paths = {
|
|
|
779
779
|
patch?: never;
|
|
780
780
|
trace?: never;
|
|
781
781
|
};
|
|
782
|
+
"/api/v1/geocoding/reverse": {
|
|
783
|
+
parameters: {
|
|
784
|
+
query?: never;
|
|
785
|
+
header?: never;
|
|
786
|
+
path?: never;
|
|
787
|
+
cookie?: never;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Reverse Geocode Point
|
|
791
|
+
* @description Resolve a point from the dense cell cache, falling back to Pelias.
|
|
792
|
+
*
|
|
793
|
+
* Coordinates use the same indexed 4-decimal (~11 m) cell key as the Garmin
|
|
794
|
+
* dense-geocoding pipeline. A successful cached row avoids a Pelias request;
|
|
795
|
+
* misses and non-success rows are refreshed through Pelias and persisted.
|
|
796
|
+
* Authentication is required because a fallback can mutate the cell cache.
|
|
797
|
+
*/
|
|
798
|
+
get: operations["reverse_geocode_point_api_v1_geocoding_reverse_get"];
|
|
799
|
+
put?: never;
|
|
800
|
+
post?: never;
|
|
801
|
+
delete?: never;
|
|
802
|
+
options?: never;
|
|
803
|
+
head?: never;
|
|
804
|
+
patch?: never;
|
|
805
|
+
trace?: never;
|
|
806
|
+
};
|
|
782
807
|
"/api/v1/geocoding/status": {
|
|
783
808
|
parameters: {
|
|
784
809
|
query?: never;
|
|
@@ -2849,6 +2874,96 @@ export type components = {
|
|
|
2849
2874
|
*/
|
|
2850
2875
|
geocoded_at?: string | null;
|
|
2851
2876
|
};
|
|
2877
|
+
/**
|
|
2878
|
+
* GeocodedPointAddress
|
|
2879
|
+
* @description Address resolved for a rounded GPS coordinate cell.
|
|
2880
|
+
* @example {
|
|
2881
|
+
* "confidence": 0.95,
|
|
2882
|
+
* "country": "United States",
|
|
2883
|
+
* "display_address": "123 Main St, Hoboken, NJ 07030",
|
|
2884
|
+
* "geocoded_at": "2026-02-12T08:10:55+00:00",
|
|
2885
|
+
* "housenumber": "123",
|
|
2886
|
+
* "locality": "Hoboken",
|
|
2887
|
+
* "neighbourhood": "Downtown",
|
|
2888
|
+
* "postalcode": "07030",
|
|
2889
|
+
* "region": "New Jersey",
|
|
2890
|
+
* "status": "success",
|
|
2891
|
+
* "street": "Main St"
|
|
2892
|
+
* }
|
|
2893
|
+
*/
|
|
2894
|
+
GeocodedPointAddress: {
|
|
2895
|
+
/**
|
|
2896
|
+
* Display Address
|
|
2897
|
+
* @description Full formatted address label from Pelias
|
|
2898
|
+
*/
|
|
2899
|
+
display_address?: string | null;
|
|
2900
|
+
/**
|
|
2901
|
+
* Street
|
|
2902
|
+
* @description Street name
|
|
2903
|
+
*/
|
|
2904
|
+
street?: string | null;
|
|
2905
|
+
/**
|
|
2906
|
+
* Housenumber
|
|
2907
|
+
* @description House or building number
|
|
2908
|
+
*/
|
|
2909
|
+
housenumber?: string | null;
|
|
2910
|
+
/**
|
|
2911
|
+
* Neighbourhood
|
|
2912
|
+
* @description Neighbourhood name
|
|
2913
|
+
*/
|
|
2914
|
+
neighbourhood?: string | null;
|
|
2915
|
+
/**
|
|
2916
|
+
* Locality
|
|
2917
|
+
* @description City or town
|
|
2918
|
+
*/
|
|
2919
|
+
locality?: string | null;
|
|
2920
|
+
/**
|
|
2921
|
+
* Region
|
|
2922
|
+
* @description State or province
|
|
2923
|
+
*/
|
|
2924
|
+
region?: string | null;
|
|
2925
|
+
/**
|
|
2926
|
+
* Country
|
|
2927
|
+
* @description Country name
|
|
2928
|
+
*/
|
|
2929
|
+
country?: string | null;
|
|
2930
|
+
/**
|
|
2931
|
+
* Postalcode
|
|
2932
|
+
* @description Postal or ZIP code
|
|
2933
|
+
*/
|
|
2934
|
+
postalcode?: string | null;
|
|
2935
|
+
/**
|
|
2936
|
+
* Confidence
|
|
2937
|
+
* @description Pelias confidence score (0-1)
|
|
2938
|
+
*/
|
|
2939
|
+
confidence?: number | null;
|
|
2940
|
+
/**
|
|
2941
|
+
* Status
|
|
2942
|
+
* @description Geocoding status: success, no_coverage, error, pending
|
|
2943
|
+
*/
|
|
2944
|
+
status: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* Geocoded At
|
|
2947
|
+
* @description UTC timestamp when geocoding was performed
|
|
2948
|
+
*/
|
|
2949
|
+
geocoded_at?: string | null;
|
|
2950
|
+
/**
|
|
2951
|
+
* Latitude
|
|
2952
|
+
* @description Resolved 4-decimal cell latitude
|
|
2953
|
+
*/
|
|
2954
|
+
latitude: number;
|
|
2955
|
+
/**
|
|
2956
|
+
* Longitude
|
|
2957
|
+
* @description Resolved 4-decimal cell longitude
|
|
2958
|
+
*/
|
|
2959
|
+
longitude: number;
|
|
2960
|
+
/**
|
|
2961
|
+
* Resolution Source
|
|
2962
|
+
* @description Whether the response came from the database cache or a Pelias fallback
|
|
2963
|
+
* @enum {string}
|
|
2964
|
+
*/
|
|
2965
|
+
resolution_source: "database" | "pelias";
|
|
2966
|
+
};
|
|
2852
2967
|
/**
|
|
2853
2968
|
* GeocodingSourceStatus
|
|
2854
2969
|
* @description Coverage statistics for a single geocoding source (owntracks or garmin).
|
|
@@ -5471,6 +5586,61 @@ export interface operations {
|
|
|
5471
5586
|
};
|
|
5472
5587
|
};
|
|
5473
5588
|
};
|
|
5589
|
+
reverse_geocode_point_api_v1_geocoding_reverse_get: {
|
|
5590
|
+
parameters: {
|
|
5591
|
+
query: {
|
|
5592
|
+
/** @description Latitude in decimal degrees */
|
|
5593
|
+
latitude: number;
|
|
5594
|
+
/** @description Longitude in decimal degrees */
|
|
5595
|
+
longitude: number;
|
|
5596
|
+
};
|
|
5597
|
+
header?: never;
|
|
5598
|
+
path?: never;
|
|
5599
|
+
cookie?: never;
|
|
5600
|
+
};
|
|
5601
|
+
requestBody?: never;
|
|
5602
|
+
responses: {
|
|
5603
|
+
/** @description Successful Response */
|
|
5604
|
+
200: {
|
|
5605
|
+
headers: {
|
|
5606
|
+
[name: string]: unknown;
|
|
5607
|
+
};
|
|
5608
|
+
content: {
|
|
5609
|
+
"application/json": components["schemas"]["GeocodedPointAddress"];
|
|
5610
|
+
};
|
|
5611
|
+
};
|
|
5612
|
+
/** @description Authentication required or token invalid */
|
|
5613
|
+
401: {
|
|
5614
|
+
headers: {
|
|
5615
|
+
[name: string]: unknown;
|
|
5616
|
+
};
|
|
5617
|
+
content?: never;
|
|
5618
|
+
};
|
|
5619
|
+
/** @description Validation Error */
|
|
5620
|
+
422: {
|
|
5621
|
+
headers: {
|
|
5622
|
+
[name: string]: unknown;
|
|
5623
|
+
};
|
|
5624
|
+
content: {
|
|
5625
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
5626
|
+
};
|
|
5627
|
+
};
|
|
5628
|
+
/** @description Pelias fallback result could not be persisted */
|
|
5629
|
+
502: {
|
|
5630
|
+
headers: {
|
|
5631
|
+
[name: string]: unknown;
|
|
5632
|
+
};
|
|
5633
|
+
content?: never;
|
|
5634
|
+
};
|
|
5635
|
+
/** @description Authentication service unavailable */
|
|
5636
|
+
503: {
|
|
5637
|
+
headers: {
|
|
5638
|
+
[name: string]: unknown;
|
|
5639
|
+
};
|
|
5640
|
+
content?: never;
|
|
5641
|
+
};
|
|
5642
|
+
};
|
|
5643
|
+
};
|
|
5474
5644
|
geocoding_status_api_v1_geocoding_status_get: {
|
|
5475
5645
|
parameters: {
|
|
5476
5646
|
query?: never;
|