Création du git à la version 1.2.1

master
Yanaël GRETTE 4 years ago
commit 851f3b99df
  1. 2
      .gitignore
  2. 92
      openapi.yaml
  3. 64
      parameters/_index.yaml
  4. 6
      parameters/header/token.yaml
  5. 7
      parameters/path/idCollaborateur.yaml
  6. 7
      parameters/path/idEP.yaml
  7. 6
      parameters/path/idEvaluation.yaml
  8. 6
      parameters/path/idFormation.yaml
  9. 7
      parameters/path/idReferent.yaml
  10. 6
      parameters/path/mail.yaml
  11. 6
      parameters/path/type.yaml
  12. 6
      parameters/query/actionep.yaml
  13. 6
      parameters/query/assistants.yaml
  14. 6
      parameters/query/collaborateurs.yaml
  15. 5
      parameters/query/cptechlead.yaml
  16. 15
      parameters/query/fonctions.yaml
  17. 5
      parameters/query/idAgence.yaml
  18. 5
      parameters/query/idBu.yaml
  19. 8
      parameters/query/idCollaborateurs.yaml
  20. 6
      parameters/query/idReferent.yaml
  21. 6
      parameters/query/ra.yaml
  22. 6
      parameters/query/referents.yaml
  23. 6
      parameters/query/rh.yaml
  24. 6
      parameters/query/role.yaml
  25. 16
      paths/collaborateur/collaborateurbyid.yaml
  26. 16
      paths/collaborateur/collaborateurbymail.yaml
  27. 18
      paths/collaborateur/collaborateurs.yaml
  28. 16
      paths/collaborateur/collaborateursreferent.yaml
  29. 45
      paths/demandeformation/demandesformation.yaml
  30. 14
      paths/engagement/engagementbyid.yaml
  31. 15
      paths/engagement/engagements.yaml
  32. 13
      paths/ep/champs.yaml
  33. 16
      paths/ep/ep.yaml
  34. 16
      paths/ep/epbycollaborateur.yaml
  35. 16
      paths/ep/epbyid.yaml
  36. 17
      paths/ep/epi.yaml
  37. 16
      paths/ep/epreferent.yaml
  38. 16
      paths/ep/prochainepcollaborateur.yaml
  39. 14
      paths/ep/prochainsep.yaml
  40. 16
      paths/ep/prochainsepreferent.yaml
  41. 16
      paths/ep/rappelsignature.yaml
  42. 13
      paths/ep/update.yaml
  43. 31
      paths/formation/formationbyid.yaml
  44. 45
      paths/formation/formations.yaml
  45. 17
      paths/formation/prochainesformations.yaml
  46. 17
      paths/participationformation/participationbycollaborateur.yaml
  47. 16
      paths/referents/referentbycollaborateur.yaml
  48. 16
      paths/referents/referentbyid.yaml
  49. 16
      paths/referents/referents.yaml
  50. 0
      paths/saisie/saisie.yaml
  51. 8
      requestbodies/_index.yaml
  52. 5
      requestbodies/demandeFormation.yaml
  53. 5
      requestbodies/ep.yaml
  54. 5
      requestbodies/formation.yaml
  55. 65
      responses/_index.yaml
  56. 5
      responses/collaborateur/getcollaborateur.yaml
  57. 7
      responses/collaborateur/getlistecollaborateurs.yaml
  58. 7
      responses/collaborateur/getlistereferrents.yaml
  59. 5
      responses/engagement/engagement.yaml
  60. 7
      responses/engagement/engagements.yaml
  61. 1
      responses/ep/creerepi.yaml
  62. 5
      responses/ep/getep.yaml
  63. 7
      responses/ep/getlistechamps.yaml
  64. 7
      responses/ep/getlisteep.yaml
  65. 1
      responses/ep/notificationResponse.yaml
  66. 7
      responses/ep/participants.yaml
  67. 1
      responses/ep/rappelSignature.yaml
  68. 1
      responses/ep/updateep.yaml
  69. 5
      responses/erreur/forbidden.yaml
  70. 5
      responses/erreur/notfound.yaml
  71. 1
      responses/formation/creerDemandeFormation.yaml
  72. 1
      responses/formation/creerFormation.yaml
  73. 7
      responses/formation/demandesFormation.yaml
  74. 5
      responses/formation/getformation.yaml
  75. 7
      responses/formation/getlisteformations.yaml
  76. 7
      responses/formation/participationsformation.yaml
  77. 1
      responses/formation/reponseDemandeFormation.yaml
  78. 1
      responses/formation/supprimerFormation.yaml
  79. 1
      responses/formation/updateFormation.yaml
  80. 80
      schemas/_index.yaml
  81. 13
      schemas/collaborateur/agence.yaml
  82. 12
      schemas/collaborateur/businessunit.yaml
  83. 31
      schemas/collaborateur/collaborateur.yaml
  84. 12
      schemas/ep/augmentationsalaire.yaml
  85. 13
      schemas/ep/autorisation.yaml
  86. 23
      schemas/ep/demandedelegation.yaml
  87. 20
      schemas/ep/document.yaml
  88. 29
      schemas/ep/engagement.yaml
  89. 80
      schemas/ep/ep.yaml
  90. 12
      schemas/ep/participationEP.yaml
  91. 15
      schemas/ep/rdventretien.yaml
  92. 10
      schemas/erreur/erreur.yaml
  93. 36
      schemas/formation/demandeformation.yaml
  94. 50
      schemas/formation/formation.yaml
  95. 24
      schemas/formation/participationformation.yaml
  96. 14
      schemas/formation/theme.yaml
  97. 11
      schemas/saisie/booltexte.yaml
  98. 26
      schemas/saisie/champ.yaml
  99. 11
      schemas/saisie/deuxtextes.yaml
  100. 11
      schemas/saisie/notetexte.yaml
  101. Some files were not shown because too many files have changed in this diff Show More

