/** * TrainX API * ### The TrainX API documentation In order to use the Swagger, please retrieve your JWT at the following link: [https://trainx.getcockpit.io/jwt](https://trainx.getcockpit.io/jwt) and add it to the bearer field in the authorization section. * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { UserDtoApi } from './userDto'; import { UserStatsTagDtoApi } from './userStatsTagDto'; export interface UserStatsDtoApi { /** * This field is deprecated */ id: string; /** * This field is deprecated */ label: string; /** * The start of period for which the stats are calculated. */ from: Date; /** * The end of the period for which the stats are calculated. */ to: Date; createdAt: Date; teamId: string; user: UserDtoApi; /** * The stats for each tag within the user stats. */ tags: Array; /** * The number of days the user has been active. */ nbDays: number; /** * Indicates if the user responds regularly to the questions. Regularly means that the user has sent at least 6 responses per week. (by default) Or it\'s calculated with the `respondsRegularlyThreshold` query param and the number of guesses per day. */ respondsRegularly: boolean; /** * The number of comments sent by the user. */ commentsCount: number; /** * The number of questions submitted by the user. */ questionsSubmittedCount: number; /** * The number of contributions the user has made. This is calculated by adding the number of comments and the number of questions submitted. */ contributions: number; /** * The total number of guesses sent by the user per day. This is calculated by dividing the total number of guesses by the number of days the user has been active. */ totalGuessesCountPerDay: number; /** * the total number of questions pushed to the user. */ questionsPushedCount?: number; /** * The rank of the user within the company. */ companyRank?: number; /** * The rank of the user within the team. */ teamRank?: number; /** * The total number of guesses sent by the user. */ totalGuessesCount?: number; /** * The number of guesses sent by the user that are valid. */ validGuessesCount?: number; /** * The \"score\" of the user. (number of valid guesses / total number of guesses) */ score?: number; }