/** * 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 { WeekDayEnumApi } from './weekDayEnum'; import { AltoConnectorEnumApi } from './altoConnectorEnum'; import { ConnectorTimeEnumApi } from './connectorTimeEnum'; import { UserApi } from './user'; export interface CompanyApi { id: string; createdBy: string; createdAt: Date; updatedAt: Date; deletedAt: Date; connector?: AltoConnectorEnumApi; /** * List of days on which trainX will send questions to the connector */ connectorDays?: Array; /** * List of times on which trainX will send questions to the connector formated HhMM (e.g. 10h, 8h30) */ connectorTimes?: Array; /** * The id of the company in the office database */ theOfficeId?: string; /** * The domain (email ending) of a company */ domain?: string; /** * The name of the company */ name: string; /** * Status of the connector integration True if the connector is active for this company False is slack is NOT active for this company */ isConnectorActive?: boolean; /** * Status of the connector integration True if connectors are enabled for this company */ isIntegrationEnabled?: boolean; /** * Number of questions to send per quiz to the connector */ connectorQuestionsPerQuiz?: number; /** * The users related to this company */ users?: Array; /** * To know if the users of this company have access to the web app */ usersHaveWebAccess: boolean; licenseCount: number; }