2
.gitignore vendored

@ -0,0 +1,2 @@
OpenAPI_EP.code-workspace
_build/

@ -0,0 +1,92 @@
openapi: 3.0.0
info:
version: 1.2.1
title: API du serveur de l'application de digitalisation des EP
description:
API qui sra utilisée afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: http://localhost:3000/api
description: json-server pour les premiers tests
paths:
/collaborateurs:
$ref: ./paths/collaborateur/collaborateurs.yaml
/collaborateurs/{idCollaborateur}:
$ref: ./paths/collaborateur/collaborateurbyid.yaml
/collaborateurs/{mail}:
$ref: ./paths/collaborateur/collaborateurbymail.yaml
/collaborateurs/referent/{idReferent}:
$ref: ./paths/collaborateur/collaborateursreferent.yaml
/referents:
$ref: ./paths/referents/referents.yaml
/referents/{idReferent}:
$ref: ./paths/referents/referentbyid.yaml
/referents/collaborateur/{idCollaborateur}:
$ref: ./paths/referents/referentbycollaborateur.yaml
/ep:
$ref: ./paths/ep/ep.yaml
/ep/{idEP}:
$ref: ./paths/ep/epbyid.yaml
/ep/collaborateur/{idCollaborateur}:
$ref: ./paths/ep/epbycollaborateur.yaml
/ep/collaborateur/{idCollaborateur}/prochain:
$ref: ./paths/ep/prochainepcollaborateur.yaml
/ep/referent/{idReferent}:
$ref: ./paths/ep/epreferent.yaml
/ep/referent/{idReferent}/prochains:
$ref: ./paths/ep/prochainsepreferent.yaml
/ep/{idEP}/rappelSignature:
$ref: ./paths/ep/rappelsignature.yaml
/ep/update:
$ref: ./paths/ep/update.yaml
/ep/prochains:
$ref: ./paths/ep/prochainsep.yaml
/ep/epi:
$ref: ./paths/ep/epi.yaml
/formations:
$ref: ./paths/formation/formations.yaml
/formations/prochaines:
$ref: ./paths/formation/prochainesformations.yaml
/formations/{idFormation}:
$ref: ./paths/formation/formationbyid.yaml
/participationsformation/collaborateur/{idCollaborateur}:
$ref: ./paths/participationformation/participationbycollaborateur.yaml
/demandeformation:
$ref: ./paths/demandeformation/demandesformation.yaml
/engagements/:
$ref: ./paths/engagement/engagements.yaml
components:
schemas:
$ref: ./schemas/_index.yaml
parameters:
$ref: ./parameters/_index.yaml
responses:
$ref: ./responses/_index.yaml
requestBodies:
$ref: ./requestbodies/_index.yaml
securitySchemes:
$ref: ./securityschemes/_index.yaml
security:
- bearerAuth: []

