Hcm

moods

16 views 11/09/2019 12/11/2019 integrador 0

2.0info: 9.0.2 moods description: Moods x-senior-domain: hcm x-senior-domain-path: hcm x-senior-service-path: moods contact: name: Senior X Platform url: http://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/hcmsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /moods/queries/healthcheck: post: description: HealthCheck Plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/heathcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados default: description: Error response schema: #/definitions/genericError get: description: HealthCheck Plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/heathcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados default: description: Error response schema: #/definitions/genericError /moods/queries/listEmployeesToComponent: post: description: Busca colaboradores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Filtro isLeader: type: boolean description: Caso queria retornar apenas líderes responses: 200: description: Ok schema: type: object required: – items properties: items: type: array items: type: object allOf: – #/definitions/commonToComponent minimum: 1 description: Retorna uma lista de colaboradores default: description: Error response schema: #/definitions/genericError get: description: Busca colaboradores tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Filtro in: query type: string – name: isLeader description: Caso queria retornar apenas líderes in: query type: boolean responses: 200: description: Ok schema: type: object required: – items properties: items: type: array items: type: object allOf: – #/definitions/commonToComponent minimum: 1 description: Retorna uma lista de colaboradores default: description: Error response schema: #/definitions/genericError /moods/queries/listCompaniesToComponent: post: description: Busca empresas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: q: type: string description: Filtro headquarter: type: string description: Matriz caso filiais responses: 200: description: Ok schema: type: object required: – items properties: items: type: array items: type: object allOf: – #/definitions/commonToComponent minimum: 1 description: Retorna uma lista das empresas default: description: Error response schema: #/definitions/genericError get: description: Busca empresas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Filtro in: query type: string – name: headquarter description: Matriz caso filiais in: query type: string responses: 200: description: Ok schema: type: object required: – items properties: items: type: array items: type: object allOf: – #/definitions/commonToComponent minimum: 1 description: Retorna uma lista das empresas default: description: Error response schema: #/definitions/genericError /moods/queries/searchLeaders: post: description: Busca os liderados de um colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – role properties: page: type: integer format: int64 description: Página a ser buscada default: 0 size: type: integer format: int64 description: Tamanho da página default: 100 q: type: string description: Filtro por nome do colaborador. role: type: string allOf: – #/definitions/employeeRoleType description: Tipo do papel selectedPulsesId: type: array items: type: string description: Pulsos selecionados isAnalytics: type: boolean description: Solicitação apartir do Analytics default: false ticket: type: string description: Ticket referente a filtros do Analytics responses: 200: description: Ok schema: type: object properties: leaders: type: array items: type: object allOf: – #/definitions/employeeInfo description: Retorna uma lista com os gestores. selectedLeaders: type: array items: type: object allOf: – #/definitions/employeeInfo description: Retorna uma lista com os gestores selecionados. blockedLeaders: type: boolean description: Bloqueia seleção de gestories default: false default: description: Error response schema: #/definitions/genericError /moods/queries/getCommentsDetail: post: description: Retorna o detalhamento dos comentários. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – role – order properties: id: type: string description: Id da resposta pulseIds: type: array items: type: string description: Lista dos Ids dos pulsos dimensionIds: type: array items: type: string description: Lista dos Ids das dimensões leaderIds: type: array items: type: string description: Lista dos Ids dos gestores role: type: string allOf: – #/definitions/employeeRoleType description: Tipo do papel order: type: string allOf: – #/definitions/orderCommentsDetail description: Ordenação visible: type: string allOf: – #/definitions/filterCommentVisibleType description: Visivel para: searchTerm: type: string description: Busca por palavra page: type: integer format: int64 description: Termo a ser pesquisado no comentário, pergunta ou dimensão. 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 – commentDetail properties: found: type: integer format: int64 description: Total de comentários encontrados pela busca. commentDetail: type: array items: type: object allOf: – #/definitions/commentDetail minimum: 1 description: Comentários. default: description: Error response schema: #/definitions/genericError /moods/queries/getLastNPulses: post: description: Retorna os ultimos 50 pulsos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: amount: type: integer format: int64 description: Quantidade de pulsos a ser retornado default: 52 responses: 200: description: Ok schema: type: object required: – pulses properties: pulses: type: array items: type: object allOf: – #/definitions/pulseInfo minimum: 1 description: Comentários agrupados por dimensão. default: description: Error response schema: #/definitions/genericError get: description: Retorna os ultimos 50 pulsos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: amount description: Quantidade de pulsos a ser retornado in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – pulses properties: pulses: type: array items: type: object allOf: – #/definitions/pulseInfo minimum: 1 description: Comentários agrupados por dimensão. default: description: Error response schema: #/definitions/genericError /moods/queries/getDimensions: post: description: Retorna as dimensões ativas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – dimensions properties: dimensions: type: array items: type: object allOf: – #/definitions/dimensionInfo minimum: 1 description: Dimensões. default: description: Error response schema: #/definitions/genericError get: description: Retorna as dimensões ativas tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – dimensions properties: dimensions: type: array items: type: object allOf: – #/definitions/dimensionInfo minimum: 1 description: Dimensões. default: description: Error response schema: #/definitions/genericError /moods/queries/searchCommentsByDimension: post: description: Retorna os comentários por dimensão.\n Caso seja informado um termo na pesquisa são retornados os comentários\n que tenham esse termo na pergunta em que o comentário foi feito ou no próprio comentário. tags: – Queries x-senior-visibility: PRIVATE 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: Retorna os comentários por dimensão.\n Caso seja informado um termo na pesquisa são retornados os comentários\n que tenham esse termo na pergunta em que o comentário foi feito ou no próprio comentário. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Termo a ser pesquisado no comentário, pergunta ou dimensão. in: query type: string – name: page description: Página que deve ser retornada, começando em 1. (Padrão 1) in: query type: integer format: int64 – name: size description: Tamanho da página que deve ser retornado. (Padrão 10) 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: Retorna os dados do objeto de análise do Moods tags: – Queries x-senior-visibility: PRIVATE 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: Retorna os dados do objeto de análise do Moods tags: – Queries x-senior-visibility: PRIVATE parameters: – name: username description: Usuário do colaborador in: query required: true type: string – name: employeeId description: Identificador único do colaborador 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: Retorna a pontuação de NPS (Net Promoter Score) da última avaliação tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – detractorsPercentage – detractors – passivesPercentage – passives – promotersPercentage – promoters – score – pulseIdentifier – status 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: integer format: int64 description: Pontuação. pulseIdentifier: type: string description: Identificador do pulso status: type: string allOf: – #/definitions/npsChartState description: Identifica se existem informações a serem demonstradas no gráfico default: description: Error response schema: #/definitions/genericError get: description: Retorna a pontuação de NPS (Net Promoter Score) da última avaliação tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – detractorsPercentage – detractors – passivesPercentage – passives – promotersPercentage – promoters – score – pulseIdentifier – status 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: integer format: int64 description: Pontuação. pulseIdentifier: type: string description: Identificador do pulso status: type: string allOf: – #/definitions/npsChartState description: Identifica se existem informações a serem demonstradas no gráfico default: description: Error response schema: #/definitions/genericError /moods/queries/searchCommentsOfDimension: post: description: Retorna os comentários da dimensão informada tags: – Queries x-senior-visibility: PRIVATE 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: Retorna os comentários da dimensão informada tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Termo a ser pesquisado no comentário, pergunta ou dimensão. in: query type: string – name: page description: Página que deve ser retornada, começando em 1. (Padrão 1) in: query type: integer format: int64 – name: size description: Tamanho da página que deve ser retornado. (Padrão 10) in: query type: integer format: int64 – name: dimensionId description: Id da dimensão em que o comentário foi escrito. 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: Busca os comentários das respostas.\n Os comentários podem ser filtrados pelo comentário, pergunta ou dimensão. tags: – Queries x-senior-visibility: PRIVATE 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: Busca os comentários das respostas.\n Os comentários podem ser filtrados pelo comentário, pergunta ou dimensão. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Termo a ser pesquisado no comentário, pergunta ou dimensão. in: query type: string – name: page description: Página que deve ser retornada, começando em 1. (Padrão 1) in: query type: integer format: int64 – name: size description: Tamanho da página que deve ser retornado. (Padrão 10) in: query type: integer format: int64 – name: pulseId description: Id do pulso que deve ter os comentários retornados. (Opcional) 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: Retorna as informações de comentários no pulso. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: pulseId: type: string description: Id do pulso que deve ter os detalhes retornados.\n – 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: Retorna as informações de comentários no pulso. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: pulseId description: Id do pulso que deve ter os detalhes retornados.\n – Caso o Id não seja informado serão retornados os dados do último pulso. 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: Busca as questões que contém os termos informados e retorna elas agrupadas por dimensão.\n Caso não seja informado nenhum termo são retornadas todas as dimensões existentes. (Sem as suas questões) tags: – Queries x-senior-visibility: PRIVATE 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\n ou todas dimensões existentes caso nenhum termo tenha sido informado. default: description: Error response schema: #/definitions/genericError get: description: Busca as questões que contém os termos informados e retorna elas agrupadas por dimensão.\n Caso não seja informado nenhum termo são retornadas todas as dimensões existentes. (Sem as suas questões) tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Termos que devem ser buscados no texto da pergunta. 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\n ou todas dimensões existentes caso nenhum termo tenha sido informado. default: description: Error response schema: #/definitions/genericError /moods/queries/questionsByDimension: post: description: Retorna todas questões da dimensão. tags: – Queries x-senior-visibility: PRIVATE 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: Retorna todas questões da dimensão. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: dimension description: Identificador único da dimensão. 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: Retorna os dados da pesquisa. tags: – Queries x-senior-visibility: PRIVATE 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 showComments: type: boolean description: Mostra a opção de escolha da visibilidade de comentários default: description: Error response schema: #/definitions/genericError get: description: Retorna os dados da pesquisa. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: pulseAnswer description: Identificador único da resposta do pulso. 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 showComments: type: boolean description: Mostra a opção de escolha da visibilidade de comentários default: description: Error response schema: #/definitions/genericError /moods/queries/autocomplete: post: description: Autocomplete genérico. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – table – fields properties: table: type: string allOf: – #/definitions/autocompleteTables description: Tabela para consulta. fields: type: array items: type: string allOf: – #/definitions/autocompleteFields minimum: 1 description: Campos para retorno da consulta no out description. order: type: array items: type: string 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 /moods/queries/statusPanel: post: description: Retorna as informações da pesquisa de clima. tags: – Queries x-senior-visibility: PRIVATE 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: string allOf: – #/definitions/periodicity 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: Retorna as informações da pesquisa de clima. tags: – Queries x-senior-visibility: PRIVATE 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: string allOf: – #/definitions/periodicity 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: Retorna todos os registros da entidade Company que são do tipo Head Quarter. tags: – Queries x-senior-visibility: PRIVATE 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: Retorna todos os registros da entidade Company que são do tipo Head Quarter. tags: – Queries x-senior-visibility: PRIVATE 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: Retorna dados do employee associado ao usuário logado tags: – Queries x-senior-visibility: PRIVATE 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: Retorna dados do employee associado ao usuário logado tags: – Queries x-senior-visibility: PRIVATE 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: Retorna os employees que são analista da pesquisa tags: – Queries x-senior-visibility: PRIVATE 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: Retorna os employees que são analista da pesquisa tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Página que deve ser retornada, começando em 1. (Padrão 1) in: query type: integer format: int64 – name: size description: Tamanho da página que deve ser retornado. (Padrão 10) 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: Retorna todos os líderes com uma flag indicando se ele está sendo avaliado na pesquisa de clima tags: – Queries x-senior-visibility: PRIVATE 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: Retorna todos os líderes com uma flag indicando se ele está sendo avaliado na pesquisa de clima tags: – Queries x-senior-visibility: PRIVATE parameters: – name: q description: Termos que devem ser buscados no texto da pergunta. in: query type: string – name: page description: Página que deve ser retornada, começando em 1. (Padrão 1) in: query type: integer format: int64 – name: size description: Tamanho da página que deve ser retornado. (Padrão 10) 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: Retorna a pontuação média do pulso mais recente. tags: – Queries x-senior-visibility: PRIVATE 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: string allOf: – #/definitions/pointTrend description: Situação do pulso em relação ao pulso anterior. default: description: Error response schema: #/definitions/genericError get: description: Retorna a pontuação média do pulso mais recente. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: leaderId description: Id do líder que deseja obter a pontuação médial do pulso mais recente. 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: string 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: Retorna o histórico dos ultimos pulso tags: – Queries x-senior-visibility: PRIVATE 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: Retorna o histórico dos ultimos pulso tags: – Queries x-senior-visibility: PRIVATE parameters: – name: amount description: Quantidade de pulsos para retornar 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: Retorna todos os ids dos contratos ativos associados ao username informado. tags: – Queries x-senior-visibility: PRIVATE 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: Retorna todos os ids dos contratos ativos associados ao username informado. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: username description: Username que deve estar associado aos contratos. 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: Retorna os lideres e sua pontução no pulso atual tags: – Queries x-senior-visibility: PRIVATE 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: Retorna os lideres e sua pontução no pulso atual tags: – Queries x-senior-visibility: PRIVATE parameters: – name: amount description: Quantidade de gestores para retornar, padrão 10. in: query type: integer format: int64 – name: page description: Página a ser buscada, padrão 1. in: query type: integer format: int64 – name: q description: Termo de pesquisa por nome de gestor in: query type: string – name: pulseId description: Id do pulso 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: Retorna a quantidade de comentários do pulso atual tags: – Queries x-senior-visibility: PRIVATE 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: Retorna a quantidade de comentários do pulso atual tags: – Queries x-senior-visibility: PRIVATE 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: Retorna a quantidade de comentários de todos os pulsos tags: – Queries x-senior-visibility: PRIVATE 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: Retorna a quantidade de comentários de todos os pulsos tags: – Queries x-senior-visibility: PRIVATE 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: Obtém a quantidade de comentários por dimensão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: size: type: integer format: int64 description: Quantidade de dimensões para retornar por página page: type: integer format: int64 description: Página requisitada default: 0 ticket: type: string description: Ticket identificador do filtro do Analytics responses: 200: description: Ok schema: type: object required: – totalComments – lastPulseTotalComments – found properties: dimensions: type: array items: type: object allOf: – #/definitions/commentsCountGroupByDimension description: Array com a quantidade comentários por dimensão totalComments: type: integer format: int64 description: Quantidade total de comentários lastPulseTotalComments: type: integer format: int64 description: Quantidade total de comentários do último pulso found: type: integer format: int64 description: Quantidade totalde dimensões default: description: Error response schema: #/definitions/genericError get: description: Obtém a quantidade de comentários por dimensão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: size description: Quantidade de dimensões para retornar por página in: query type: integer format: int64 – name: page description: Página requisitada in: query type: integer format: int64 – name: ticket description: Ticket identificador do filtro do Analytics in: query type: string responses: 200: description: Ok schema: type: object required: – totalComments – lastPulseTotalComments – found properties: dimensions: type: array items: type: object allOf: – #/definitions/commentsCountGroupByDimension description: Array com a quantidade comentários por dimensão totalComments: type: integer format: int64 description: Quantidade total de comentários lastPulseTotalComments: type: integer format: int64 description: Quantidade total de comentários do último pulso found: type: integer format: int64 description: Quantidade totalde dimensões default: description: Error response schema: #/definitions/genericError /moods/queries/scoreByPulse: post: description: Obtém os dados do painel do gestor tags: – Queries x-senior-visibility: PRIVATE 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: Obtém os dados do painel do gestor tags: – Queries x-senior-visibility: PRIVATE parameters: – name: leaderId description: Id do líder que deve ter os dados do dashboard retornado (caso não for informado retorna o do usuário logado). in: query type: string – name: selectedManagers description: Ids dos gestores selecionados in: query type: array items: type: string – name: ticket description: Ticket referente ao filtro do analytics 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/npsByPulse: post: description: Obtém os dados do nps tags: – Queries x-senior-visibility: PRIVATE 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 target: type: string allOf: – #/definitions/scoreDetailsTarget description: Alvo do detalhamento responses: 200: description: Ok schema: type: object properties: leaderScores: type: array items: type: object allOf: – #/definitions/npsScoreCommon description: Pontuações do líder nos últimos 10 pulsos (Podem retornar menos de 10). companyScores: type: array items: type: object allOf: – #/definitions/npsScoreCommon description: Pontuações da organização nos últimos 10 pulsos (Podem retornar menos de 10). myDepartmentScores: type: array items: type: object allOf: – #/definitions/npsScoreCommon description: Pontuações da área nos últimos 10 pulsos (Podem retornar menos de 10). leadersLedScores: type: array items: type: object allOf: – #/definitions/managerNpsScores 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: Obtém os dados do painel do gestor de ultimos pulsos por dimensão tags: – Queries x-senior-visibility: PRIVATE 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 ticket: type: string description: Ticket do filtro do analytics responses: 200: description: Ok schema: type: object required: – showDepartmentScore – showCommentsQuantity – departmentScoreAverage – companySatisfactionAverage – leaderSatisfactionAverage – commentsQuantityTotal – statusCommentsQuantityTotal – statusLeaderSatisfactionAverage – 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 showCommentsQuantity: type: boolean description: Indica se deve exibir a contagem de comentários por dimnesion departmentScoreAverage: type: number format: double description: Média das notas do departamento companySatisfactionAverage: type: number format: double description: Média das notas da empresa leaderSatisfactionAverage: type: number format: double description: Média da pontuação do líder commentsQuantityTotal: type: integer format: int64 description: Quantidade total de comentários statusCommentsQuantityTotal: type: string allOf: – #/definitions/pointTrend description: Status do totalizador de comentários statusLeaderSatisfactionAverage: type: string allOf: – #/definitions/pointTrend description: Status da média da nota do leader found: type: integer format: int64 description: Quantidade total de registros encontrados default: description: Error response schema: #/definitions/genericError get: description: Obtém os dados do painel do gestor de ultimos pulsos por dimensão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: leaderId description: Id do líder que deve ter os dados do dashboard retornado (caso não for informado retorna o do usuário logado). in: query type: string – name: page description: Página a ser buscada in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: ticket description: Ticket do filtro do analytics in: query type: string responses: 200: description: Ok schema: type: object required: – showDepartmentScore – showCommentsQuantity – departmentScoreAverage – companySatisfactionAverage – leaderSatisfactionAverage – commentsQuantityTotal – statusCommentsQuantityTotal – statusLeaderSatisfactionAverage – 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 showCommentsQuantity: type: boolean description: Indica se deve exibir a contagem de comentários por dimnesion departmentScoreAverage: type: number format: double description: Média das notas do departamento companySatisfactionAverage: type: number format: double description: Média das notas da empresa leaderSatisfactionAverage: type: number format: double description: Média da pontuação do líder commentsQuantityTotal: type: integer format: int64 description: Quantidade total de comentários statusCommentsQuantityTotal: type: string allOf: – #/definitions/pointTrend description: Status do totalizador de comentários statusLeaderSatisfactionAverage: type: string allOf: – #/definitions/pointTrend description: Status da média da nota do leader found: type: integer format: int64 description: Quantidade total de registros encontrados default: description: Error response schema: #/definitions/genericError /moods/queries/getLeaderAverageScoreGroupByDimensions: post: description: Obtém a satisfação do gestor agrupada por dimensão tags: – Queries x-senior-visibility: PRIVATE 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: Obtém a satisfação do gestor agrupada por dimensão tags: – Queries x-senior-visibility: PRIVATE parameters: – name: pulseId description: Id do pulso in: query required: true type: string – name: leaderId description: Id do gestor 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: Obtém a satisfação das questões do pulso informado tags: – Queries x-senior-visibility: PRIVATE 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: string allOf: – #/definitions/scoreDetailsTarget description: Alvo do detalhamento page: type: integer format: int64 description: Página que será demonstrada default: 0 size: type: integer format: int64 description: Quantidade de registros demonstrados por página default: 5 responses: 200: description: Ok schema: type: object required: – found properties: questionScores: type: array items: type: object allOf: – #/definitions/pulseQuestionScores description: Pontuações da questão found: type: integer format: int64 description: Quantidade de registros encontrados default: description: Error response schema: #/definitions/genericError /moods/queries/npsScorePulseDetail: post: description: Obtém a satisfação das questões do pulso informado tags: – Queries x-senior-visibility: PRIVATE 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: string allOf: – #/definitions/scoreDetailsTarget description: Alvo do detalhamento responses: 200: description: Ok schema: type: object required: – detractorsPercentage – detractors – passivesPercentage – passives – promotersPercentage – promoters – score – pulseIdentifier – status 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: integer format: int64 description: Pontuação. pulseIdentifier: type: string description: Identificador do pulso status: type: string allOf: – #/definitions/npsChartState description: Identifica se existem informações a serem demonstradas no gráfico default: description: Error response schema: #/definitions/genericError /moods/queries/dimensionHistory: post: description: Obtém histórico de uma determinada dimensão tags: – Queries x-senior-visibility: PRIVATE 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: string 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 /moods/queries/findEmployees: post: description: Obtém todos os colaboradores que atendem o filtro informado tags: – Queries x-senior-visibility: PRIVATE 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: Obtém todos os colaboradores que atendem o filtro informado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: term description: Utilizado para filtrar os colaboradores pelo email in: query type: string – name: page description: Página(Iniciando em 1) in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – 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: Obtém todos os colaboradores liderados do colaborador passado tags: – Queries x-senior-visibility: PRIVATE 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: Obtém todos os colaboradores liderados do colaborador passado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: leaderId description: Id do líder que se deseja retornar os liderados 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: Retorna a empresa e informações relacionadas tags: – Queries x-senior-visibility: PRIVATE 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: Retorna a empresa e informações relacionadas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: companyId description: Id da empresa 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: Serviço que retorna as empresas tags: – Queries x-senior-visibility: PRIVATE 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: Serviço que retorna as empresas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Número da página(Iniciando em 1) in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: searchTerm description: Termo que será buscado 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: Serviço que retorna as filiais tags: – Queries x-senior-visibility: PRIVATE 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: Serviço que retorna as filiais tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Número da página(Iniciando em 1) in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: searchTerm description: Termo que será buscado 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: Serviço que retorna os cargos tags: – Queries x-senior-visibility: PRIVATE 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: Serviço que retorna os cargos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Número da página(Iniciando em 1) in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: searchTerm description: Termo que será buscado 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: Serviço que retorna os centros de custo tags: – Queries x-senior-visibility: PRIVATE 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: Serviço que retorna os centros de custo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Número da página(Iniciando em 1) in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: searchTerm description: Termo que será buscado 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: Serviço que retorna os postos de trabalho tags: – Queries x-senior-visibility: PRIVATE 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: Serviço que retorna os postos de trabalho tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Número da página(Iniciando em 1) in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: searchTerm description: Termo que será buscado 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: Serviço que retorna os departamentos tags: – Queries x-senior-visibility: PRIVATE 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: Serviço que retorna os departamentos tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Número da página(Iniciando em 1) in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: searchTerm description: Termo que será buscado 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: Serviço que retorna os graus de instrução tags: – Queries x-senior-visibility: PRIVATE 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: Serviço que retorna os graus de instrução tags: – Queries x-senior-visibility: PRIVATE parameters: – name: page description: Número da página(Iniciando em 1) in: query type: integer format: int64 – name: size description: Tamanho da página in: query type: integer format: int64 – name: searchTerm description: Termo que será buscado 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: Indica se o colaborador informado pode ser líder tags: – Queries x-senior-visibility: PRIVATE 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: Indica se o colaborador informado pode ser líder tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Id do colaborador 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: Indica se o email informado já está em uso por outro colaborador tags: – Queries x-senior-visibility: PRIVATE 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: Indica se o email informado já está em uso por outro colaborador tags: – Queries x-senior-visibility: PRIVATE parameters: – name: email description: Email a ser verificado in: query required: true type: string – name: employeeId description: Colaborador, usamos para exclui-lo da consulta, pois ele mesmo pode ter o email informado. 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: Indica se o telefone informado já está em uso por outro colaborador tags: – Queries x-senior-visibility: PRIVATE 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 /moods/queries/getEmployee: post: description: Retorna o colaborador e informações relacionadas tags: – Queries x-senior-visibility: PRIVATE 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: Retorna o colaborador e informações relacionadas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: Id do colaborador 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: Retorna o tenant e informações relacionadas tags: – Queries x-senior-visibility: PRIVATE 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: Retorna o tenant e informações relacionadas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: shortHash description: Short hash único 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: Retorna o tenant e informações relacionadas tags: – Queries x-senior-visibility: PRIVATE 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: Retorna o tenant e informações relacionadas tags: – Queries x-senior-visibility: PRIVATE parameters: – name: id description: id único 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: Envia um email de teste tags: – Queries x-senior-visibility: PRIVATE 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: Envia um email de teste tags: – Queries x-senior-visibility: PRIVATE parameters: – name: recipient description: Email de teste in: query required: true type: string – name: sender description: Remetente do email in: query required: true type: string – name: senderName description: Nome do remetente do email in: query required: true type: string – name: subject description: Assunto do email in: query required: true type: string – name: message description: Menssagem do email 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: Retorna a URL Longa com base na URL Curta tags: – Queries x-senior-visibility: PRIVATE 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: Retorna a URL Longa com base na URL Curta tags: – Queries x-senior-visibility: PRIVATE parameters: – name: shortUrl description: Url encurtada para acesso à pesquisa 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: Retorna o BranchOffice atual do employee com base no Id do employee tags: – Queries x-senior-visibility: PRIVATE 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: Retorna o BranchOffice atual do employee com base no Id do employee tags: – Queries x-senior-visibility: PRIVATE parameters: – name: employeeId description: ID do employee 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: Retorna os dados da pesquisa de clima tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – survey properties: survey: type: object allOf: – #/definitions/climateSurvey description: Dados da Pesquisa smsMessageSize: type: integer format: int64 description: Tamanho permitido para a mensagem de texto a ser enviada por SMS default: description: Error response schema: #/definitions/genericError get: description: Retorna os dados da pesquisa de clima tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – survey properties: survey: type: object allOf: – #/definitions/climateSurvey description: Dados da Pesquisa smsMessageSize: type: integer format: int64 description: Tamanho permitido para a mensagem de texto a ser enviada por SMS default: description: Error response schema: #/definitions/genericError /moods/queries/countPulses: post: description: Retorna a quantidade total de pulsos tags: – Queries x-senior-visibility: PRIVATE 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: Retorna a quantidade total de pulsos tags: – Queries x-senior-visibility: PRIVATE 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: Retorna os dados relativos a Média Pontuação por Dimensão tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – average properties: average: type: array items: type: object allOf: – #/definitions/dimensionPoint minimum: 1 description: Lista contendo a pontuação média por dimensão default: description: Error response schema: #/definitions/genericError get: description: Retorna os dados relativos a Média Pontuação por Dimensão tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – average properties: average: type: array items: type: object allOf: – #/definitions/dimensionPoint minimum: 1 description: Lista contendo a pontuação média por dimensão default: description: Error response schema: #/definitions/genericError /moods/queries/averageSatisfactionByDimensionPoint: post: description: Retorna os dados relativos a Média de Satisfação por Dimensão tags: – Queries x-senior-visibility: PRIVATE 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: string 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 /moods/queries/hcmAutoSync: post: description: Retorna se deve ou não integrar com o HCM tags: – Queries x-senior-visibility: PRIVATE 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: Retorna se deve ou não integrar com o HCM tags: – Queries x-senior-visibility: PRIVATE 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: Obtém a satisfação do ponto de vista do analista da pesquisa tags: – Queries x-senior-visibility: PRIVATE 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: Obtém a satisfação do ponto de vista do analista da pesquisa tags: – Queries x-senior-visibility: PRIVATE parameters: – name: pulseId description: Id do pulso 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: Obtém a versão de integração com o HCM tags: – Queries x-senior-visibility: PRIVATE 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: Obtém a versão de integração com o HCM tags: – Queries x-senior-visibility: PRIVATE 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: Retorna se possui algum colaborador com tipo de envio de pulso por sms ou ambos e não contém e-mail. tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – containsPulseSendTypeSmsOrBothWithNoEmail properties: containsPulseSendTypeSmsOrBothWithNoEmail: type: boolean description: Represente se há colaborador com tipo de envio de pulso por sms ou ambos e não contém e-mail default: description: Error response schema: #/definitions/genericError get: description: Retorna se possui algum colaborador com tipo de envio de pulso por sms ou ambos e não contém e-mail. tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – containsPulseSendTypeSmsOrBothWithNoEmail properties: containsPulseSendTypeSmsOrBothWithNoEmail: type: boolean description: Represente se há colaborador com tipo de envio de pulso por sms ou ambos e não contém e-mail default: description: Error response schema: #/definitions/genericError /moods/queries/currentPulsePeriodicity: post: description: Retorna a periodicidade definida na configuração do pulso tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – currentPulsePeriodicity properties: currentPulsePeriodicity: type: string description: Periodicidade definida na configuração do pulso default: description: Error response schema: #/definitions/genericError get: description: Retorna a periodicidade definida na configuração do pulso tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – currentPulsePeriodicity properties: currentPulsePeriodicity: type: string description: Periodicidade definida na configuração do pulso default: description: Error response schema: #/definitions/genericError /moods/queries/shortAnswerTicket: post: description: Obtém um ticket curto e retorna um ticket longo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – shortId properties: shortId: type: string description: Id curto responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: Id Longo default: description: Error response schema: #/definitions/genericError get: description: Obtém um ticket curto e retorna um ticket longo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: shortId description: Id curto in: query required: true type: string responses: 200: description: Ok schema: type: object required: – id properties: id: type: string description: Id Longo default: description: Error response schema: #/definitions/genericError /moods/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportPulse: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportPulseRespondent: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportQuestionAnswer: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportAnswerTicket: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportHierarchy: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportHierarchyRevision: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportQuestionBalance: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportHierarchyItem: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportHierarchyItemRevision: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportEmployee: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportEvaluatedLeaderHistoric: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportCompany: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportClimateSurvey: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportDimensionBalance: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportDimension: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportCompanyHierarchy: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportPulseResult: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportBranchOfficeHistorical: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportNpsAnswer: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportPulseResultDimension: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportPulseResultLeaderDimension: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/exportEmailLoggerErrorSend: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError /moods/actions/createPulse: post: description: Cria um pulso da pesquisa de clima, caso necessário.\n Para gerar um pulso é necessário que:\n – A pesquisa de clima esteja habilitada;\n – A data do último pulso + 7 ou 14 dias(dependendo da periodicidade) seja menor ou igual à data atual;\n – O dia de semana da data atual seja igual ao dia de semana configurado na pesquisa.\n O público alvo são os liderados diretos dos gestores que estiverem configurados na pesquisa. tags: – Actions x-senior-visibility: PRIVATE 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: Serviço para criar colaboradores em lote. tags: – Actions x-senior-visibility: PRIVATE 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: Serviço para criar hierarquias em lote. tags: – Actions x-senior-visibility: PRIVATE 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: Cria os itens de uma hierarquia.\n Caso já existam itens nessa hierarquia ele são removidos. tags: – Actions x-senior-visibility: PRIVATE 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/hierarchyItemInput 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: Informa líderes que devem ser avaliados no pulso da pesquisa de clima. tags: – Actions x-senior-visibility: PRIVATE 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/createQuestion: post: description: Cria e persiste nova questão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – question properties: question: type: object allOf: – #/definitions/question description: Questão a ser criada responses: 200: description: Ok schema: type: object required: – question properties: question: type: object allOf: – #/definitions/questionOut description: Questão que foi criada default: description: Error response schema: #/definitions/genericError /moods/actions/retrieveQuestion: post: description: Retorna questão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id da Questão responses: 200: description: Ok schema: type: object required: – question properties: question: type: object allOf: – #/definitions/questionOut description: Questão encontrada default: description: Error response schema: #/definitions/genericError /moods/actions/updateQuestion: post: description: Editar questão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – question properties: question: type: object allOf: – #/definitions/question description: Questão a ser atualizada responses: 200: description: Ok schema: type: object required: – question properties: question: type: object allOf: – #/definitions/questionOut description: Questão com os valores atualizados default: description: Error response schema: #/definitions/genericError /moods/actions/deleteQuestion: post: description: Excluir questão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id da Questão responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/createCompanyHierarchy: post: description: Criar Hierarquia de empresa tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – companyHierarchy properties: companyHierarchy: type: object allOf: – #/definitions/companyHierarchy description: Hierarquia da empresa com os valores a serem criados responses: 200: description: Ok schema: type: object required: – companyHierarchy properties: companyHierarchy: type: object allOf: – #/definitions/companyHierarchy description: Hierarquia da empresa criada default: description: Error response schema: #/definitions/genericError /moods/actions/updateCompanyHierarchy: post: description: Atualizar Hierarquia de empresa tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – companyHierarchy properties: companyHierarchy: type: object allOf: – #/definitions/companyHierarchy description: Hierarquia de empresa a ser atualizada responses: 200: description: Ok schema: type: object required: – companyHierarchy properties: companyHierarchy: type: object allOf: – #/definitions/companyHierarchy description: Hierarquia de empresa atualizada default: description: Error response schema: #/definitions/genericError /moods/actions/retrieveCompanyHierarchy: post: description: Buscar Hierarquia de empresa tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – companyHierarchyId properties: companyHierarchyId: type: string description: Id da Hierarquia de empresa que será pesquisada responses: 200: description: Ok schema: type: object required: – companyHierarchy properties: companyHierarchy: type: object allOf: – #/definitions/companyHierarchy description: Hierarquia de empresa buscada default: description: Error response schema: #/definitions/genericError /moods/actions/createHierarchy: post: description: Criar hierarquia tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – hierarchy properties: hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia a ser criada responses: 200: description: Ok schema: type: object required: – hierarchy properties: hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia criada default: description: Error response schema: #/definitions/genericError /moods/actions/updateHierarchy: post: description: Atualizar hierarquia tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – hierarchy properties: hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia a ser atualizada responses: 200: description: Ok schema: type: object required: – hierarchy properties: hierarchy: type: object allOf: – #/definitions/hierarchy description: Hierarquia com valores atualizados default: description: Error response schema: #/definitions/genericError /moods/actions/retrieveHierarchy: post: description: Buscar hierarquia tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – hierarchyId properties: hierarchyId: type: string description: Id da Hierarquia que será buscada responses: 200: description: Ok schema: type: object required: – hierarchy properties: hierarchy: type: object allOf: – #/definitions/hierarchy description: Objeto Hierarquia encontrada default: description: Error response schema: #/definitions/genericError /moods/actions/deleteHierarchy: post: description: Excluir hierarquia tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – hierarchyId properties: hierarchyId: type: string description: Id da Hierarquia que será excluida responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/createBranchOfficeHistorical: post: description: Criar histórico tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – historical properties: historical: type: object allOf: – #/definitions/branchOfficeHistorical description: Histórico a ser criado responses: 200: description: Ok schema: type: object required: – historical properties: historical: type: object allOf: – #/definitions/branchOfficeHistorical description: Histórico criado default: description: Error response schema: #/definitions/genericError /moods/actions/updateBranchOfficeHistorical: post: description: Atualizar histórico tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – historical properties: historical: type: object allOf: – #/definitions/branchOfficeHistorical description: Histórico a ser atualizado responses: 200: description: Ok schema: type: object required: – historical properties: historical: type: object allOf: – #/definitions/branchOfficeHistorical description: Histórico com valores atualizados default: description: Error response schema: #/definitions/genericError /moods/actions/retrieveBranchOfficeHistorical: post: description: Buscar histórico tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – historicalID properties: historicalID: type: string description: Id do Histórico a ser buscado responses: 200: description: Ok schema: type: object required: – historical properties: historical: type: object allOf: – #/definitions/branchOfficeHistorical description: Objeto Histórico encontrado default: description: Error response schema: #/definitions/genericError /moods/actions/deleteBranchOfficeHistorical: post: description: Excluir histórico tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – historicalId properties: historicalId: type: string description: Id do Histórico a ser deletado responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/deleteCompanyHierarchy: post: description: Excluir Hierarquia de empresa tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – companyHierarchyId properties: companyHierarchyId: type: string description: Id da Hierarquia de empresa a ser deletada responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/deleteAnswerTicket: post: description: Excluir resposta tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – answerTicketId properties: answerTicketId: type: string description: Id da resposta que será excluída responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/deleteEmployee: post: description: Excluir colaborador tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id do colaborador que será excluído responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/createTenant: post: description: Criar tenant tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Tenant a ser criado responses: 200: description: Ok schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Tenant criado default: description: Error response schema: #/definitions/genericError /moods/actions/updateTenant: post: description: Update tenant tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Tenant a ser atualizado responses: 200: description: Ok schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Tenant com valores atualizados default: description: Error response schema: #/definitions/genericError /moods/actions/deleteTenant: post: description: Excluir tenant tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tenantId properties: tenantId: type: string description: Id do Tenant que será atualizado responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/retrieveTenant: post: description: Retorna tenant tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tenantId properties: tenantId: type: string description: Id do Tenant a ser retornado responses: 200: description: Ok schema: type: object required: – tenant properties: tenant: type: object allOf: – #/definitions/tenant description: Tenant encontrado default: description: Error response schema: #/definitions/genericError /moods/actions/createPulseResult: post: description: Criar Resultado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pulseResult properties: pulseResult: type: object allOf: – #/definitions/pulseResult description: Resultado a ser criado responses: 200: description: Ok schema: type: object required: – pulseResult properties: pulseResult: type: object allOf: – #/definitions/pulseResult description: Resultado criado default: description: Error response schema: #/definitions/genericError /moods/actions/updatePulseResult: post: description: Atualizar Resultado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pulseResult properties: pulseResult: type: object allOf: – #/definitions/pulseResult description: Resultado a ser atualizado responses: 200: description: Ok schema: type: object required: – pulseResult properties: pulseResult: type: object allOf: – #/definitions/pulseResult description: Resultado com valores atualizados default: description: Error response schema: #/definitions/genericError /moods/actions/retrievePulseResult: post: description: Retorna Resultado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pulseResultId properties: pulseResultId: type: string description: Id do Resultado a ser buscado responses: 200: description: Ok schema: type: object required: – pulseResult properties: pulseResult: type: object allOf: – #/definitions/pulseResult description: Resultado encontrado default: description: Error response schema: #/definitions/genericError /moods/actions/deletePulseResult: post: description: Deleta Resultado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – pulseResultId properties: pulseResultId: type: string description: Id do Resultado a ser deletado responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/createCompany: post: description: Criar empresa tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – company properties: company: type: object allOf: – #/definitions/company description: Empresa a 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/updateCompany: post: description: Atualizar empresa tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – company properties: company: type: object allOf: – #/definitions/company description: Empresa a ser atualizada responses: 200: description: Ok schema: type: object required: – company properties: company: type: object allOf: – #/definitions/company description: Empresa com valores atualizados default: description: Error response schema: #/definitions/genericError /moods/actions/retrieveCompany: post: description: Buscar empresa tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – companyId properties: companyId: type: string description: Id da empresa a ser buscada responses: 200: description: Ok schema: type: object required: – company properties: company: type: object allOf: – #/definitions/company description: Empresa buscada default: description: Error response schema: #/definitions/genericError /moods/actions/deleteCompany: post: description: Excluir empresa tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id da empresa a ser deletada responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/createDimension: post: description: Cria dimensão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dimension properties: dimension: type: object allOf: – #/definitions/dimension description: Dimensão a ser criada responses: 200: description: Ok schema: type: object required: – dimension properties: dimension: type: object allOf: – #/definitions/dimensionOut description: Dimensão criada default: description: Error response schema: #/definitions/genericError /moods/actions/updateDimension: post: description: Edtiar dimensão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dimension properties: dimension: type: object allOf: – #/definitions/dimension description: Dimensão a ser atualizada responses: 200: description: Ok schema: type: object required: – dimension properties: dimension: type: object allOf: – #/definitions/dimensionOut description: Dimensão atualizada default: description: Error response schema: #/definitions/genericError /moods/actions/retrieveDimension: post: description: retornar dimensão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id da dimensão a ser buscada responses: 200: description: Ok schema: type: object required: – dimension properties: dimension: type: object allOf: – #/definitions/dimensionOut description: Dimensão buscada default: description: Error response schema: #/definitions/genericError /moods/actions/deleteDimension: post: description: Excluir dimensão tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id da Dimensão a ser deletada responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/createHierarchyItem: post: description: Criar item de hierarquia tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – hierarchyItem properties: hierarchyItem: type: object allOf: – #/definitions/hierarchyItemInput description: item de hierarquia a ser criado responses: 200: description: Ok schema: type: object required: – hierarchyItem properties: hierarchyItem: type: object allOf: – #/definitions/hierarchyItem description: item de hierarquia criado default: description: Error response schema: #/definitions/genericError /moods/actions/updateHierarchyItem: post: description: Alterar item de hierarquia tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – hierarchyItem properties: hierarchyItem: type: object allOf: – #/definitions/hierarchyItemInput description: item de hierarquia a ser alterado responses: 200: description: Ok schema: type: object required: – hierarchyItem properties: hierarchyItem: type: object allOf: – #/definitions/hierarchyItem description: item de hierarquia com valores alterados default: description: Error response schema: #/definitions/genericError /moods/actions/retrieveHierarchyItem: post: description: Retorna item de hierarquia tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id do item de hierarquia a ser buscado responses: 200: description: Ok schema: type: object required: – hierarchyItem properties: hierarchyItem: type: object allOf: – #/definitions/hierarchyItem description: Item de hierarquia encontrado default: description: Error response schema: #/definitions/genericError /moods/actions/deleteHierarchyItem: post: description: Excluir item de hierarquia tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Id do item de hierarquia que será excluído responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/companyBatch: post: description: Serviço para criar empresas em lote. tags: – Actions x-senior-visibility: PRIVATE 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: Serviço para criar ligação entre empresas e hierarquias em lote. tags: – Actions x-senior-visibility: PRIVATE 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: Altera o status de ativo/inativo de uma questão. tags: – Actions x-senior-visibility: PRIVATE 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: Serviço para atualizar o status e/ou imagem de uma questão tags: – Actions x-senior-visibility: PRIVATE 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: Altera o status de ativo/inativo de uma dimensão. tags: – Actions x-senior-visibility: PRIVATE 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: Responde um pulso da pesquisa. tags: – Actions x-senior-visibility: PRIVATE 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: Solicitação para realizar o upload de um arquivo. tags: – Actions x-senior-visibility: PRIVATE 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: Realiza o commit de um arquivo que foi carregado anteriormente. tags: – Actions x-senior-visibility: PRIVATE 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: Solicitação para acessar um arquivo. tags: – Actions x-senior-visibility: PRIVATE 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: Atualiza foto do colaborador. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: photos: type: array items: type: object allOf: – #/definitions/employeePhoto description: Lista de fotos do colaborador responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/importEmployees: post: description: Serviço para criar os dados importados dos colaboradores. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – employees properties: employees: type: array items: type: object allOf: – #/definitions/importEmployeeDTO 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: Serviço que cria a estrutura da empresa para importar os colaboradores tags: – Actions x-senior-visibility: PRIVATE 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/deletePulse: post: description: Serviço para exclusão de pulso tags: – Actions x-senior-visibility: PRIVATE 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: – message properties: message: type: string description: Resposta default: description: Error response schema: #/definitions/genericError /moods/actions/notifyMoodsCoupledHcm: post: description: Indica se foi feita a carga inicial da base do hcm para o moods tags: – Actions x-senior-visibility: PRIVATE 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: Cria ou atualiza um colaborador com os dados informados tags: – Actions x-senior-visibility: PRIVATE 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: Registra um erro ocorrido no frontend com as informações do cliente tags: – Actions x-senior-visibility: PRIVATE 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: Cria/atualiza uma empresa tags: – Actions x-senior-visibility: PRIVATE 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: Cria/atualiza uma filial tags: – Actions x-senior-visibility: PRIVATE 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/sendMailToRespondents: post: description: 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: – Actions x-senior-visibility: PRIVATE 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: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /moods/actions/updateSurveyConfig: post: description: Serviço para atualizar uma configuração de pesquisa de clima tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – survey properties: survey: type: object allOf: – #/definitions/climateSurvey description: Configuração de pesquisa de clima a ser atualizada responses: 200: description: Ok schema: type: object required: – survey properties: survey: type: object allOf: – #/definitions/climateSurvey description: Dados da Pesquisa smsMessageSize: type: integer format: int64 description: Tamanho permitido para a mensagem de texto a ser enviada por SMS default: description: Error response schema: #/definitions/genericError /moods/actions/importPulse: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importPulseRespondent: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importQuestionAnswer: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importAnswerTicket: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importHierarchy: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importHierarchyRevision: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importQuestionBalance: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importHierarchyItem: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importHierarchyItemRevision: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importEmployee: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importEvaluatedLeaderHistoric: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importCompany: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importClimateSurvey: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importDimensionBalance: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importDimension: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importCompanyHierarchy: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importPulseResult: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importBranchOfficeHistorical: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importNpsAnswer: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importPulseResultDimension: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importPulseResultLeaderDimension: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/actions/importEmailLoggerErrorSend: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /moods/signals/setupPulse: post: description: 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: Gera um pulso da pesquisa de clima, caso necessesário.\n Para gerar um pulso é necessário que:\n – A pesquisa de clima esteja habilitada;\n – A data do último pulso + 7 ou 14 dias(dependendo da periodicidade) seja menor ou igual à data atual;\n – O dia de semana da data atual seja igual ao dia de semana configurado na pesquisa.\n O público alvo são os liderados diretos dos gestores que estiverem configurados na pesquisa.\n 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/retryRespondentsFailures: post: description: Reenvia os e-mail/sms do último pulso, caso necessário. 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/sendSMSToRespondents: post: description: 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: Envia um email para o usuário associado ao colaborador informado, indicando qual seu papél, usuário e senha de acesso a plataforma tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – employee – userName – roleName – password properties: employee: type: object allOf: – #/definitions/employeeDTO description: Colaborador associado ao usuário userName: type: string description: Username do 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: 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/signals/processPulse: post: description: Processa os pulsos passados que ainda não foram processados tags: – Signals parameters: – name: input in: body required: true schema: type: object properties: pulses: type: array items: type: string description: Pulsos que devem ser processados, caso não seja informado, serão processados todos os pulsos pendentes responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /moods/entities/pulse: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pulse default: description: Error response schema: #/definitions/genericError /moods/entities/pulseRespondent: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pulseRespondent responses: 200: description: The created resource schema: #/definitions/pulseRespondent default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pulseRespondent responses: 200: description: The created resource schema: #/definitions/pulseRespondent default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pulseRespondent default: description: Error response schema: #/definitions/genericError /moods/entities/pulseRespondent/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pulseRespondent responses: 200: description: Ok schema: #/definitions/pulseRespondent default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pulseRespondent responses: 200: description: Ok schema: #/definitions/pulseRespondent default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/pulseRespondent default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/pulseRespondent/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/pulseRespondent responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/questionAnswer: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/questionAnswer responses: 200: description: The created resource schema: #/definitions/questionAnswer default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/questionAnswer responses: 200: description: The created resource schema: #/definitions/questionAnswer default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/questionAnswer default: description: Error response schema: #/definitions/genericError /moods/entities/questionAnswer/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionAnswer responses: 200: description: Ok schema: #/definitions/questionAnswer default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionAnswer responses: 200: description: Ok schema: #/definitions/questionAnswer default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/questionAnswer default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/questionAnswer/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/questionAnswer responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/answerTicket: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/answerTicket default: description: Error response schema: #/definitions/genericError /moods/entities/question: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/question default: description: Error response schema: #/definitions/genericError /moods/entities/dimension/{parentId}/questions: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/question responses: 200: description: The created resources schema: type: array items: #/definitions/question default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/question responses: 200: description: The created resources schema: type: array items: #/definitions/question default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/question default: description: Error response schema: #/definitions/genericError /moods/entities/dimension/{parentId}/questions/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/question responses: 200: description: Ok schema: #/definitions/question default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/question responses: 200: description: Ok schema: #/definitions/question default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/question default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/questionChoice: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/questionChoice responses: 200: description: The created resource schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/questionChoice responses: 200: description: The created resource schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError /moods/entities/questionChoice/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionChoice responses: 200: description: Ok schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionChoice responses: 200: description: Ok schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/question/{parentId}/choices: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/questionChoice responses: 200: description: The created resources schema: type: array items: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/questionChoice responses: 200: description: The created resources schema: type: array items: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError /moods/entities/question/{parentId}/choices/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionChoice responses: 200: description: Ok schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionChoice responses: 200: description: Ok schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/questionChoice default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/questionChoice/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/questionChoice responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchy: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/hierarchy default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyRevision: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/hierarchyRevision responses: 200: description: The created resource schema: #/definitions/hierarchyRevision default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/hierarchyRevision responses: 200: description: The created resource schema: #/definitions/hierarchyRevision default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/hierarchyRevision default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyRevision/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/hierarchyRevision responses: 200: description: Ok schema: #/definitions/hierarchyRevision default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/hierarchyRevision responses: 200: description: Ok schema: #/definitions/hierarchyRevision default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/hierarchyRevision default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyRevision/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/hierarchyRevision responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/questionBalance: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/questionBalance responses: 200: description: The created resource schema: #/definitions/questionBalance default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/questionBalance responses: 200: description: The created resource schema: #/definitions/questionBalance default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/questionBalance default: description: Error response schema: #/definitions/genericError /moods/entities/questionBalance/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionBalance responses: 200: description: Ok schema: #/definitions/questionBalance default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/questionBalance responses: 200: description: Ok schema: #/definitions/questionBalance default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/questionBalance default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/questionBalance/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/questionBalance responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyItem: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/hierarchyItem default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyItemRevision: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/hierarchyItemRevision responses: 200: description: The created resource schema: #/definitions/hierarchyItemRevision default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/hierarchyItemRevision responses: 200: description: The created resource schema: #/definitions/hierarchyItemRevision default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/hierarchyItemRevision default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyItemRevision/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/hierarchyItemRevision responses: 200: description: Ok schema: #/definitions/hierarchyItemRevision default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/hierarchyItemRevision responses: 200: description: Ok schema: #/definitions/hierarchyItemRevision default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/hierarchyItemRevision default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/hierarchyItemRevision/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/hierarchyItemRevision responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/employee: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/employee default: description: Error response schema: #/definitions/genericError /moods/entities/employeeUsername: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeUsername responses: 200: description: The created resource schema: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeUsername responses: 200: description: The created resource schema: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError /moods/entities/employeeUsername/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeUsername responses: 200: description: Ok schema: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeUsername responses: 200: description: Ok schema: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/employee/{parentId}/usernames: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/employeeUsername responses: 200: description: The created resources schema: type: array items: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/employeeUsername responses: 200: description: The created resources schema: type: array items: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError /moods/entities/employee/{parentId}/usernames/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeUsername responses: 200: description: Ok schema: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeUsername responses: 200: description: Ok schema: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employeeUsername default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/employeeUsername/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/employeeUsername responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/evaluatedLeaderHistoric: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/evaluatedLeaderHistoric responses: 200: description: The created resource schema: #/definitions/evaluatedLeaderHistoric default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/evaluatedLeaderHistoric responses: 200: description: The created resource schema: #/definitions/evaluatedLeaderHistoric default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/evaluatedLeaderHistoric default: description: Error response schema: #/definitions/genericError /moods/entities/evaluatedLeaderHistoric/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/evaluatedLeaderHistoric responses: 200: description: Ok schema: #/definitions/evaluatedLeaderHistoric default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/evaluatedLeaderHistoric responses: 200: description: Ok schema: #/definitions/evaluatedLeaderHistoric default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/evaluatedLeaderHistoric default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/evaluatedLeaderHistoric/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/evaluatedLeaderHistoric responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/company: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/company default: description: Error response schema: #/definitions/genericError /moods/entities/climateSurvey: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/climateSurvey responses: 200: description: The created resource schema: #/definitions/climateSurvey default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/climateSurvey responses: 200: description: The created resource schema: #/definitions/climateSurvey default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/climateSurvey default: description: Error response schema: #/definitions/genericError /moods/entities/climateSurvey/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/climateSurvey responses: 200: description: Ok schema: #/definitions/climateSurvey default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/climateSurvey responses: 200: description: Ok schema: #/definitions/climateSurvey default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/climateSurvey default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/climateSurvey/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/climateSurvey responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/dimensionBalance: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/dimensionBalance responses: 200: description: The created resource schema: #/definitions/dimensionBalance default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/dimensionBalance responses: 200: description: The created resource schema: #/definitions/dimensionBalance default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/dimensionBalance default: description: Error response schema: #/definitions/genericError /moods/entities/dimensionBalance/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/dimensionBalance responses: 200: description: Ok schema: #/definitions/dimensionBalance default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/dimensionBalance responses: 200: description: Ok schema: #/definitions/dimensionBalance default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/dimensionBalance default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/dimensionBalance/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/dimensionBalance responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/dimension: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/dimension default: description: Error response schema: #/definitions/genericError /moods/entities/companyHierarchy: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/companyHierarchy default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResult: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pulseResult default: description: Error response schema: #/definitions/genericError /moods/entities/branchOfficeHistorical: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/branchOfficeHistorical default: description: Error response schema: #/definitions/genericError /moods/entities/npsAnswer: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/npsAnswer responses: 200: description: The created resource schema: #/definitions/npsAnswer default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/npsAnswer responses: 200: description: The created resource schema: #/definitions/npsAnswer default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/npsAnswer default: description: Error response schema: #/definitions/genericError /moods/entities/npsAnswer/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/npsAnswer responses: 200: description: Ok schema: #/definitions/npsAnswer default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/npsAnswer responses: 200: description: Ok schema: #/definitions/npsAnswer default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/npsAnswer default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/npsAnswer/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/npsAnswer responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResultDimension: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pulseResultDimension responses: 200: description: The created resource schema: #/definitions/pulseResultDimension default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pulseResultDimension responses: 200: description: The created resource schema: #/definitions/pulseResultDimension default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pulseResultDimension default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResultDimension/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pulseResultDimension responses: 200: description: Ok schema: #/definitions/pulseResultDimension default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pulseResultDimension responses: 200: description: Ok schema: #/definitions/pulseResultDimension default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/pulseResultDimension default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResultDimension/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/pulseResultDimension responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResultLeaderDimension: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pulseResultLeaderDimension responses: 200: description: The created resource schema: #/definitions/pulseResultLeaderDimension default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/pulseResultLeaderDimension responses: 200: description: The created resource schema: #/definitions/pulseResultLeaderDimension default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/pulseResultLeaderDimension default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResultLeaderDimension/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pulseResultLeaderDimension responses: 200: description: Ok schema: #/definitions/pulseResultLeaderDimension default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/pulseResultLeaderDimension responses: 200: description: Ok schema: #/definitions/pulseResultLeaderDimension default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/pulseResultLeaderDimension default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/pulseResultLeaderDimension/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/pulseResultLeaderDimension responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /moods/entities/emailLoggerErrorSend: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/emailLoggerErrorSend responses: 200: description: The created resource schema: #/definitions/emailLoggerErrorSend default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/emailLoggerErrorSend responses: 200: description: The created resource schema: #/definitions/emailLoggerErrorSend default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/emailLoggerErrorSend default: description: Error response schema: #/definitions/genericError /moods/entities/emailLoggerErrorSend/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/emailLoggerErrorSend responses: 200: description: Ok schema: #/definitions/emailLoggerErrorSend default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/emailLoggerErrorSend responses: 200: description: Ok schema: #/definitions/emailLoggerErrorSend default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/emailLoggerErrorSend default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /moods/entities/emailLoggerErrorSend/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/emailLoggerErrorSend responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError definitions: heathcheckDTO: description: Status do healthcheck type: string enum: – UP – DOWN companyType: description: Tipos de empresa type: string enum: – BRANCH_OFFICE – HEAD_OFFICE – WORK – TEMPORARY – WORK_COOPERATIVELY – DOMESTIC_WORKER – EMPLOYER_ESOCIAL dayOfWeek: description: Dias da semana type: string enum: – MONDAY – TUESDAY – WEDNESDAY – THURSDAY – FRIDAY – SATURDAY – SUNDAY monthlyPeriodicity: description: Periodicidade mensal type: string enum: – DAILY – WEEKLY questionColorType: description: Cor type: string enum: – GREEN – YELLOW – RED – GREY periodicity: description: Periodicidade type: string enum: – FORTNIGHTLY – WEEKLY – DAILY – MONTHLY pulseRespondentStatusType: description: Status de erro ao enviar pulso type: string enum: – INVALID_MAIL – MAIL_EMPLOYEE_NOT_SAVE – EMPLOYEE_NOT_IN_HIERARCHY – LEADER_NOT_EVALUATED lockableTables: description: Tipos de empresa. type: string enum: – PULSERESPONDENT – PULSE questionType: description: Tipo da questão. type: string enum: – MULTIPLE_CHOICE – PARAGRAPH – LINEAR_SCALE weekOfMonth: 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 orderCommentsDetail: description: Ordenação commentdetails. type: string enum: – AFFIRMATIVE_ASC – AFFIRMATIVE_DESC – DIMENSION_ASC – DIMENSION_DESC – LEADER_ASC – LEADER_DESC – SCORE_ASC – SCORE_DESC employeeRoleType: description: Tipo do papel do colaborador. type: string enum: – HR – LEADER filterCommentVisibleType: description: Tipo do papel do colaborador. type: string enum: – ALL – HR – LEADER 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 – ALL npsChartState: description: Estado do gráfico referente ao NPS type: string enum: – PULSE_HAS_NO_NPS_QUESTION – PULSE_HAS_NO_MINIMUM_ANSWERS – THERE_IS_NO_PULSE_YET – THERE_IS_NO_NPS_PULSE_YET sentStatus: description: Status do envio do pulso type: string enum: – SENT – INVALID_MAIL – MAIL_EMPLOYEE_NOT_SAVE – EMPLOYEE_NOT_IN_HIERARCHY – LEADER_NOT_EVALUATED – 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 fieldType: description: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME fileFormat: description: type: string enum: – CSV – FLAT – JSON – XML hookFunction: description: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE eventType: description: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START errorStrategy: description: type: string enum: – CALL_SCRIPT – IGNORE – STOP status: description: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING errorType: description: type: string enum: – CONVERT_ERROR – SERVICE_ERROR checkDTO: description: Retorno status usados de retorno type: object required: – name – status properties: name: type: string description: Nome do status status: type: string allOf: – #/definitions/heathcheckDTO description: Status commonToComponent: description: Modelo comum para listagem, pode ser usado por qualquer componente. type: object required: – id – displayName properties: id: type: string description: Identificador único da opção displayName: type: string description: Nome da opção a ser mostrado 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.\n Exemplo:\n Domínio: senior.com.br\n Usuário: joao.silva\n Login: joao.silva@senior.com.br shortHash: type: string description: Código randômico para identificar o tenant em URLs climateSurveyDto: 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: string allOf: – #/definitions/periodicity description: Periodicidade da pesquisa. dayOfWeek: type: string allOf: – #/definitions/dayOfWeek 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 showComments: type: boolean description: Indica se deve apresentar os comentários dos pulsos 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: string allOf: – #/definitions/weekOfMonth description: Semana do mês que a pesquisa deve ser realizada (apenas periodicity MONTHLY) monthlyPeriodicity: type: string allOf: – #/definitions/monthlyPeriodicity 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 leaders: type: array items: type: object allOf: – #/definitions/employee description: Líderes 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: string allOf: – #/definitions/questionType 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. hierarchyItemInput: description: Item de Hierarquia type: object properties: id: type: string description: Identificador único da entidade. hierarchyId: type: string description: Identificador único da hierarquia a qual este item pertence. position: type: string description: Posição deste item na hierarquia. parentId: type: string description: Identificador único do pai deste item na hierarquia. branchOfficeId: type: string description: Identificador da filial workstationId: type: string description: Identificador da estação de trabalho workstationName: type: string description: Nome da estação de trabalho employeeId: type: string description: Identificador único do colaborador que ocupa este item da hierarquia. children: type: array items: type: object allOf: – #/definitions/hierarchyItemInput description: Filhos desse item na hierarquia. dimensionOut: description: Dimensão type: object required: – id – 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. createdAt: type: string format: date-time description: Instante em que a dimensão foi criada updatedAt: type: string format: date-time description: Instante em que a dimensão foi atualizada canChange: type: boolean description: Flag identificando possibilidade de altreração questionOut: description: Questão type: object required: – id – 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: string allOf: – #/definitions/questionType description: Tipo da questão. enabled: type: boolean description: Indica se a questão está avida. createdAt: type: string format: date-time description: Instante em que a questão foi criada dimensionId: type: string description: Identificador único da dimensão a qual a questão está associada. dimension: type: object allOf: – #/definitions/dimension description: Dimensão a qual a questão está associada highScaleImageLink: type: string description: Link da imagem HQ lowScaleImageLink: type: string description: Link para imagem LQ canChange: type: boolean description: Flag assinalado possiblidade de alteração 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. 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. choices: type: array items: type: object allOf: – #/definitions/questionChoice description: Opções da questão, caso ela seja do tipo de múltipla escolha. pulses: type: array items: type: object allOf: – #/definitions/pulse description: Pulsos relacionados 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. dimensionInfo: description: Dimensão type: object required: – name properties: id: type: string description: Identificador único da dimensão. name: type: string description: Descrição da dimensão. 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. pulseInfo: description: Pulso para combo. type: object required: – pulseId – description properties: pulseId: type: string description: Identificador único do pulso. description: type: string description: Descrição. commentDetail: description: Comentários para o detalhamento. type: object required: – dimensionId – dimension – pulsePeriod – affirmative – scoreColor – comment properties: id: type: string description: Id da resposta dimensionId: type: string description: Identificador único da dimensão. dimension: type: string description: Descrição da dimensão. pulsePeriod: type: string description: Descrição da pulso. affirmative: type: string description: Afirmativa score: type: string description: Nota numerica scoreText: type: string description: Nota texto scoreColor: type: string description: Cor da nota comment: type: string description: Comentário readMoreAffirmative: type: boolean description: Ler mais para a afirmativa default: false readMoreComment: type: boolean description: Ler mais para o comentário default: false leaderName: type: string description: Nome do Lider visibleManager: type: boolean description: Visivel para o gestor? default: false employeeInfo: description: Dados simples do colaborador type: object required: – id – name properties: id: type: string description: Identificador único do colaborador name: type: string description: Nome do colaborador 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.\n 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: string allOf: – #/definitions/sentStatus description: Status de envio do pulso pulseRespondentStatusType: type: string description: Status erro 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: string 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: string 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 – lastPulseComments 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 lastPulseComments: type: integer format: int64 description: Comentários do último pulso leaderAverageScoreGroupByDimension: description: Média do lider agrupada por dimensão type: object required: – dimensionName – leaderSatisfaction – statusLeaderSatisfaction – companySatisfaction – departmentScore – statusLeaderComments – commentsQuantity 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: string 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 statusLeaderComments: type: string allOf: – #/definitions/pointTrend description: Status da contagem dos comentários commentsQuantity: type: integer format: int64 description: Quantidade de comentários 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: string 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: string allOf: – #/definitions/pointTrend description: Status da pontuação em relação a pontuação anterior (UP, DOWN, STABLE). npsScoreCommon: description: Pontuação do líder e da organização no pulso. type: object required: – pulseId – startDate – endDate – npsScore 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 npsScore: type: number format: double description: NPS no pulso engage: type: boolean description: Atingiu engajamento default: false promotersPercentage: type: number format: double description: Percentual de promotores passivesPercentage: type: number format: double description: Percentual de neutros detractorsPercentage: type: number format: double description: Percentual de detratores 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 managerNpsScores: description: Puntação do gestor type: object properties: id: type: string description: Id do gestor name: type: string description: Nome do gestor npsScoreCommon: type: array items: type: object allOf: – #/definitions/npsScoreCommon 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: string allOf: – #/definitions/pointTrend description: Indica a situação da pontuação da questão comparada com o pulso anterior\n 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: DTO de Colaborador exception: type: array items: type: string minimum: 1 description: Lista de Exceções line: type: integer format: int64 description: Linha do erro leader: type: string description: Id do Líder details: type: string description: Detalhes do erro uploadEmployeeDataWarnings: description: Warnings retornados ao haver inconsistência ao importar colaboradores type: object required: – message – employeeEmail properties: message: type: string description: Mensagem de warning employeeEmail: type: string description: E-mail do Colaborador 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 importEmployeePhone: description: Representa o telefone do colaborador type: object 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. 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: string allOf: – #/definitions/genderType description: Gênero. leader: type: object allOf: – #/definitions/employee description: Gestor do colaborador. pulseSendType: type: string 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 importEmployeeDTO: 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/importEmployeePhone description: Telefone do colaborador branchOffice: type: object allOf: – #/definitions/importBranchOfficeDTO description: Filial. admissionDate: type: string format: date description: Data de admissão. dismissalDate: type: string format: date description: Data de demissão leader: type: object allOf: – #/definitions/employee description: Gestor do colaborador. pulseSendType: type: string 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 importBranchOfficeDTO: description: DTO com as informações de filial necesárias para importação type: object properties: code: type: integer format: int64 description: Código da filial name: type: string description: Nome da filial (Razão social) headquarterCode: type: integer format: int64 description: Código da empresa a qual a filial pertence headquarterName: type: string description: Nome da empresa a qual a filial pertence 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: string allOf: – #/definitions/autocompleteFields minimum: 1 description: Campos disponíveis para o autocomplete. fieldType: type: string allOf: – #/definitions/autocompleteFieldType description: Tipo do campo de autocomplete. expression: type: string 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 – ticket – employeeId properties: phoneNumber: type: string description: Número de telefone do colaborador shortLink: type: string description: Link curto para responder a pesquisa pelo SMS ticket: type: string description: Id do ticket enviado employeeId: type: string description: Id do colaborador pulse: description: O Pulso type: object properties: id: type: string description: Identificador único do pulso. createdAt: type: string format: date-time description: Momento em que o pulso foi criado endAt: type: string format: date-time description: Momento em que o pulso será finalizado survey: type: object allOf: – #/definitions/climateSurvey description: Pesquisa a qual o pulso está relacionado npsQuestion: type: boolean description: Informa se o pulso tem a questão NPS pulseSequence: type: integer format: int64 description: Número sequencial de identificação do pulso processed: type: boolean description: Indica se o pulso ja foi processado default: false leaders: type: array items: type: object allOf: – #/definitions/employee description: Líderes que serão avaliados no pulso. questions: type: array items: type: object allOf: – #/definitions/question description: Questões que serão utilizadas no pulso. dimensions: type: array items: type: object allOf: – #/definitions/dimension description: Questões que serão avaliadas no pulso. answers: type: array items: type: object allOf: – #/definitions/answerTicket description: Respostas dos respondentes do pulso. respondents: type: array items: type: object allOf: – #/definitions/pulseRespondent description: Respondentes deste pulso pulseRespondent: description: Respondente do pulso type: object properties: id: type: string description: Identificador do respondente pulse: type: object allOf: – #/definitions/pulse description: Pulso que será respondido respondent: type: object allOf: – #/definitions/employee description: Respondente do pulso email: type: string description: Email do respondente leader: type: object allOf: – #/definitions/employee description: Líder do respondente sent: type: boolean description: Flag identificando se o pulso será/foi enviado para o respondente statusErrorSent: type: string allOf: – #/definitions/pulseRespondentStatusType description: Erro ao enviar pulso errorDescription: type: string description: Descrição do erro isEmailSent: type: boolean description: Flag identificando problema no envio de email default: false isSmsSent: type: boolean description: Flag identificando problema no envio de SMS default: false 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. comment: type: string description: Comentário sobre a resposta. question: type: object allOf: – #/definitions/question description: Questão a qual a resposta está associada. createdAt: type: string format: date-time description: Instante em que a resposta foi criada answerTicket: type: object allOf: – #/definitions/answerTicket description: Resposta do pulso a qual a resposta está associada. isCommentVisible: type: boolean description: Flag identificadndo se o comentário é visível para o gestor answerTicket: description: Resposta de um respondente do pulso. type: object properties: id: type: string description: Identificador único da entidade. pulse: type: object allOf: – #/definitions/pulse description: Pulso a qual a resposta está associada. leader: type: object allOf: – #/definitions/employee description: Lider 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 isEmailSent: type: boolean description: Flag identificando se houve erro ao enviar email default: false isSmsSent: type: boolean description: Flag identificando se houve erro ao enviar SMS default: false answered: type: boolean description: Indica se a resposta foi respondida answers: type: array items: type: object allOf: – #/definitions/questionAnswer description: Respostas das perguntas do pulso 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. text: type: string description: Texto da questão. type: type: string allOf: – #/definitions/questionType description: Tipo da questão. enabled: type: boolean description: Indica se a questão está avida. createdAt: type: string format: date-time description: Instante em que a questão foi criada dimension: type: object allOf: – #/definitions/dimension description: 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. 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. choices: type: array items: type: object allOf: – #/definitions/questionChoice description: Opções da questão, caso ela seja do tipo de múltipla escolha. pulses: type: array items: type: object allOf: – #/definitions/pulse description: Pulsos relacionados 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. question: type: object allOf: – #/definitions/question description: Identificador único da questão a qual a opção pertence. hierarchy: description: Hierarquia. type: object properties: id: type: string description: Identificador único da entidade. name: type: string description: Nome da hierarquia. items: type: array items: type: object allOf: – #/definitions/hierarchyItem description: Itens hierarchyRevision: description: Histórico da hierarquia. type: object required: – hierarchy properties: id: type: string description: Identificador único da entidade. hierarchy: type: object allOf: – #/definitions/hierarchy description: Nome da hierarquia. startDate: type: string format: date description: Data de início items: type: array items: type: object allOf: – #/definitions/hierarchyItemRevision description: Itens questionBalance: description: Entidade utilizada para armazenar o balanceamento das questões utilizadas na pesquisa de clima type: object required: – id properties: id: type: string description: Identificador do balanceamento da questão question: type: object allOf: – #/definitions/question description: Questão referente ao balanço priority: type: integer format: int64 description: Prioridade da questão para ser utilizada no pulso 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. position: type: string description: Posição deste item na hierarquia. parent: type: object allOf: – #/definitions/hierarchyItem description: Pai deste item na hierarquia. employee: type: object allOf: – #/definitions/employee description: Colaborador que ocupa este item da hierarquia. children: type: array items: type: object allOf: – #/definitions/hierarchyItem description: Filhos desse item na hierarquia. hierarchyItemRevision: description: Item da hierarquia. type: object properties: id: type: string description: Identificador único da entidade hierarchy: type: object allOf: – #/definitions/hierarchyRevision description: Hierarquia a qual este item pertence position: type: string description: Posição deste item na hierarquia parent: type: object allOf: – #/definitions/hierarchyItemRevision description: Pai deste item na hierarquia employee: type: object allOf: – #/definitions/employee description: Colaborador que ocupa este item da hierarquia children: type: array items: type: object allOf: – #/definitions/hierarchyItem description: Filhos desse item na hierarquia 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 photoVersion: type: string description: Versão 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: string allOf: – #/definitions/genderType description: Gênero do colaborador dismissalDate: type: string format: date description: Data de demissão do colaborador pulseSendType: type: string 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 usernames: type: array items: type: object allOf: – #/definitions/employeeUsername description: Nome dos usuários. (Login G7) pulses: type: array items: type: object allOf: – #/definitions/pulse description: Pulsos relacionados ao líder surveys: type: array items: type: object allOf: – #/definitions/climateSurvey description: Pesquisas relacionados ao líder employeeUsername: description: Relação de colaborador e usuário type: object required: – username properties: id: type: string description: Identificador Único employee: type: object allOf: – #/definitions/employee description: Colaborador username: type: string description: Usuário evaluatedLeaderHistoric: description: . type: object properties: id: type: string maxLength: 32 description: Id dateAlt: type: string format: date-time description: Data da tentativa de envio de email employeeId: type: string description: Colaborador operation: type: string description: Descrição da Operação username: type: string description: Usuário do colaborador 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: string allOf: – #/definitions/companyType 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. 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: string allOf: – #/definitions/periodicity description: Periodicidade da pesquisa. dayOfWeek: type: string allOf: – #/definitions/dayOfWeek 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. 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. endTitle: type: string description: Link para acessar a imagem 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 showComments: type: boolean description: Indica se deve apresentar os comentários dos pulsos 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: string allOf: – #/definitions/weekOfMonth description: Semana do mês que a pesquisa deve ser realizada (apenas periodicity MONTHLY) monthlyPeriodicity: type: string allOf: – #/definitions/monthlyPeriodicity 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 leaders: type: array items: type: object allOf: – #/definitions/employee description: Líderes dimensionBalance: description: Entidade utilizada para armazenar o balanceamento das dimensões utilizadas na pesquisa de clima type: object properties: id: type: string description: Identificados do balanceamento da dimensão dimension: type: object allOf: – #/definitions/dimension description: Dimension priority: type: integer format: int64 description: Prioridade da dimensão para ser utilizada no pulso 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. createdAt: type: string format: date-time description: Instante em que a dimensão foi criada updatedAt: type: string format: date-time description: Instante em que a dimensão foi atualizada pulses: type: array items: type: object allOf: – #/definitions/pulse description: Pulsos relacionados questions: type: array items: type: object allOf: – #/definitions/question description: Questões que possuem essa dimensão companyHierarchy: description: Hierarquia da empresa type: object required: – 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 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. pulse: type: object allOf: – #/definitions/pulse description: Pulso ao qual esta resposta se refere dimension: type: object allOf: – #/definitions/dimension description: Dimensão ao qual esta resposta se refere leader: type: object allOf: – #/definitions/employee description: Lider ao qual esta resposta se refere pulseAnswer: type: object allOf: – #/definitions/answerTicket description: Identificador da AnswerTicketEntity a qual esta entidade está associada satisfaction: type: number format: double description: Resultado da resposta question: type: object allOf: – #/definitions/question description: Questão a qual esta entidade está associada branchOfficeHistorical: description: Histórico de filial type: object required: – startDate – branchOffice – employee 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 employee: type: object allOf: – #/definitions/employee description: Colaborador idg5: type: string description: Código do histórico de filial na g5 npsAnswer: description: Entidade que contém o resultado de cada resposta a pergunta NPS type: object properties: id: type: string description: Identificador do resultado pulseAnswer: type: object allOf: – #/definitions/answerTicket description: Resposta a qual esta entidade está relacionada pulse: type: object allOf: – #/definitions/pulse description: Pulso a qual esta entidade está relacionada satisfaction: type: integer format: int64 description: Stisfação da resposta pulseResultDimension: description: Tabela que contém o resultado de cada AnswerTicket type: object required: – id – pulse – dimension – satisfaction – satisfactionDifference properties: id: type: string description: Id do resultado pulse: type: object allOf: – #/definitions/pulse description: Pulso avaliado dimension: type: object allOf: – #/definitions/dimension description: Dimensão avaliada satisfaction: type: number format: double description: Satisfação satisfactionDifference: type: number format: double description: Diferença da satistação atual para o último pulso pulseResultLeaderDimension: description: Tabela que contém o resultado de cada AnswerTicket type: object required: – id – pulse – dimension – leader – satisfaction – satisfactionDifference – departmentSatisfaction – departmentSatisfactionDifference properties: id: type: string description: Id do resultado pulse: type: object allOf: – #/definitions/pulse description: Pulso avaliado dimension: type: object allOf: – #/definitions/dimension description: Dimensão avaliada leader: type: object allOf: – #/definitions/employee description: Líder avaliado satisfaction: type: number format: double description: Satisfação satisfactionDifference: type: number format: double description: Diferença da satistação atual para o último pulso departmentSatisfaction: type: number format: double description: Satisfação da dimensão no departamento departmentSatisfactionDifference: type: number format: double description: Diferença da satistação atual do departamento para o último pulso 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 pulse: type: object allOf: – #/definitions/pulse description: Pulso da tentativa de envio employeeId: type: string description: Id do colaborador 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: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE

Este artigo foi útil para você?

Leave A Comment