/** * 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'; export interface PatchCompanyDtoApi { /** * The domain (email ending) of a company The regular expression will match any string that starts with one or more domain labels, each separated by a period (e.g., \"sub.subdomain.com\"), the domain labels can include letters, numbers, and hyphens, but cannot start or end with a hyphen. The final label must be at least 2 characters long and can only contain letters. builded with the help of this post : https://stackoverflow.com/questions/7930751/regexp-for-subdomain */ domain?: string; connector?: AltoConnectorEnumApi; /** * Status of the connector integration True if connector is active for this company False is connector is NOT active for this company */ isConnectorActive?: boolean; /** * Status of the connector integration True if connectors are enabled for this company */ isIntegrationEnabled?: boolean; /** * List of days on which connector will send questions */ connectorDays?: Array; /** * Number of questions to send per quiz */ connectorQuestionsPerQuiz?: number; /** * List of times on which trainX will send questions to the connector formated HhMM (e.g. 10h, 8h30) */ connectorTimes?: Array; usersHaveWebAccess?: boolean; /** * The name of the company */ name?: string; }