@ -0,0 +1,64 @@
#HEADER
token:
$ref: ./header/token.yaml
#PATH
idCollaborateur:
$ref: ./path/idCollaborateur.yaml
idEP:
$ref: ./path/idEP.yaml
idEvaluation:
$ref: ./path/idEvaluation.yaml
idFormation:
$ref: ./path/idFormation.yaml
idReferent:
$ref: ./path/idReferent.yaml
mail:
$ref: ./path/mail.yaml
type:
$ref: ./path/type.yaml
#QUERY
actionep:
$ref: ./query/actionep.yaml
assistants:
$ref: ./query/assistants.yaml
collaborateurs:
$ref: ./query/collaborateurs.yaml
cptechlead:
$ref: ./query/cptechlead.yaml
fonctions:
$ref: ./query/fonctions.yaml
idAgence:
$ref: ./query/idAgence.yaml
idBu:
$ref: ./query/idBu.yaml
idCollaborateurs:
$ref: ./query/idCollaborateurs.yaml
ra:
$ref: ./query/ra.yaml
referents:
$ref: ./query/referents.yaml
rh:
$ref: ./query/rh.yaml
role:
$ref: ./query/role.yaml

@ -0,0 +1,6 @@
in: header
name: token
schema:
type: string
required: true
description: Token Keycloak que le serveur doit faire analyser

@ -0,0 +1,7 @@
in: path
name: idCollaborateur
schema:
type: string
format: uuid
description: id collaborateur
required: true

@ -0,0 +1,7 @@
in: path
name: idEP
schema:
type: string
format: uuid
required: true
description: id EP

@ -0,0 +1,6 @@
in: path
name: idEvaluation
schema:
type: string
required: true
description: id evaluation

@ -0,0 +1,6 @@
in: path
name: idFormation
schema:
type: number
required: true
description: id formation

@ -0,0 +1,7 @@
in: path
name: idReferent
schema:
type: string
format: uuid
required: true
description: id referent

@ -0,0 +1,6 @@
in: path
name: mail
schema:
type: string
description: mail de l'utilisateur connecté (mail obetenu via Keycloak)
required: true

@ -0,0 +1,6 @@
in: path
name: type
schema:
type: string
required: true
description: type de l'EP

@ -0,0 +1,6 @@
in: query
name: actionep
schema:
type: string
required: true
description: paramêtre pour indiquer l'action à faire au moment de la mise à jour de l'EP

@ -0,0 +1,6 @@
in: query
name: assistants
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les assistants dans la requête

@ -0,0 +1,6 @@
in: query
name: collaborateurs
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les collaborateurs dans la requête

@ -0,0 +1,5 @@
in: query
name: cptechlead
schema:
type: boolean
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les CP et TeachLead dans la requête

@ -0,0 +1,15 @@
in: query
name: fonctions
schema:
type: array
items:
type: string
enum:
- assistants
- cp
- commerciaux
- deliveries
- referent
- techlead
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les assistants dans la requête

@ -0,0 +1,5 @@
in: query
name: idAgence
schema:
type: number
description: id de l'agence à laquelle sont rattachées les données à récupérer

@ -0,0 +1,5 @@
in: query
name: idBu
schema:
type: number
description: id de la business unit à laquelle sont rattachées les données à récupérer

@ -0,0 +1,8 @@
in: query
name: idCollaborateurs
schema:
type: array
items:
type: string
format: uuid
description: Liste des id des collaborateurs à récupérer

@ -0,0 +1,6 @@
in: query
name: idReferent
schema:
type: string
format: uuid
description: id referent

@ -0,0 +1,6 @@
in: query
name: ra
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les responsables d'agence dans la requête

@ -0,0 +1,6 @@
in: query
name: referents
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les référents dans la requête

