@stuartshay/otel-data-types 1.0.208 → 1.0.213
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 +124 -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;
|
|
@@ -147,6 +167,26 @@ export type paths = {
|
|
|
147
167
|
patch?: never;
|
|
148
168
|
trace?: never;
|
|
149
169
|
};
|
|
170
|
+
"/api/v1/garmin/date-range": {
|
|
171
|
+
parameters: {
|
|
172
|
+
query?: never;
|
|
173
|
+
header?: never;
|
|
174
|
+
path?: never;
|
|
175
|
+
cookie?: never;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Garmin Date Range
|
|
179
|
+
* @description Get the earliest and latest Garmin activity timestamps.
|
|
180
|
+
*/
|
|
181
|
+
get: operations["garmin_date_range_api_v1_garmin_date_range_get"];
|
|
182
|
+
put?: never;
|
|
183
|
+
post?: never;
|
|
184
|
+
delete?: never;
|
|
185
|
+
options?: never;
|
|
186
|
+
head?: never;
|
|
187
|
+
patch?: never;
|
|
188
|
+
trace?: never;
|
|
189
|
+
};
|
|
150
190
|
"/api/v1/garmin/activities": {
|
|
151
191
|
parameters: {
|
|
152
192
|
query?: never;
|
|
@@ -844,6 +884,28 @@ export type components = {
|
|
|
844
884
|
*/
|
|
845
885
|
longitude: number;
|
|
846
886
|
};
|
|
887
|
+
/**
|
|
888
|
+
* GarminDateRange
|
|
889
|
+
* @description Earliest and latest Garmin activity timestamps in the database.
|
|
890
|
+
* @example {
|
|
891
|
+
* "max_date": "2026-04-06T20:00:00+00:00",
|
|
892
|
+
* "min_date": "2025-11-08T18:21:13+00:00"
|
|
893
|
+
* }
|
|
894
|
+
*/
|
|
895
|
+
GarminDateRange: {
|
|
896
|
+
/**
|
|
897
|
+
* Min Date
|
|
898
|
+
* Format: date-time
|
|
899
|
+
* @description Timestamp of the earliest Garmin activity
|
|
900
|
+
*/
|
|
901
|
+
min_date: string;
|
|
902
|
+
/**
|
|
903
|
+
* Max Date
|
|
904
|
+
* Format: date-time
|
|
905
|
+
* @description Timestamp of the latest Garmin activity
|
|
906
|
+
*/
|
|
907
|
+
max_date: string;
|
|
908
|
+
};
|
|
847
909
|
/**
|
|
848
910
|
* GarminSyncResponse
|
|
849
911
|
* @description Response payload for Garmin on-demand sync trigger requests.
|
|
@@ -1258,6 +1320,28 @@ export type components = {
|
|
|
1258
1320
|
*/
|
|
1259
1321
|
device_id?: string | null;
|
|
1260
1322
|
};
|
|
1323
|
+
/**
|
|
1324
|
+
* LocationDateRange
|
|
1325
|
+
* @description Earliest and latest location timestamps in the database.
|
|
1326
|
+
* @example {
|
|
1327
|
+
* "max_date": "2026-04-06T20:00:00+00:00",
|
|
1328
|
+
* "min_date": "2025-12-27T08:44:52+00:00"
|
|
1329
|
+
* }
|
|
1330
|
+
*/
|
|
1331
|
+
LocationDateRange: {
|
|
1332
|
+
/**
|
|
1333
|
+
* Min Date
|
|
1334
|
+
* Format: date-time
|
|
1335
|
+
* @description Timestamp of the earliest location record
|
|
1336
|
+
*/
|
|
1337
|
+
min_date: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* Max Date
|
|
1340
|
+
* Format: date-time
|
|
1341
|
+
* @description Timestamp of the latest location record
|
|
1342
|
+
*/
|
|
1343
|
+
max_date: string;
|
|
1344
|
+
};
|
|
1261
1345
|
/**
|
|
1262
1346
|
* LocationDetail
|
|
1263
1347
|
* @description Full location detail including the original OwnTracks JSON payload.
|
|
@@ -1896,6 +1980,26 @@ export interface operations {
|
|
|
1896
1980
|
};
|
|
1897
1981
|
};
|
|
1898
1982
|
};
|
|
1983
|
+
location_date_range_api_v1_locations_date_range_get: {
|
|
1984
|
+
parameters: {
|
|
1985
|
+
query?: never;
|
|
1986
|
+
header?: never;
|
|
1987
|
+
path?: never;
|
|
1988
|
+
cookie?: never;
|
|
1989
|
+
};
|
|
1990
|
+
requestBody?: never;
|
|
1991
|
+
responses: {
|
|
1992
|
+
/** @description Successful Response */
|
|
1993
|
+
200: {
|
|
1994
|
+
headers: {
|
|
1995
|
+
[name: string]: unknown;
|
|
1996
|
+
};
|
|
1997
|
+
content: {
|
|
1998
|
+
"application/json": components["schemas"]["LocationDateRange"];
|
|
1999
|
+
};
|
|
2000
|
+
};
|
|
2001
|
+
};
|
|
2002
|
+
};
|
|
1899
2003
|
location_count_api_v1_locations_count_get: {
|
|
1900
2004
|
parameters: {
|
|
1901
2005
|
query?: {
|
|
@@ -2041,6 +2145,26 @@ export interface operations {
|
|
|
2041
2145
|
};
|
|
2042
2146
|
};
|
|
2043
2147
|
};
|
|
2148
|
+
garmin_date_range_api_v1_garmin_date_range_get: {
|
|
2149
|
+
parameters: {
|
|
2150
|
+
query?: never;
|
|
2151
|
+
header?: never;
|
|
2152
|
+
path?: never;
|
|
2153
|
+
cookie?: never;
|
|
2154
|
+
};
|
|
2155
|
+
requestBody?: never;
|
|
2156
|
+
responses: {
|
|
2157
|
+
/** @description Successful Response */
|
|
2158
|
+
200: {
|
|
2159
|
+
headers: {
|
|
2160
|
+
[name: string]: unknown;
|
|
2161
|
+
};
|
|
2162
|
+
content: {
|
|
2163
|
+
"application/json": components["schemas"]["GarminDateRange"];
|
|
2164
|
+
};
|
|
2165
|
+
};
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2044
2168
|
list_activities_api_v1_garmin_activities_get: {
|
|
2045
2169
|
parameters: {
|
|
2046
2170
|
query?: {
|