2.0info: 1.0.0 moods_action_plan x-senior-domain: hcm x-senior-domain-path: hcm x-senior-service-path: moods_action_plan contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/hcmsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /moods_action_plan/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/healthCheckEnum description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials 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/healthCheckEnum description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/getActionsByActionPlan: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idActionPlan properties: idActionPlan: type: string description: Id do plano de ação responses: 200: description: Ok schema: type: object required: – idActionPlan – name – objective properties: idActionPlan: type: string description: Id do plano de ação name: type: string description: Nome do plano de ação objective: type: string description: Objetivo do plano de ação actions: type: array items: type: object allOf: – #/definitions/actions description: Ações vinculadas ao plano de ação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: idActionPlan description: Id do plano de ação in: query required: true type: string responses: 200: description: Ok schema: type: object required: – idActionPlan – name – objective properties: idActionPlan: type: string description: Id do plano de ação name: type: string description: Nome do plano de ação objective: type: string description: Objetivo do plano de ação actions: type: array items: type: object allOf: – #/definitions/actions description: Ações vinculadas ao plano de ação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/getActionPlan: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idActionPlan properties: idActionPlan: type: string description: Id do plano de ação responses: 200: description: Ok schema: type: object allOf: – #/definitions/actionPlanCreateDTO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: idActionPlan description: Id do plano de ação in: query required: true type: string responses: 200: description: Ok schema: type: object allOf: – #/definitions/actionPlanCreateDTO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/exportAttachment: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/exportActionPlan: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/exportActions: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/exportActionResult: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/exportDimension: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/exportEmployee: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/exportEmployeeUsername: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionPlanCreate: post: description: Criar Plano de Ação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name – responsibles – deadline – dimension – objective properties: name: type: string description: Nome descritivo para o plano de ação responsibles: type: array items: type: string minimum: 1 description: Lista de responsáveis pelo plano de ação deadline: type: string format: date description: Data de entrega dimension: type: string description: Id da dimensão vinculada ao plano de ação objective: type: string description: Objetivo do plano de ação attachments: type: array items: type: string description: Lista de arquivos anexados responses: 200: description: Ok schema: type: object required: – actionPlan properties: actionPlan: type: object allOf: – #/definitions/actionPlan description: Plano de ação criado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionCreate: post: description: Criar ação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idActionPlan – name – responsibles – deadline – objective – generatedByIA properties: idActionPlan: type: string description: Id do plano de ação name: type: string description: Nome da ação responsibles: type: array items: type: string minimum: 1 description: Lista de responsáveis pela ação deadline: type: string format: date description: Data limite para conclusão da ação objective: type: string description: Objetivo da ação attachments: type: array items: type: string description: Lista de arquivos anexados generatedByIA: type: boolean description: Indica se a ação foi gerada por IA responses: 200: description: Ok schema: type: object required: – actions properties: actions: type: object allOf: – #/definitions/actions description: Ação criada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionResultCreate: post: description: Criar resultado da ação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idAction – responsible – percentage – comment properties: idAction: type: string description: Id da ação responsible: type: string description: Id do colaborador responsável pelo resultado percentage: type: number format: double description: Percentual de conclusão da ação com este resultado minimum: 1 maximum: 100 comment: type: string description: Comentário sobre o resultado gerado attachments: type: array items: type: string description: Lista atualizada de arquivos anexados responses: 200: description: Ok schema: type: object required: – actionResult properties: actionResult: type: object allOf: – #/definitions/actionResult description: Resultado da ação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionPlanDelete: post: description: Excluir plano de açã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 do plano de ação responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionDelete: post: description: Excluir açã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 ação responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionResultDelete: post: description: Excluir resultado da açã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 do resultado da ação responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionPlanUpdate: post: description: Atualizar plano de ação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – name – responsibles – deadline – dimension – objective properties: id: type: string description: Id do plano de ação name: type: string description: Nome do plano de ação responsibles: type: array items: type: string minimum: 1 description: Lista de responsáveis pelo plano de ação deadline: type: string format: date description: Data limite para conclusão do plano de ação dimension: type: string description: Id da dimensão vinculada ao plano de ação objective: type: string description: Objetivo do plano de ação attachments: type: array items: type: string description: Lista atualizada de arquivos anexados responses: 200: description: Ok schema: type: object required: – actionPlan properties: actionPlan: type: object allOf: – #/definitions/actionPlan description: Plano de ação atualizado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionUpdate: post: description: Atualizar ação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – name – responsibles – deadline – objective – generatedByIA properties: id: type: string description: Id da ação name: type: string description: Nome da ação responsibles: type: array items: type: string minimum: 1 description: Lista de responsáveis pela ação deadline: type: string format: date description: Data limite para conclusão da ação objective: type: string description: Objetivo da ação attachments: type: array items: type: string description: Lista de arquivos a serem anexados generatedByIA: type: boolean description: Indica se a ação foi gerada por IA responses: 200: description: Ok schema: type: object required: – actions properties: actions: type: object allOf: – #/definitions/actions description: Ação atualizada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/actionResultUpdate: post: description: Atualizar resultado da ação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – percentage – comment properties: id: type: string description: Id do resultado da ação percentage: type: number format: double description: Percentual de conclusão atualizado da ação com este resultado minimum: 1 maximum: 100 comment: type: string description: Comentário atualizado sobre o resultado gerado attachments: type: array items: type: string description: Lista atualizada de arquivos anexados responses: 200: description: Ok schema: type: object required: – actionResult properties: actionResult: type: object allOf: – #/definitions/actionResult description: Resultado da ação atualizado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/attachmentDelete: post: description: Excluir o anexo do repositório tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – fileId properties: fileId: type: string description: Identificador único do anexo responses: 200: description: Ok schema: type: object required: – result properties: result: type: boolean description: Resultado da operação (OK) 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/attachmentsDelete: post: description: Excluir o anexo do repositório tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – fileIds properties: fileIds: type: array items: type: string minimum: 1 description: Identificador único do anexo responses: 200: description: Ok schema: type: object required: – result properties: result: type: boolean description: Resultado da operação (OK) 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/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. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/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 – attachmentId properties: fileId: type: string description: O identificador único do arquivo. Composto pelo ID + o nome do arquivo, separados por /. attachmentId: type: string description: O identificador do arquivo na base moods 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/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. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/importAttachment: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/importActionPlan: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/importActions: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/importActionResult: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/importDimension: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/importEmployee: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/actions/importEmployeeUsername: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/signals/updatePercentages: post: description: Atualizar porcentagens tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – idActionPlan properties: idActionPlan: type: string description: Id do plano de ação responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/importAttachmentEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/exportAttachmentEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/importActionPlanEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/exportActionPlanEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/importActionsEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/exportActionsEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/importActionResultEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/exportActionResultEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/importDimensionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/exportDimensionEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/importEmployeeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/exportEmployeeEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/importEmployeeUsernameEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/events/exportEmployeeUsernameEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /moods_action_plan/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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/employeeUsername responses: 200: description: The created resource schema: #/definitions/employeeUsername 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number – name: filter in: query type: string – name: groupby in: query type: string – name: displayfields in: query type: string – name: translation in: query type: boolean responses: 200: description: Ok schema: type: object properties: totalPages: description: Quantidade total de páginas: total de registros dividido pelo tamanho solicitado da página, arredondado pra cima type: integer format: int64 totalElements: description: Quantidade total de registros type: integer format: int64 contents: type: array items: #/definitions/employeeUsername 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/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/editEmployeeUsername responses: 200: description: Ok schema: #/definitions/editEmployeeUsername 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/employeeUsername responses: 200: description: Ok schema: #/definitions/employeeUsername 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employeeUsername 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /moods_action_plan/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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericErrordefinitions: healthCheckEnum: type: string enum: – UP – DOWN description: Status de saúde da aplicação: * `UP` – Saudável * `DOWN` – Ruim genderType: type: string enum: – MALE – FEMALE description: Gênero dos colaboradores: * `MALE` – Masculino * `FEMALE` – Feminino employeeType: type: string enum: – EMPLOYEE – THIRDPARTY description: Tipo do colaborador: * `EMPLOYEE` – Colaborador * `THIRDPARTY` – Terceiro actionplanStatus: type: string enum: – NAO_INICIADO – EM_ANDAMENTO – CONCLUIDO – ATIVO – CANCELADO description: Status: * `NAO_INICIADO` – Não iniciado * `EM_ANDAMENTO` – Em andamento * `CONCLUIDO` – Concluído * `ATIVO` – Ativo * `CANCELADO` – Cancelado userNotificationKind: type: string enum: – Operational – Management – News description: User notification kind.: * `Operational` – Operational * `Management` – Management * `News` – News userNotificationPriority: type: string enum: – Error – Alert – None description: User notification priority.: * `Error` – Error * `Alert` – Alert * `None` – None eventEmailFormat: type: string enum: – HTML – PLAIN_TEXT description: Format of the email: * `HTML` – Html * `PLAIN_TEXT` – Plain Text fieldType: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – LOCALDATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME description: FieldType: * `BINARY` – Binary * `BOOLEAN` – Boolean * `DATE` – Date * `DATETIME` – Datetime * `LOCALDATETIME` – Localdatetime * `DOUBLE` – Double * `ENUM` – Enum * `INTEGER` – Integer * `MONEY` – Money * `STRING` – String * `TIME` – Time fileFormat: type: string enum: – CSV – FLAT – JSON – XML description: FileFormat: * `CSV` – Csv * `FLAT` – Flat * `JSON` – Json * `XML` – Xml hookFunction: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE description: HookFunction: * `BEFORE_PARSE` – Before parse * `BEFORE_CONVERSION` – Before conversion * `ON_ERROR` – On error * `VALIDATE` – Validate eventType: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START description: EventType: * `CHUNK` – Chunk * `DOWNLOAD` – Download * `ERROR` – Error * `FINISH` – Finish * `START` – Start errorStrategy: type: string enum: – CALL_SCRIPT – IGNORE – STOP description: ErrorStrategy: * `CALL_SCRIPT` – Call script * `IGNORE` – Ignore * `STOP` – Stop status: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING description: Status: * `DONE` – Done * `DONE_WITH_ERRORS` – Done with errors * `DOWNLOADING` – Downloading * `ERROR` – Error * `NOT_STARTED` – Not started * `RUNNING` – Running errorType: type: string enum: – CONVERT_ERROR – SERVICE_ERROR description: ErrorType: * `CONVERT_ERROR` – Convert error * `SERVICE_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/healthCheckEnum description: Status actionPlanCreateDTO: description: type: object required: – name – deadline – dimension – objective properties: id: type: string description: ID do plano de ação name: type: string description: Nome do plano de ação deadline: type: string format: date description: Data limite para conclusão do plano de ação dimension: type: object allOf: – #/definitions/dimension description: Id da dimensão vinculada ao plano de ação objective: type: string description: Objetivo do plano de ação employees: type: array items: type: object allOf: – #/definitions/employee description: Colaboradores vinculados ao plano de ação attachments: type: array items: type: object allOf: – #/definitions/attachment description: Lista de arquivos anexados attachment: description: Anexo type: object required: – fileId properties: id: type: string description: Identificador único do anexo fileId: type: string description: Identificador único do arquivo, gerado pelo Blob Service actionPlan: type: array items: type: object allOf: – #/definitions/actionPlan description: Plano de ação ao qual o anexo está vinculado actions: type: array items: type: object allOf: – #/definitions/actions description: Ação do plano de ação à qual o anexo está vinculado actionResult: type: array items: type: object allOf: – #/definitions/actionResult description: Resultado da ação ao qual o anexo está vinculado createdBy: type: string description: createdAt: type: string format: date-time description: lastUpdatedBy: type: string description: lastUpdatedAt: type: string format: date-time description: actionPlan: description: Plano de ação type: object required: – name – deadline – dimension – objective – status – percentageCompletion properties: id: type: string description: Identificador único do plano de ação name: type: string description: Nome do plano de ação deadline: type: string format: date description: Data limite para conclusão do plano de ação dimension: type: object allOf: – #/definitions/dimension description: Id da dimensão vinculada ao plano de ação objective: type: string description: Objetivo do plano de ação status: type: string allOf: – #/definitions/actionplanStatus description: Status do plano de ação percentageCompletion: type: number format: double description: Percentual de conclusão do plano de ação baseado nos percentuais das ações attachments: type: array items: type: object allOf: – #/definitions/attachment description: Anexos vinculados ao plano de ação employees: type: array items: type: object allOf: – #/definitions/employee description: Colaboradores vinculados ao plano de ação actions: type: array items: type: object allOf: – #/definitions/actions description: Ações vinculadas ao plano de ação createdBy: type: string description: createdAt: type: string format: date-time description: lastUpdatedBy: type: string description: lastUpdatedAt: type: string format: date-time description: actions: description: Ação do plano de ação type: object required: – actionPlan – name – deadline – objective – generatedByIA – status – percentageCompletion – createByEmployee properties: id: type: string description: Identificador único da ação actionPlan: type: object allOf: – #/definitions/actionPlan description: Identificador único do plano de ação name: type: string description: Nome descritivo para a ação deadline: type: string format: date description: Data limite para conclusão da ação objective: type: string description: Objetivo da ação generatedByIA: type: boolean description: Indica se a ação foi gerada por IA status: type: string allOf: – #/definitions/actionplanStatus description: Status da ação percentageCompletion: type: number format: double description: Percentual de conclusão da ação baseado nos percentuais dos resultados attachments: type: array items: type: object allOf: – #/definitions/attachment description: Anexos da ação employees: type: array items: type: object allOf: – #/definitions/employee description: Colaboradores vinculados ao plano de ação actionresults: type: array items: type: object allOf: – #/definitions/actionResult description: Resultados vinculados a ação createByEmployee: type: object allOf: – #/definitions/employee description: Criado pelo employee createdBy: type: string description: createdAt: type: string format: date-time description: lastUpdatedBy: type: string description: lastUpdatedAt: type: string format: date-time description: actionResult: description: Resultado da ação type: object required: – actions – employee – percentage – comment – excluded properties: id: type: string description: Identificador único do resultado actions: type: object allOf: – #/definitions/actions description: Identificador único da ação employee: type: object allOf: – #/definitions/employee description: Identificador único do colaborador que executou a ação percentage: type: number format: double description: Percentual de conclusão da ação com este resultado comment: type: string description: Comentário sobre o resultado gerado excluded: type: boolean description: Informa se este resultado foi excluído pelo usuário attachments: type: array items: type: object allOf: – #/definitions/attachment description: Anexos do resultado createdBy: type: string description: createdAt: type: string format: date-time description: lastUpdatedBy: type: string description: lastUpdatedAt: type: string format: date-time description: 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 actionplans: type: array items: type: object allOf: – #/definitions/actionPlan description: Plano de ação ao qual a dimensão está vinculada employee: description: Colaborador type: object properties: id: type: string description: Identificador único da entidade registernumber: type: integer format: int64 description: Código do colaborador minimum: 1 maximum: 999999999 cpf: type: string description: CPF do Colaborador 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 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 employeeType: type: string allOf: – #/definitions/employeeType description: Tipo do colaborador actionPlan: type: array items: type: object allOf: – #/definitions/actionPlan description: Plano de ação ao qual o colaborador está vinculado actions: type: array items: type: object allOf: – #/definitions/actions description: Ação do plano de ação à qual o colaborador está vinculado actionresults: type: array items: type: object allOf: – #/definitions/actionResult description: Resultado da ação ao qual o colaborador está vinculado 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 editEmployeeUsername: type: object required: – id allOf: – #/definitions/employeeUsername 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 enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE description: A symbolic code identifying the category of the reason of the error: * `BAD_REQUEST` – Bad Request * `UNAUTHORIZED` – Unauthorized * `PAYMENT_REQUIRED` – Payment Required * `OBJECT_NOT_FOUND` – Object Not Found * `REQUEST_TIMEOUT` – Request Timeout * `GONE` – Gone * `UNPROCESSABLE` – Unprocessable * `INTERNAL_ERROR` – Internal Error * `NOT_IMPLEMENTED` – Not Implemented * `SERVICE_UNAVAILABLE` – Service Unavailable * `INSUFFICIENT_STORAGE` – Insufficient Storage