/** * 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 { RoleEnumApi } from './roleEnum'; import { CompanyApi } from './company'; import { UserQuestionPushedApi } from './userQuestionPushed'; export interface UserApi { id: string; createdBy: string; createdAt: Date; updatedAt: Date; deletedAt: Date; roles: Array; /** * The id of the company in the office database */ theOfficeId?: string; company?: CompanyApi; /** * The company ID (to have the companyId string in our entity) */ companyId?: string; email: string; teamId?: string; pref?: object; pictureUrl?: string; firstname: string; lastname: string; timezone?: string; country?: string; /** * Status of the connector integration True if the user has connected his connector (Slack, Google Chat, Teams, etc.) False if the user has not connected or has disconnected his connector */ isConnectorActive?: boolean; questionsPushed?: Array; longestStreak: object; currentStreak: object; hasLicense: boolean; }