/** * Source summarizes where a sample or a summary is sourced from. * At minimum, the source provider is always included. */ export interface ClientFacingSource { /** Provider slug. e.g., `oura`, `fitbit`, `garmin`. */ provider: string; /** The type of the data source (app or device) by which the summary or the timeseries data were recorded. This defaults to `unknown` when Vital cannot extract or infer that information */ type?: string; /** The identifier of the app which recorded this summary. This is only applicable to multi-source providers like Apple Health and Android Health Connect. */ appId?: string; /** The identifier of the device which recorded this summary. */ deviceId?: string; /** * For workout stream timeseries, this is the standard sport slug of the workout with which the timeseries data are associated. * * For the `distance` timeseries, this is `wheelchair_pushing` if the user is a wheelchair user, or `null` otherwise. * * For all summary types and non-workout timeseries, this is always `null`. */ sport?: string; /** * For workout stream timeseries, this is the workout ID with which the timeseries data are associated. * * For all other types, this is always `null`. */ workoutId?: string; /** Deprecated. Subject to removal after 1 Jan 2024. */ name?: string; /** Deprecated. Use `provider` instead. Subject to removal after 1 Jan 2024. */ slug?: string; /** Deprecated. Subject to removal after 1 Jan 2024. */ logo?: string; }