@ -0,0 +1,6 @@
in: query
name: rh
schema:
type: boolean
required: false
description: paramètre pour indiquer explicitement que l'on souhaite récupérer les RH dans la requête

@ -0,0 +1,6 @@
in: query
name: role
schema:
type: string
required: true
description: role de l'utilisateur

@ -0,0 +1,16 @@
get:
tags:
- collaborateurs
operationId: getCollaborateurById
description: recevoir un collaboratuer par son id
parameters:
- $ref: ../../parameters/path/idcollaborateur.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getcollaborateur.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,16 @@
get:
tags:
- collaborateurs
operationId: getCollaborateurByMail
description: recevoir un collaborateur par son mail
parameters:
- $ref: ../../parameters/path/mail.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getcollaborateur.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,18 @@
get:
tags:
- collaborateurs
operationId: getCollaborateurs
description: recevoir la liste des collaborateurs
parameters:
- $ref: ../../parameters/query/assistants.yaml
- $ref: ../../parameters/query/collaborateurs.yaml
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
- $ref: ../../parameters/query/referents.yaml
- $ref: ../../parameters/query/rh.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getlistecollaborateurs.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,16 @@
get:
tags:
- collaborateurs
operationId: getCollaborateursByReferent
description: Recevoir la liste des collaborateurs de le référent à la charge
parameters:
- $ref: ../../parameters/path/idreferent.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getcollaborateur.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,45 @@
get:
tags:
- demandesformation
operationId: getDemandesFormation
description: recevoir la liste des demandes de formations
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
responses:
'200':
$ref: ../../responses/formation/demandesFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
post:
tags:
- demandesformation
operationId: CreerDemandeFormation
description: créer une demande de formation pour un collaborateur
requestBody:
$ref: ../../requestbodies/demandeFormation.yaml
responses:
'201':
$ref: ../../responses/formation/creerDemandeFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
put:
tags:
- demandesformation
operationId: UpdateDemandeFormation
description: repondre a une demande de formation et la mettre a jour
requestBody:
$ref: ../../requestbodies/demandeFormation.yaml
responses:
'200':
$ref: ../../responses/formation/reponseDemandeFormation.yaml
'201':
$ref: ../../responses/formation/creerDemandeFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,14 @@
get:
tags:
- engagements
operationId: getEngagements
description: récupérer la liste des engagements
parameters:
- $ref: ../../parameters/path/idEngagement.yaml
responses:
'200':
$ref: ../../responses/engagement/engagement.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,15 @@
get:
tags:
- engagements
operationId: getEngagements
description: récupérer la liste des engagements
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
responses:
'200':
$ref: ../../responses/engagement/engagements.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,13 @@
get:
tags:
- ep
operationId: getChampsDocumentByEP
description: récupérer les documents en fonction du type de l'EP
parameters:
- $ref: ../../parameters/path/type.yaml
responses:
'200':
$ref: ../../responses/ep/getlistechamps.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,16 @@
get:
tags:
- ep
operationId: getEP
description: recevoir la liste de tous les EP collaborateurs
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
#- $ref: ../../parameters/query/debut.yaml
#- $ref: ../../parameters/query/fin.yaml
responses:
'200':
$ref: ../../responses/ep/getlisteep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,16 @@
get:
tags:
- ep
operationId: getEPByCollaborateur
description: recevoir la liste des EP collaborateur
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/getlisteep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,16 @@
get:
tags:
- ep
operationId: getEPById
description: recevoir un EP par via son id
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'200':
$ref: ../../responses/ep/getep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,17 @@
get:
tags:
- ep
operationId: createEPI
description: lancer la procedure entretien professionnel intermediaire
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
- $ref: ../../parameters/path/idReferent.yaml
responses:
'200':
$ref: ../../responses/ep/creerepi.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,16 @@
get:
tags:
- ep
operationId: getEPByReferent
description: recevoir la liste de tous les EP fait passer par le référent
parameters:
- $ref: ../../parameters/path/idReferent.yaml
responses:
'200':
$ref: ../../responses/ep/getlisteep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,16 @@
get:
tags:
- ep
operationId: getProchainEPByCollaborateur
description: recevoir son prochain EP
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/ep/getep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,14 @@
get:
tags:
- ep
operationId: getProchainsEP
description: recevoir la liste de tous les prochaines EP collaborateurs
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
responses:
'200':
$ref: ../../responses/ep/getlisteep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,16 @@
get:
tags:
- ep
operationId: getProchainsEPByReferent
description: recevoir la liste de tous les prochaines EP que fera passer le référent
parameters:
- $ref: ../../parameters/path/idReferent.yaml
responses:
'200':
$ref: ../../responses/ep/getlisteep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,16 @@
get:
tags:
- ep
operationId: rappelSignature
description : faire un rappel de signature EP
parameters:
- $ref: ../../parameters/path/idEP.yaml
responses:
'201':
$ref: ../../responses/ep/rappelSignature.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,13 @@
put:
tags:
- ep
operationId: updateEP
description: update ep
requestBody:
$ref: ../../requestbodies/ep.yaml
responses:
'200':
$ref: ../../responses/ep/updateep.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,31 @@
get:
tags:
- formations
operationId: getFormationById
description: Récupérer une formation par son id
parameters:
- $ref: ../../parameters/path/idFormation.yaml
responses:
'200':
$ref: ../../responses/formation/getformation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml
delete:
tags:
- formations
operationId: deleteFormation
description: Supprimer une formation
parameters:
- $ref: ../../parameters/path/idFormation.yaml
responses:
'204':
$ref: ../../responses/formation/supprimerFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,45 @@
get:
tags:
- formations
operationId: getFormations
description: recevoir la liste des formations
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
responses:
'200':
$ref: ../../responses/formation/getlisteformations.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
post:
tags:
- formations
operationId: ajouterFormation
description: ajouter une nouvelle formations
requestBody:
$ref: ../../requestbodies/formation.yaml
responses:
'201':
$ref: ../../responses/formation/creerFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
put:
tags:
- formations
operationId: updateFormation
description: update une formation
requestBody:
$ref: ../../requestbodies/formation.yaml
responses:
'200':
$ref: ../../responses/formation/updateFormation.yaml
'201':
$ref: ../../responses/formation/creerFormation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,17 @@
get:
tags:
- formations
operationId: getProchainesFormation
description: Récupérer les formations plannifié et/ou replannifié
parameters:
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
responses:
'200':
$ref: ../../responses/formation/getlisteformations.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,17 @@
get:
tags:
- participationsFormations
operationId: getParticipationByCollaborateur
description: récupérer la liste des formations auxquelles est inscrit le collaborateur
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/formation/participationsformation.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,16 @@
get:
tags:
- referents
operationId: getReferentByCollaborateur
description: renvoie la liste des collaborateurs referents
parameters:
- $ref: ../../parameters/path/idCollaborateur.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getlistecollaborateurs.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,16 @@
get:
tags:
- referents
operationId: getReferentById
description: recevoir un referent par son id
parameters:
- $ref: ../../parameters/path/idReferent.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getcollaborateur.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml
'404':
$ref: ../../responses/erreur/notfound.yaml

