@stuartshay/otel-data-types 1.0.205 → 1.0.211
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 +62 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -87,6 +87,26 @@ export type paths = {
|
|
|
87
87
|
patch?: never;
|
|
88
88
|
trace?: never;
|
|
89
89
|
};
|
|
90
|
+
"/api/v1/locations/date-range": {
|
|
91
|
+
parameters: {
|
|
92
|
+
query?: never;
|
|
93
|
+
header?: never;
|
|
94
|
+
path?: never;
|
|
95
|
+
cookie?: never;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Location Date Range
|
|
99
|
+
* @description Get the earliest and latest location timestamps.
|
|
100
|
+
*/
|
|
101
|
+
get: operations["location_date_range_api_v1_locations_date_range_get"];
|
|
102
|
+
put?: never;
|
|
103
|
+
post?: never;
|
|
104
|
+
delete?: never;
|
|
105
|
+
options?: never;
|
|
106
|
+
head?: never;
|
|
107
|
+
patch?: never;
|
|
108
|
+
trace?: never;
|
|
109
|
+
};
|
|
90
110
|
"/api/v1/locations/count": {
|
|
91
111
|
parameters: {
|
|
92
112
|
query?: never;
|
|
@@ -1258,6 +1278,28 @@ export type components = {
|
|
|
1258
1278
|
*/
|
|
1259
1279
|
device_id?: string | null;
|
|
1260
1280
|
};
|
|
1281
|
+
/**
|
|
1282
|
+
* LocationDateRange
|
|
1283
|
+
* @description Earliest and latest location timestamps in the database.
|
|
1284
|
+
* @example {
|
|
1285
|
+
* "max_date": "2026-04-06T20:00:00+00:00",
|
|
1286
|
+
* "min_date": "2025-12-27T08:44:52+00:00"
|
|
1287
|
+
* }
|
|
1288
|
+
*/
|
|
1289
|
+
LocationDateRange: {
|
|
1290
|
+
/**
|
|
1291
|
+
* Min Date
|
|
1292
|
+
* Format: date-time
|
|
1293
|
+
* @description Timestamp of the earliest location record
|
|
1294
|
+
*/
|
|
1295
|
+
min_date: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Max Date
|
|
1298
|
+
* Format: date-time
|
|
1299
|
+
* @description Timestamp of the latest location record
|
|
1300
|
+
*/
|
|
1301
|
+
max_date: string;
|
|
1302
|
+
};
|
|
1261
1303
|
/**
|
|
1262
1304
|
* LocationDetail
|
|
1263
1305
|
* @description Full location detail including the original OwnTracks JSON payload.
|
|
@@ -1896,6 +1938,26 @@ export interface operations {
|
|
|
1896
1938
|
};
|
|
1897
1939
|
};
|
|
1898
1940
|
};
|
|
1941
|
+
location_date_range_api_v1_locations_date_range_get: {
|
|
1942
|
+
parameters: {
|
|
1943
|
+
query?: never;
|
|
1944
|
+
header?: never;
|
|
1945
|
+
path?: never;
|
|
1946
|
+
cookie?: never;
|
|
1947
|
+
};
|
|
1948
|
+
requestBody?: never;
|
|
1949
|
+
responses: {
|
|
1950
|
+
/** @description Successful Response */
|
|
1951
|
+
200: {
|
|
1952
|
+
headers: {
|
|
1953
|
+
[name: string]: unknown;
|
|
1954
|
+
};
|
|
1955
|
+
content: {
|
|
1956
|
+
"application/json": components["schemas"]["LocationDateRange"];
|
|
1957
|
+
};
|
|
1958
|
+
};
|
|
1959
|
+
};
|
|
1960
|
+
};
|
|
1899
1961
|
location_count_api_v1_locations_count_get: {
|
|
1900
1962
|
parameters: {
|
|
1901
1963
|
query?: {
|