@stuartshay/otel-data-types 1.0.252 → 1.0.255

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/index.d.ts +89 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -375,6 +375,26 @@ export type paths = {
375
375
  patch?: never;
376
376
  trace?: never;
377
377
  };
378
+ "/api/v1/gps/daily-summary/date-range": {
379
+ parameters: {
380
+ query?: never;
381
+ header?: never;
382
+ path?: never;
383
+ cookie?: never;
384
+ };
385
+ /**
386
+ * Daily Summary Date Range
387
+ * @description Get the earliest and latest activity dates available in the daily summary view.
388
+ */
389
+ get: operations["daily_summary_date_range_api_v1_gps_daily_summary_date_range_get"];
390
+ put?: never;
391
+ post?: never;
392
+ delete?: never;
393
+ options?: never;
394
+ head?: never;
395
+ patch?: never;
396
+ trace?: never;
397
+ };
378
398
  "/api/v1/reference-locations": {
379
399
  parameters: {
380
400
  query?: never;
@@ -623,6 +643,28 @@ export type components = {
623
643
  */
624
644
  total_calories?: number | null;
625
645
  };
646
+ /**
647
+ * DailySummaryDateRange
648
+ * @description Earliest and latest activity dates available in the daily activity summary.
649
+ * @example {
650
+ * "max_date": "2026-04-06",
651
+ * "min_date": "2024-01-15"
652
+ * }
653
+ */
654
+ DailySummaryDateRange: {
655
+ /**
656
+ * Min Date
657
+ * Format: date
658
+ * @description Earliest activity date with daily summary data
659
+ */
660
+ min_date: string;
661
+ /**
662
+ * Max Date
663
+ * Format: date
664
+ * @description Latest activity date with daily summary data
665
+ */
666
+ max_date: string;
667
+ };
626
668
  /**
627
669
  * DeviceInfo
628
670
  * @description Distinct OwnTracks device identifier.
@@ -1570,6 +1612,29 @@ export type components = {
1570
1612
  */
1571
1613
  timestamp: string;
1572
1614
  };
1615
+ /** PaginatedResponse[DailyActivitySummary] */
1616
+ PaginatedResponse_DailyActivitySummary_: {
1617
+ /**
1618
+ * Items
1619
+ * @description List of items in the current page
1620
+ */
1621
+ items: components["schemas"]["DailyActivitySummary"][];
1622
+ /**
1623
+ * Total
1624
+ * @description Total number of items matching the query
1625
+ */
1626
+ total: number;
1627
+ /**
1628
+ * Limit
1629
+ * @description Maximum number of items per page
1630
+ */
1631
+ limit: number;
1632
+ /**
1633
+ * Offset
1634
+ * @description Number of items skipped from the start
1635
+ */
1636
+ offset: number;
1637
+ };
1573
1638
  /** PaginatedResponse[GarminActivity] */
1574
1639
  PaginatedResponse_GarminActivity_: {
1575
1640
  /**
@@ -2515,8 +2580,10 @@ export interface operations {
2515
2580
  date_from?: string | null;
2516
2581
  /** @description Filter to date (YYYY-MM-DD) */
2517
2582
  date_to?: string | null;
2518
- /** @description Maximum number of daily summaries to return */
2583
+ /** @description Maximum number of daily summaries to return per page */
2519
2584
  limit?: number;
2585
+ /** @description Number of daily summaries to skip for pagination */
2586
+ offset?: number;
2520
2587
  };
2521
2588
  header?: never;
2522
2589
  path?: never;
@@ -2530,7 +2597,7 @@ export interface operations {
2530
2597
  [name: string]: unknown;
2531
2598
  };
2532
2599
  content: {
2533
- "application/json": components["schemas"]["DailyActivitySummary"][];
2600
+ "application/json": components["schemas"]["PaginatedResponse_DailyActivitySummary_"];
2534
2601
  };
2535
2602
  };
2536
2603
  /** @description Validation Error */
@@ -2544,6 +2611,26 @@ export interface operations {
2544
2611
  };
2545
2612
  };
2546
2613
  };
2614
+ daily_summary_date_range_api_v1_gps_daily_summary_date_range_get: {
2615
+ parameters: {
2616
+ query?: never;
2617
+ header?: never;
2618
+ path?: never;
2619
+ cookie?: never;
2620
+ };
2621
+ requestBody?: never;
2622
+ responses: {
2623
+ /** @description Successful Response */
2624
+ 200: {
2625
+ headers: {
2626
+ [name: string]: unknown;
2627
+ };
2628
+ content: {
2629
+ "application/json": components["schemas"]["DailySummaryDateRange"];
2630
+ };
2631
+ };
2632
+ };
2633
+ };
2547
2634
  list_reference_locations_api_v1_reference_locations_get: {
2548
2635
  parameters: {
2549
2636
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stuartshay/otel-data-types",
3
- "version": "1.0.252",
3
+ "version": "1.0.255",
4
4
  "description": "TypeScript types for otel-data-api — Auto-generated from OpenAPI 3.1 specification",
5
5
  "types": "index.d.ts",
6
6
  "exports": {