@ -0,0 +1,16 @@
get:
tags:
- referents
operationId: getReferents
description: recevoir la liste de tous les referents
parameters:
- $ref: ../../parameters/query/cptechlead.yaml
- $ref: ../../parameters/query/idBu.yaml
- $ref: ../../parameters/query/idAgence.yaml
- $ref: ../../parameters/query/referents.yaml
responses:
'200':
$ref: ../../responses/collaborateur/getlistereferrents.yaml
'403':
$ref: ../../responses/erreur/forbidden.yaml

@ -0,0 +1,8 @@
epBody:
$ref: ./ep.yaml
formationBody:
$ref: ./formation.yaml
demandeFormationBody:
$ref: ./demandeFormation.yaml

@ -0,0 +1,5 @@
required: true
content:
application/json:
schema:
$ref: ../schemas/formation/demandeformation.yaml

@ -0,0 +1,5 @@
required: true
content:
application/json:
schema:
$ref: ../schemas/ep/ep.yaml

@ -0,0 +1,5 @@
required: true
content:
application/json:
schema:
$ref: ../schemas/formation/formation.yaml

@ -0,0 +1,65 @@
NotFoundResponse:
$ref: ./erreur/notfound.yaml
ForbiddenResponse:
$ref: ./erreur/forbidden.yaml
getCollaborateurResponse:
$ref: ./collaborateur/getcollaborateur.yaml
getlistecollaborateursResponse:
$ref: ./collaborateur/getlistecollaborateurs.yaml
getlistereferentsResponse:
$ref: ./collaborateur/getlistereferrents.yaml
getepResponse:
$ref: ./ep/getep.yaml
getlisteepResponse:
$ref: ./ep/getlisteep.yaml
updateepResponse:
$ref: ./ep/updateep.yaml
participantsResponse:
$ref: ./ep/participants.yaml
notificationResponse:
$ref: ./ep/notificationResponse.yaml
demandeepiResponse:
$ref: ./ep/creerepi.yaml
rappelsignatureResponse:
$ref: ./ep/rappelSignature.yaml
getlisteformationsResponse:
$ref: ./formation/getlisteformations.yaml
getformationResponse:
$ref: ./formation/getformation.yaml
creerFormationResponse:
$ref: ./formation/creerFormation.yaml
updateFormationResponse:
$ref: ./formation/updateFormation.yaml
supprimerFormationResponse:
$ref: ./formation/supprimerFormation.yaml
#evaluationsResponse:
# $ref: ./formation/evaluations.yaml
listedemandeformationResponse:
$ref: ./formation/demandesFormation.yaml
creerDemandeFormationResponse:
$ref: ./formation/creerDemandeFormation.yaml
reponseDemandeFormationResponse:
$ref: ./formation/reponseDemandeFormation.yaml

