Skip to content

GetStatsInfoParams

Defined in: src/types/statistical_service.ts:8

Query parameters for retrieving statistical service metrics.

optional duration?: string

Defined in: src/types/statistical_service.ts:12

The time duration for the query (e.g., 7d, 30d).


optional end_date?: string

Defined in: src/types/statistical_service.ts:16

End date for the query range.


optional end_month?: string

Defined in: src/types/statistical_service.ts:20

End month for monthly aggregation.


optional end_year?: string

Defined in: src/types/statistical_service.ts:24

End year for yearly aggregation.


optional metric_name?: string

Defined in: src/types/statistical_service.ts:10

The name of the metric to retrieve.


optional model?: string

Defined in: src/types/statistical_service.ts:30

The device model to filter by.


optional start_date?: string

Defined in: src/types/statistical_service.ts:14

Start date for the query range.


optional start_month?: string

Defined in: src/types/statistical_service.ts:18

Start month for monthly aggregation.


optional start_year?: string

Defined in: src/types/statistical_service.ts:22

Start year for yearly aggregation.


optional timezone?: string

Defined in: src/types/statistical_service.ts:26

Timezone for the statistics data.


optional type?: string

Defined in: src/types/statistical_service.ts:28

The type of statistics to retrieve.