2.0info: 0.0.0 moods /bridge/rest/hcm – application/json – application/jsonpaths: /moods/queries/searchCommentsByDimension: post: description: This operation is public. Retorna os comentários por dimensão. Caso seja informado um termo na pesquisa são retornados os comentários que tenham esse termo na pergunta em que o comentário foi feito ou no próprio comentário. tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Termo a ser pesquisado no comentário, pergunta ou dimensão. page: type: integer format: int64 description: Página que deve ser retornada, começando em 1. (Padrão 1) default: 1 size: type: integer format: int64 description: Tamanho da página que deve ser retornado. (Padrão 10) default: 10 responses: 200: description: Ok schema: type: object required: – commentsByDimension properties: commentsByDimension: type: array items: type: object allOf: – #/definitions/CommentsByDimension minimum: 1 description: Comentários agrupados por dimensão. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os comentários por dimensão. Caso seja informado um termo na pesquisa são retornados os comentários que tenham esse termo na pergunta em que o comentário foi feito ou no próprio comentário. tags: – Queries parameters: – name: q in: query type: string – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – commentsByDimension properties: commentsByDimension: type: array items: type: object allOf: – #/definitions/CommentsByDimension minimum: 1 description: Comentários agrupados por dimensão. default: description: Error response schema: #/definitions/genericError /moods/queries/getEmployeeObjectOfAnalysis: post: description: This operation is public. Retorna os dados do objeto de análise do Moods tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – username properties: username: type: string description: Usuário do colaborador employeeId: type: string description: Identificador único do colaborador responses: 200: description: Ok schema: type: object required: – employeeId – employeeName – companyName – jobPositionName – departmentName – employeeLeaderName – photoLink – leaderPhotoLink properties: employeeId: type: string description: Id do Employee employeeName: type: string description: Nome do colaborador. companyName: type: string description: Nome da empresa do colaborador jobPositionName: type: string description: Nome do cargo da pessoa. departmentName: type: string description: Nome do local de trabalho da pessoa. employeeLeaderName: type: string description: Nome do líder do colaborador. photoLink: type: string description: Link da foto do colaborador. leaderPhotoLink: type: string description: Link da foto do colaborador. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os dados do objeto de análise do Moods tags: – Queries parameters: – name: username in: query required: true type: string – name: employeeId in: query type: string responses: 200: description: Ok schema: type: object required: – employeeId – employeeName – companyName – jobPositionName – departmentName – employeeLeaderName – photoLink – leaderPhotoLink properties: employeeId: type: string description: Id do Employee employeeName: type: string description: Nome do colaborador. companyName: type: string description: Nome da empresa do colaborador jobPositionName: type: string description: Nome do cargo da pessoa. departmentName: type: string description: Nome do local de trabalho da pessoa. employeeLeaderName: type: string description: Nome do líder do colaborador. photoLink: type: string description: Link da foto do colaborador. leaderPhotoLink: type: string description: Link da foto do colaborador. default: description: Error response schema: #/definitions/genericError /moods/queries/npsScore: post: description: This operation is public. Retorna a pontuação de NPS (Net Promoter Score) da última avaliação tags: – Queries responses: 200: description: Ok schema: type: object required: – detractorsPercentage – detractors – passivesPercentage – passives – promotersPercentage – promoters – score properties: detractorsPercentage: type: number format: double description: Percentual de detratores. detractors: type: integer format: int64 description: Quantidade de detratores. passivesPercentage: type: number format: double description: Percentual de passivos. passives: type: integer format: int64 description: Quantidade de passivos. promotersPercentage: type: number format: double description: Percentual de promotores. promoters: type: integer format: int64 description: Qunatidade de promotores. score: type: number format: double description: Pontuação. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna a pontuação de NPS (Net Promoter Score) da última avaliação tags: – Queries responses: 200: description: Ok schema: type: object required: – detractorsPercentage – detractors – passivesPercentage – passives – promotersPercentage – promoters – score properties: detractorsPercentage: type: number format: double description: Percentual de detratores. detractors: type: integer format: int64 description: Quantidade de detratores. passivesPercentage: type: number format: double description: Percentual de passivos. passives: type: integer format: int64 description: Quantidade de passivos. promotersPercentage: type: number format: double description: Percentual de promotores. promoters: type: integer format: int64 description: Qunatidade de promotores. score: type: number format: double description: Pontuação. default: description: Error response schema: #/definitions/genericError /moods/queries/searchCommentsOfDimension: post: description: This operation is public. Retorna os comentários da dimensão informada tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – dimensionId properties: q: type: string description: Termo a ser pesquisado no comentário, pergunta ou dimensão. page: type: integer format: int64 description: Página que deve ser retornada, começando em 1. (Padrão 1) default: 1 size: type: integer format: int64 description: Tamanho da página que deve ser retornado. (Padrão 10) default: 10 dimensionId: type: string description: Id da dimensão em que o comentário foi escrito. responses: 200: description: Ok schema: type: object allOf: – #/definitions/CommentsByDimension default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os comentários da dimensão informada tags: – Queries parameters: – name: q in: query type: string – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: dimensionId in: query required: true type: string responses: 200: description: Ok schema: type: object allOf: – #/definitions/CommentsByDimension default: description: Error response schema: #/definitions/genericError /moods/queries/searchComments: post: description: This operation is public. Busca os comentários das respostas. Os comentários podem ser filtrados pelo comentário, pergunta ou dimensão. tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Termo a ser pesquisado no comentário, pergunta ou dimensão. page: type: integer format: int64 description: Página que deve ser retornada, começando em 1. (Padrão 1) default: 1 size: type: integer format: int64 description: Tamanho da página que deve ser retornado. (Padrão 10) default: 10 pulseId: type: string description: Id do pulso que deve ter os comentários retornados. (Opcional) responses: 200: description: Ok schema: type: object required: – found – comments properties: found: type: integer format: int64 description: Total de comentários encontrados pela busca. comments: type: array items: type: object allOf: – #/definitions/commentWithDimensionSearch minimum: 1 description: Comentários encontrados. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Busca os comentários das respostas. Os comentários podem ser filtrados pelo comentário, pergunta ou dimensão. tags: – Queries parameters: – name: q in: query type: string – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: pulseId in: query type: string responses: 200: description: Ok schema: type: object required: – found – comments properties: found: type: integer format: int64 description: Total de comentários encontrados pela busca. comments: type: array items: type: object allOf: – #/definitions/commentWithDimensionSearch minimum: 1 description: Comentários encontrados. default: description: Error response schema: #/definitions/genericError /moods/queries/pulseCommentsDetails: post: description: This operation is public. Retorna as informações de comentários no pulso. tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: pulseId: type: string description: Id do pulso que deve ter os detalhes retornados. – Caso o Id não seja informado serão retornados os dados do último pulso. responses: 200: description: Ok schema: type: object required: – pulseId – startDate – endDate – averageScore – commentsAmount properties: pulseId: type: string description: Id do pulso que teve os dados retornados. startDate: type: string format: date description: Data de inicio do pulso endDate: type: string format: date description: Data final do pulso averageScore: type: number format: double description: Satisfacao do pulso commentsAmount: type: integer format: int64 description: Quantidade de comentários do pulso. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna as informações de comentários no pulso. tags: – Queries parameters: – name: pulseId in: query type: string responses: 200: description: Ok schema: type: object required: – pulseId – startDate – endDate – averageScore – commentsAmount properties: pulseId: type: string description: Id do pulso que teve os dados retornados. startDate: type: string format: date description: Data de inicio do pulso endDate: type: string format: date description: Data final do pulso averageScore: type: number format: double description: Satisfacao do pulso commentsAmount: type: integer format: int64 description: Quantidade de comentários do pulso. default: description: Error response schema: #/definitions/genericError /moods/queries/searchQuestionsByDimension: post: description: This operation is public. Busca as questões que contém os termos informados e retorna elas agrupadas por dimensão. Caso não seja informado nenhum termo são retornadas todas as dimensões existentes. (Sem as suas questões) tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Termos que devem ser buscados no texto da pergunta. responses: 200: description: Ok schema: type: object properties: dimensions: type: array items: type: object allOf: – #/definitions/dimensionSearch description: Dimensões com as questões que possuem algum dos termos informados ou todas dimensões existentes caso nenhum termo tenha sido informado. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Busca as questões que contém os termos informados e retorna elas agrupadas por dimensão. Caso não seja informado nenhum termo são retornadas todas as dimensões existentes. (Sem as suas questões) tags: – Queries parameters: – name: q in: query type: string responses: 200: description: Ok schema: type: object properties: dimensions: type: array items: type: object allOf: – #/definitions/dimensionSearch description: Dimensões com as questões que possuem algum dos termos informados ou todas dimensões existentes caso nenhum termo tenha sido informado. default: description: Error response schema: #/definitions/genericError /moods/queries/questionsByDimension: post: description: This operation is public. Retorna todas questões da dimensão. tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – dimension properties: dimension: type: string description: Identificador único da dimensão. responses: 200: description: Ok schema: type: object required: – questions properties: questions: type: array items: type: object allOf: – #/definitions/questionSummary minimum: 1 description: Resumo das questões da dimensão. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna todas questões da dimensão. tags: – Queries parameters: – name: dimension in: query required: true type: string responses: 200: description: Ok schema: type: object required: – questions properties: questions: type: array items: type: object allOf: – #/definitions/questionSummary minimum: 1 description: Resumo das questões da dimensão. default: description: Error response schema: #/definitions/genericError /moods/queries/survey: post: description: This operation is public. Retorna os dados da pesquisa. tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – pulseAnswer properties: pulseAnswer: type: string description: Identificador único da resposta do pulso. responses: 200: description: Ok schema: type: object required: – showNpsQuestion properties: startImage: type: string description: Url da imagem que deve ser apresentada no início da pesquisa. startImageLink: type: string description: Link para acessar a imagem que deve ser apresentada no início da pesquisa. startTitle: type: string description: Título da mensagem que deve ser apresentada no início da pesquisa. startMessage: type: string description: Mensagem que deve ser apresentada no início da pesquisa. endImage: type: string description: Url da imagem que deve ser apresentada no fim da pesquisa. endImageLink: type: string description: Link para acessar a imagem que deve ser apresentada no fim da pesquisa. endTitle: type: string description: Título da mensagem que deve ser apresentada no fim da pesquisa. endMessage: type: string description: Mensagem que deve ser apresentada no fim da pesquisa. questions: type: array items: type: object allOf: – #/definitions/question description: Perguntas do pulso. showNpsQuestion: type: boolean description: Sinaliza se deve exibir a questão NPS longUrl: type: string description: URL de acesso à pesquisa default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os dados da pesquisa. tags: – Queries parameters: – name: pulseAnswer in: query required: true type: string responses: 200: description: Ok schema: type: object required: – showNpsQuestion properties: startImage: type: string description: Url da imagem que deve ser apresentada no início da pesquisa. startImageLink: type: string description: Link para acessar a imagem que deve ser apresentada no início da pesquisa. startTitle: type: string description: Título da mensagem que deve ser apresentada no início da pesquisa. startMessage: type: string description: Mensagem que deve ser apresentada no início da pesquisa. endImage: type: string description: Url da imagem que deve ser apresentada no fim da pesquisa. endImageLink: type: string description: Link para acessar a imagem que deve ser apresentada no fim da pesquisa. endTitle: type: string description: Título da mensagem que deve ser apresentada no fim da pesquisa. endMessage: type: string description: Mensagem que deve ser apresentada no fim da pesquisa. questions: type: array items: type: object allOf: – #/definitions/question description: Perguntas do pulso. showNpsQuestion: type: boolean description: Sinaliza se deve exibir a questão NPS longUrl: type: string description: URL de acesso à pesquisa default: description: Error response schema: #/definitions/genericError /moods/queries/autocomplete: post: description: This operation is public. Autocomplete genérico. tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – table – fields properties: table: type: object allOf: – #/definitions/autocompleteTables description: Tabela para consulta. fields: type: array items: type: object allOf: – #/definitions/autocompleteFields minimum: 1 description: Campos para retorno da consulta no out description. order: type: array items: type: object allOf: – #/definitions/autocompleteFields description: Campos para ordenação. conditions: type: array items: type: object allOf: – #/definitions/autocompleteConditions description: Condições para a consulta. responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/autocompleteResult minimum: 1 description: Retorno do endpoint. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Autocomplete genérico. tags: – Queries parameters: – name: table in: query required: true type: string – name: fields in: query required: true type: array items: type: string minimum: 1 – name: order in: query type: array items: type: string – name: conditions in: query type: array items: type: string responses: 200: description: Ok schema: type: object required: – result properties: result: type: array items: type: object allOf: – #/definitions/autocompleteResult minimum: 1 description: Retorno do endpoint. default: description: Error response schema: #/definitions/genericError /moods/queries/statusPanel: post: description: This operation is public. Retorna as informações da pesquisa de clima. tags: – Queries responses: 200: description: Ok schema: type: object required: – periodicity – amount – nextPulse properties: enabled: type: boolean description: Situação da Pesquisa (habilitada ou desabilitada) periodicity: type: object allOf: – #/definitions/periodicityDto description: Periodicidade da Pequisa amount: type: integer format: int64 description: Quantidade de pulsos nextPulse: type: string format: date description: Data do próximo pulso default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna as informações da pesquisa de clima. tags: – Queries responses: 200: description: Ok schema: type: object required: – periodicity – amount – nextPulse properties: enabled: type: boolean description: Situação da Pesquisa (habilitada ou desabilitada) periodicity: type: object allOf: – #/definitions/periodicityDto description: Periodicidade da Pequisa amount: type: integer format: int64 description: Quantidade de pulsos nextPulse: type: string format: date description: Data do próximo pulso default: description: Error response schema: #/definitions/genericError /moods/queries/getAllCompaniesHeadQuarters: post: description: This operation is public. Retorna todos os registros da entidade Company que são do tipo Head Quarter. tags: – Queries responses: 200: description: Ok schema: type: object required: – companies properties: companies: type: array items: type: object allOf: – #/definitions/company minimum: 1 description: Lista com as empresas. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna todos os registros da entidade Company que são do tipo Head Quarter. tags: – Queries responses: 200: description: Ok schema: type: object required: – companies properties: companies: type: array items: type: object allOf: – #/definitions/company minimum: 1 description: Lista com as empresas. default: description: Error response schema: #/definitions/genericError /moods/queries/currentUserInfo: post: description: This operation is public. Retorna dados do employee associado ao usuário logado tags: – Queries responses: 200: description: Ok schema: type: object required: – employee properties: employee: type: object allOf: – #/definitions/employee description: Dados do employee associado ao usuário logado default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna dados do employee associado ao usuário logado tags: – Queries responses: 200: description: Ok schema: type: object required: – employee properties: employee: type: object allOf: – #/definitions/employee description: Dados do employee associado ao usuário logado default: description: Error response schema: #/definitions/genericError /moods/queries/getSurveyAnalysts: post: description: This operation is public. Retorna os employees que são analista da pesquisa tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Página que deve ser retornada, começando em 1. (Padrão 1) default: 1 size: type: integer format: int64 description: Tamanho da página que deve ser retornado. (Padrão 10) default: 10 responses: 200: description: Ok schema: type: object required: – employees – found properties: employees: type: array items: type: object allOf: – #/definitions/employee minimum: 1 description: Lista de analistas da pesquisa found: type: integer format: int64 description: Quantidade total de analistas default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os employees que são analista da pesquisa tags: – Queries parameters: – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – employees – found properties: employees: type: array items: type: object allOf: – #/definitions/employee minimum: 1 description: Lista de analistas da pesquisa found: type: integer format: int64 description: Quantidade total de analistas default: description: Error response schema: #/definitions/genericError /moods/queries/leadersSituation: post: description: This operation is public. Retorna todos os líderes com uma flag indicando se ele está sendo avaliado na pesquisa de clima tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Termos que devem ser buscados no texto da pergunta. page: type: integer format: int64 description: Página que deve ser retornada, começando em 1. (Padrão 1) default: 1 size: type: integer format: int64 description: Tamanho da página que deve ser retornado. (Padrão 10) default: 10 responses: 200: description: Ok schema: type: object required: – found – allEvaluated properties: leaders: type: array items: type: object allOf: – #/definitions/leaderSituation description: líderes com uma flag indicando se ele está sendo avaliado na pesquisa de clima found: type: integer format: int64 description: Total de comentários encontrados pela busca. allEvaluated: type: boolean description: Todos estão avaliados evaluatedLeaders: type: array items: type: string description: Líderes avaliados default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna todos os líderes com uma flag indicando se ele está sendo avaliado na pesquisa de clima tags: – Queries parameters: – name: q in: query type: string – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – found – allEvaluated properties: leaders: type: array items: type: object allOf: – #/definitions/leaderSituation description: líderes com uma flag indicando se ele está sendo avaliado na pesquisa de clima found: type: integer format: int64 description: Total de comentários encontrados pela busca. allEvaluated: type: boolean description: Todos estão avaliados evaluatedLeaders: type: array items: type: string description: Líderes avaliados default: description: Error response schema: #/definitions/genericError /moods/queries/pulseScoreAverage: post: description: This operation is public. Retorna a pontuação média do pulso mais recente. tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: leaderId: type: string description: Id do líder que deseja obter a pontuação médial do pulso mais recente. responses: 200: description: Ok schema: type: object required: – startDate – endDate – score – status properties: startDate: type: string format: date description: Data inicial do pulso. endDate: type: string format: date description: Data final do pulso. attendance: type: number format: double description: Assiduidade do pulso. score: type: number format: double description: Pontuação média do pulso. status: type: object allOf: – #/definitions/pointTrend description: Situação do pulso em relação ao pulso anterior. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna a pontuação média do pulso mais recente. tags: – Queries parameters: – name: leaderId in: query type: string responses: 200: description: Ok schema: type: object required: – startDate – endDate – score – status properties: startDate: type: string format: date description: Data inicial do pulso. endDate: type: string format: date description: Data final do pulso. attendance: type: number format: double description: Assiduidade do pulso. score: type: number format: double description: Pontuação média do pulso. status: type: object allOf: – #/definitions/pointTrend description: Situação do pulso em relação ao pulso anterior. default: description: Error response schema: #/definitions/genericError /moods/queries/pulseHistory: post: description: This operation is public. Retorna o histórico dos ultimos pulso tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: amount: type: integer format: int64 description: Quantidade de pulsos para retornar responses: 200: description: Ok schema: type: object required: – averageSatisfaction properties: averageSatisfaction: type: array items: type: object allOf: – #/definitions/pulseAverage minimum: 1 description: Informações dos pulsos default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna o histórico dos ultimos pulso tags: – Queries parameters: – name: amount in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – averageSatisfaction properties: averageSatisfaction: type: array items: type: object allOf: – #/definitions/pulseAverage minimum: 1 description: Informações dos pulsos default: description: Error response schema: #/definitions/genericError /moods/queries/contracts: post: description: This operation is public. Retorna todos os ids dos contratos ativos associados ao username informado. tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: username: type: string description: Username que deve estar associado aos contratos. responses: 200: description: Ok schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Ids dos contratos ativos ordenados por tipo de contrato. default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna todos os ids dos contratos ativos associados ao username informado. tags: – Queries parameters: – name: username in: query type: string responses: 200: description: Ok schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Ids dos contratos ativos ordenados por tipo de contrato. default: description: Error response schema: #/definitions/genericError /moods/queries/pulseLeadersScore: post: description: This operation is public. Retorna os lideres e sua pontução no pulso atual tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: amount: type: integer format: int64 description: Quantidade de gestores para retornar, padrão 10. default: 10 page: type: integer format: int64 description: Página a ser buscada, padrão 1. default: 1 q: type: string description: Termo de pesquisa por nome de gestor pulseId: type: string description: Id do pulso responses: 200: description: Ok schema: type: object required: – found – leaders properties: found: type: integer format: int64 description: Quantidade total de registros leaders: type: array items: type: object allOf: – #/definitions/leaderScore minimum: 1 description: Lista com o lider e pontução default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os lideres e sua pontução no pulso atual tags: – Queries parameters: – name: amount in: query type: integer format: int64 – name: page in: query type: integer format: int64 – name: q in: query type: string – name: pulseId in: query type: string responses: 200: description: Ok schema: type: object required: – found – leaders properties: found: type: integer format: int64 description: Quantidade total de registros leaders: type: array items: type: object allOf: – #/definitions/leaderScore minimum: 1 description: Lista com o lider e pontução default: description: Error response schema: #/definitions/genericError /moods/queries/currentPulseCommentsCount: post: description: This operation is public. Retorna a quantidade de comentários do pulso atual tags: – Queries responses: 200: description: Ok schema: type: object required: – pulseId – amount properties: pulseId: type: string description: Id do pulso amount: type: integer format: int64 description: Quantidade de comentários no pulso atual default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna a quantidade de comentários do pulso atual tags: – Queries responses: 200: description: Ok schema: type: object required: – pulseId – amount properties: pulseId: type: string description: Id do pulso amount: type: integer format: int64 description: Quantidade de comentários no pulso atual default: description: Error response schema: #/definitions/genericError /moods/queries/allPulseCommentsCount: post: description: This operation is public. Retorna a quantidade de comentários de todos os pulsos tags: – Queries responses: 200: description: Ok schema: type: object required: – amount properties: amount: type: integer format: int64 description: Quantidade de comentários default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna a quantidade de comentários de todos os pulsos tags: – Queries responses: 200: description: Ok schema: type: object required: – amount properties: amount: type: integer format: int64 description: Quantidade de comentários default: description: Error response schema: #/definitions/genericError /moods/queries/getCommentsCountGroupByDimension: post: description: This operation is public. Obtém a quantidade de comentários por dimensão tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: count: type: integer format: int64 description: Quantidade de dimensões para retornar responses: 200: description: Ok schema: type: object properties: dimensions: type: array items: type: object allOf: – #/definitions/commentsCountGroupByDimension description: Array com a quantidade comentários por dimensão default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém a quantidade de comentários por dimensão tags: – Queries parameters: – name: count in: query type: integer format: int64 responses: 200: description: Ok schema: type: object properties: dimensions: type: array items: type: object allOf: – #/definitions/commentsCountGroupByDimension description: Array com a quantidade comentários por dimensão default: description: Error response schema: #/definitions/genericError /moods/queries/scoreByPulse: post: description: This operation is public. Obtém os dados do painel do gestor tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: leaderId: type: string description: Id do líder que deve ter os dados do dashboard retornado (caso não for informado retorna o do usuário logado). selectedManagers: type: array items: type: string description: Ids dos gestores selecionados ticket: type: string description: Ticket referente ao filtro do analytics responses: 200: description: Ok schema: type: object properties: leaderScores: type: array items: type: object allOf: – #/definitions/PulseScoreCommon description: Pontuações do líder nos últimos 10 pulsos (Podem retornar menos de 10). companyScores: type: array items: type: object allOf: – #/definitions/PulseScoreCommon description: Pontuações da organização nos últimos 10 pulsos (Podem retornar menos de 10). myDepartmentScores: type: array items: type: object allOf: – #/definitions/PulseScoreCommon description: Pontuações da área nos últimos 10 pulsos (Podem retornar menos de 10). leadersLedScores: type: array items: type: object allOf: – #/definitions/managerPulseScores description: Pontuações dos líderes abaixo do lider nos últimos 10 pulsos (Podem retornar menos de 10). default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém os dados do painel do gestor tags: – Queries parameters: – name: leaderId in: query type: string – name: selectedManagers in: query type: array items: type: string – name: ticket in: query type: string responses: 200: description: Ok schema: type: object properties: leaderScores: type: array items: type: object allOf: – #/definitions/PulseScoreCommon description: Pontuações do líder nos últimos 10 pulsos (Podem retornar menos de 10). companyScores: type: array items: type: object allOf: – #/definitions/PulseScoreCommon description: Pontuações da organização nos últimos 10 pulsos (Podem retornar menos de 10). myDepartmentScores: type: array items: type: object allOf: – #/definitions/PulseScoreCommon description: Pontuações da área nos últimos 10 pulsos (Podem retornar menos de 10). leadersLedScores: type: array items: type: object allOf: – #/definitions/managerPulseScores description: Pontuações dos líderes abaixo do lider nos últimos 10 pulsos (Podem retornar menos de 10). default: description: Error response schema: #/definitions/genericError /moods/queries/scoreLastPulseByDimension: post: description: This operation is public. Obtém os dados do painel do gestor de ultimos pulsos por dimensão tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: leaderId: type: string description: Id do líder que deve ter os dados do dashboard retornado (caso não for informado retorna o do usuário logado). page: type: integer format: int64 description: Página a ser buscada size: type: integer format: int64 description: Tamanho da página responses: 200: description: Ok schema: type: object required: – showDepartmentScore – found properties: leaderAndCompanyGroupByDimension: type: array items: type: object allOf: – #/definitions/leaderAverageScoreGroupByDimension description: Pontuação do líder e da empresa por dimensão showDepartmentScore: type: boolean description: Indica se deve exibir a pontuação da área found: type: integer format: int64 description: Quantidade total de registros encontrados default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém os dados do painel do gestor de ultimos pulsos por dimensão tags: – Queries parameters: – name: leaderId in: query type: string – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – showDepartmentScore – found properties: leaderAndCompanyGroupByDimension: type: array items: type: object allOf: – #/definitions/leaderAverageScoreGroupByDimension description: Pontuação do líder e da empresa por dimensão showDepartmentScore: type: boolean description: Indica se deve exibir a pontuação da área found: type: integer format: int64 description: Quantidade total de registros encontrados default: description: Error response schema: #/definitions/genericError /moods/queries/getLeaderAverageScoreGroupByDimensions: post: description: This operation is public. Obtém a satisfação do gestor agrupada por dimensão tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – pulseId – leaderId properties: pulseId: type: string description: Id do pulso leaderId: type: string description: Id do gestor responses: 200: description: Ok schema: type: object required: – averages properties: averages: type: array items: type: object allOf: – #/definitions/leaderAverageScoreGroupByDimension minimum: 1 description: Lista com as dimensões e respectivas médias default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém a satisfação do gestor agrupada por dimensão tags: – Queries parameters: – name: pulseId in: query required: true type: string – name: leaderId in: query required: true type: string responses: 200: description: Ok schema: type: object required: – averages properties: averages: type: array items: type: object allOf: – #/definitions/leaderAverageScoreGroupByDimension minimum: 1 description: Lista com as dimensões e respectivas médias default: description: Error response schema: #/definitions/genericError /moods/queries/questionScores: post: description: This operation is public. Obtém a satisfação das questões do pulso informado tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – target properties: pulseId: type: string description: Id do pulso leaderId: type: string description: Id do leader target: type: object allOf: – #/definitions/scoreDetailsTarget description: Alvo do detalhamento responses: 200: description: Ok schema: type: object properties: questionScores: type: array items: type: object allOf: – #/definitions/pulseQuestionScores description: Pontuações da questão default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém a satisfação das questões do pulso informado tags: – Queries parameters: – name: pulseId in: query type: string – name: leaderId in: query type: string – name: target in: query required: true type: string responses: 200: description: Ok schema: type: object properties: questionScores: type: array items: type: object allOf: – #/definitions/pulseQuestionScores description: Pontuações da questão default: description: Error response schema: #/definitions/genericError /moods/queries/dimensionHistory: post: description: This operation is public. Obtém histórico de uma determinada dimensão tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – dimensionId – target properties: leaderId: type: string description: Id do gestor dimensionId: type: string description: Id da dimensão amount: type: integer format: int64 description: Quantidade de pulsos para trazer no histórico default: 10 target: type: object allOf: – #/definitions/scoreDetailsTarget description: Alvo do serviço responses: 200: description: Ok schema: type: object required: – dimensionName – pulses properties: dimensionName: type: string description: Nome da dimensão pulses: type: array items: type: object allOf: – #/definitions/pulseDimension minimum: 1 description: Array com o resultado da dimensão nos pulsos leaderName: type: string description: Nome do líder(quando aplicavel) default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém histórico de uma determinada dimensão tags: – Queries parameters: – name: leaderId in: query type: string – name: dimensionId in: query required: true type: string – name: amount in: query type: integer format: int64 – name: target in: query required: true type: string responses: 200: description: Ok schema: type: object required: – dimensionName – pulses properties: dimensionName: type: string description: Nome da dimensão pulses: type: array items: type: object allOf: – #/definitions/pulseDimension minimum: 1 description: Array com o resultado da dimensão nos pulsos leaderName: type: string description: Nome do líder(quando aplicavel) default: description: Error response schema: #/definitions/genericError /moods/queries/findEmployees: post: description: This operation is public. Obtém todos os colaboradores que atendem o filtro informado tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: term: type: string description: Utilizado para filtrar os colaboradores pelo email page: type: integer format: int64 description: Página(Iniciando em 1) default: 1 size: type: integer format: int64 description: Tamanho da página default: 10 responses: 200: description: Ok schema: type: object required: – employees – pages – total properties: employees: type: array items: type: object allOf: – #/definitions/employeeSummaryDTO minimum: 1 description: Colaboradores pages: type: integer format: int64 description: Total de páginas total: type: integer format: int64 description: Total de elementos default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém todos os colaboradores que atendem o filtro informado tags: – Queries parameters: – name: term in: query type: string – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – employees – pages – total properties: employees: type: array items: type: object allOf: – #/definitions/employeeSummaryDTO minimum: 1 description: Colaboradores pages: type: integer format: int64 description: Total de páginas total: type: integer format: int64 description: Total de elementos default: description: Error response schema: #/definitions/genericError /moods/queries/findLeaders: post: description: This operation is public. Obtém todos os colaboradores liderados do colaborador passado tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: leaderId: type: string description: Id do líder que se deseja retornar os liderados responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/employee minimum: 1 description: Lista de liderados do colaborador passado na entrada default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém todos os colaboradores liderados do colaborador passado tags: – Queries parameters: – name: leaderId in: query type: string responses: 200: description: Ok schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/employee minimum: 1 description: Lista de liderados do colaborador passado na entrada default: description: Error response schema: #/definitions/genericError /moods/queries/getCompany: post: description: This operation is public. Retorna a empresa e informações relacionadas tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – companyId properties: companyId: type: string description: Id da empresa responses: 200: description: Ok schema: type: object required: – company properties: company: type: object allOf: – #/definitions/companyDTO description: Informações da empresa informada default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna a empresa e informações relacionadas tags: – Queries parameters: – name: companyId in: query required: true type: string responses: 200: description: Ok schema: type: object required: – company properties: company: type: object allOf: – #/definitions/companyDTO description: Informações da empresa informada default: description: Error response schema: #/definitions/genericError /moods/queries/listCompanies: post: description: This operation is public. Serviço que retorna as empresas tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Número da página(Iniciando em 1) default: 1 size: type: integer format: int64 description: Tamanho da página default: 10 searchTerm: type: string description: Termo que será buscado responses: 200: description: Ok schema: type: object required: – pages – total – companies properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros companies: type: array items: type: object allOf: – #/definitions/companyDTO minimum: 1 description: Empresas retornadas default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Serviço que retorna as empresas tags: – Queries parameters: – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: searchTerm in: query type: string responses: 200: description: Ok schema: type: object required: – pages – total – companies properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros companies: type: array items: type: object allOf: – #/definitions/companyDTO minimum: 1 description: Empresas retornadas default: description: Error response schema: #/definitions/genericError /moods/queries/listBranchOffices: post: description: This operation is public. Serviço que retorna as filiais tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Número da página(Iniciando em 1) default: 1 size: type: integer format: int64 description: Tamanho da página default: 10 searchTerm: type: string description: Termo que será buscado responses: 200: description: Ok schema: type: object required: – pages – total – branchOffices properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros branchOffices: type: array items: type: object allOf: – #/definitions/branchOfficeDTO minimum: 1 description: Filiais retornadas default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Serviço que retorna as filiais tags: – Queries parameters: – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: searchTerm in: query type: string responses: 200: description: Ok schema: type: object required: – pages – total – branchOffices properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros branchOffices: type: array items: type: object allOf: – #/definitions/branchOfficeDTO minimum: 1 description: Filiais retornadas default: description: Error response schema: #/definitions/genericError /moods/queries/listJobPositions: post: description: This operation is public. Serviço que retorna os cargos tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Número da página(Iniciando em 1) default: 1 size: type: integer format: int64 description: Tamanho da página default: 10 searchTerm: type: string description: Termo que será buscado responses: 200: description: Ok schema: type: object required: – pages – total – jobPositions properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros jobPositions: type: array items: type: object allOf: – #/definitions/jobPositionDTO minimum: 1 description: Cargos retornados default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Serviço que retorna os cargos tags: – Queries parameters: – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: searchTerm in: query type: string responses: 200: description: Ok schema: type: object required: – pages – total – jobPositions properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros jobPositions: type: array items: type: object allOf: – #/definitions/jobPositionDTO minimum: 1 description: Cargos retornados default: description: Error response schema: #/definitions/genericError /moods/queries/listCostCenters: post: description: This operation is public. Serviço que retorna os centros de custo tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Número da página(Iniciando em 1) default: 1 size: type: integer format: int64 description: Tamanho da página default: 10 searchTerm: type: string description: Termo que será buscado responses: 200: description: Ok schema: type: object required: – pages – total – costCenters properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros costCenters: type: array items: type: object allOf: – #/definitions/costCenterDTO minimum: 1 description: Cargos retornados default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Serviço que retorna os centros de custo tags: – Queries parameters: – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: searchTerm in: query type: string responses: 200: description: Ok schema: type: object required: – pages – total – costCenters properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros costCenters: type: array items: type: object allOf: – #/definitions/costCenterDTO minimum: 1 description: Cargos retornados default: description: Error response schema: #/definitions/genericError /moods/queries/listWorkstationGroups: post: description: This operation is public. Serviço que retorna os postos de trabalho tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Número da página(Iniciando em 1) default: 1 size: type: integer format: int64 description: Tamanho da página default: 10 searchTerm: type: string description: Termo que será buscado responses: 200: description: Ok schema: type: object required: – pages – total – workstationGroups properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros workstationGroups: type: array items: type: object allOf: – #/definitions/workstationGroupDTO minimum: 1 description: Postos de trabalho retornados default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Serviço que retorna os postos de trabalho tags: – Queries parameters: – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: searchTerm in: query type: string responses: 200: description: Ok schema: type: object required: – pages – total – workstationGroups properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros workstationGroups: type: array items: type: object allOf: – #/definitions/workstationGroupDTO minimum: 1 description: Postos de trabalho retornados default: description: Error response schema: #/definitions/genericError /moods/queries/listDepartments: post: description: This operation is public. Serviço que retorna os departamentos tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Número da página(Iniciando em 1) default: 1 size: type: integer format: int64 description: Tamanho da página default: 10 searchTerm: type: string description: Termo que será buscado responses: 200: description: Ok schema: type: object required: – pages – total – departments properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros departments: type: array items: type: object allOf: – #/definitions/departmentDTO minimum: 1 description: Departamentos retornados default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Serviço que retorna os departamentos tags: – Queries parameters: – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: searchTerm in: query type: string responses: 200: description: Ok schema: type: object required: – pages – total – departments properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros departments: type: array items: type: object allOf: – #/definitions/departmentDTO minimum: 1 description: Departamentos retornados default: description: Error response schema: #/definitions/genericError /moods/queries/listEducationDegrees: post: description: This operation is public. Serviço que retorna os graus de instrução tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: page: type: integer format: int64 description: Número da página(Iniciando em 1) default: 1 size: type: integer format: int64 description: Tamanho da página default: 10 searchTerm: type: string description: Termo que será buscado responses: 200: description: Ok schema: type: object required: – pages – total – educationDegrees properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros educationDegrees: type: array items: type: object allOf: – #/definitions/educationDegreeDTO minimum: 1 description: Graus de instrução retornados default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Serviço que retorna os graus de instrução tags: – Queries parameters: – name: page in: query type: integer format: int64 – name: size in: query type: integer format: int64 – name: searchTerm in: query type: string responses: 200: description: Ok schema: type: object required: – pages – total – educationDegrees properties: pages: type: integer format: int64 description: Quantidade de páginas encontradas total: type: integer format: int64 description: Quantidade total de registros educationDegrees: type: array items: type: object allOf: – #/definitions/educationDegreeDTO minimum: 1 description: Graus de instrução retornados default: description: Error response schema: #/definitions/genericError /moods/queries/canEmployeeBeLeader: post: description: This operation is public. Indica se o colaborador informado pode ser líder tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Id do colaborador responses: 200: description: Ok schema: type: object required: – canBeLeader properties: canBeLeader: type: boolean description: Se o colaborador informado pode ser líder default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Indica se o colaborador informado pode ser líder tags: – Queries parameters: – name: employeeId in: query required: true type: string responses: 200: description: Ok schema: type: object required: – canBeLeader properties: canBeLeader: type: boolean description: Se o colaborador informado pode ser líder default: description: Error response schema: #/definitions/genericError /moods/queries/emailInUse: post: description: This operation is public. Indica se o email informado já está em uso por outro colaborador tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – email properties: email: type: string description: Email a ser verificado employeeId: type: string description: Colaborador, usamos para exclui-lo da consulta, pois ele mesmo pode ter o email informado. responses: 200: description: Ok schema: type: object required: – emailInUse properties: emailInUse: type: boolean description: Se o email está em uso default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Indica se o email informado já está em uso por outro colaborador tags: – Queries parameters: – name: email in: query required: true type: string – name: employeeId in: query type: string responses: 200: description: Ok schema: type: object required: – emailInUse properties: emailInUse: type: boolean description: Se o email está em uso default: description: Error response schema: #/definitions/genericError /moods/queries/phoneInUse: post: description: This operation is public. Indica se o telefone informado já está em uso por outro colaborador tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – phone properties: phone: type: object allOf: – #/definitions/employeePhone description: Telefone a ser verificado employeeId: type: string description: Colaborador, usamos para exclui-lo da consulta, pois ele mesmo pode ter o telefone informado. responses: 200: description: Ok schema: type: object required: – phoneInUse properties: phoneInUse: type: boolean description: Se o telefone está em uso default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Indica se o telefone informado já está em uso por outro colaborador tags: – Queries parameters: – name: phone in: query required: true type: string – name: employeeId in: query type: string responses: 200: description: Ok schema: type: object required: – phoneInUse properties: phoneInUse: type: boolean description: Se o telefone está em uso default: description: Error response schema: #/definitions/genericError /moods/queries/getEmployee: post: description: This operation is public. Retorna o colaborador e informações relacionadas tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: Id do colaborador responses: 200: description: Ok schema: type: object required: – employee properties: employee: type: object allOf: – #/definitions/employeeDTO description: Informações do colaborador informado default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna o colaborador e informações relacionadas tags: – Queries parameters: – name: employeeId in: query required: true type: string responses: 200: description: Ok schema: type: object required: – employee properties: employee: type: object allOf: – #/definitions/employeeDTO description: Informações do colaborador informado default: description: Error response schema: #/definitions/genericError /moods/queries/getTenantByShortHash: post: description: This operation is public. Retorna o tenant e informações relacionadas tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – shortHash properties: shortHash: type: string description: Short hash único responses: 200: description: Ok schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Informações do tenant informado default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna o tenant e informações relacionadas tags: – Queries parameters: – name: shortHash in: query required: true type: string responses: 200: description: Ok schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Informações do tenant informado default: description: Error response schema: #/definitions/genericError /moods/queries/getTenantById: post: description: This operation is public. Retorna o tenant e informações relacionadas tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: id único responses: 200: description: Ok schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Informações do tenant informado default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna o tenant e informações relacionadas tags: – Queries parameters: – name: id in: query required: true type: string responses: 200: description: Ok schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Informações do tenant informado default: description: Error response schema: #/definitions/genericError /moods/queries/sendEmailTest: post: description: This operation is public. Envia um email de teste tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – recipient – sender – senderName – subject – message properties: recipient: type: string description: Email de teste sender: type: string description: Remetente do email senderName: type: string description: Nome do remetente do email subject: type: string description: Assunto do email message: type: string description: Menssagem do email responses: 200: description: Ok schema: type: object required: – status properties: status: type: boolean description: Status do envio default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Envia um email de teste tags: – Queries parameters: – name: recipient in: query required: true type: string – name: sender in: query required: true type: string – name: senderName in: query required: true type: string – name: subject in: query required: true type: string – name: message in: query required: true type: string responses: 200: description: Ok schema: type: object required: – status properties: status: type: boolean description: Status do envio default: description: Error response schema: #/definitions/genericError /moods/queries/shortToLongSurveyUrl: post: description: This operation is public. tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – shortUrl properties: shortUrl: type: string description: Url encurtada para acesso à pesquisa responses: 200: description: Ok schema: type: object required: – longUrl properties: longUrl: type: string description: Url para acesso à pesquisa concatenada com o prefixo definido nas configurações da plataforma default: description: Error response schema: #/definitions/genericError get: description: This operation is public. tags: – Queries parameters: – name: shortUrl in: query required: true type: string responses: 200: description: Ok schema: type: object required: – longUrl properties: longUrl: type: string description: Url para acesso à pesquisa concatenada com o prefixo definido nas configurações da plataforma default: description: Error response schema: #/definitions/genericError /moods/queries/employeeActualBranchOffice: post: description: This operation is public. tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – employeeId properties: employeeId: type: string description: ID do employee responses: 200: description: Ok schema: type: object required: – branchOffice properties: branchOffice: type: object allOf: – #/definitions/company description: Branchoffice atual do employee default: description: Error response schema: #/definitions/genericError get: description: This operation is public. tags: – Queries parameters: – name: employeeId in: query required: true type: string responses: 200: description: Ok schema: type: object required: – branchOffice properties: branchOffice: type: object allOf: – #/definitions/company description: Branchoffice atual do employee default: description: Error response schema: #/definitions/genericError /moods/queries/surveyConfig: post: description: This operation is public. Retorna os dados da pesquisa de clima tags: – Queries responses: 200: description: Ok schema: type: object required: – survey properties: survey: type: object allOf: – #/definitions/climateSurvey description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os dados da pesquisa de clima tags: – Queries responses: 200: description: Ok schema: type: object required: – survey properties: survey: type: object allOf: – #/definitions/climateSurvey description: default: description: Error response schema: #/definitions/genericError /moods/queries/countPulses: post: description: This operation is public. Retorna a quantidade total de pulsos tags: – Queries responses: 200: description: Ok schema: type: object properties: amount: type: integer format: int64 description: Quantidade total de pulsos default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna a quantidade total de pulsos tags: – Queries responses: 200: description: Ok schema: type: object properties: amount: type: integer format: int64 description: Quantidade total de pulsos default: description: Error response schema: #/definitions/genericError /moods/queries/averageDimensionPoint: post: description: This operation is public. Retorna os dados relativos a Média Pontuação por Dimensão tags: – Queries responses: 200: description: Ok schema: type: object required: – average properties: average: type: array items: type: object allOf: – #/definitions/dimensionPoint minimum: 1 description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os dados relativos a Média Pontuação por Dimensão tags: – Queries responses: 200: description: Ok schema: type: object required: – average properties: average: type: array items: type: object allOf: – #/definitions/dimensionPoint minimum: 1 description: default: description: Error response schema: #/definitions/genericError /moods/queries/averageSatisfactionByDimensionPoint: post: description: This operation is public. Retorna os dados relativos a Média de Satisfação por Dimensão tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – target properties: leaderId: type: string description: Identificação única do líder pulseId: type: string description: Identificação única do Pulso target: type: object allOf: – #/definitions/scoreDetailsTarget description: Alvo do detalhamento responses: 200: description: Ok schema: type: object required: – startDate – endDate – average – engagementPercentage – leaderName – leaderJobPosition – dimensionsAverage properties: startDate: type: string format: date description: Data Inicial da Faixa pesquisada endDate: type: string format: date description: Data final da Faixa pesquisada average: type: number format: double description: Média do líder engagementPercentage: type: number format: double description: Porcentagem de engajamento leaderName: type: string description: Nome do colaborador leaderJobPosition: type: string description: Cargo do líder dimensionsAverage: type: array items: type: object allOf: – #/definitions/dimensionPoint minimum: 1 description: Coleção de médias por dimensão default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna os dados relativos a Média de Satisfação por Dimensão tags: – Queries parameters: – name: leaderId in: query type: string – name: pulseId in: query type: string – name: target in: query required: true type: string responses: 200: description: Ok schema: type: object required: – startDate – endDate – average – engagementPercentage – leaderName – leaderJobPosition – dimensionsAverage properties: startDate: type: string format: date description: Data Inicial da Faixa pesquisada endDate: type: string format: date description: Data final da Faixa pesquisada average: type: number format: double description: Média do líder engagementPercentage: type: number format: double description: Porcentagem de engajamento leaderName: type: string description: Nome do colaborador leaderJobPosition: type: string description: Cargo do líder dimensionsAverage: type: array items: type: object allOf: – #/definitions/dimensionPoint minimum: 1 description: Coleção de médias por dimensão default: description: Error response schema: #/definitions/genericError /moods/queries/hcmAutoSync: post: description: This operation is public. Retorna se deve ou não integrar com o HCM tags: – Queries responses: 200: description: Ok schema: type: object properties: hcmAutoSync: type: boolean description: Flag que indica se deve ou não integrar default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna se deve ou não integrar com o HCM tags: – Queries responses: 200: description: Ok schema: type: object properties: hcmAutoSync: type: boolean description: Flag que indica se deve ou não integrar default: description: Error response schema: #/definitions/genericError /moods/queries/averageDimensionPointHrAnalyst: post: description: This operation is public. Obtém a satisfação do ponto de vista do analista da pesquisa tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – pulseId properties: pulseId: type: string description: Id do pulso responses: 200: description: Ok schema: type: object required: – startDate – endDate – averagePeriod – engagementPercentage – averages properties: startDate: type: string format: date description: Data Inicial da Faixa pesquisada endDate: type: string format: date description: Data final da Faixa pesquisada averagePeriod: type: number format: double description: Média do período engagementPercentage: type: number format: double description: Porcentagem de engajamento averages: type: array items: type: object allOf: – #/definitions/dimensionPoint minimum: 1 description: Lista com as dimensões e respectivas médias default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém a satisfação do ponto de vista do analista da pesquisa tags: – Queries parameters: – name: pulseId in: query required: true type: string responses: 200: description: Ok schema: type: object required: – startDate – endDate – averagePeriod – engagementPercentage – averages properties: startDate: type: string format: date description: Data Inicial da Faixa pesquisada endDate: type: string format: date description: Data final da Faixa pesquisada averagePeriod: type: number format: double description: Média do período engagementPercentage: type: number format: double description: Porcentagem de engajamento averages: type: array items: type: object allOf: – #/definitions/dimensionPoint minimum: 1 description: Lista com as dimensões e respectivas médias default: description: Error response schema: #/definitions/genericError /moods/queries/getHcmIntegrationVersion: post: description: This operation is public. Obtém a versão de integração com o HCM tags: – Queries responses: 200: description: Ok schema: type: object required: – version properties: type: integer format: int64 description: Versão de integração com o HCM default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém a versão de integração com o HCM tags: – Queries responses: 200: description: Ok schema: type: object required: – version properties: type: integer format: int64 description: Versão de integração com o HCM default: description: Error response schema: #/definitions/genericError /moods/queries/containsPulseSendTypeSmsOrBothWithNoEmail: post: description: This operation is public. Retorna se possui algum colaborador com tipo de envio de pulso por sms ou ambos e não contém e-mail. tags: – Queries responses: 200: description: Ok schema: type: object required: – containsPulseSendTypeSmsOrBothWithNoEmail properties: containsPulseSendTypeSmsOrBothWithNoEmail: type: boolean description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna se possui algum colaborador com tipo de envio de pulso por sms ou ambos e não contém e-mail. tags: – Queries responses: 200: description: Ok schema: type: object required: – containsPulseSendTypeSmsOrBothWithNoEmail properties: containsPulseSendTypeSmsOrBothWithNoEmail: type: boolean description: default: description: Error response schema: #/definitions/genericError /moods/queries/currentPulsePeriodicity: post: description: This operation is public. Retorna a periodicidade definida na configuração do pulso tags: – Queries responses: 200: description: Ok schema: type: object required: – currentPulsePeriodicity properties: currentPulsePeriodicity: type: string description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Retorna a periodicidade definida na configuração do pulso tags: – Queries responses: 200: description: Ok schema: type: object required: – currentPulsePeriodicity properties: currentPulsePeriodicity: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/shortAnswerTicket: post: description: This operation is public. Obtém um ticket curto e retorna um ticket longo tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – shortId properties: shortId: type: string description: responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Obtém um ticket curto e retorna um ticket longo tags: – Queries parameters: – name: shortId in: query required: true type: string responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/getMetadata: post: description: This operation is public. Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries 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: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries parameters: – name: metadataFormat in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/createPulse: post: description: This operation is public. Cria um pulso da pesquisa de clima, caso necessário. Para gerar um pulso é necessário que: – A pesquisa de clima esteja habilitada; – A data do último pulso + 7 ou 14 dias(dependendo da periodicidade) seja menor ou igual à data atual; – O dia de semana da data atual seja igual ao dia de semana configurado na pesquisa. O público alvo são os liderados diretos dos gestores que estiverem configurados na pesquisa. tags: – Actions responses: 200: description: Ok schema: type: object properties: pulseId: type: string description: Id do pulso pulseAnswerRespondentsEmail: type: array items: type: object allOf: – #/definitions/pulseAnswerRespondent description: Lista com associação entre cada PulseAnswer e PulseRespondent para envio por Email pulseAnswerRespondentsSMS: type: array items: type: object allOf: – #/definitions/pulseAnswerRespondent description: Lista com associação entre cada PulseAnswer e PulseRespondent para envio por SMS default: description: Error response schema: #/definitions/genericError /moods/actions/employeeBatch: post: description: This operation is public. Serviço para criar colaboradores em lote. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/employeeDTO minimum: 1 description: Colaboradores que devem ser criados. responses: 200: description: Ok schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Identificador dos colaboradores que foram criados. Estão na mesma ordem em que foram recebidos. default: description: Error response schema: #/definitions/genericError /moods/actions/hierarchyBatch: post: description: This operation is public. Serviço para criar hierarquias em lote. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – hierarchies properties: hierarchies: type: array items: type: object allOf: – #/definitions/hierarchy minimum: 1 description: Hierarquias que devem ser criadas. responses: 200: description: Ok schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Identificador das hierarquias que foram criadas. Estão na mesma ordem em que foram recebidas. default: description: Error response schema: #/definitions/genericError /moods/actions/setHierarchy: post: description: This operation is public. Cria os itens de uma hierarquia. Caso já existam itens nessa hierarquia ele são removidos. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – hierarchy properties: hierarchy: type: string description: Hierarquia que deve ter os itens criados. items: type: array items: type: object allOf: – #/definitions/hierarchyItem description: Itens que devem ser criados. responses: 200: description: Ok schema: type: object required: – hierarchy properties: hierarchy: type: string description: Identificador único da hierarquia que foi atualizada. parents: type: object allOf: – #/definitions/hierarchyItem description: Primeiros itens da hierarquia default: description: Error response schema: #/definitions/genericError /moods/actions/defineSurveyEvaluated: post: description: This operation is public. Informa líderes que devem ser avaliados no pulso da pesquisa de clima. tags: – Actions parameters: – name: input in: body required: true schema: type: object properties: leaders: type: array items: type: string description: Identificador único dos líderes que devem ser avaliados. allLeaders: type: boolean description: Marcar todos q: type: string description: Termo para buscar os gestores pelo seu nome/email ou de seus liderados responses: 200: description: Ok schema: type: object required: – success properties: success: type: boolean description: Indica se a alteração foi realizada com sucesso. default: description: Error response schema: #/definitions/genericError /moods/actions/companyBatch: post: description: This operation is public. Serviço para criar empresas em lote. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – companies properties: companies: type: array items: type: object allOf: – #/definitions/company minimum: 1 description: Empresas que devem ser criadas. responses: 200: description: Ok schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Identificador das empresas que foram criadas. Estão na mesma ordem em que foram recebidas. default: description: Error response schema: #/definitions/genericError /moods/actions/companyHierarchyBatch: post: description: This operation is public. Serviço para criar ligação entre empresas e hierarquias em lote. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – companyHierarchies properties: companyHierarchies: type: array items: type: object allOf: – #/definitions/companyHierarchy minimum: 1 description: Ligações entre empresas e hierarquias que devem ser criadas. responses: 200: description: Ok schema: type: object required: – ids properties: ids: type: array items: type: string minimum: 1 description: Identificador das ligações que foram criadas. Estão na mesma ordem em que foram recebidas. default: description: Error response schema: #/definitions/genericError /moods/actions/changeQuestionStatus: post: description: This operation is public. Altera o status de ativo/inativo de uma questão. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – questionId – enabled properties: questionId: type: string description: Id da questão. enabled: type: boolean description: Indica se a questão ficará ativa. responses: 200: description: Ok schema: type: object required: – question properties: question: type: object allOf: – #/definitions/question description: Dados da questão. default: description: Error response schema: #/definitions/genericError /moods/actions/updateQuestionStatusAndImage: post: description: This operation is public. Serviço para atualizar o status e/ou imagem de uma questão tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – questionId – enabled properties: questionId: type: string description: Id da questão enabled: type: boolean description: Indica se a questão ficará ativa imageId: type: string description: Id da imagem responses: 200: description: Ok schema: type: object allOf: – #/definitions/question default: description: Error response schema: #/definitions/genericError /moods/actions/changeDimensionStatus: post: description: This operation is public. Altera o status de ativo/inativo de uma dimensão. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – dimensionId – enabled properties: dimensionId: type: string description: Id da dimensão. enabled: type: boolean description: Indica se a dimensão ficará ativa. responses: 200: description: Ok schema: type: object required: – dimension properties: dimension: type: object allOf: – #/definitions/dimension description: Dados da dimensão. default: description: Error response schema: #/definitions/genericError /moods/actions/answerSurvey: post: description: This operation is public. Responde um pulso da pesquisa. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – pulseAnswer properties: pulseAnswer: type: string description: Identificador único da resposta do pulso. answers: type: array items: type: object allOf: – #/definitions/questionAnswer description: Respostas das perguntas do pulso. npsAnswer: type: integer format: int64 description: Resposta da questão NPS responses: 200: description: Ok schema: type: object required: – answered properties: answered: type: boolean description: Indica se a resposta foi bem sucedida. default: description: Error response schema: #/definitions/genericError /moods/actions/requestUploadFile: post: description: This operation is public. Solicitação para realizar o upload de um arquivo. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – fileName properties: fileName: type: string description: Nome do arquivo que será carregado. responses: 200: description: Ok schema: type: object required: – fileId – version – locationURI properties: fileId: type: string description: O identificador único do arquivo. Composto pelo ID + o nome do arquivo, separados por /. type: string description: Versão do arquivo. locationURI: type: string description: URI onde o upload deve ser realizado. default: description: Error response schema: #/definitions/genericError /moods/actions/commitUploadedFile: post: description: This operation is public. Realiza o commit de um arquivo que foi carregado anteriormente. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – fileId – version properties: fileId: type: string description: O identificador único do arquivo. Composto pelo ID + o nome do arquivo, separados por /. type: string description: Versão do arquivo. responses: 200: description: Ok schema: type: object required: – fileId properties: fileId: type: string description: O identificador único do arquivo. Composto pelo ID + o nome do arquivo, separados por /. default: description: Error response schema: #/definitions/genericError /moods/actions/requestFileAccess: post: description: This operation is public. Solicitação para acessar um arquivo. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – fileId properties: fileId: type: string description: O identificador único do arquivo. Composto pelo ID + o nome do arquivo, separados por /. ttl: type: integer format: int64 description: Tempo em minutos que o arquivo deve ficar disponível para download no link que será retornado. responses: 200: description: Ok schema: type: object required: – locationURI properties: locationURI: type: string description: URI onde o arquivo está disponível para download. default: description: Error response schema: #/definitions/genericError /moods/actions/uploadEmployeePhoto: post: description: This operation is public. Atualiza foto do colaborador. tags: – Actions parameters: – name: input in: body required: true schema: type: object properties: photos: type: array items: type: object allOf: – #/definitions/employeePhoto description: responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/importEmployees: post: description: This operation is public. Serviço para criar os dados importados dos colaboradores. tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/employeeDTO minimum: 1 description: Colaborador que será importados overwriteExistingData: type: boolean description: Sobrescrever registros existentes default: false responses: 200: description: Ok schema: type: object properties: employeesSuccessfulImported: type: array items: type: object allOf: – #/definitions/employeeDTO description: Colaboradores importados com sucesso employeesDataExceptions: type: array items: type: object allOf: – #/definitions/employeeDataExceptions description: Falhas que ocorreram na importação default: description: Error response schema: #/definitions/genericError /moods/actions/createCompanyForImport: post: description: This operation is public. Serviço que cria a estrutura da empresa para importar os colaboradores tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – company properties: company: type: object allOf: – #/definitions/company description: Empresa que será criada responses: 200: description: Ok schema: type: object required: – company properties: company: type: object allOf: – #/definitions/company description: Empresa criada default: description: Error response schema: #/definitions/genericError /moods/actions/notifyMoodsCoupledHcm: post: description: This operation is public. Indica se foi feita a carga inicial da base do hcm para o moods tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – coupled properties: coupled: type: boolean description: Indica se foi feito a carga inicial do hcm para o moods responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/saveEmployee: post: description: This operation is public. Cria ou atualiza um colaborador com os dados informados tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – employee properties: employee: type: object allOf: – #/definitions/employeeDTO description: Informações do colaborador responses: 200: description: Ok schema: type: object properties: employee: type: object allOf: – #/definitions/employeeDTO description: Colaborador inserido default: description: Error response schema: #/definitions/genericError /moods/actions/logFrontendError: post: description: This operation is public. Registra um erro ocorrido no frontend com as informações do cliente tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – errorMessage – clientInfo properties: errorMessage: type: string description: Mensagem de erro. Pode conter apenas a mensagem ou o stack trace completo. clientInfo: type: string description: Informações do cliente, como ID da pesquisa, navegador, etc. responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: Se o erro foi registrado com sucesso. default: description: Error response schema: #/definitions/genericError /moods/actions/saveCompany: post: description: This operation is public. Cria/atualiza uma empresa tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – company properties: company: type: object allOf: – #/definitions/companyDTO description: Empresa a ser salva responses: 200: description: Ok schema: type: object required: – company properties: company: type: object allOf: – #/definitions/companyDTO description: Empresa salva default: description: Error response schema: #/definitions/genericError /moods/actions/saveBranchOffice: post: description: This operation is public. Cria/atualiza uma filial tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – branchOffice properties: branchOffice: type: object allOf: – #/definitions/branchOfficeDTO description: Filial a ser salva responses: 200: description: Ok schema: type: object required: – branchOffice properties: branchOffice: type: object allOf: – #/definitions/branchOfficeDTO description: Filial salva default: description: Error response schema: #/definitions/genericError /moods/actions/updateSurveyConfig: post: description: This operation is public. Serviço para atualizar uma configuração de pesquisa de clima tags: – Actions parameters: – name: input in: body required: true schema: type: object required: – survey properties: survey: type: object allOf: – #/definitions/climateSurvey description: responses: 200: description: Ok schema: type: object required: – survey properties: survey: type: object allOf: – #/definitions/climateSurvey description: default: description: Error response schema: #/definitions/genericError /moods/signals/setupPulse: post: description: This operation is public. Serviço para criar dados fictícios – setup. tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /moods/signals/generatePulse: post: description: This operation is public. Gera um pulso da pesquisa de clima, caso necessesário. Para gerar um pulso é necessário que: – A pesquisa de clima esteja habilitada; – A data do último pulso + 7 ou 14 dias(dependendo da periodicidade) seja menor ou igual à data atual; – O dia de semana da data atual seja igual ao dia de semana configurado na pesquisa. O público alvo são os liderados diretos dos gestores que estiverem configurados na pesquisa. Todos os liderados receberão um e-mail com link para responder o pulso da pesquisa. tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /moods/signals/sendMailToRespondents: post: description: This operation is public. Envia um e-mail para todos os respondentes de um pulso. O e-mail contém o link para o colaborador responder ao pulso da pesquisa tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – pulseId – pulseAnswerRespondents properties: pulseId: type: string description: Id do pulso pulseAnswerRespondents: type: array items: type: object allOf: – #/definitions/pulseAnswerRespondent minimum: 1 description: Lista com associação entre cada PulseAnswer e PulseRespondent responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /moods/signals/sendSMSToRespondents: post: description: This operation is public. Envia um SMS para todos os respondentes de um pulso. O SMS contém o link para o colaborador responder ao pulso da pesquisa tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – pulseId – pulseAnswerRespondents properties: pulseId: type: string description: Id do pulso pulseAnswerRespondents: type: array items: type: object allOf: – #/definitions/pulseAnswerRespondent minimum: 1 description: Lista com associação entre cada PulseAnswer e PulseRespondent responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /moods/signals/sendMailToNewUser: post: description: This operation is public. tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – employee – roleName – password properties: employee: type: object allOf: – #/definitions/employeeDTO description: Colaborador associado ao usuário roleName: type: string description: Papél do usuario password: type: string description: Senha do usuário responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /moods/signals/verifyDismissalEmployees: post: description: This operation is public. Verifica os colaboradores que foram demitidos tags: – Signals parameters: – name: input in: body required: true schema: type: object responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /moods/entities/questionAnswer: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/questionAnswer responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/questionAnswer default: description: Error response schema: #/definitions/genericError /moods/entities/questionAnswer/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionAnswer responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/questionAnswer default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/answerTicket: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/answerTicket responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/answerTicket default: description: Error response schema: #/definitions/genericError /moods/entities/answerTicket/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/answerTicket responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/answerTicket default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/question: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/question responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/question default: description: Error response schema: #/definitions/genericError /moods/entities/question/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/question responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/question default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/questionChoice: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/questionChoice responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError /moods/entities/questionChoice/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionChoice responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/tenant: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tenant responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/tenant default: description: Error response schema: #/definitions/genericError /moods/entities/tenant/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tenant responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tenant default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchy: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/hierarchy responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/hierarchy default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchy/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/hierarchy responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/hierarchy default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyItem: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/hierarchyItem responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/hierarchyItem default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyItem/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/hierarchyItem responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/hierarchyItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/employee: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employee responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/employee default: description: Error response schema: #/definitions/genericError /moods/entities/employee/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employee responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employee default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/company: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/company responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/company default: description: Error response schema: #/definitions/genericError /moods/entities/company/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/company responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/company default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/climateSurvey: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/climateSurvey responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/climateSurvey default: description: Error response schema: #/definitions/genericError /moods/entities/climateSurvey/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/climateSurvey responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/climateSurvey default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/dimension: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/dimension responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/dimension default: description: Error response schema: #/definitions/genericError /moods/entities/dimension/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/dimension responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/dimension default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/companyHierarchy: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/companyHierarchy responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/companyHierarchy default: description: Error response schema: #/definitions/genericError /moods/entities/companyHierarchy/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/companyHierarchy responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/companyHierarchy default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResult: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pulseResult responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pulseResult default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResult/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pulseResult responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/pulseResult default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/workstationGroup: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workstationGroup responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/workstationGroup default: description: Error response schema: #/definitions/genericError /moods/entities/workstationGroup/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workstationGroup responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/workstationGroup default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/department: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/department responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/department default: description: Error response schema: #/definitions/genericError /moods/entities/department/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/department responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/department default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/jobPosition: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/jobPosition responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/jobPosition default: description: Error response schema: #/definitions/genericError /moods/entities/jobPosition/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/jobPosition responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/jobPosition default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/costCenter: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/costCenter responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/costCenter default: description: Error response schema: #/definitions/genericError /moods/entities/costCenter/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/costCenter responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/costCenter default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/educationDegree: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/educationDegree responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/educationDegree default: description: Error response schema: #/definitions/genericError /moods/entities/educationDegree/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/educationDegree responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/educationDegree default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/branchOfficeHistorical: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/branchOfficeHistorical responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/branchOfficeHistorical default: description: Error response schema: #/definitions/genericError /moods/entities/branchOfficeHistorical/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/branchOfficeHistorical responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/branchOfficeHistorical default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/workstationGroupHistorical: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/workstationGroupHistorical responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/workstationGroupHistorical default: description: Error response schema: #/definitions/genericError /moods/entities/workstationGroupHistorical/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/workstationGroupHistorical responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/workstationGroupHistorical default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/departmentHistorical: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/departmentHistorical responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/departmentHistorical default: description: Error response schema: #/definitions/genericError /moods/entities/departmentHistorical/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/departmentHistorical responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/departmentHistorical default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/jobPositionHistorical: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/jobPositionHistorical responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/jobPositionHistorical default: description: Error response schema: #/definitions/genericError /moods/entities/jobPositionHistorical/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/jobPositionHistorical responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/jobPositionHistorical default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/costCenterHistorical: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/costCenterHistorical responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/costCenterHistorical default: description: Error response schema: #/definitions/genericError /moods/entities/costCenterHistorical/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/costCenterHistorical responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/costCenterHistorical default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/educationDegreeHistorical: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/educationDegreeHistorical responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/educationDegreeHistorical default: description: Error response schema: #/definitions/genericError /moods/entities/educationDegreeHistorical/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/educationDegreeHistorical responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/educationDegreeHistorical default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/emailLoggerErrorSend: post: tags: – CRUD parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/emailLoggerErrorSend responses: 201: description: Ok headers: Location: description: The created resource type: string default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/emailLoggerErrorSend default: description: Error response schema: #/definitions/genericError /moods/entities/emailLoggerErrorSend/{id}: put: tags: – CRUD parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/emailLoggerErrorSend responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError get: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/emailLoggerErrorSend default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError definitions: companyTypeDto: description: Tipos de empresa. type: string enum: – BRANCH_OFFICE – HEAD_OFFICE – WORK – TEMPORARY – WORK_COOPERATIVELY – DOMESTIC_WORKER – EMPLOYER_ESOCIAL questionTypeDto: description: Tipo da questão. type: string enum: – MULTIPLE_CHOICE – PARAGRAPH – LINEAR_SCALE periodicityDto: description: Periodicidade. type: string enum: – FORTNIGHTLY – WEEKLY – DAILY – MONTHLY monthlyPeriodicityDto: description: Periodicidade mensal. type: string enum: – DAILY – WEEKLY dayOfWeekDto: description: Dias da semana. type: string enum: – MONDAY – TUESDAY – WEDNESDAY – THURSDAY – FRIDAY – SATURDAY – SUNDAY weekOfMonthDto: description: Semanas do mês. type: string enum: – FIRST – SECOND – THIRD – FOURTH – LAST pointTrend: description: Tendência da Pontuação type: string enum: – UP – DOWN – STABLE – EMPTY generalEntityDataExceptions: description: Exceções relacionadas as entidades vinculadas ao colaborador type: string enum: – DATA_ALREADY_EXISTS – MINIMUM_NUMBER_CHARACTERS – COMPANY_IS_REQUIRED – MAXIMUM_LENGTH_REACHED – CODE_IS_REQUIRED – NAME_IS_REQUIRED genderType: description: Gênero dos colaboradores type: string enum: – MALE – FEMALE pulseSendType: description: Tipo de envio do pulso type: string enum: – EMAIL – SMS – BOTH climateSurveyDataExceptions: description: Exceções relacionadas a entidade ClimateSurvey type: string enum: – EXIST_EMPLOYEE_WITH_PULSE_SEND_TYPE_SMS_OR_BOTH autocompleteFields: description: Campos disponÃveis para o autocomplete. type: string enum: – CompanyCompanyId – CompanyCompanyName – CompanyHeadQuarterId – DepartmentName – DepartmentCompanyId – DepartmentCompany – JobPositionName – JobPositionCompanyId – JobPositionCompany – CostCenterName – CostCenterCompanyId – CostCenterCompany – WorkstationGroupName – WorkstationGroupCompanyId – WorkstationGroupCompany – EducationDegreeName – EmployeeName – EmployeeExcluded – EmployeeDismissalDate – EmployeeId – CompanyExcluded – CostCenterExcluded – JobPositionExcluded – DepartmentExcluded – WorkstationGroupExcluded – EducationDegreeExcluded – CompanyCompanyCode autocompleteTables: description: Tabelas disponÃveis para o autocomplete. type: string enum: – Company – Department – JobPosition – CostCenter – WorkstationGroup – EducationDegree – Employee autocompleteFieldType: description: Tipos de campos para o autocomplete. type: string enum: – NUMERIC – STRING – DATE – ENUM autocompleteExpressionType: description: Expressão das condições para o autocomplete. type: string enum: – GREATER_THAN – GREATER_THAN_OR_NULL – GREATER_THAN_EQUAL – GREATER_THAN_EQUAL_OR_NULL – LESS_THAN – LESS_THAN_OR_NULL – LESS_THAN_EQUAL – LESS_THAN_EQUAL_OR_NULL – EQUAL – NOT_EQUAL – LIKE – IS_NULL – IS_NOT_NULL – IS_TRUE – IN_VALUE – IS_FALSE – IS_FALSE_OR_NULL scoreDetailsTarget: description: Alvo dos detalhamentos de pontuação type: string enum: – COMPANY – MY_DEPARTMENT – MY_SCORE – LEADER sentStatus: description: Status do envio do pulso type: string enum: – SENT – NOT_SENT – FAIL 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 questionSummary: description: Resumo de uma questão do pulso. type: object required: – text – type – enabled – canChange properties: id: type: string description: Identificador único da entidade. text: type: string description: Texto da questão. type: type: object allOf: – #/definitions/questionTypeDto description: Tipo da questão. enabled: type: boolean description: Indica se a questão está avida. canChange: type: boolean description: Indica se a questão pode ser alterada/excluída. dimensionSearch: description: Dimensão de uma questão do pulso. type: object required: – description – enabled – canChange properties: id: type: string description: Identificador único da entidade. description: type: string description: Descrição da dimensão. enabled: type: boolean description: Indica se a dimensão está ativa. canChange: type: boolean description: Indica se a dimensão pode ser alterada/excluída. questions: type: array items: type: object allOf: – #/definitions/questionSummary description: Resumo das questões que possuem essa dimensão e possuem algum termo da pesquisa. CommentsByDimension: description: Comentários agrupados por dimensão. type: object required: – dimensionId – description – found – comments properties: dimensionId: type: string description: Identificador único da dimensão. description: type: string description: Descrição da dimensão. found: type: integer format: int64 description: Total de comentários encontrados para a dimensão. comments: type: array items: type: object allOf: – #/definitions/commentSearch minimum: 1 description: Comentários da dimensão. commentSearch: description: Informações que devem ser apresentadas na busca de comentários. discriminator: _discriminator type: object required: – comment – question – when – _discriminator properties: comment: type: string description: Comentário. question: type: string description: Pergunta em que o comentário foi feito. when: type: string format: date description: Data que o comentário foi feito. _discriminator: type: string description: commentWithDimensionSearch: description: Informações que devem ser apresentadas na busca de comentários. Também é apresentada a dimensão da pergunta em que o comentário foi feito. allOf: – #/definitions/commentSearch – type: object required: – dimensionId – dimension properties: dimensionId: type: string description: Id da dimensão dimension: type: string description: Dimensão pulseAnswerRespondent: description: Associação entre a resposta de um pulso e o seu respondente. type: object required: – pulseAnwserId – pulseRespondentId properties: pulseAnwserId: type: string description: Id da resposta do pulso (PulseAnswer) pulseRespondentId: type: string description: Id do respondente do pulso (PulseRespondent) longUrl: type: string description: URL de acesso à pesquisa utilizando o ticket shortUrl: type: string description: URL encurtada de acesso à pesquisa utilizando o ticket leaderSituation: description: Dados do colaborador e se ele está sendo avaliado na pesquisa de clima. type: object required: – id – name – evaluated – subordinates – subordinatesCount properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome do colaborador. email: type: string description: Email do colaborador. photoLink: type: string description: Foto do colaborador evaluated: type: boolean description: Indica se ele está sendo avaliado na pesquisa de clima. subordinates: type: array items: type: object allOf: – #/definitions/subordinate minimum: 1 description: Lista de subordinados subordinatesCount: type: integer format: int64 description: Quantidade de subordinados encontrados subordinate: description: Dados de um liderado/subordinado type: object required: – id – name – sentStatus properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome do colaborador. email: type: string description: Email do colaborador. photoLink: type: string description: Foto do colaborador sentStatus: type: object allOf: – #/definitions/sentStatus description: Status de envio do pulso leaderScore: description: Dados do gestor que está sendo avaliado na pesquisa de clima junto com sua pontuação e status em relação a pontuação anterior. type: object required: – id – name – leaderScore – leaderStatus – departmentScore – departmentStatus properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome do colaborador. email: type: string description: Email do colaborador. photoLink: type: string description: Foto do colaborador leaderScore: type: number format: double description: Pontuação. leaderStatus: type: object allOf: – #/definitions/pointTrend description: Status da pontuação em relação a pontuação anterior (UP, DOWN, STABLE). departmentScore: type: number format: double description: Pontuação da área do líder departmentStatus: type: object allOf: – #/definitions/pointTrend description: Status da pontuação em relação a pontuação anterior (UP, DOWN, STABLE). commentsCountGroupByDimension: description: Comentários agrupados por dimensão type: object required: – dimensionId – dimensionName – comments properties: dimensionId: type: string description: Id da dimensão dimensionName: type: string description: Nome da dimensão comments: type: integer format: int64 description: Quantidade de comentários na dimensão leaderAverageScoreGroupByDimension: description: Média do lider agrupada por dimensão type: object required: – dimensionName – leaderSatisfaction – statusLeaderSatisfaction – companySatisfaction – departmentScore properties: dimensionName: type: string description: Nome da dimensão leaderSatisfaction: type: number format: double description: Satisfação da dimensão para o leader statusLeaderSatisfaction: type: object allOf: – #/definitions/pointTrend description: Status da satisfação do lider companySatisfaction: type: number format: double description: Satisfação da dimensão para a empresa departmentScore: type: number format: double description: Satisfação da área pulseAverage: description: Dados do pulso type: object required: – pulseId – startDate – endDate – attendance – averageScore properties: pulseId: type: string description: Id do pulso startDate: type: string format: date description: Data de inicio do pulso endDate: type: string format: date description: Data final do pulso attendance: type: number format: double description: Assiduidade do pulso averageScore: type: number format: double description: Satisfacao do pulso dimensionPoint: description: Pontuação por Dimensão type: object required: – dimensionId – dimensionName – score – status properties: dimensionId: type: string description: Id da dimensão dimensionName: type: string description: Dimensão que vamos efetuar a média score: type: number format: double description: Média atual da dimensão status: type: object allOf: – #/definitions/pointTrend description: Média anterior da dimensão PulseScoreCommon: description: Pontuação do líder e da organização no pulso. type: object required: – pulseId – startDate – endDate – score – engageStatus properties: pulseId: type: string description: Id do pulso startDate: type: string format: date description: Data de inicio do pulso endDate: type: string format: date description: Data final do pulso score: type: number format: double description: Pontuação no pulso engage: type: number format: double description: Engajamento engageStatus: type: object allOf: – #/definitions/pointTrend description: Status da pontuação em relação a pontuação anterior (UP, DOWN, STABLE). managerPulseScores: description: Puntação do gestor type: object properties: id: type: string description: Id do gestor name: type: string description: Nome do gestor pulseScoreCommon: type: array items: type: object allOf: – #/definitions/PulseScoreCommon description: Pontuação do gestor retornado pulseQuestionScores: description: Pontuação por questão type: object required: – question – dimension – score properties: question: type: string description: Descrição da questão dimension: type: string description: Dimensão da questão score: type: number format: double description: Pontuação da questão status: type: object allOf: – #/definitions/pointTrend description: Indica a situação da pontuação da questão comparada com o pulso anterior Questões do tipo texto não vão possuir essa informação. pulseDimension: description: Pontuação da dimensão no pulso type: object required: – pulseId – startDate – endDate – score properties: pulseId: type: string description: Id do pulso startDate: type: string format: date description: Data inicial do pulso endDate: type: string format: date description: Data final do pulso score: type: number format: double description: Pontuação da dimensão no pulso employeePhoto: description: Colaborador e sua foto type: object required: – employeeId – photoLink properties: employeeId: type: string description: Id do colaborador photoLink: type: string description: Link da foto employeeDataExceptions: description: Retorno das exceções do upload dos colaboradores type: object required: – exception properties: employee: type: object allOf: – #/definitions/employeeDTO description: exception: type: array items: type: string minimum: 1 description: line: type: integer format: int64 description: leader: type: string description: details: type: string description: uploadEmployeeDataWarnings: description: Warnings retornados ao haver inconsistência ao importar colaboradores type: object required: – message – employeeEmail properties: message: type: string description: employeeEmail: type: string description: employeePhone: description: Representa o telefone do colaborador type: object required: – codeCountryPhone – codeLocalPhone – phoneNumber properties: codeCountryPhone: type: integer format: int64 description: Código de telefone do país codeLocalPhone: type: integer format: int64 description: Código de local do telefone phoneNumber: type: integer format: int64 description: Número de telefone employeeSummaryDTO: description: DTO com resumo das informações do colaborador type: object required: – name properties: id: type: string description: Identificador único do colaborador name: type: string description: Nome email: type: string description: Email leaderName: type: string description: Nome do gestor do colaborador companyName: type: string description: Nome da empresa do colaborador employeeDTO: description: DTO com as informações do colaborador type: object properties: id: type: string description: Identificador único do colaborador name: type: string description: Nome. email: type: string description: Email. photoLink: type: string description: Link para a foto. photo: type: object allOf: – #/definitions/fileInfo description: Informações da foto phone: type: object allOf: – #/definitions/employeePhone description: Telefone do colaborador branchOffice: type: object allOf: – #/definitions/company description: Filial. department: type: object allOf: – #/definitions/department description: Local. jobPosition: type: object allOf: – #/definitions/jobPosition description: Cargo. costCenter: type: object allOf: – #/definitions/costCenter description: Centro de custo. workstationGroup: type: object allOf: – #/definitions/workstationGroup description: Posto de trabalho. birthday: type: string format: date description: Data de nascimento. admissionDate: type: string format: date description: Data de admissão. dismissalDate: type: string format: date description: Data de demissão gender: type: object allOf: – #/definitions/genderType description: Gênero. educationDegree: type: object allOf: – #/definitions/educationDegree description: Grau de instrução. leader: type: object allOf: – #/definitions/employee description: Gestor do colaborador. pulseSendType: type: object allOf: – #/definitions/pulseSendType description: Modo de envio do pulso surveyAnalyst: type: boolean description: Indica se é analista da pesquisa usernames: type: array items: type: string description: Usuários vinculados blocked: type: boolean description: Indica se o usuário está bloqueado fileInfo: description: Representa um arquivo no blob service type: object properties: fileId: type: string description: O identificador único do arquivo. Composto pelo ID + o nome do arquivo, separados por /. type: string description: Versão do arquivo. autocompleteData: description: DTO com os dados selecionados do autocomplete. type: object required: – tableId properties: tableId: type: string description: Id da tabela. name: type: string description: Descrição da tabela. resultBaseData: description: Retorno base para os endpoints. discriminator: _discriminator type: object required: – ok – _discriminator properties: ok: type: boolean description: Flag para indicar sucesso. warning: type: boolean description: Flag para indicar sucesso com alerta. default: false message: type: string description: Mensagem de retorno. default: _discriminator: type: string description: autocompleteResult: description: Retorno autocomplete allOf: – #/definitions/resultBaseData – type: object required: – tableId – fields properties: tableId: type: string description: Id do registro pesquisado. fields: type: array items: type: object allOf: – #/definitions/autocompleteResultFields minimum: 1 description: Descrição do registro pesquisado. autocompleteConditions: description: Condições para o autocomplete. type: object required: – fields – expression properties: fields: type: array items: type: object allOf: – #/definitions/autocompleteFields minimum: 1 description: Campos disponÃveis para o autocomplete. fieldType: type: object allOf: – #/definitions/autocompleteFieldType description: Tipo do campo de autocomplete. expression: type: object allOf: – #/definitions/autocompleteExpressionType description: Expressão de condição para o autocomplete. value: type: string description: Valor da condição para o autocomplete. autocompleteResultFields: description: Campos para o retorno do autocomplete. type: object required: – name – value properties: name: type: string description: Nome do campo de retorno. value: type: string description: Valor do campo de retorno. companyDTO: description: DTO para empresa type: object properties: id: type: string description: Identificador único companyCode: type: integer format: int64 description: Código da empresa name: type: string description: Nome da empresa logo: type: object allOf: – #/definitions/fileInfo description: Informações da logo da empresa logoLink: type: string description: Endereço da logo para acesso branchOfficeDTO: description: DTO para filial type: object required: – name – headQuarter properties: id: type: string description: Identificador único name: type: string description: Nome da filial headQuarter: type: object allOf: – #/definitions/companyDTO description: Empresa que esta filial pertence companyCode: type: integer format: int64 description: Código da empresa jobPositionDTO: description: DTO para o cargo type: object required: – name – companyName properties: id: type: string description: Identificador único name: type: string description: Nome do cargo companyName: type: string description: Nome da empresa que o cargo pertence costCenterDTO: description: DTO para o centro de custo type: object required: – name – companyName properties: id: type: string description: Identificador único name: type: string description: Nome do centro de custo companyName: type: string description: Nome da empresa que o centro de custo pertence workstationGroupDTO: description: DTO para o posto de trabalho type: object required: – name – companyName properties: id: type: string description: Identificador único name: type: string description: Nome do posto de trabalho companyName: type: string description: Nome da empresa que o posto de trabalho pertence departmentDTO: description: DTO para o departamento type: object required: – name – companyName properties: id: type: string description: Identificador único name: type: string description: Nome do departamento companyName: type: string description: Nome da empresa que o departamento pertence educationDegreeDTO: description: DTO para o grau de instrução type: object required: – name properties: id: type: string description: Identificador único name: type: string description: Nome do grau de instrução employeeSMS: description: Representa o telefone e o link específico do colaborador pra envio do SMS type: object required: – phoneNumber – shortLink properties: phoneNumber: type: string description: Número de telefone do colaborador shortLink: type: string description: Link curto para responder a pesquisa pelo SMS questionAnswer: description: Resposta de uma pergunta. type: object properties: id: type: string description: Identificador único da entidade. paragraph: type: string description: Resposta descritiva. scale: type: integer format: int64 description: Resposta de escala. choice: type: object allOf: – #/definitions/questionChoice description: Opção da resposta de múltipla escolha. choiceId: type: string description: Identificador único da opção da resposta de múltipla escolha. comment: type: string description: Comentário sobre a resposta. question: type: object allOf: – #/definitions/question description: Questão a qual a resposta está associada. questionId: type: string description: Identificador único da questão a qual a resposta está associada. answerTicket: type: object allOf: – #/definitions/answerTicket description: Resposta do pulso a qual a resposta está associada. answerTicketId: type: string description: Identificador único da resposta do pulso a qual a resposta está associada. answerTicket: description: Resposta de um respondente do pulso. type: object properties: id: type: string description: Identificador único da entidade. pulseId: type: string description: Identificador único do pulso a qual a resposta está associada. leader: type: object allOf: – #/definitions/employee description: Lider do respondente do pulso. leaderId: type: string description: Identificador único do líder do respondente do pulso. longUrl: type: string description: URL de acesso ao questionário shortUrl: type: string description: URL de acesso ao questionário encurtada question: description: Questão do pulso. type: object required: – type – enabled properties: id: type: string description: Identificador único da entidade. imageId: type: string description: Identificador único da imagem da questão. imageLink: type: string description: Link para acessar a imagem da questão. text: type: string description: Texto da questão. type: type: object allOf: – #/definitions/questionTypeDto description: Tipo da questão. enabled: type: boolean description: Indica se a questão está avida. dimensionId: type: string description: Identificador único da dimensão a qual a questão está associada. lowScaleText: type: string description: Texto do menor valor da questão de escala. lowScaleImageId: type: string description: Identificador único da imagem do menor valor da questão de escala. lowScaleImageLink: type: string description: Link para acessar a imagem do menor valor da questão de escala. highScaleText: type: string description: Texto do maior valor da questão de escala. highScaleImageId: type: string description: Identificador único da imagem do maior valor da questão de escala. highScaleImageLink: type: string description: Link para acessar a imagem do maior valor da questão de escala. choices: type: array items: type: object allOf: – #/definitions/questionChoice description: Opções da questão, caso ela seja do tipo de múltipla escolha. canChange: type: boolean description: Indica se a questão pode ser alterada/removida questionChoice: description: Opção de uma questão de múltipla escolha. type: object properties: id: type: string description: Identificador único da entidade. text: type: string description: Texto da opção. sequence: type: integer format: int64 description: Sequencia em que a opção deve ser apresentada. questionId: type: string description: Identificador único da questão a qual a opção pertence. tenant: description: Tenant da aplicação. type: object required: – id – domain properties: id: type: string description: Identificador único da entidade. server: type: string description: Nome do servidor de e-mail. serverPort: type: string description: Porta do servidor de e-mail. senderEmailDefault: type: string description: Emissário padrão dos e-mails do Pulse. senderUserDefault: type: string description: Usuário do emissário padrão dos e-mails do Pulse. senderPasswordDefault: type: string description: Senha do emissário padrão dos e-mails do Pulse. authenticationEnabled: type: boolean description: Representa se a autenticação está ativa no servidor de configuração do emissário padrão dos e-mails. sslTrust: type: boolean description: Representa se o SSL trust está ativo no servidor de e-mail. tlsEnabled: type: boolean description: Representa se as configurações TLS estão ativas no servidor de e-mail. domain: type: string description: Domínio deste tenant. Usado para descobrir o tenant na autenticação dos usuários. Exemplo: Domínio: senior.com.br Usuário: joao.silva Login: joao.silva@senior.com.br shortHash: type: string description: Código randômico para identificar o tenant em URLs hierarchy: description: Hierarquia. type: object properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome da hierarquia. hierarchyItem: description: Item da hierarquia. type: object properties: id: type: string description: Identificador único da entidade. hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia a qual este item pertence. hierarchyId: type: string description: Identificador único da hierarquia a qual este item pertence. position: type: string description: Posição deste item na hierarquia. parent: type: object allOf: – #/definitions/hierarchyItem description: Pai deste item na hierarquia. parentId: type: string description: Identificador único do pai deste item na hierarquia. employee: type: object allOf: – #/definitions/employee description: Colaborador que ocupa este item da hierarquia. employeeId: type: string description: Identificador único do colaborador que ocupa este item da hierarquia. children: type: array items: type: object allOf: – #/definitions/hierarchyItem description: Filhos desse item na hierarquia. workstationName: type: string description: Nome do posto workstationId: type: string description: Id do posto branchOfficeId: type: string description: Id da filial employee: description: Colaborador. type: object properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome do colaborador. email: type: string description: Email do colaborador. countryCodePhone: type: integer format: int64 description: Código do país do celular do colaborador localCodePhone: type: integer format: int64 description: Código de área do celular do colaborador numberPhone: type: integer format: int64 description: Numero do celular do colaborador photoId: type: string description: Identificador único da foto do colaborador birthday: type: string format: date description: Data de nascimento do colaborador admissionDate: type: string format: date description: Data de admissão do colaborador gender: type: object allOf: – #/definitions/genderType description: Gênero do colaborador dismissalDate: type: string format: date description: Data de demissão do colaborador pulseSendType: type: object allOf: – #/definitions/pulseSendType description: Tipo de envio do pulso ao respondente surveyAnalyst: type: boolean description: Indicação de que o colaborador é analista da pesquisa idg5: type: string description: Código do colaborador na G5 – NumEmp;TipCol;NumCad blocked: type: boolean description: Indica se o colaborador está bloqueado excluded: type: boolean description: Indica se o colaborador está excluído company: description: Empresa. type: object properties: id: type: string description: Identificador único da entidade. companyCode: type: integer format: int64 description: Código da empresa companyName: type: string description: Nome da empresa (Razão social). tradingName: type: string description: Nome fantasia. companyType: type: object allOf: – #/definitions/companyTypeDto description: Tipo de empresa. cnpj: type: string description: CNPJ (Cadastro nacional de pessoa jurídica). cnae: type: string description: CNAE (Classificação nacional de atividades econômicas). headQuarter: type: object allOf: – #/definitions/company description: Empresa ao qual a filial pertence. headQuarterId: type: string description: ID da empresa ao qual a filial pertence. logoId: type: string description: Identificador único da logo da empresa excluded: type: boolean description: Indica se a empresa está excluída climateSurvey: description: Pesquisa de clima. type: object properties: id: type: string description: Identificador único da entidade. enabled: type: boolean description: Indica se a pesquisa está ativa. periodicity: type: object allOf: – #/definitions/periodicityDto description: Periodicidade da pesquisa. dayOfWeek: type: object allOf: – #/definitions/dayOfWeekDto description: Dia da semana que a pesquisa deve ser realizada. emailMessage: type: string description: Mensagem em texto padrão referente a configuração do email da pesquisa. emailMessageHtml: type: string description: Mensagem em HTML que deve ser enviada no email da pesquisa. startImageId: type: string description: Identificador único da imagem que deve ser apresentada no início da pesquisa. startImageLink: type: string description: Link para acessar a imagem que deve ser apresentada no início da pesquisa. startTitle: type: string description: Título da mensagem que deve ser apresentada no início da pesquisa. startMessage: type: string description: Mensagem que deve ser apresentada no início da pesquisa. endImageId: type: string description: Identificador único da imagem que deve ser apresentada no fim da pesquisa. endImageLink: type: string description: Link para acessar a imagem que deve ser apresentada no fim da pesquisa. endTitle: type: string description: Título da mensagem que deve ser apresentada no fim da pesquisa. endMessage: type: string description: Mensagem que deve ser apresentada no fim da pesquisa. questionsCount: type: integer format: int64 description: Quantidade máxima de perguntas que o pulso deve ter. minimum: 1 maximum: 10 default: 5 showEngagement: type: boolean description: Indica se deve apresentar o engajamento aos gestores hcmAutoSync: type: boolean description: Indica se será feito a sincronização automática coupledHcm: type: boolean description: Indica se o Moods está acoplado com o HCM dayOfMonth: type: integer format: int64 description: Dia do mês que a pesquisa deve ser realizada (apenas periodicity MONTHLY) weekOfMonth: type: object allOf: – #/definitions/weekOfMonthDto description: Semana do mês que a pesquisa deve ser realizada (apenas periodicity MONTHLY) monthlyPeriodicity: type: object allOf: – #/definitions/monthlyPeriodicityDto description: Caso periodicity = MONTHLY indica qual o tipo de periodicidade mensal (dia do mês ou dia da semana no mês) smsMessage: type: string description: Mensagem de texto padrão referente a configuração do SMS da pesquisa smsMessageSize: type: integer format: int64 description: Tamanho permitido para a mensagem de texto a ser enviada por SMS dimension: description: Dimensão de uma questão do pulso. type: object required: – description – enabled properties: id: type: string description: Identificador único da entidade. description: type: string description: Descrição da dimensão. enabled: type: boolean description: Indica se a dimensão está ativa. canChange: type: boolean description: Indica se a dimensão pode ser alterada/removida companyHierarchy: description: Hierarquia da empresa type: object required: – hierarchyId – companyId – startDate properties: id: type: string description: Identificador único da entidade. hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia company: type: object allOf: – #/definitions/company description: Empresa hierarchyId: type: string description: Id da hierarquia companyId: type: string description: Id da empresa startDate: type: string format: date description: Data de início pulseResult: description: Resultado de um resposta type: object properties: id: type: string description: Identificador único da entidade. pulseId: type: string description: Id do pulso ao qual esta resposta se refere dimensionId: type: string description: Id da dimensão ao qual esta resposta se refere leaderId: type: string description: Id do lider ao qual esta resposta se refere satisfaction: type: number format: double description: Resultado da resposta workstationGroup: description: Posto de trabalho type: object required: – name – company properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome do posto de trabalho company: type: object allOf: – #/definitions/company description: Empresa que está vínculado idg5: type: string description: Código do posto na g5 excluded: type: boolean description: Indica se o posto de trabalho está excluído department: description: Local de trabalho type: object required: – name – company properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome do local de trabalho company: type: object allOf: – #/definitions/company description: Empresa que está vínculado idg5: type: string description: Código do local na g5 excluded: type: boolean description: Indica se o departamento está excluído jobPosition: description: Cargo type: object required: – name – company properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome do cargo company: type: object allOf: – #/definitions/company description: Empresa que está vínculado idg5: type: string description: Código do cargo na g5 excluded: type: boolean description: Indica se o cargo está excluído costCenter: description: Centro de custo type: object required: – name – company properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome do centro de custo company: type: object allOf: – #/definitions/company description: Empresa que está vínculado idg5: type: string description: Código do centro de custo na g5 excluded: type: boolean description: Indica se o centro de custo está excluído educationDegree: description: Grau de instrução type: object required: – name properties: id: type: string description: Identificador único da entidade. name: type: string description: Grau de instrução idg5: type: string description: Código do grau de instrução na g5 excluded: type: boolean description: Indica se o grau de instrução está excluído branchOfficeHistorical: description: Histórico de filial type: object required: – startDate – branchOffice – branchOfficeId – employee – employeeId properties: id: type: string description: Identificador único da entidade. startDate: type: string format: date description: Data de início branchOffice: type: object allOf: – #/definitions/company description: Filial branchOfficeId: type: string description: Id da filial employee: type: object allOf: – #/definitions/employee description: Colaborador employeeId: type: string description: Id do colaborador idg5: type: string description: Código do histórico de filial na g5 workstationGroupHistorical: description: Histórico de posto de trabalho do colaborador type: object required: – startDate – workstationGroup – workstationGroupId – employee – employeeId properties: id: type: string description: Identificador único da entidade. startDate: type: string format: date description: Data de início workstationGroup: type: object allOf: – #/definitions/workstationGroup description: Posto de trabalho workstationGroupId: type: string description: Id do posto de trabalho employee: type: object allOf: – #/definitions/employee description: Colaborador employeeId: type: string description: Id do colaborador idg5: type: string description: Código do histórico de posto na g5 departmentHistorical: description: Histórico de local de trabalho type: object required: – startDate – department – departmentId – employee – employeeId properties: id: type: string description: Identificador único da entidade. startDate: type: string format: date description: Data de início department: type: object allOf: – #/definitions/department description: Local de trabalho departmentId: type: string description: Id local de trabalho employee: type: object allOf: – #/definitions/employee description: Colaborador employeeId: type: string description: Id do colaborador idg5: type: string description: Código do histórico de local na g5 jobPositionHistorical: description: Histórico de cargo type: object required: – startDate – jobPosition – jobPositionId – employee – employeeId properties: id: type: string description: Identificador único da entidade. startDate: type: string format: date description: Data de início jobPosition: type: object allOf: – #/definitions/jobPosition description: Cargo jobPositionId: type: string description: Id do cargo employee: type: object allOf: – #/definitions/employee description: Colaborador employeeId: type: string description: Id do colaborador idg5: type: string description: Código do histórico de cargo na g5 costCenterHistorical: description: Histórico de centro de custo type: object required: – startDate – costCenter – costCenterId – employee – employeeId properties: id: type: string description: Identificador único da entidade. startDate: type: string format: date description: Data de início costCenter: type: object allOf: – #/definitions/costCenter description: Centro de custo costCenterId: type: string description: Id do centro de custo employee: type: object allOf: – #/definitions/employee description: Colaborador employeeId: type: string description: Id do colaborador idg5: type: string description: Código do histórico de centro de custo na g5 educationDegreeHistorical: description: Histórico de grau de instrução type: object required: – startDate – employee – employeeId properties: id: type: string description: Identificador único da entidade. startDate: type: string format: date description: Data de início educationDegree: type: object allOf: – #/definitions/educationDegree description: Grau de instrução educationDegreeId: type: string description: Id do grau de instrução employee: type: object allOf: – #/definitions/employee description: Colaborador employeeId: type: string description: Id do colaborador idg5: type: string description: Código do histórico de centro de custo na g5 emailLoggerErrorSend: description: Emails não enviados type: object required: – dateSend – errorMessage properties: id: type: string description: Identificador único da entidade. dateSend: type: string format: date-time description: Data da tentátiva de envio pulseId: type: string description: Id do pulso da tentativa de envio email: type: string description: Endereço de email usado na tentativa de envio errorMessage: type: string description: Mensagem de erro. Pode conter apenas a mensagem ou o stack trace completo. notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: object allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: object 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: object 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. 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