@ -0,0 +1,5 @@
description: OK
content:
application/json:
schema:
$ref: ../../schemas/collaborateur/collaborateur.yaml

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/collaborateur/collaborateur.yaml

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/collaborateur/collaborateur.yaml

@ -0,0 +1,5 @@
description: OK
content:
application/json:
schema:
$ref: ../../schemas/ep/engagement.yaml

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/ep/engagement.yaml

@ -0,0 +1 @@
description: ajout EPI fait

@ -0,0 +1,5 @@
description: OK
content:
application/json:
schema:
$ref: ../../schemas/ep/ep.yaml

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/ep/champ.yaml

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/ep/ep.yaml

@ -0,0 +1 @@
description: Notification envoyé avec succès

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/ep/participationEP.yaml

@ -0,0 +1 @@
description: Notification de rappel envoyé

@ -0,0 +1 @@
description: EP mise à jour avec succès

@ -0,0 +1,5 @@
description: Acces interdit
content:
application/json:
schema:
$ref: ../../schemas/erreur/erreur.yaml

@ -0,0 +1,5 @@
description: La ressource introuvable
content:
application/json:
schema:
$ref: ../../schemas/erreur/erreur.yaml

@ -0,0 +1 @@
description: Demande formation créée

@ -0,0 +1 @@
description: Formation créée avec succès

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/formation/demandeformation.yaml

@ -0,0 +1,5 @@
description: OK
content:
application/json:
schema:
$ref: ../../schemas/formation/formation.yaml

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/formation/formation.yaml

@ -0,0 +1,7 @@
description: OK
content:
application/json:
schema:
type: array
items:
$ref: ../../schemas/formation/participationformation.yaml

@ -0,0 +1 @@
description: demande formation mise à jour

@ -0,0 +1 @@
description: formation supprimée

@ -0,0 +1 @@
description: formation mise à jour

