2.0info: 0.41.0 Serviço Gestão do Trabalho description: Serviço Gestão do Trabalho x-senior-domain: Gestão de Trabalho x-senior-domain-path: lms x-senior-service-path: labor contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/lmssecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /labor/queries/populateRandomData: post: description: Criação de dados falso tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Criação de dados falso tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/findEmployeeByOperatorCod: post: description: Retorna Employee por um Cod de operador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – operatorCod properties: operatorCod: type: string description: Código de integração do operador responses: 200: description: Ok schema: type: object required: – employee properties: employee: type: object allOf: – #/definitions/employee description: Employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna Employee por um Cod de operador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: operatorCod description: Código de integração do operador in: query required: true type: string responses: 200: description: Ok schema: type: object required: – employee properties: employee: type: object allOf: – #/definitions/employee description: Employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/healthcheck: post: description: Verificação disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status do serviço checks: type: object allOf: – #/definitions/checkDTO description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verificação disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status do serviço checks: type: object allOf: – #/definitions/checkDTO description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getEmployee: post: description: Obtem o empregado pelo id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Identificador Employee responses: 200: description: Ok schema: type: object required: – id – operador – name – birthDate – weight – height – startDate – workshift – profiles – hireDate – dismissalDate – isManager – managerName properties: id: type: string description: Identificador único do registro operador: type: object allOf: – #/definitions/operador description: Operador associado name: type: string description: Nome do Funcionário birthDate: type: string format: date description: Data de Nascimento weight: type: integer format: int64 description: Peso em Kg height: type: integer format: int64 description: Altura em cm startDate: type: string format: date description: Data de inicio workshift: type: object allOf: – #/definitions/workshift description: Escala associada profiles: type: array items: type: string allOf: – #/definitions/logisticProfile minimum: 1 description: Perfis Logistico hireDate: type: string format: date description: Data de admissão dismissalDate: type: string format: date description: Data de desligamento unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade Logística isManager: type: boolean description: Possui liderança ativa? managerName: type: string description: Nome do Lider do colaborador (se existir) 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtem o empregado pelo id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Identificador Employee in: query required: true type: string responses: 200: description: Ok schema: type: object required: – id – operador – name – birthDate – weight – height – startDate – workshift – profiles – hireDate – dismissalDate – isManager – managerName properties: id: type: string description: Identificador único do registro operador: type: object allOf: – #/definitions/operador description: Operador associado name: type: string description: Nome do Funcionário birthDate: type: string format: date description: Data de Nascimento weight: type: integer format: int64 description: Peso em Kg height: type: integer format: int64 description: Altura em cm startDate: type: string format: date description: Data de inicio workshift: type: object allOf: – #/definitions/workshift description: Escala associada profiles: type: array items: type: string allOf: – #/definitions/logisticProfile minimum: 1 description: Perfis Logistico hireDate: type: string format: date description: Data de admissão dismissalDate: type: string format: date description: Data de desligamento unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade Logística isManager: type: boolean description: Possui liderança ativa? managerName: type: string description: Nome do Lider do colaborador (se existir) 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getEmployeesResumeByOperators: post: description: Obtem o resumo de colaboredores pelo operadorIds tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – operatorIds properties: operatorIds: type: array items: type: string minimum: 1 description: Lista de id dos operadores responses: 200: description: Ok schema: type: object required: – content properties: content: type: array items: type: object allOf: – #/definitions/employeesResume minimum: 1 description: Resultado do resumo dos colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtem o resumo de colaboredores pelo operadorIds tags: – Queries x-senior-visibility: PRIVATE parameters: – name: operatorIds description: Lista de id dos operadores in: query required: true type: array items: type: string minimum: 1 responses: 200: description: Ok schema: type: object required: – content properties: content: type: array items: type: object allOf: – #/definitions/employeesResume minimum: 1 description: Resultado do resumo dos colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/searchEmployees: post: description: Busca os colaboradores com filtros como unidade logística, id e data de referência tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: operatorIds: type: array items: type: string description: Ids dos Operadores logisticUnitIds: type: array items: type: string description: Ids das Unidades logisticas referenceDate: type: string format: date description: Data de referência referenceEndDate: type: string format: date description: Data fim de referência offset: type: integer format: int64 description: Numero da página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/simplifiedEmployee minimum: 1 description: Dados simplificados de Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca os colaboradores com filtros como unidade logística, id e data de referência tags: – Queries x-senior-visibility: PRIVATE parameters: – name: operatorIds description: Ids dos Operadores in: query type: array items: type: string – name: logisticUnitIds description: Ids das Unidades logisticas in: query type: array items: type: string – name: referenceDate description: Data de referência in: query type: string format: date – name: referenceEndDate description: Data fim de referência in: query type: string format: date – name: offset description: Numero da página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/simplifiedEmployee minimum: 1 description: Dados simplificados de Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getEmployees: post: description: Busca todos os Colaboradores a partir dos parametros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – logisticUnitIds properties: logisticUnitIds: type: array items: type: string minimum: 1 description: Ids das unidades logisticas workshiftIds: type: array items: type: string description: Ids das escalas/turnos employeeIds: type: array items: type: string description: Ids dos colaboradores hireDate: type: string format: date description: Data de admissão name: type: string description: Nome do colaborador responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/simplifiedEmployee minimum: 1 description: Dados simplificados de Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca todos os Colaboradores a partir dos parametros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: logisticUnitIds description: Ids das unidades logisticas in: query required: true type: array items: type: string minimum: 1 – name: workshiftIds description: Ids das escalas/turnos in: query type: array items: type: string – name: employeeIds description: Ids dos colaboradores in: query type: array items: type: string – name: hireDate description: Data de admissão in: query type: string format: date – name: name description: Nome do colaborador in: query type: string responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/simplifiedEmployee minimum: 1 description: Dados simplificados de Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getEmployeesByWorkshift: post: description: Busca colaboradores de uma escala tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workshiftId properties: workshiftId: type: string description: Id da escala/turno responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/simplifiedEmployee minimum: 1 description: Dados simplificados de Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca colaboradores de uma escala tags: – Queries x-senior-visibility: PRIVATE parameters: – name: workshiftId description: Id da escala/turno in: query required: true type: string responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/simplifiedEmployee minimum: 1 description: Dados simplificados de Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getEmployeesByParameters: post: description: Buscas colaboradores a partir de uma lista de escalas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workshiftIds properties: workshiftIds: type: array items: type: string minimum: 1 description: Ids da escalas/turnos employeeManagerId: type: string description: Id do colaborador vinculado ao gestor name: type: string description: Nome do colaborador hireDate: type: string format: date description: Data de admissão responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/workshiftHistory minimum: 1 description: Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Buscas colaboradores a partir de uma lista de escalas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: workshiftIds description: Ids da escalas/turnos in: query required: true type: array items: type: string minimum: 1 – name: employeeManagerId description: Id do colaborador vinculado ao gestor in: query type: string – name: name description: Nome do colaborador in: query type: string – name: hireDate description: Data de admissão in: query type: string format: date responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/workshiftHistory minimum: 1 description: Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getAllWorktimeCache: post: description: Busca todos os worktime em cache na data tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – day properties: day: type: string format: date description: Data de referência responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/worktimeCacheData minimum: 1 description: Retorna os Worktime salvos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca todos os worktime em cache na data tags: – Queries x-senior-visibility: PRIVATE parameters: – name: day description: Data de referência in: query required: true type: string format: date responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/worktimeCacheData minimum: 1 description: Retorna os Worktime salvos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getWorktimesInPeriod: post: description: Busca todos os worktimes no perido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – startDate – endDate properties: employeeIds: type: array items: type: string description: Ids dos colaboradores startDate: type: string format: date description: Data inicial endDate: type: string format: date description: Data final offset: type: integer format: int64 description: Numero da página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/worktimePeriod minimum: 1 description: Dados do worktime 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca todos os worktimes no perido tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeIds description: Ids dos colaboradores in: query type: array items: type: string – name: startDate description: Data inicial in: query required: true type: string format: date – name: endDate description: Data final in: query required: true type: string format: date – name: offset description: Numero da página in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/worktimePeriod minimum: 1 description: Dados do worktime 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/searchWorkshiftGeneral: post: description: Retorna a lista de Turno de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalInputInfo responses: 200: description: Ok schema: type: object required: – contents – totalElements – totalPages properties: contents: type: array items: type: object allOf: – #/definitions/generalResultInfo minimum: 1 description: Resultado da busca totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a lista de Turno de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Página a ser buscada in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: referenceDate description: Data de referência para filtrar in: query type: string format: date – name: q description: Termo para filtrar in: query type: string responses: 200: description: Ok schema: type: object required: – contents – totalElements – totalPages properties: contents: type: array items: type: object allOf: – #/definitions/generalResultInfo minimum: 1 description: Resultado da busca totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/searchManagerGeneral: post: description: Retorna a lista de líderes tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/generalInputInfo responses: 200: description: Ok schema: type: object required: – contents – totalElements – totalPages properties: contents: type: array items: type: object allOf: – #/definitions/generalResultInfo minimum: 1 description: Resultado da busca totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna a lista de líderes tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Página a ser buscada in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: referenceDate description: Data de referência para filtrar in: query type: string format: date – name: q description: Termo para filtrar in: query type: string responses: 200: description: Ok schema: type: object required: – contents – totalElements – totalPages properties: contents: type: array items: type: object allOf: – #/definitions/generalResultInfo minimum: 1 description: Resultado da busca totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/searchManagers: post: description: Busca os gestores utilizando os filtros tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: workshiftIds: type: array items: type: string description: Ids dos turnos que o gestor é responsavel type: type: string allOf: – #/definitions/managerType description: Tipo do gestor departament: type: string description: Departamento que o gestor é responsavel offset: type: integer format: int64 description: Numero da página default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 orderBy: type: string description: Campo para Ordenação responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/simplifiedManager minimum: 1 description: Dados simplificados de Colaboradores 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getWorkTimeResume: post: description: Lista um resumo do horario previsto por dia tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – startDate properties: searchByOperator: type: array items: type: string description: Lista de Operadores Solicitado ou vazio para todos startDate: type: string format: date description: Data Inicial do Periodo endDate: type: string format: date description: Data Final do Periodo size: type: integer format: int64 description: Tamanho da página de resultados default: 10 offset: type: integer format: int64 description: Offset da página de resultador default: 0 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/workTimeResume minimum: 1 description: Horários previstos encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista um resumo do horario previsto por dia tags: – Queries x-senior-visibility: PRIVATE parameters: – name: searchByOperator description: Lista de Operadores Solicitado ou vazio para todos in: query type: array items: type: string – name: startDate description: Data Inicial do Periodo in: query required: true type: string format: date – name: endDate description: Data Final do Periodo in: query type: string format: date – name: size description: Tamanho da página de resultados in: query type: integer format: int64 – name: offset description: Offset da página de resultador in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/workTimeResume minimum: 1 description: Horários previstos encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getEstimatedWorkTime: post: description: Retorna as horas estimada de trabalho no período tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – startDate properties: searchByOperator: type: array items: type: string description: Lista de Operadores Solicitado ou vazio para todos startDate: type: string format: date description: Data Inicial do Periodo endDate: type: string format: date description: Data Final do Periodo responses: 200: description: Ok schema: type: object properties: contents: type: array items: type: object allOf: – #/definitions/workTimeOperator description: Total de horas trabalhadas em minutos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna as horas estimada de trabalho no período tags: – Queries x-senior-visibility: PRIVATE parameters: – name: searchByOperator description: Lista de Operadores Solicitado ou vazio para todos in: query type: array items: type: string – name: startDate description: Data Inicial do Periodo in: query required: true type: string format: date – name: endDate description: Data Final do Periodo in: query type: string format: date responses: 200: description: Ok schema: type: object properties: contents: type: array items: type: object allOf: – #/definitions/workTimeOperator description: Total de horas trabalhadas em minutos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getManager: post: description: Obtem um gestor por id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id do gestor responses: 200: description: Ok schema: type: object required: – manager properties: manager: type: object allOf: – #/definitions/manager description: Dados do gestor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtem um gestor por id tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: Id do gestor in: query required: true type: string responses: 200: description: Ok schema: type: object required: – manager properties: manager: type: object allOf: – #/definitions/manager description: Dados do gestor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getManagerGoalReport: post: description: Lista do relatório meta lideraça tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workshiftStartDate properties: workshiftStartDate: type: string format: date description: Data Inicial do Turno unidadeLogisticaIds: type: array items: type: string description: Filtro por Unidade(s) Logistica(s) ou nulo para listar todos workshiftIds: type: array items: type: string description: Filtro por Turno(s) ou nulo para listar todos managerIds: type: array items: type: string description: Filtro por Líder(es) ou nulo para listar todos orderby: type: string description: Campo para Ordenação size: type: integer format: int64 description: Tamanho da página de resultados default: 10 offset: type: integer format: int64 description: Offset da página de resultado default: 0 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/managerGoalReport minimum: 1 description: Resultados encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista do relatório meta lideraça tags: – Queries x-senior-visibility: PRIVATE parameters: – name: workshiftStartDate description: Data Inicial do Turno in: query required: true type: string format: date – name: unidadeLogisticaIds description: Filtro por Unidade(s) Logistica(s) ou nulo para listar todos in: query type: array items: type: string – name: workshiftIds description: Filtro por Turno(s) ou nulo para listar todos in: query type: array items: type: string – name: managerIds description: Filtro por Líder(es) ou nulo para listar todos in: query type: array items: type: string – name: orderby description: Campo para Ordenação in: query type: string – name: size description: Tamanho da página de resultados in: query type: integer format: int64 – name: offset description: Offset da página de resultado in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/managerGoalReport minimum: 1 description: Resultados encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getAllTimeManagers: post: description: Lista todos que são ou já foram lideres tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: name: type: string description: Nome do lider department: type: string description: Departamento do lider size: type: integer format: int64 description: Tamanho da página de resultados default: 10 offset: type: integer format: int64 description: Offset da página de resultado default: 0 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/managerDTO minimum: 1 description: Resultados encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Lista todos que são ou já foram lideres tags: – Queries x-senior-visibility: PRIVATE parameters: – name: name description: Nome do lider in: query type: string – name: department description: Departamento do lider in: query type: string – name: size description: Tamanho da página de resultados in: query type: integer format: int64 – name: offset description: Offset da página de resultado in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – totalElements – totalPages – contents properties: totalElements: type: integer format: int64 description: Número de elementos na lista totalPages: type: integer format: int64 description: Número total de páginas contents: type: array items: type: object allOf: – #/definitions/managerDTO minimum: 1 description: Resultados encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getManagerHourGoal: post: description: Retorna o relatório Meta Liderança por hora tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: managerId: type: array items: type: string description: id do lider responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/managerHourGoalDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna o relatório Meta Liderança por hora tags: – Queries x-senior-visibility: PRIVATE parameters: – name: managerId description: id do lider in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/managerHourGoalDTO minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportUnidadeLogistica: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportOperador: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportEmployee: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportWorkshift: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportWorkscheduleDay: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportWorkschedule: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportWorkshiftHistory: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportProfileHistory: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportWorkTime: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportDepartment: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportManager: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportManagerEmployeeHistory: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportManagerWorkshiftHistory: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportEmployeeManagerView: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/exportEmployeeMetaColaboradorView: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/calculateWorkTimeByPeriod: post: description: Calcula as horas de trabalho dos operadores tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – startDate – endDate properties: startDate: type: string format: date description: Data Inicial do Processamento endDate: type: string format: date description: Data final do Processamento logisticUnitId: type: array items: type: string description: Unidade Logistica para processar operatorIds: type: array items: type: string description: Ids do Operadores para calcular responses: 200: description: Ok schema: type: object required: – total properties: total: type: integer format: int64 description: Total de Operadores Calculados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/activeProfileByOperator: post: description: Ativa um perfil para o colaborador associado ao operador tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – operatorId – logisticUnitId – profile properties: operatorId: type: string description: Identificador Operador logisticUnitId: type: string description: Id da unidade logistica startDate: type: string format: date description: Data Inicial para vinculo do perfil profile: type: string allOf: – #/definitions/logisticProfile description: Perfil Logistico createEmployeeIfNotExists: type: boolean description: Criar employee caso não existir default: true responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se o perfil foi ativado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/saveEmployee: post: description: Salva um o colaborador associado ao operador e escala tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name – operatorId – workshiftId – unidadeLogistica properties: id: type: string description: Id do colaborador name: type: string description: Nome do Colaborador birthDate: type: string format: date description: Data de Nascimento weight: type: integer format: int64 description: Peso em Kg height: type: integer format: int64 description: Altura em cm hireDate: type: string format: date description: Data de admissão operatorId: type: string description: Identificador Operador workshiftId: type: string description: Identificador Workshift profiles: type: array items: type: string allOf: – #/definitions/logisticProfile description: Perfis Logistico unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade Logística responses: 200: description: Ok schema: type: object required: – sucess – employeeId properties: sucess: type: boolean description: Indica se o employee foi cadastrado employeeId: type: string description: Id do colaborador cadastrado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/saveWorkshift: post: description: Cria ou atualiza escala com uma nova horario/dias tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – workshift properties: workshift: type: object allOf: – #/definitions/simplifiedWorkshift description: Escala Simplificada id: type: string description: Identificador único responses: 200: description: Ok schema: type: object required: – sucess – workshiftId properties: sucess: type: boolean description: Indica se a escala foi cadastrado ou atualizado workshiftId: type: string description: Id da escala cadastrada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/bindLogisticUnitToEmployee: post: description: Vincular unidade logistica ao colaborador tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – operatorId – logisticUnitId properties: operatorId: type: string description: Id do operador logisticUnitId: type: string description: Id da unidade logistica responses: 200: description: Ok schema: type: object required: – sucess properties: sucess: type: boolean description: Retorno 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/saveEmployeeGoals: post: description: Envia uma nova meta por colaboradores no serviço metricas tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – perHour – perWorkshift – calculationType – logisticUnitIds properties: perHour: type: integer format: int64 description: Meta por hora perWorkshift: type: integer format: int64 description: Meta por escala/turno calculationType: type: string allOf: – #/definitions/tipoCalculo description: Tipo de cálculo startDate: type: string format: date description: Data de inicio logisticUnitIds: type: array items: type: string minimum: 1 description: Ids das unidades logisticas workshiftIds: type: array items: type: string description: Ids das escalas/turnos hireDate: type: string format: date description: Data de admissão employeeIds: type: array items: type: string description: Ids dos colaboradores responses: 200: description: Ok schema: type: object required: – success – numberOfEmployees properties: success: type: boolean description: Sucesso na execução numberOfEmployees: type: integer format: int64 description: Número de colaboradores vinculados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/saveManager: post: description: Cadastro de gestor tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeManager – type – departament – workshifts – employees properties: managerId: type: string description: Id do gestor employeeManager: type: object allOf: – #/definitions/employee description: Colaborador vinculado ao gestor type: type: string allOf: – #/definitions/managerType description: Tipo do gestor departament: type: string description: Departamento que o gestor é responsavel workshifts: type: array items: type: object allOf: – #/definitions/workshift minimum: 1 description: Escalas que o gestor é responsavel employees: type: array items: type: object allOf: – #/definitions/employee minimum: 1 description: Colaboradores que o gestor é responsavel responses: 200: description: Ok schema: type: object required: – managerId properties: managerId: type: string description: Id do gestor cadastrado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/inactivateManager: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – managerId properties: managerId: type: string description: Id do gestor responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se a operação foi concluida com sucesso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importUnidadeLogistica: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importOperador: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importEmployee: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importWorkshift: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importWorkscheduleDay: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importWorkschedule: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importWorkshiftHistory: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importProfileHistory: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importWorkTime: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importDepartment: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importManager: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importManagerEmployeeHistory: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importManagerWorkshiftHistory: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importEmployeeManagerView: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/actions/importEmployeeMetaColaboradorView: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/signals/calculateWorkTime: post: description: Calcula as horas de trabalho dos operadores tags: – Signals parameters: – name: input in: body required: true schema: type: object properties: daysBefore: type: integer format: int64 description: Dias antes da data corrente minimum: 0 maximum: 60 default: 0 daysAfter: type: integer format: int64 description: Dias após a data corrente minimum: 0 maximum: 60 default: 0 responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /labor/signals/saveWorkshiftGoal: post: description: Define uma meta para a escala/turno tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – perHour – perWorkshift – calculationType – workshiftId properties: perHour: type: integer format: int64 description: Meta por hora perWorkshift: type: integer format: int64 description: Meta por escala/turno calculationType: type: string allOf: – #/definitions/tipoCalculo description: Tipo de cálculo workshiftId: type: string description: Id da escala/turno responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /labor/events/linkEmployeeToGoal: post: description: Vincula um colaborador a uma meta x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – employeeId – workshiftId properties: employeeId: type: string description: Id do employee workshiftId: type: string description: Id da escala/turno do employee responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/unlinkSubordinateManagerWorkshift: post: description: Confere se há líder vinculado, desvincula e desativa se não houver mais subordinados. x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Id do employee responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importUnidadeLogisticaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportUnidadeLogisticaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importOperadorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportOperadorEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importEmployeeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportEmployeeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importWorkshiftEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportWorkshiftEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importWorkscheduleDayEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportWorkscheduleDayEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importWorkscheduleEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportWorkscheduleEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importWorkshiftHistoryEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportWorkshiftHistoryEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importProfileHistoryEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportProfileHistoryEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importWorkTimeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportWorkTimeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importDepartmentEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportDepartmentEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importManagerEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportManagerEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importManagerEmployeeHistoryEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportManagerEmployeeHistoryEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importManagerWorkshiftHistoryEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportManagerWorkshiftHistoryEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importEmployeeManagerViewEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportEmployeeManagerViewEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/importEmployeeMetaColaboradorViewEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/events/exportEmployeeMetaColaboradorViewEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /labor/entities/unidadeLogistica: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/unidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/operador: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/operador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employee: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employee responses: 200: description: The created resource schema: #/definitions/employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employee responses: 200: description: The created resource schema: #/definitions/employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employee/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employee responses: 200: description: Ok schema: #/definitions/employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employee responses: 200: description: Ok schema: #/definitions/employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employee 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employee/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/employee responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workshift: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workshift responses: 200: description: The created resource schema: #/definitions/workshift 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workshift responses: 200: description: The created resource schema: #/definitions/workshift 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/workshift 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workshift/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workshift responses: 200: description: Ok schema: #/definitions/workshift 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workshift responses: 200: description: Ok schema: #/definitions/workshift 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/workshift 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workshift/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/workshift responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workscheduleDay: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workscheduleDay responses: 200: description: The created resource schema: #/definitions/workscheduleDay 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workscheduleDay responses: 200: description: The created resource schema: #/definitions/workscheduleDay 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/workscheduleDay 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workscheduleDay/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workscheduleDay responses: 200: description: Ok schema: #/definitions/workscheduleDay 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workscheduleDay responses: 200: description: Ok schema: #/definitions/workscheduleDay 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/workscheduleDay 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workscheduleDay/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/workscheduleDay responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workschedule: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workschedule responses: 200: description: The created resource schema: #/definitions/workschedule 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workschedule responses: 200: description: The created resource schema: #/definitions/workschedule 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/workschedule 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workschedule/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workschedule responses: 200: description: Ok schema: #/definitions/workschedule 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workschedule responses: 200: description: Ok schema: #/definitions/workschedule 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/workschedule 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workschedule/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/workschedule responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workshiftHistory: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workshiftHistory responses: 200: description: The created resource schema: #/definitions/workshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workshiftHistory responses: 200: description: The created resource schema: #/definitions/workshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/workshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workshiftHistory/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workshiftHistory responses: 200: description: Ok schema: #/definitions/workshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workshiftHistory responses: 200: description: Ok schema: #/definitions/workshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/workshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workshiftHistory/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/workshiftHistory responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/profileHistory: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/profileHistory responses: 200: description: The created resource schema: #/definitions/profileHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/profileHistory responses: 200: description: The created resource schema: #/definitions/profileHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/profileHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/profileHistory/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/profileHistory responses: 200: description: Ok schema: #/definitions/profileHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/profileHistory responses: 200: description: Ok schema: #/definitions/profileHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/profileHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/profileHistory/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/profileHistory responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workTime: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workTime responses: 200: description: The created resource schema: #/definitions/workTime 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workTime responses: 200: description: The created resource schema: #/definitions/workTime 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/workTime 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workTime/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workTime responses: 200: description: Ok schema: #/definitions/workTime 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workTime responses: 200: description: Ok schema: #/definitions/workTime 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/workTime 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/workTime/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/workTime responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/department: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/department responses: 200: description: The created resource schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/department responses: 200: description: The created resource schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/department/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/department responses: 200: description: Ok schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/department responses: 200: description: Ok schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/department 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/department/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/department responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/manager: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/manager responses: 200: description: The created resource schema: #/definitions/manager 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/manager responses: 200: description: The created resource schema: #/definitions/manager 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/manager 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/manager/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/manager responses: 200: description: Ok schema: #/definitions/manager 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/manager responses: 200: description: Ok schema: #/definitions/manager 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/manager 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/manager/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/manager responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/managerEmployeeHistory: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/managerEmployeeHistory responses: 200: description: The created resource schema: #/definitions/managerEmployeeHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/managerEmployeeHistory responses: 200: description: The created resource schema: #/definitions/managerEmployeeHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/managerEmployeeHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/managerEmployeeHistory/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/managerEmployeeHistory responses: 200: description: Ok schema: #/definitions/managerEmployeeHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/managerEmployeeHistory responses: 200: description: Ok schema: #/definitions/managerEmployeeHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/managerEmployeeHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/managerEmployeeHistory/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/managerEmployeeHistory responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/managerWorkshiftHistory: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/managerWorkshiftHistory responses: 200: description: The created resource schema: #/definitions/managerWorkshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/managerWorkshiftHistory responses: 200: description: The created resource schema: #/definitions/managerWorkshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/managerWorkshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/managerWorkshiftHistory/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/managerWorkshiftHistory responses: 200: description: Ok schema: #/definitions/managerWorkshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/managerWorkshiftHistory responses: 200: description: Ok schema: #/definitions/managerWorkshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/managerWorkshiftHistory 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/managerWorkshiftHistory/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/managerWorkshiftHistory responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employeeManagerView: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeManagerView responses: 200: description: The created resource schema: #/definitions/employeeManagerView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeManagerView responses: 200: description: The created resource schema: #/definitions/employeeManagerView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/employeeManagerView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employeeManagerView/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeManagerView responses: 200: description: Ok schema: #/definitions/employeeManagerView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeManagerView responses: 200: description: Ok schema: #/definitions/employeeManagerView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employeeManagerView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employeeManagerView/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/employeeManagerView responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employeeMetaColaboradorView: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeMetaColaboradorView responses: 200: description: The created resource schema: #/definitions/employeeMetaColaboradorView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeMetaColaboradorView responses: 200: description: The created resource schema: #/definitions/employeeMetaColaboradorView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/employeeMetaColaboradorView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employeeMetaColaboradorView/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeMetaColaboradorView responses: 200: description: Ok schema: #/definitions/employeeMetaColaboradorView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeMetaColaboradorView responses: 200: description: Ok schema: #/definitions/employeeMetaColaboradorView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employeeMetaColaboradorView 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /labor/entities/employeeMetaColaboradorView/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/employeeMetaColaboradorView responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: healthcheckDTO: description: Define o Status do serviço type: string enum: – UP – DOWN logisticProfile: description: Perfil Logistico do Empregado type: string enum: – Allocation – Loading – Outbound_Check – Imbound_Check – Inventory – Replenishment – Picking tipoCalculo: description: Tipo de Cálculo/Métrica type: string enum: – PECA – PESO – CUBAGEM_VOLUMETRIA – QUANTIDADE_TAREFAS – LINHAS_EXPEDIDAS managerType: description: Tipo de gestão type: string enum: – SEPARATION – STORAGE – CHECKING userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT fieldType: description: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME fileFormat: description: type: string enum: – CSV – FLAT – JSON – XML hookFunction: description: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE eventType: description: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START errorStrategy: description: type: string enum: – CALL_SCRIPT – IGNORE – STOP status: description: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING errorType: description: type: string enum: – CONVERT_ERROR – SERVICE_ERROR checkDTO: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/healthcheckDTO description: Status do healthcheck generalResultInfo: description: DTO genérico para o retorno dos dados do filtro type: object required: – id – name – code properties: id: type: string description: Identificador name: type: string description: nome do objeto code: type: string description: código do objeto generalInputInfo: description: DTO genérico de entrada para os dados do filtro type: object properties: page: type: integer format: int64 description: Página a ser buscada default: 0 size: type: integer format: int64 description: Tamanho da página default: 10 referenceDate: type: string format: date description: Data de referência para filtrar q: type: string description: Termo para filtrar workTimeResume: description: Horario Previsto dos operadores resumido type: object required: – operador – day – workshift properties: operador: type: string description: Identificador do Operador day: type: string format: date description: Dia Calculado dayOff: type: boolean description: Indica um dia de Folga default: false workshift: type: string description: Identificador da Escala workschedule: type: string description: Identificador do Horário simplifiedWorkshift: description: Dados da escala no frontend type: object required: – code – shortName – workscheduleDay properties: code: type: integer format: int64 description: Código shortName: type: string maxLength: 255 description: Nome recurency: type: boolean description: Indica se Escala é Recorrente default: true startDate: type: string format: date description: Dia Inicial para referencia da Escala workscheduleDay: type: array items: type: object allOf: – #/definitions/simplifiedWorkscheduleDay minimum: 1 description: Relação de dias e horários de trabalho simplificado simplifiedWorkscheduleDay: description: Dados da escala no frontend type: object required: – day properties: day: type: string format: date description: Dia Referencia dayOff: type: boolean description: Indica um dia de Folga default: false workschedule: type: object allOf: – #/definitions/workschedule description: Horario de Trabalho employeesResume: description: Dados do colaborador type: object required: – operatorId – employeeName properties: operatorId: type: string description: Id do Operador associado employeeName: type: string description: Nome do colaborador logisticUnitId: type: string description: Id da Unidade Logística logisticUnitName: type: string description: Nome da Unidade Logística simplifiedEmployee: description: Dados simplificados do Colaborador type: object required: – employeeId – operatorId – name – hireDate properties: employeeId: type: string description: Id do Colaborador operatorId: type: string description: Id do operador logisticUnitId: type: string description: Id da unidade logistica workshiftId: type: string description: Id da escala/turno name: type: string description: Nome do Funcionário hireDate: type: string format: date description: Data de admissão dismissalDate: type: string format: date description: Data de desligamento simplifiedManager: description: Dados simplificados do Gestor type: object required: – managerId – name – workshiftNames – type – departamentName properties: managerId: type: string description: Id do gestor name: type: string description: Nome do gestor workshiftNames: type: array items: type: string minimum: 1 description: Nomes dos turnos que o gestor é responsavel type: type: string allOf: – #/definitions/managerType description: Tipo do gestor departamentName: type: string description: Departamento queo gestor é responsavel workshifts: type: array items: type: object allOf: – #/definitions/workshift description: Dados completos de escala employees: type: array items: type: object allOf: – #/definitions/employee description: Dados completos dos colaboradores worktimeCacheData: description: Dados de worktime em cache type: object required: – operatorId – workshiftId – dayOff properties: operatorId: type: string description: Id do operador workshiftId: type: string description: Id do workshift dayOff: type: boolean description: Indica dia de folga workscheduleId: type: string description: Id do workschedule startTime: type: integer format: int64 description: Hora de Entrada em minutos startBreak: type: integer format: int64 description: Inicio Intervalo em minutos endbreak: type: integer format: int64 description: Fim Intervalo em minutos endTime: type: integer format: int64 description: Hora de Saida em minutos worktimePeriod: description: Dados de worktime em cache por periodo type: object required: – employeeId – operatorId – processDate – dayOff – workshiftId properties: employeeId: type: string description: Id do Colaborador operatorId: type: string description: Id do Operador processDate: type: string format: date description: Data de processamento dayOff: type: boolean description: Indica dia de folga workshiftId: type: string description: Id da Escala/Turno workscheduleId: type: string description: Id do Horario de Trabalho startTime: type: integer format: int64 description: Hora de Entrada em minutos startBreak: type: integer format: int64 description: Inicio Intervalo em minutos endBreak: type: integer format: int64 description: Fim Intervalo em minutos endTime: type: integer format: int64 description: Hora de Saida em minutos workTimeOperator: description: Horas de Trabalho Estimada do Operador type: object required: – operatorId – worktime properties: operatorId: type: string description: Id do Operador worktime: type: integer format: int64 description: Horas de Trabalho Estimada managerGoalReport: description: type: object required: – managerName – workshift – calculationType – totalHourGoal – totalWorkshiftGoal – totalProducedDay – hoursGoal – overtime properties: managerName: type: string description: Nome do líder workshift: type: string description: Descrição do turno calculationType: type: integer format: int64 description: Tipo do calculo totalHourGoal: type: integer format: int64 description: Soma total de meta por hora de todos os liderados totalWorkshiftGoal: type: integer format: int64 description: Soma total de meta do turno de todos os liderados totalProducedDay: type: integer format: int64 description: Soma total produzido no dia de todos os liderados hoursGoal: type: array items: type: integer format: int64 minimum: 1 description: Lista de horas Meta/Produzido overtime: type: integer format: int64 description: Horas extra managerDTO: description: type: object required: – id – name – department properties: id: type: string description: Id do lider name: type: string description: Nome do líder department: type: string description: Departamento do lider managerHourGoalDTO: description: type: object required: – name – calculationType – hourGoals properties: name: type: string description: Nome do líder calculationType: type: string allOf: – #/definitions/tipoCalculo description: Tipo de cálculo hourGoals: type: array items: type: object allOf: – #/definitions/hourGoalDTO minimum: 1 description: Meta por hora do lider hourGoalDTO: description: type: object required: – goal – done properties: goal: type: integer format: int64 description: Meta por hora done: type: integer format: int64 description: Meta concluida por hora unidadeLogistica: description: Unidade Logística type: object required: – nome – code properties: id: type: string format: uuid description: Identificador único do registro nome: type: string description: Nome code: type: string description: Código de Integração deleted: type: boolean description: Indicação registro deletado default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: operador: description: Operador type: object required: – nomeUsuario – nome – code properties: id: type: string format: uuid description: Identificador único do registro nomeUsuario: type: string description: Nome de Usuário nome: type: string description: Nome deleted: type: boolean description: Indicação registro deletado default: false cracha: type: string description: Crachá ativo: type: boolean description: Ativo default: true code: type: string description: Código de Integração (Identificador Usuário no WMS) createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: employee: description: Colaborador da unidade Logistica type: object required: – name – unidadeLogistica properties: id: type: string format: uuid description: Identificador único do registro operador: type: object allOf: – #/definitions/operador description: Operador associado name: type: string description: Nome do Funcionário hireDate: type: string format: date description: Data de admissão dismissalDate: type: string format: date description: Data de desligamento birthDate: type: string format: date description: Data de Nascimento weight: type: integer format: int64 description: Peso em Kg height: type: integer format: int64 description: Altura em cm unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade Logística createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: workshift: description: Escala/Turno de Trabalho type: object required: – code – shortName properties: id: type: string format: uuid description: Identificador único code: type: integer format: int64 description: Código shortName: type: string maxLength: 255 description: Nome x-i18n: true recurency: type: boolean description: Indica se Escala é Recorrente default: true startDate: type: string format: date description: Dia Inicial para referencia da Escala workscheduleDay: type: array items: type: object allOf: – #/definitions/workscheduleDay description: Dias da Escala createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: translations: type: object properties: locale: type: object properties: shortName: type: string maxLength: 255 example: pt-BR: shortName: Exemplo de texto usando locale pt-BR. en-US: shortName: Text example using en-US locale. workscheduleDay: description: Horário Trabalho Dia type: object required: – day properties: id: type: string format: uuid description: Identificador único day: type: string format: date description: Dia Referencia dayOff: type: boolean description: Indica um dia de Folga default: false workschedule: type: object allOf: – #/definitions/workschedule description: Horario de Trabalho createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: workschedule: description: Horario de Trabalho type: object required: – shortName properties: id: type: string format: uuid description: Identificador único shortName: type: string maxLength: 255 description: Nome x-i18n: true startTime: type: integer format: int64 description: Hora de Entrada startBreak: type: integer format: int64 description: Inicio Intervalo endbreak: type: integer format: int64 description: Fim Intervalo endTime: type: integer format: int64 description: Hora de Saida totalTime: type: integer format: int64 description: Tempo Total createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: translations: type: object properties: locale: type: object properties: shortName: type: string maxLength: 255 example: pt-BR: shortName: Exemplo de texto usando locale pt-BR. en-US: shortName: Text example using en-US locale. workshiftHistory: description: Histórico de escala type: object required: – employee – startDate – workshift properties: id: type: string format: uuid description: Identificador único employee: type: object allOf: – #/definitions/employee description: Colaborador startDate: type: string format: date description: Data de início endDate: type: string format: date description: Data de término workshift: type: object allOf: – #/definitions/workshift description: Escala createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: profileHistory: description: Histórico de Perfil Logistico type: object required: – employee – startDate – profile properties: id: type: string format: uuid description: Identificador único employee: type: object allOf: – #/definitions/employee description: Colaborador startDate: type: string format: date description: Data de início endDate: type: string format: date description: Data de término profile: type: string allOf: – #/definitions/logisticProfile description: Perfil Logistico createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: workTime: description: Horario de Trabalho dos operadores type: object required: – employee – date – workshift – dayOff properties: id: type: string format: uuid description: Identificador único employee: type: object allOf: – #/definitions/employee description: Colaborador date: type: string format: date description: Data de Processamento do hroario de Trabalho workshift: type: object allOf: – #/definitions/workshift description: Escala dayOff: type: boolean description: Indica um dia de Folga workschedule: type: object allOf: – #/definitions/workschedule description: Horario de Trabalho createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: department: description: Departamento type: object required: – name properties: id: type: string format: uuid description: Identificador único name: type: string description: Nome do Departamento createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: manager: description: Gestor de colaboradores type: object required: – employee – department – active – type properties: id: type: string format: uuid description: Identificador único employee: type: object allOf: – #/definitions/employee description: Colaborador do gestor department: type: object allOf: – #/definitions/department description: departmento vinculado active: type: boolean description: Sinaliza se o gestor está ativo ou initivo type: type: string allOf: – #/definitions/managerType description: Tipo de gestão subordinates: type: array items: type: object allOf: – #/definitions/managerEmployeeHistory description: Colaboradores vinculados workshifts: type: array items: type: object allOf: – #/definitions/managerWorkshiftHistory description: Escalas vinculadas createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: managerEmployeeHistory: description: Historico de gestão do colaborador type: object required: – startDate – employee properties: id: type: string format: uuid description: Identificador único manager: type: object allOf: – #/definitions/manager description: Gestor startDate: type: string format: date description: Data de início endDate: type: string format: date description: Data de término employee: type: object allOf: – #/definitions/employee description: Vinculado de colaborador createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: managerWorkshiftHistory: description: Historico de gestão do colaborador type: object required: – startDate – workshift properties: id: type: string format: uuid description: Identificador único manager: type: object allOf: – #/definitions/manager description: Gestor startDate: type: string format: date description: Data de início endDate: type: string format: date description: Data de término workshift: type: object allOf: – #/definitions/workshift description: Vinculado de escala createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: employeeManagerView: description: View de relação entre Líderes ativos e Subodinados type: object required: – colaborator – isManager properties: id: type: string format: uuid description: ID do Colaborador do subordinado colaborator: type: object allOf: – #/definitions/employee description: Colaborador manager: type: object allOf: – #/definitions/manager description: Se o lider tem Líder ativo history: type: object allOf: – #/definitions/managerEmployeeHistory description: Histórico da relação com o Líder isManager: type: boolean description: Indica se o operador é líder activeWorkshift: type: object allOf: – #/definitions/workshift description: Escala/turno ativa do líder employeeMetaColaboradorView: description: View de colaboradores para a tela meta de colaborador type: object required: – employee – hireDate – unidadeLogistica – operador properties: id: type: string format: uuid description: ID do Colaborador do subordinado employee: type: object allOf: – #/definitions/employee description: Colaborador hireDate: type: string format: date description: Data de admissão unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade logística operador: type: object allOf: – #/definitions/operador description: Operador activeWorkshift: type: object allOf: – #/definitions/workshift description: Escala/turno ativa employee notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE