/** * 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 { CompanyLightDtoApi } from './companyLightDto'; import { StreakDtoApi } from './streakDto'; import { UserLightDtoApi } from './userLightDto'; import { TeamLightDtoApi } from './teamLightDto'; export interface UserDtoApi { email: string; team?: TeamLightDtoApi; teamId?: string; roles: Array; pref?: object; pictureUrl?: string; firstname: string; lastname: string; timezone?: string; country?: string; isConnectorActive?: boolean; longestStreak: StreakDtoApi; currentStreak: StreakDtoApi; hasLicense: boolean; company: CompanyLightDtoApi; companyId: string; id: string; createdAt: Date; createdBy?: string; createdByUser?: UserLightDtoApi; updatedAt: Date; deletedAt?: Date; } export declare enum UserDtoApiRolesEnumApi { AltoAdmin = "alto-admin", CompanyAdmin = "company-admin", CompanyUser = "company-user" }