@ -0,0 +1,80 @@
#Collaborateur
AgenceModel:
$ref: ./collaborateur/agence.yaml
BusinessUnitModel:
$ref: ./collaborateur/businessunit.yaml
CollaborateurModel:
$ref: ./collaborateur/collaborateur.yaml
#EP
AugmentationSalaireModel:
$ref: ./ep/augmentationsalaire.yaml
AutorisationModel:
$ref: ./ep/autorisation.yaml
DemandeDelegationModel:
$ref: ./ep/demandedelegation.yaml
DocumentModel:
$ref: ./ep/document.yaml
EngagementModel:
$ref: ./ep/engagement.yaml
EpModel:
$ref: ./ep/ep.yaml
ParticipationEPModel:
$ref: ./ep/participationEP.yaml
RDVEntretienModel:
$ref: ./ep/rdventretien.yaml
#Saisie
ChampModel:
$ref: ./saisie/champ.yaml
SaisieModel:
$ref: ./saisie/saisie.yaml
SaisieBoolTexteModel:
$ref: ./saisie/booltexte.yaml
SaisieDeuxTextesModel:
$ref: ./saisie/deuxtextes.yaml
SaisieNoteTexteModel:
$ref: ./saisie/notetexte.yaml
SaisieObjectifsModel:
$ref: ./saisie/objectifs.yaml
SaisieUnBoolModel:
$ref: ./saisie/unbool.yaml
SaisieUnTexteModel:
$ref: ./saisie/untexte.yaml
#Formation
FormationModel:
$ref: ./formation/formation.yaml
DemandeFormationModel:
$ref: ./formation/demandeformation.yaml
ThemeModel:
$ref: ./formation/theme.yaml
ParticipationFormationModel:
$ref: ./formation/participationformation.yaml
#Erreur
ErreurModel:
$ref: ./erreur/erreur.yaml

@ -0,0 +1,13 @@
type: object
properties:
id:
type: number
nom:
type: string
bus:
type: array
items:
$ref: ./businessunit.yaml
required:
- id
- nom

@ -0,0 +1,12 @@
type: object
properties:
id:
type: number
nom:
type: string
agence:
$ref: ./agence.yaml
required:
- id
- nom
- agence

@ -0,0 +1,31 @@
type: object
properties:
id:
type: string
format: uuid
nom:
type: string
prenom:
type: string
mailApside:
type: string
format: email
dateArrivee:
type: string
format: date-time
dateDepart:
type: string
format: date-time
businessUnit:
$ref: ./businessunit.yaml
referent:
$ref: ./collaborateur.yaml
required:
- id
- nom
- prenom
- agence
- mailApside
- dateArrive
- businessunit
- referent

@ -0,0 +1,12 @@
type: object
properties:
id:
type: number
augmentation:
type: number
ep:
$ref: ./ep.yaml
required:
- id
- augmentation
- ep

@ -0,0 +1,13 @@
type: object
properties:
id:
type: number
referent:
$ref: ../collaborateur/collaborateur.yaml
ep:
$ref: ./ep.yaml
required:
- id
- idReferent
- ep

@ -0,0 +1,23 @@
type: object
properties:
id:
type: integer
ep:
$ref: ./ep.yaml
referent:
$ref: ../collaborateur/collaborateur.yaml
dateDemande:
type: string
format: date-time
reponse:
type: boolean
dateReponse:
type: string
format: date-time
raisonRefus:
type: string
required:
- id
- ep
- referent
- dateDemande

@ -0,0 +1,20 @@
type: object
properties:
id:
type: integer
type:
type: string
ep:
$ref: ./ep.yaml
saisieCollaborateur:
type: array
items:
$ref: ../saisie/saisie.yaml
saisieCommercial:
type: array
items:
$ref: ../saisie/saisie.yaml
required:
- id
- type

@ -0,0 +1,29 @@
type: object
properties:
id:
type: number
example:
action:
type: string
modalite:
type: string
dispositif:
type: string
datePrevisionnelle:
type: string
format: date-time
realisable:
type: boolean
realise:
type: boolean
raisonNonRealisable:
type: string
ep:
$ref: ./ep.yaml
required:
- id
- action
- modalite
- dispositif
- datePrevisionnelle
- ep

