2.0info: 0.55.0 Separação description: Serviço de Separação x-senior-domain: Labor Manager System x-senior-domain-path: lms x-senior-service-path: separacao 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: /separacao/queries/getEmployeeInitialDayLimit: post: description: Retorna o início de um employee tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: responses: 200: description: Ok schema: type: object required: – limitDay properties: limitDay: type: string format: date-time description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna o início de um employee tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – limitDay properties: limitDay: type: string format: date-time description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/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 /separacao/queries/getStatusGeral: post: description: Consulta para retornar a situação geral tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período responses: 200: description: Ok schema: type: object required: – statusGeral properties: statusGeral: type: object allOf: – #/definitions/recStatusGeral description: Retorno da Situação Geral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getActiveEmployeeDetails: post: description: Consulta para retornar os detalhes da tarefa de um status tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período 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 orderby: type: string description: 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/activeEmployee minimum: 1 description: Colaboradores atvos encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getStatusSeparacao: post: description: Consulta para retornar a situação da separação tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período responses: 200: description: Ok schema: type: object required: – statusSeparacao properties: statusSeparacao: type: object allOf: – #/definitions/recStatusSeparacao description: Retorno da Situação da Separação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getStatusSeparacaoAgrupado: post: description: Consulta para retornar a situação da separação agrupado por data tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período responses: 200: description: Ok schema: type: object required: – statusSeparacao properties: statusSeparacao: type: array items: type: object allOf: – #/definitions/recStatusSeparacaoAgrupado minimum: 1 description: Retorno da Situação da Separação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getStatusSeparacaoAgrupadoDetails: post: description: Consulta para retornar a situação da separação detalhada para um período específico. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo – statusTarefa properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período statusTarefa: type: array items: type: string allOf: – #/definitions/statusTarefa minimum: 1 description: Status 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 orderby: type: string description: 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/statusSeparacaoDetails minimum: 1 description: Detalhes 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getStatusTarefas: post: description: Consulta para retornar a situação das tarefas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período responses: 200: description: Ok schema: type: object required: – resumo properties: resumo: type: object allOf: – #/definitions/recStatusTarefa description: Retono dos Status das Tarefas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getDetailedRhythm: post: description: Consulta para retornar ritmo detalhado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período 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 orderby: type: string description: 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/detailedRhythm minimum: 1 description: Retorno das tarefas do operador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getStatusTarefasDetalhado: post: description: Consulta para retornar os detalhes da tarefa de um status tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo – statusTarefa properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período statusTarefa: type: array items: type: string allOf: – #/definitions/statusTarefa minimum: 1 description: Status 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 orderby: type: string description: 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/tarefa minimum: 1 description: Tarefas encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getTempoTarefas: post: description: Consulta para retornar o tempo das tarefas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período operadores: type: array items: type: string description: Operadores responses: 200: description: Ok schema: type: object required: – resumo properties: resumo: type: array items: type: object allOf: – #/definitions/recTempoTarefa minimum: 1 description: Retono do Tempo das Tarefas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getTempoTarefaDetails: post: description: Consulta para retornar o tempo das tarefas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período operadores: type: array items: type: string description: Operadores size: type: integer format: int64 description: Tamanho da página default: 10 offset: type: integer format: int64 description: Offset da página default: 0 orderby: type: string description: 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/taskTimeDetails minimum: 1 description: Detalhes 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getPicoOperacao: post: description: Consulta para retornar a situação do pico da Operacao tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período responses: 200: description: Ok schema: type: object required: – status properties: status: type: array items: type: object allOf: – #/definitions/recPicoOperacao minimum: 1 description: Retorno da Situação do pico da Operacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getRankOperadores: post: description: Consulta para pegar o rank dos Operadores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo – ordenacao properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período ordenacao: type: string allOf: – #/definitions/ordenacaoRankOperadores description: Ordenação limite: type: integer format: int64 description: Quantidade de operador por ranking default: 10 responses: 200: description: Ok schema: type: object required: – operadores properties: operadores: type: array items: type: object allOf: – #/definitions/operadorMedia minimum: 1 description: Retorno da Situação Geral 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getPecasMovimentadas: post: description: Consulta peças separadas no periodo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período size: type: integer format: int64 description: Tamanho da página default: 10 offset: type: integer format: int64 description: Offset da página default: 0 orderby: type: string description: 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/pecaMovimentada minimum: 1 description: Peças movimentadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getAverageTimeDetails: post: description: Consulta para detalhar informações de tempo médio tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filtro – periodo properties: filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período size: type: integer format: int64 description: Tamanho da página default: 10 offset: type: integer format: int64 description: Offset da página default: 0 orderby: type: string description: 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/averageTimeDetails minimum: 1 description: Peças movimentadas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getOperadoresOciosos: post: description: Consulta para retornar os operadores ociosos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – unidadeLogisticaIds properties: unidadeLogisticaIds: type: array items: type: string minimum: 1 description: Ids da Unidade Logistica limite: type: integer format: int64 description: Quantidade de operadores mais ociosos default: 10 responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/operadoresOciosos minimum: 1 description: Operadores Ociosos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Consulta para retornar os operadores ociosos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: unidadeLogisticaIds description: Ids da Unidade Logistica in: query required: true type: array items: type: string minimum: 1 – name: limite description: Quantidade de operadores mais ociosos in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – contents properties: contents: type: array items: type: object allOf: – #/definitions/operadoresOciosos minimum: 1 description: Operadores Ociosos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/searchUnidadeLogistica: post: description: Retorna a lista de Unidade Logistica 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 Unidade Logistica 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 /separacao/queries/searchDepositante: post: description: Retorna a lista de Depositantes 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 Depositantes 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 /separacao/queries/getDetailedOperatorRank: post: description: Consulta para pegar o rank do Operador detalhado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employeeId – filtro – periodo properties: employeeId: type: string description: Id do operador filtro: type: object allOf: – #/definitions/filtroDashboard description: filtro periodo: type: object allOf: – #/definitions/periodo description: Período 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 orderby: type: string description: 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/detailedOperatorRank minimum: 1 description: Retorno das tarefas do operador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/queries/getPickingResume: post: description: Lista um resumo do cálculo separação diario tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – startDate – calculo properties: startDate: type: string format: date description: Data Inicial do Periodo endDate: type: string format: date description: Data Final do Periodo unidadeLogisticaIds: type: array items: type: string description: Filtro por Unidade(s) Logistica(s) ou nulo para listar todos calculo: type: string allOf: – #/definitions/tipoCalculo description: Tipo de Cálculo/Métrica 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/pickingResume minimum: 1 description: Resultados encontrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/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 /separacao/queries/exportCalculoDiarioTarefas: 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 /separacao/queries/exportUnidadeLogistica: post: description: tags: – Queries x-senior-visibility: PUBLIC 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 /separacao/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 /separacao/queries/exportDepositante: 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 /separacao/queries/exportTarefa: 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 /separacao/queries/exportTarefaSeparacaoOperador: 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 /separacao/queries/exportHistoricoTarefa: 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 /separacao/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 /separacao/queries/exportRotulo: 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 /separacao/queries/exportMotivo: 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 /separacao/queries/exportOcorrencia: 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 /separacao/queries/exportCalculoSeparacao: 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 /separacao/queries/exportOperatorLastAction: 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 /separacao/queries/exportUserTerms: 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 /separacao/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 /separacao/actions/apurarSeparacao: post: description: Faz apuração da Separação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – unidadeLogistica – code properties: unidadeLogistica: type: string description: Identificador da Unidade Logistica code: type: string description: Identificador da tarefa no WMS responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/actions/calculateIdleSince: post: description: Calcula a quantidade de osciocidade do operador 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: – idleSince properties: idleSince: type: integer format: int64 description: Tempo em minutos ocioso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/actions/importCalculoDiarioTarefas: 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 /separacao/actions/importUnidadeLogistica: post: description: tags: – Actions x-senior-visibility: PUBLIC 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 /separacao/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 /separacao/actions/importDepositante: 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 /separacao/actions/importTarefa: 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 /separacao/actions/importTarefaSeparacaoOperador: 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 /separacao/actions/importHistoricoTarefa: 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 /separacao/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 /separacao/actions/importRotulo: 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 /separacao/actions/importMotivo: 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 /separacao/actions/importOcorrencia: 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 /separacao/actions/importCalculoSeparacao: 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 /separacao/actions/importOperatorLastAction: 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 /separacao/actions/importUserTerms: 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 /separacao/signals/reapurarSeparacaoRetroativa: post: description: Faz apuração retroativa tags: – Signals parameters: – name: input in: body required: true schema: type: object properties: days: type: integer format: int64 description: maximum: 60 default: 30 responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /separacao/signals/calculateWorkedHours: post: description: Processo o calculo de horas trabalhadas na separação tags: – Signals parameters: – name: input in: body required: true schema: type: object properties: operatorIds: type: array items: type: string description: Operadores logisticUnitIds: type: array items: type: string description: Unidades logisticas 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 /separacao/signals/calculatePickingDay: post: description: Processo o calculo da separação diária tags: – Signals parameters: – name: input in: body required: true schema: type: object properties: operatorIds: type: array items: type: string description: Operadores logisticUnitIds: type: array items: type: string description: Unidades logisticas startDate: type: string format: date description: Data Inicial do Periodo, se não informado calcula a jornada atual endDate: type: string format: date description: Data Final do Periodo responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /separacao/events/taskCreated: post: description: Quando uma nova tarefa de separação é criada x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – taskId – logisticUnitId – created – description – status properties: taskId: type: string description: Identificador da tarefa logisticUnitId: type: string description: Identificador da Unidade Logistica operatorId: type: string description: Identificador do operador created: type: string format: date description: Data Criação sla: type: string format: date description: Data do SLA description: type: string description: Descrição da Tarefa status: type: string description: Status da Tarefa responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /separacao/events/importCalculoDiarioTarefasEvent: 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 /separacao/events/exportCalculoDiarioTarefasEvent: 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 /separacao/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 /separacao/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 /separacao/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 /separacao/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 /separacao/events/importDepositanteEvent: 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 /separacao/events/exportDepositanteEvent: 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 /separacao/events/importTarefaEvent: 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 /separacao/events/exportTarefaEvent: 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 /separacao/events/importTarefaSeparacaoOperadorEvent: 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 /separacao/events/exportTarefaSeparacaoOperadorEvent: 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 /separacao/events/importHistoricoTarefaEvent: 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 /separacao/events/exportHistoricoTarefaEvent: 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 /separacao/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 /separacao/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 /separacao/events/importRotuloEvent: 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 /separacao/events/exportRotuloEvent: 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 /separacao/events/importMotivoEvent: 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 /separacao/events/exportMotivoEvent: 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 /separacao/events/importOcorrenciaEvent: 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 /separacao/events/exportOcorrenciaEvent: 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 /separacao/events/importCalculoSeparacaoEvent: 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 /separacao/events/exportCalculoSeparacaoEvent: 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 /separacao/events/importOperatorLastActionEvent: 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 /separacao/events/exportOperatorLastActionEvent: 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 /separacao/events/importEventoCalculoSeparacaoEvent: 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 /separacao/events/exportEventoCalculoSeparacaoEvent: 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 /separacao/events/importUserTermsEvent: 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 /separacao/events/exportUserTermsEvent: 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 /separacao/entities/calculoDiarioTarefas: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/calculoDiarioTarefas responses: 200: description: The created resource schema: #/definitions/calculoDiarioTarefas 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/calculoDiarioTarefas responses: 200: description: The created resource schema: #/definitions/calculoDiarioTarefas 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/calculoDiarioTarefas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/calculoDiarioTarefas/{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/calculoDiarioTarefas responses: 200: description: Ok schema: #/definitions/calculoDiarioTarefas 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/calculoDiarioTarefas responses: 200: description: Ok schema: #/definitions/calculoDiarioTarefas 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/calculoDiarioTarefas 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 /separacao/entities/calculoDiarioTarefas/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/calculoDiarioTarefas responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/unidadeLogistica: get: tags: – CRUD x-senior-visibility: PUBLIC 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 /separacao/entities/unidadeLogistica/{id}: get: tags: – CRUD x-senior-visibility: PUBLIC parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/unidadeLogistica 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/employee: 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 /separacao/entities/employee/{id}: 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 /separacao/entities/depositante: 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/depositante 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/depositante/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/depositante 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/tarefa: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tarefa responses: 200: description: The created resource schema: #/definitions/tarefa 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/tarefa responses: 200: description: The created resource schema: #/definitions/tarefa 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/tarefa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/tarefa/{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/tarefa responses: 200: description: Ok schema: #/definitions/tarefa 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/tarefa responses: 200: description: Ok schema: #/definitions/tarefa 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/tarefa 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 /separacao/entities/tarefa/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tarefa responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/tarefaSeparacaoOperador: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tarefaSeparacaoOperador responses: 200: description: The created resource schema: #/definitions/tarefaSeparacaoOperador 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/tarefaSeparacaoOperador responses: 200: description: The created resource schema: #/definitions/tarefaSeparacaoOperador 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/tarefaSeparacaoOperador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/tarefaSeparacaoOperador/{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/tarefaSeparacaoOperador responses: 200: description: Ok schema: #/definitions/tarefaSeparacaoOperador 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/tarefaSeparacaoOperador responses: 200: description: Ok schema: #/definitions/tarefaSeparacaoOperador 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/tarefaSeparacaoOperador 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 /separacao/entities/tarefaSeparacaoOperador/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tarefaSeparacaoOperador responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/historicoTarefa: 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/historicoTarefa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/historicoTarefa/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/historicoTarefa 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/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 /separacao/entities/operador/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/operador 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/rotulo: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/rotulo responses: 200: description: The created resource schema: #/definitions/rotulo 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/rotulo responses: 200: description: The created resource schema: #/definitions/rotulo 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/rotulo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/rotulo/{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/rotulo responses: 200: description: Ok schema: #/definitions/rotulo 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/rotulo responses: 200: description: Ok schema: #/definitions/rotulo 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/rotulo 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 /separacao/entities/rotulo/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/rotulo responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/motivo: 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/motivo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/ocorrencia: 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/ocorrencia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/calculoSeparacao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/calculoSeparacao responses: 200: description: The created resource schema: #/definitions/calculoSeparacao 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/calculoSeparacao responses: 200: description: The created resource schema: #/definitions/calculoSeparacao 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/calculoSeparacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/calculoSeparacao/{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/calculoSeparacao responses: 200: description: Ok schema: #/definitions/calculoSeparacao 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/calculoSeparacao responses: 200: description: Ok schema: #/definitions/calculoSeparacao 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/calculoSeparacao 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 /separacao/entities/calculoSeparacao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/calculoSeparacao responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/operatorLastAction: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/operatorLastAction responses: 200: description: The created resource schema: #/definitions/operatorLastAction 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/operatorLastAction responses: 200: description: The created resource schema: #/definitions/operatorLastAction 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/operatorLastAction 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/operatorLastAction/{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/operatorLastAction responses: 200: description: Ok schema: #/definitions/operatorLastAction 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/operatorLastAction responses: 200: description: Ok schema: #/definitions/operatorLastAction 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/operatorLastAction 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 /separacao/entities/operatorLastAction/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/operatorLastAction responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/eventoCalculoSeparacao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/eventoCalculoSeparacao responses: 200: description: The created resource schema: #/definitions/eventoCalculoSeparacao 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/eventoCalculoSeparacao responses: 200: description: The created resource schema: #/definitions/eventoCalculoSeparacao 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/eventoCalculoSeparacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/eventoCalculoSeparacao/{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/eventoCalculoSeparacao responses: 200: description: Ok schema: #/definitions/eventoCalculoSeparacao 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/eventoCalculoSeparacao responses: 200: description: Ok schema: #/definitions/eventoCalculoSeparacao 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/eventoCalculoSeparacao 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 /separacao/entities/calculoSeparacao/{parentId}/eventos: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/eventoCalculoSeparacao responses: 200: description: The created resources schema: type: array items: #/definitions/eventoCalculoSeparacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/eventoCalculoSeparacao responses: 200: description: The created resources schema: type: array items: #/definitions/eventoCalculoSeparacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/eventoCalculoSeparacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/calculoSeparacao/{parentId}/eventos/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/eventoCalculoSeparacao responses: 200: description: Ok schema: #/definitions/eventoCalculoSeparacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/eventoCalculoSeparacao responses: 200: description: Ok schema: #/definitions/eventoCalculoSeparacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/eventoCalculoSeparacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/eventoCalculoSeparacao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/eventoCalculoSeparacao responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/userTerms: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/userTerms responses: 200: description: The created resource schema: #/definitions/userTerms 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/userTerms responses: 200: description: The created resource schema: #/definitions/userTerms 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/userTerms 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /separacao/entities/userTerms/{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/userTerms responses: 200: description: Ok schema: #/definitions/userTerms 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/userTerms responses: 200: description: Ok schema: #/definitions/userTerms 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/userTerms 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 /separacao/entities/userTerms/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/userTerms 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 tipoTarefa: description: Tipo da Tarefa type: string enum: – FILA – TRANSITO – TRABALHO – PAUSA – TERMINO tipoCalculo: description: Tipo de Cálculo/Métrica type: string enum: – PECA – PESO – CUBAGEM_VOLUMETRIA – QUANTIDADE_TAREFAS – LINHAS_EXPEDIDAS tipoOcorrencia: description: Tipo de Ocorrência type: string enum: – ENTRADA – SAIDA – PAUSA – RETORNO_PAUSA statusGeral: description: Status Geral type: string enum: – SEM_TAREFAS – NO_PRAZO – EM_ALERTA – FORA_PRAZO – ACIMA_ESPERADO – ERRO_AO_BUSCAR_STATUS – NENHUMA_CONFIGURACAO_DE_UL_CONFIGURADA – FORA_DA_CONFIGURACAO_DE_UL_CONFIGURADA statusTarefa: description: Situação da Tarefa que sera usada para comunicação com frontend type: string enum: – NAO_INICIADA – EM_ANDAMENTO – ATRASADA – CONCLUIDA – CANCELADA – CONCLUIDA_ATRASO situacaoTarefa: description: Situacao da Tarefa que sera persistida no banco type: string enum: – PENDENTE – EM_ANDAMENTO – CONCLUIDA – CANCELADA ordenacaoRankOperadores: description: Tipos de Ordenaçãoo dos Ranks de Operadores type: string enum: – MELHORES_10 – PIORES_10 – AMBOS eventoCalculo: description: Tiopo Evento de Cálculo type: string enum: – TAREFA – PAUSA 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 pickingResume: description: type: object required: – idOperador – nomeOperador – horasPrevistas – horasTrabalho – horasPausa – horasOcioso – horasExtra – estouro – quantidade – produtividade – dataAtualizacao properties: idOperador: type: string description: Operador do calculo nomeOperador: type: string description: Nome do Operador horasPrevistas: type: integer format: int64 description: Horas Previstas do periodo em minutos horasTrabalho: type: integer format: int64 description: Horas Trabalhadas em minutos horasPausa: type: integer format: int64 description: Horas Pausa em minutos horasOcioso: type: integer format: int64 description: Horas Ocioso em minutos horasExtra: type: integer format: int64 description: Horas Extra em minutos estouro: type: integer format: int64 description: Estouro do operador no dia quantidade: type: number format: double description: Quantidade separado do operador no dia de acordo com tipo de calculo produtividade: type: number format: double description: Percentual de produtividade dataAtualizacao: type: string format: date description: Data de atualização 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 filtroDashboard: description: Filtro do Dashboard type: object required: – unidadeLogisticaId – calculo properties: unidadeLogisticaId: type: array items: type: string minimum: 1 description: Id da Unidade Logistica depositanteId: type: array items: type: string description: Id do Depositante calculo: type: string allOf: – #/definitions/tipoCalculo description: Tipo de Cálculo/Métrica rotulo: type: array items: type: string description: Rótulo filtroProdutividade: description: Filtro do relatorio de produtividade type: object required: – calculo properties: unidadeLogisticaId: type: array items: type: string description: Id da Unidade Logistica calculo: type: string allOf: – #/definitions/tipoCalculo description: Tipo de Cálculo/Métrica recPicoOperacao: description: Record Status pico da Operacao type: object required: – data – separado – liberado properties: data: type: string format: date-time description: Data da amostra separado: type: number format: double description: Unidades Seperadas liberado: type: number format: double description: Unidades Liberadas recStatusGeral: description: Record Status Geral type: object required: – ritmo – tempoMedio – colaboradores – quantidade properties: ritmo: type: number format: double description: Ritmo Atual tempoMedio: type: number format: double description: Tempo médio colaboradores: type: integer format: int64 description: Colaboradores ativos quantidade: type: number format: double description: Quantidade de peças movimentadas recStatusSeparacao: description: Record Status da Separacao type: object required: – naoIniciada – emAndamento – atrasadas – canceladas – concluidasPrazo – concluidasAtraso properties: naoIniciada: type: number format: double description: Não Iniciada emAndamento: type: number format: double description: Em Andamento atrasadas: type: number format: double description: Atrasadas canceladas: type: number format: double description: Canceladas concluidasPrazo: type: number format: double description: Concluídas no Prazo concluidasAtraso: type: number format: double description: Concluídas em Atraso recStatusSeparacaoAgrupado: description: Record Status da Separacao agrupado por data type: object required: – statusSeparacao – data properties: statusSeparacao: type: object allOf: – #/definitions/recStatusSeparacao description: Dados da coleta data: type: string format: date-time description: Datas das coletas recStatusTarefa: description: Record Status da Tarefa type: object required: – naoIniciadas – emAndamento – atrasadas – canceladas – concluidas – concluidasEmAtraso – naoIniciadaEmAtraso – emAndamentoEmAtraso properties: naoIniciadas: type: number format: double description: Não Iniciada emAndamento: type: number format: double description: Em Andamento atrasadas: type: number format: double description: Atrasadas canceladas: type: number format: double description: Canceladas concluidas: type: number format: double description: Concluídas concluidasEmAtraso: type: number format: double description: Concluídas em atraso naoIniciadaEmAtraso: type: number format: double description: Em Andamento Atrasado emAndamentoEmAtraso: type: number format: double description: Em Andamento em atraso recTempoTarefa: description: Record Tempo Tarefa type: object required: – data – minimo – medio – maximo properties: data: type: string format: date-time description: Data e Hora minimo: type: number format: double description: Mínimo medio: type: number format: double description: Médio maximo: type: number format: double description: Máximo operadores: type: array items: type: object allOf: – #/definitions/recTempoTarefaOperador description: Informações sobre os operadores enviados recTempoTarefaOperador: description: Informações do operador type: object required: – operador – tempo properties: operador: type: string description: Operador tempo: type: number format: double description: Tempo operadoresOciosos: description: Record Operadores Ociosos type: object required: – nomeOperadorCompleto – tempoOcioso properties: nomeOperadorCompleto: type: string description: Nome do Operador nomeUnidadeLogistica: type: string description: Nome da Unidade Logística do Operador tempoOcioso: type: number format: double description: Tempo Ocioso em Segundos operadorMedia: description: Retorno do rank dos operadores type: object required: – nomeOperadorCompleto – media properties: employeeId: type: string description: id do Operador nomeOperadorCompleto: type: string description: Operador media: type: number format: double description: Média nomeUnidadeLogistica: type: string description: Nome da Unidade Logística pecaMovimentada: description: Retorno de peças movimentadas type: object required: – unidadeLogisticaId – nomeUnidadeLogistica – quantidadePecas – data properties: unidadeLogisticaId: type: string description: Id da unidade logística nomeUnidadeLogistica: type: string description: Nome da unidade logística quantidadePecas: type: number format: double description: Quantidade de peças data: type: string format: date-time description: Data de finalização da movimentação averageTimeDetails: description: Retorno do detalhamento das tarefas do tempo médio type: object required: – code – description – startDate – endDate – timeSpent properties: code: type: string description: Código da tarefa description: type: string description: Descrição da tarefa startDate: type: string format: date-time description: Data de inicio endDate: type: string format: date-time description: Data de termino timeSpent: type: integer format: int64 description: Tempo gasto na tarefa (em segundos) taskTimeDetails: description: Retorno do detalhamento do tempo das tarefas concluidas type: object required: – code – description – startDate – endDate – operador – timeSpent properties: code: type: string description: Código da tarefa description: type: string description: Descrição da tarefa startDate: type: string format: date-time description: Data de inicio endDate: type: string format: date-time description: Data de termino operador: type: string description: Operador timeSpent: type: integer format: int64 description: Tempo gasto na tarefa (em segundos) periodo: description: Período da Apuração type: object required: – dataInicial – dataFinal properties: dataInicial: type: string format: date-time description: Início do periodo a ser filtrado dataFinal: type: string format: date-time description: Fim do periodo a ser filtrado detailedRhythm: description: Ritmo detalhado type: object required: – taskCode – description – quantity – creationDate properties: taskCode: type: string description: Código da tarefa description: type: string description: Descrição da onda quantity: type: number format: double description: Quantidade separado do operador no dia de acordo com tipo de calculo creationDate: type: string format: date-time description: Data de criação da onda statusSeparacaoDetails: description: Retorno do detalhamento da situação da separação type: object required: – code – description – createDate – operador – quantity – status – isLate properties: code: type: string description: Código da coleta description: type: string description: Descrição da coleta createDate: type: string format: date-time description: Data de inicio operador: type: string description: Nome do operador quantity: type: number format: double description: Quantidade status: type: string allOf: – #/definitions/situacaoTarefa description: Dados da coleta isLate: type: boolean description: Indica se a tarefa está atrasada pausedOperator: description: Record Operadores Pausados type: object required: – operatorName – pausedTime properties: operatorName: type: string description: Nome do Operador logisticUnitName: type: string description: Nome da Unidade Logística do Operador pausedTime: type: number format: double description: Tempo Pausado em Segundos activeEmployee: description: Dados de um operador ativo type: object required: – operatorName – lastTaskWorked – lastActionDate – quantity – actionType properties: operatorName: type: string description: Nome do Operador lastTaskWorked: type: string description: Tarefa da ultima movimentação lastActionDate: type: string format: date-time description: Data/hora da ultima movimentação quantity: type: number format: double description: Quantidade separada no periodo actionType: type: string allOf: – #/definitions/situacaoTarefa description: Tipo da ultima ação detailedOperatorRank: description: Tarefas do operador detalhado type: object required: – taskDescription – quantity – startDate – endDate properties: taskDescription: type: string description: Descrição da Tarefa quantity: type: number format: double description: Quantidade separado do operador no dia de acordo com tipo de calculo startDate: type: string format: date-time description: Data inicio da primeira movimentação da tarefa endDate: type: string format: date-time description: Data fim da movimentação da tarefa calculoDiarioTarefas: description: Calculo Diario da Separação das Tarefas type: object required: – operador – dia – estouro – volume – peso – pecas – tarefas – linhasExpedidas properties: id: type: string format: uuid description: Identificador único do registro operador: type: object allOf: – #/definitions/operador description: Operador do calculo dia: type: string format: date description: Dia do calculo estouro: type: integer format: int64 description: Estouro do operador no dia volume: type: integer format: int64 description: Volume separado do operador no dia peso: type: integer format: int64 description: Peso separado do operador no dia pecas: type: number format: double description: Peças separadas do operador no dia tarefas: type: integer format: int64 description: Tarefas do operador no dia linhasExpedidas: type: integer format: int64 description: Linhas separadas no dia createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: 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 ativo: type: boolean description: Ativo ou inativo default: true 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: employee: description: Colaborador da unidade Logistica type: object required: – name 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 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: depositante: description: Depositante 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 ativo: type: boolean description: Ativo ou inativo default: true 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: tarefa: description: Tarefa Consolidada type: object required: – unidadeLogistica – depositante – descricao – situacao – dataCriacao – dataSLA – quantidade – peso – volume – code properties: id: type: string format: uuid description: Identificador único do registro unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade Logística depositante: type: object allOf: – #/definitions/depositante description: Depositante descricao: type: string description: Descrição da Tarefa situacao: type: string allOf: – #/definitions/situacaoTarefa description: Situação da Atividade dataCriacao: type: string format: date-time description: Data de Criação da Tarefa dataSLA: type: string format: date-time description: Data de SLA da Tarefa quantidade: type: number format: double description: Quantidade minimum: 1.0 peso: type: integer format: int64 description: Peso minimum: 1 volume: type: integer format: int64 description: Volume minimum: 1 operador: type: object allOf: – #/definitions/operador description: Operador dataInicio: type: string format: date-time description: Data Início da Atividade dataTermino: type: string format: date-time description: Data de Término da Atividade quantidadeMovimentada: type: number format: double description: Quantidade Movimentada minimum: 0.0 default: 0.0 pesoMovimentado: type: integer format: int64 description: Peso Movimentado minimum: 0 default: 0 volumeMovimentado: type: integer format: int64 description: Volume Movimentado minimum: 0 default: 0 linhasExpedidas: type: integer format: int64 description: Linhas Separadas minimum: 0 default: 0 linhasExpedidasMovimentadas: type: integer format: int64 description: Linhas Separadas Movimentadas minimum: 0 default: 0 rotulos: type: array items: type: object allOf: – #/definitions/rotulo description: Rótulos code: type: string description: Código de Integração tarefa createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: tarefaSeparacaoOperador: description: Tarefa com Separação por Operador type: object required: – tarefa – operador – dataInicio – dataTermino – quantidade – peso – volume – linhasExpedidas properties: id: type: string format: uuid description: Identificador único do registro tarefa: type: object allOf: – #/definitions/tarefa description: Tarefa Consolidada operador: type: object allOf: – #/definitions/operador description: Operador dataInicio: type: string format: date-time description: Data Início da Atividade dataTermino: type: string format: date-time description: Data de Término da Atividade quantidade: type: number format: double description: Quantidade minimum: 1.0 peso: type: integer format: int64 description: Peso minimum: 1 volume: type: integer format: int64 description: Volume minimum: 1 linhasExpedidas: type: integer format: int64 description: Linhas Separadas minimum: 1 createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: historicoTarefa: description: Histórico Movimentação da Tarefa type: object required: – tipo – unidadeLogistica – depositante – descricao – situacao – dataCriacao – dataSLA – quantidade – peso – volume – dataMovimentacao – code properties: id: type: string format: uuid description: Identificador único do registro tipo: type: string allOf: – #/definitions/tipoTarefa description: Tipo da Tarefa unidadeLogistica: type: object allOf: – #/definitions/unidadeLogistica description: Unidade Logística da Tarefa depositante: type: object allOf: – #/definitions/depositante description: Depositante da Tarefa descricao: type: string description: Descrição da Tarefa situacao: type: string allOf: – #/definitions/situacaoTarefa description: Situação da Atividade dataCriacao: type: string format: date-time description: Data de Criação da Tarefa dataSLA: type: string format: date-time description: Data de SLA da Tarefa quantidade: type: number format: double description: Quantidade minimum: 1.0 peso: type: integer format: int64 description: Peso minimum: 1 volume: type: integer format: int64 description: Volume minimum: 1 operador: type: object allOf: – #/definitions/operador description: Operador dataMovimentacao: type: string format: date-time description: Data Movimentação quantidadeMovimentada: type: number format: double description: Quantidade Movimentada minimum: 0.0 default: 0.0 pesoMovimentado: type: integer format: int64 description: Peso Movimentado minimum: 0 default: 0 volumeMovimentado: type: integer format: int64 description: Volume Movimentado minimum: 0 default: 0 linhasExpedidas: type: integer format: int64 description: Linhas Separadas minimum: 0 default: 0 linhasExpedidasMovimentadas: type: integer format: int64 description: Linhas Separadas Movimentadas minimum: 0 default: 0 rotulos: type: string maxLength: 4000 description: Rótulos em formato code: type: string description: Código de Integração (Identificador da Tarefa no WMS) 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 – ativo – 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 cracha: type: string description: Crachá ativo: type: boolean description: Ativo code: type: string description: Código de Integração (Identificador Usuário no WMS) 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: rotulo: description: Rótulo type: object required: – descricao properties: id: type: string format: uuid description: Identificador único do registro descricao: type: string description: Descrição do rótulo createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: motivo: description: Motivo da Ocorrência type: object required: – descricao – code properties: id: type: string format: uuid description: Identificador único do registro descricao: type: string description: Descrição do Motivo code: type: string description: Código de Integração (Identificador no WMS) createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: ocorrencia: description: Ocorrência type: object required: – data – tipo – operador properties: id: type: string format: uuid description: Identificador único do registro data: type: string format: date-time description: Data da Ocorrência tipo: type: string allOf: – #/definitions/tipoOcorrencia description: Tipo de Ocorrência operador: type: object allOf: – #/definitions/operador description: Operador motivo: type: object allOf: – #/definitions/motivo description: Motivo da Ocorrência createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: calculoSeparacao: description: Cálculo horas na separação por operador type: object required: – dataCalculo – operador – horasTrabalho – horasPausa – horasOcioso – horasExtra – diaFolga properties: id: type: string format: uuid description: Identificador único do registro dataCalculo: type: string format: date description: Data do Cálculo operador: type: object allOf: – #/definitions/operador description: Operador associado ao empregado horasTrabalho: type: integer format: int64 description: Horas Trabalhadas em minutos horasPausa: type: integer format: int64 description: Horas Pausa em minutos horasOcioso: type: integer format: int64 description: Horas Ocioso em minutos horasExtra: type: integer format: int64 description: Horas Extra em minutos diaFolga: type: boolean description: Indica um dia de Folga escala: type: string description: Id da Escala de Trabalho horario: type: string description: Id do Horario de Trabalho eventos: type: array items: type: object allOf: – #/definitions/eventoCalculoSeparacao description: Eventos do calculo separação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: operatorLastAction: description: Eventos do calculo da Separação type: object required: – operador – employee – lastAction properties: id: type: string format: uuid description: ID do operador operador: type: object allOf: – #/definitions/operador description: Entidade Operador employee: type: object allOf: – #/definitions/employee description: Entidade Colaborador lastAction: type: object allOf: – #/definitions/historicoTarefa description: O último histórico de movimentação do operador eventoCalculoSeparacao: description: Eventos do calculo da Separação type: object required: – eventoCalculo – data properties: id: type: string format: uuid description: Identificador único do registro calculoSeparacao: type: object allOf: – #/definitions/calculoSeparacao description: Calculo da Separação de um dia eventoCalculo: type: string allOf: – #/definitions/eventoCalculo description: Indica o tipo de evento de cálculo data: type: string format: date-time description: Data da Evento direcaoEntrada: type: boolean description: Indica a direção do evento idEventoOrigem: type: string description: Id que referência o objeto que originou o evento (pausa/tarefa) createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: userTerms: description: Auditoria de termos do usuário type: object required: – chave properties: id: type: string format: uuid description: Identificador único do registro chave: type: string description: chave createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: 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