@ -0,0 +1,80 @@
type: object
properties:
id:
type: number
type:
type: string
dateCreation:
type: string
format: date-time
dateDisponibilite:
type: string
format: date-time
datePrevisionnelle:
type: string
format: date-time
dateSaisie:
type: string
format: date-time
etat:
type: number
cv:
type: string
dateEntretien:
type: string
format: date-time
typeEntretien:
type: string
obligatoire:
type: boolean
commentaireAssistant:
type: string
commentaireCollaborateur:
type: string
commentaireCommercial:
type: string
collaborateur:
$ref: ../collaborateur/collaborateur.yaml
referent:
$ref: ../collaborateur/collaborateur.yaml
demandesFormation:
type: array
items:
$ref: ../formation/demandeformation.yaml
participants:
type: array
items:
$ref: ../collaborateur/collaborateur.yaml
engagements:
type: array
items:
$ref: ./engagement.yaml
propositionsRDV:
type: array
items:
$ref: ./rdventretien.yaml
augmentationSalaire:
$ref: ./augmentationsalaire.yaml
autorisations:
type: array
items:
$ref: ./autorisation.yaml
demandesDelegation:
type: array
items:
$ref: ./demandedelegation.yaml
documents:
type: array
items:
$ref: ./document.yaml
required:
- id
- type
- dateCreation
- dateDisponibilite
- datePrevisionnelle
- etat
- obligatoire
- collaborateur
- documents

@ -0,0 +1,12 @@
type: object
properties:
id:
type: number
collaborateur:
$ref: ../collaborateur/collaborateur.yaml
ep:
$ref: ./ep.yaml
required:
- id
- collaborateur
- ep

@ -0,0 +1,15 @@
type: object
properties:
id:
type: number
example:
typeEntretien:
type: string
example:
dateEntretien:
type: string
format: date-time
required:
- id
- typeEntretien
- dateEntretien

@ -0,0 +1,10 @@
type: object
properties:
code:
type: string
message:
type: string
required:
- code
- message

@ -0,0 +1,36 @@
type: object
properties:
id:
type: integer
status:
type: string
libelle:
type: string
description:
type: string
demandeRH:
type: boolean
dateDemande:
type: string
format: date-time
reponse:
type: boolean
commentaireRefus:
type: string
dateDerniereReponse:
type: string
format: date-time
theme:
$ref: ./theme.yaml
ep:
$ref: ../ep/ep.yaml
required:
- id
- status
- libelle
- description
- demandeRH
- dateDemande
- ep
- theme

@ -0,0 +1,50 @@
type: object
properties:
id:
type: integer
intitule:
type: string
origine:
type: string
statut:
type: string
enum: [Planifiée, Replanifiée, Réalisée, Annulée]
dateDebut:
type: string
format: date-time
dateFin:
type: string
format: date-time
heure:
type: number
jour:
type: number
organisme:
type: string
mode:
type: string
enum: [Présentiel, Visioconférence]
type:
type: string
enum: [Externe, Interne]
estCertifie:
type: boolean
participantsFormation:
type: array
items:
$ref: participationformation.yaml
required:
- id
- intitule
- origine
- status
- dateDebut
- dateFin
- heure
- jour
- organisme
- mode
- type
- estCertifie

@ -0,0 +1,24 @@
type: object
properties:
id:
type: number
dateCreation:
type: string
format: date-time
formation:
$ref: ./formation.yaml
demandeformation:
$ref: ./demandeformation.yaml
estEvaluee:
type: boolean
evaluations:
type: array
items:
$ref: ../saisie/saisie.yaml
required:
- id
- dateCreation
- formation
- demandeformation

@ -0,0 +1,14 @@
type: object
properties:
id:
type: integer
nom:
type: string
demandesFormation:
type: array
items:
$ref: ./demandeformation.yaml
required:
- id
- nom
- demandesFormation

@ -0,0 +1,11 @@
allOf:
- $ref: ./saisie.yaml
- type: object
properties:
bool:
type: boolean
texte:
type: string
required:
- bool
- type

@ -0,0 +1,26 @@
type: object
properties:
id:
type: integer
texte:
type: string
section:
type: string
ordre:
type: number
typeChamp:
type: string
typeSaisie:
type: string
saisies:
type: array
items:
$ref: ./saisie.yaml
required:
- id
- texte
- section
- ordre
- typeChamp
- typeSaisie

@ -0,0 +1,11 @@
allOf:
- $ref: ./saisie.yaml
- type: object
properties:
texte1:
type: string
texte2:
type: string
required:
- texte1
- texte2

@ -0,0 +1,11 @@
allOf:
- $ref: ./saisie.yaml
- type: object
properties:
note:
type: number
texte:
type: string
required:
- note
- texte

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save