Mise à jour avec ajout de la BU et ajout des modèles pour les documents EP

master
Yanaël GRETTE 4 years ago
parent 3472c998b6
commit 85dbe42a5d
  1. 172
      src/app/api-swagger/api/default.service.ts
  2. 16
      src/app/api-swagger/model/businessUnitModel.ts
  3. 19
      src/app/api-swagger/model/champModel.ts
  4. 2
      src/app/api-swagger/model/collaborateurModel.ts
  5. 2
      src/app/api-swagger/model/epModel.ts
  6. 9
      src/app/api-swagger/model/models.ts
  7. 18
      src/app/api-swagger/model/saisieBoolTexteModel.ts
  8. 18
      src/app/api-swagger/model/saisieDeuxTextesModel.ts
  9. 19
      src/app/api-swagger/model/saisieModel.ts
  10. 18
      src/app/api-swagger/model/saisieNoteTexteModel.ts
  11. 19
      src/app/api-swagger/model/saisieObjectifsModel.ts
  12. 17
      src/app/api-swagger/model/saisieUnBoolModel.ts
  13. 17
      src/app/api-swagger/model/saisieUnTexteModel.ts

@ -17,6 +17,7 @@ import { CustomHttpUrlEncodingCodec } from '../encoder';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
import { ChampModel } from '../model/champModel';
import { CollaborateurModel } from '../model/collaborateurModel'; import { CollaborateurModel } from '../model/collaborateurModel';
import { DemandeFormationModel } from '../model/demandeFormationModel'; import { DemandeFormationModel } from '../model/demandeFormationModel';
import { EpModel } from '../model/epModel'; import { EpModel } from '../model/epModel';
@ -62,13 +63,18 @@ export class DefaultService {
/** /**
* *
* recevoir la liste des collaborateurs * recevoir la liste des collaborateurs
* @param idBu id Business Unit
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public collaborateursGet(observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurModel>>; public collaborateursBuIdBuGet(idBu: string, observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurModel>>;
public collaborateursGet(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurModel>>>; public collaborateursBuIdBuGet(idBu: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurModel>>>;
public collaborateursGet(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurModel>>>; public collaborateursBuIdBuGet(idBu: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurModel>>>;
public collaborateursGet(observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public collaborateursBuIdBuGet(idBu: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idBu === null || idBu === undefined) {
throw new Error('Required parameter idBu was null or undefined when calling collaborateursBuIdBuGet.');
}
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -92,7 +98,7 @@ export class DefaultService {
const consumes: string[] = [ const consumes: string[] = [
]; ];
return this.httpClient.request<Array<CollaborateurModel>>('get',`${this.basePath}/collaborateurs`, return this.httpClient.request<Array<CollaborateurModel>>('get',`${this.basePath}/collaborateurs/bu/${encodeURIComponent(String(idBu))}`,
{ {
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
headers: headers, headers: headers,
@ -153,18 +159,13 @@ export class DefaultService {
/** /**
* *
* recevoir la liste des demandes de formations * recevoir la liste des demandes de formations
* @param idCollaborateur id collaborateur
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public demandeformationCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'body', reportProgress?: boolean): Observable<Array<DemandeFormationModel>>; public demandeformationBuIdBuGet(observe?: 'body', reportProgress?: boolean): Observable<Array<DemandeFormationModel>>;
public demandeformationCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<DemandeFormationModel>>>; public demandeformationBuIdBuGet(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<DemandeFormationModel>>>;
public demandeformationCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<DemandeFormationModel>>>; public demandeformationBuIdBuGet(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<DemandeFormationModel>>>;
public demandeformationCollaborateurIdCollaborateurGet(idCollaborateur: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public demandeformationBuIdBuGet(observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idCollaborateur === null || idCollaborateur === undefined) {
throw new Error('Required parameter idCollaborateur was null or undefined when calling demandeformationCollaborateurIdCollaborateurGet.');
}
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -188,7 +189,7 @@ export class DefaultService {
const consumes: string[] = [ const consumes: string[] = [
]; ];
return this.httpClient.request<Array<DemandeFormationModel>>('get',`${this.basePath}/demandeformation/collaborateur/${encodeURIComponent(String(idCollaborateur))}`, return this.httpClient.request<Array<DemandeFormationModel>>('get',`${this.basePath}/demandeformation/bu/${encodeURIComponent(String(idBu))}`,
{ {
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
headers: headers, headers: headers,
@ -200,14 +201,24 @@ export class DefaultService {
/** /**
* *
* recevoir la liste des demandes de formations * creer une demande de formation pour un collaborateur
* @param body
* @param idCollaborateur id collaborateur
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public demandeformationGet(observe?: 'body', reportProgress?: boolean): Observable<Array<DemandeFormationModel>>; public demandeformationCollaborateurIdCollaborateurPost(body: DemandeFormationModel, idCollaborateur: number, observe?: 'body', reportProgress?: boolean): Observable<any>;
public demandeformationGet(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<DemandeFormationModel>>>; public demandeformationCollaborateurIdCollaborateurPost(body: DemandeFormationModel, idCollaborateur: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
public demandeformationGet(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<DemandeFormationModel>>>; public demandeformationCollaborateurIdCollaborateurPost(body: DemandeFormationModel, idCollaborateur: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
public demandeformationGet(observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public demandeformationCollaborateurIdCollaborateurPost(body: DemandeFormationModel, idCollaborateur: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling demandeformationCollaborateurIdCollaborateurPost.');
}
if (idCollaborateur === null || idCollaborateur === undefined) {
throw new Error('Required parameter idCollaborateur was null or undefined when calling demandeformationCollaborateurIdCollaborateurPost.');
}
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -229,10 +240,16 @@ export class DefaultService {
// to determine the Content-Type header // to determine the Content-Type header
const consumes: string[] = [ const consumes: string[] = [
'application/json'
]; ];
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
if (httpContentTypeSelected != undefined) {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<Array<DemandeFormationModel>>('get',`${this.basePath}/demandeformation`, return this.httpClient.request<any>('post',`${this.basePath}/demandeformation/collaborateur/${encodeURIComponent(String(idCollaborateur))}`,
{ {
body: body,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
headers: headers, headers: headers,
observe: observe, observe: observe,
@ -243,23 +260,18 @@ export class DefaultService {
/** /**
* *
* creer une demande de formation pour un collaborateur * repondre a une demande de formation et la mettre a jour
* @param body * @param body
* @param idCollaborateur id collaborateur
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public demandeformationPost(body: DemandeFormationModel, idCollaborateur: number, observe?: 'body', reportProgress?: boolean): Observable<any>; public demandeformationPut(body: DemandeFormationModel, observe?: 'body', reportProgress?: boolean): Observable<any>;
public demandeformationPost(body: DemandeFormationModel, idCollaborateur: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>; public demandeformationPut(body: DemandeFormationModel, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
public demandeformationPost(body: DemandeFormationModel, idCollaborateur: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>; public demandeformationPut(body: DemandeFormationModel, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
public demandeformationPost(body: DemandeFormationModel, idCollaborateur: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public demandeformationPut(body: DemandeFormationModel, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (body === null || body === undefined) { if (body === null || body === undefined) {
throw new Error('Required parameter body was null or undefined when calling demandeformationPost.'); throw new Error('Required parameter body was null or undefined when calling demandeformationPut.');
}
if (idCollaborateur === null || idCollaborateur === undefined) {
throw new Error('Required parameter idCollaborateur was null or undefined when calling demandeformationPost.');
} }
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -289,7 +301,7 @@ export class DefaultService {
headers = headers.set('Content-Type', httpContentTypeSelected); headers = headers.set('Content-Type', httpContentTypeSelected);
} }
return this.httpClient.request<any>('post',`${this.basePath}/demandeformation`, return this.httpClient.request<any>('put',`${this.basePath}/demandeformation`,
{ {
body: body, body: body,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -302,18 +314,18 @@ export class DefaultService {
/** /**
* *
* repondre a une demande de formation et la mettre a jour * récupérer les documents en fonction du type de l&#x27;EP
* @param body * @param type type de l&#x27;EP
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public demandeformationPut(body: DemandeFormationModel, observe?: 'body', reportProgress?: boolean): Observable<any>; public epChampsTypeGet(type: string, observe?: 'body', reportProgress?: boolean): Observable<Array<ChampModel>>;
public demandeformationPut(body: DemandeFormationModel, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>; public epChampsTypeGet(type: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<ChampModel>>>;
public demandeformationPut(body: DemandeFormationModel, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>; public epChampsTypeGet(type: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<ChampModel>>>;
public demandeformationPut(body: DemandeFormationModel, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public epChampsTypeGet(type: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (body === null || body === undefined) { if (type === null || type === undefined) {
throw new Error('Required parameter body was null or undefined when calling demandeformationPut.'); throw new Error('Required parameter type was null or undefined when calling epChampsTypeGet.');
} }
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -336,16 +348,10 @@ export class DefaultService {
// to determine the Content-Type header // to determine the Content-Type header
const consumes: string[] = [ const consumes: string[] = [
'application/json'
]; ];
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
if (httpContentTypeSelected != undefined) {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>('put',`${this.basePath}/demandeformation`, return this.httpClient.request<Array<ChampModel>>('get',`${this.basePath}/ep/champs/${encodeURIComponent(String(type))}`,
{ {
body: body,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
headers: headers, headers: headers,
observe: observe, observe: observe,
@ -409,13 +415,13 @@ export class DefaultService {
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public epCollaborateurIdCollaborateurProchainsGet(idCollaborateur: number, observe?: 'body', reportProgress?: boolean): Observable<EpModel>; public epCollaborateurIdCollaborateurProchainGet(idCollaborateur: number, observe?: 'body', reportProgress?: boolean): Observable<EpModel>;
public epCollaborateurIdCollaborateurProchainsGet(idCollaborateur: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<EpModel>>; public epCollaborateurIdCollaborateurProchainGet(idCollaborateur: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<EpModel>>;
public epCollaborateurIdCollaborateurProchainsGet(idCollaborateur: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<EpModel>>; public epCollaborateurIdCollaborateurProchainGet(idCollaborateur: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<EpModel>>;
public epCollaborateurIdCollaborateurProchainsGet(idCollaborateur: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public epCollaborateurIdCollaborateurProchainGet(idCollaborateur: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idCollaborateur === null || idCollaborateur === undefined) { if (idCollaborateur === null || idCollaborateur === undefined) {
throw new Error('Required parameter idCollaborateur was null or undefined when calling epCollaborateurIdCollaborateurProchainsGet.'); throw new Error('Required parameter idCollaborateur was null or undefined when calling epCollaborateurIdCollaborateurProchainGet.');
} }
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -602,13 +608,18 @@ export class DefaultService {
/** /**
* *
* recevoir la liste de tous les prochaines EP collaborateurs * recevoir la liste de tous les prochaines EP collaborateurs
* @param idBu id Business Unit
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public epProchainsGet(observe?: 'body', reportProgress?: boolean): Observable<Array<EpModel>>; public epProchainsBuIdBuGet(idBu: string, observe?: 'body', reportProgress?: boolean): Observable<Array<EpModel>>;
public epProchainsGet(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpModel>>>; public epProchainsBuIdBuGet(idBu: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpModel>>>;
public epProchainsGet(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpModel>>>; public epProchainsBuIdBuGet(idBu: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpModel>>>;
public epProchainsGet(observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public epProchainsBuIdBuGet(idBu: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idBu === null || idBu === undefined) {
throw new Error('Required parameter idBu was null or undefined when calling epProchainsBuIdBuGet.');
}
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -632,7 +643,7 @@ export class DefaultService {
const consumes: string[] = [ const consumes: string[] = [
]; ];
return this.httpClient.request<Array<EpModel>>('get',`${this.basePath}/ep/prochains`, return this.httpClient.request<Array<EpModel>>('get',`${this.basePath}/ep/prochains/bu/${encodeURIComponent(String(idBu))}`,
{ {
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
headers: headers, headers: headers,
@ -697,13 +708,13 @@ export class DefaultService {
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public epReferentIdReferentProchainGet(idReferent: string, observe?: 'body', reportProgress?: boolean): Observable<Array<EpModel>>; public epReferentIdReferentProchainsGet(idReferent: string, observe?: 'body', reportProgress?: boolean): Observable<Array<EpModel>>;
public epReferentIdReferentProchainGet(idReferent: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpModel>>>; public epReferentIdReferentProchainsGet(idReferent: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpModel>>>;
public epReferentIdReferentProchainGet(idReferent: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpModel>>>; public epReferentIdReferentProchainsGet(idReferent: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpModel>>>;
public epReferentIdReferentProchainGet(idReferent: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public epReferentIdReferentProchainsGet(idReferent: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idReferent === null || idReferent === undefined) { if (idReferent === null || idReferent === undefined) {
throw new Error('Required parameter idReferent was null or undefined when calling epReferentIdReferentProchainGet.'); throw new Error('Required parameter idReferent was null or undefined when calling epReferentIdReferentProchainsGet.');
} }
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -1089,18 +1100,18 @@ export class DefaultService {
/** /**
* *
* renvoie la liste des collaborateurs referents * recevoir la liste de tous les referents
* @param idCollaborateur id collaborateur * @param idBu id Business Unit
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public referentsCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurModel>>; public referentsBuIdBuGet(idBu: string, observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurModel>>;
public referentsCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurModel>>>; public referentsBuIdBuGet(idBu: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurModel>>>;
public referentsCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurModel>>>; public referentsBuIdBuGet(idBu: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurModel>>>;
public referentsCollaborateurIdCollaborateurGet(idCollaborateur: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public referentsBuIdBuGet(idBu: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idCollaborateur === null || idCollaborateur === undefined) { if (idBu === null || idBu === undefined) {
throw new Error('Required parameter idCollaborateur was null or undefined when calling referentsCollaborateurIdCollaborateurGet.'); throw new Error('Required parameter idBu was null or undefined when calling referentsBuIdBuGet.');
} }
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -1125,7 +1136,7 @@ export class DefaultService {
const consumes: string[] = [ const consumes: string[] = [
]; ];
return this.httpClient.request<Array<CollaborateurModel>>('get',`${this.basePath}/referents/collaborateur/${encodeURIComponent(String(idCollaborateur))}`, return this.httpClient.request<Array<CollaborateurModel>>('get',`${this.basePath}/referents/bu/${encodeURIComponent(String(idBu))}`,
{ {
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
headers: headers, headers: headers,
@ -1137,14 +1148,19 @@ export class DefaultService {
/** /**
* *
* recevoir la liste de tous les referents * renvoie la liste des collaborateurs referents
* @param idCollaborateur id collaborateur
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress. * @param reportProgress flag to report request and response progress.
*/ */
public referentsGet(observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurModel>>; public referentsCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurModel>>;
public referentsGet(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurModel>>>; public referentsCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurModel>>>;
public referentsGet(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurModel>>>; public referentsCollaborateurIdCollaborateurGet(idCollaborateur: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurModel>>>;
public referentsGet(observe: any = 'body', reportProgress: boolean = false ): Observable<any> { public referentsCollaborateurIdCollaborateurGet(idCollaborateur: number, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idCollaborateur === null || idCollaborateur === undefined) {
throw new Error('Required parameter idCollaborateur was null or undefined when calling referentsCollaborateurIdCollaborateurGet.');
}
let headers = this.defaultHeaders; let headers = this.defaultHeaders;
@ -1168,7 +1184,7 @@ export class DefaultService {
const consumes: string[] = [ const consumes: string[] = [
]; ];
return this.httpClient.request<Array<CollaborateurModel>>('get',`${this.basePath}/referents`, return this.httpClient.request<Array<CollaborateurModel>>('get',`${this.basePath}/referents/collaborateur/${encodeURIComponent(String(idCollaborateur))}`,
{ {
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
headers: headers, headers: headers,

@ -0,0 +1,16 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
export interface BusinessUnitModel {
idBU: string;
nom: string;
}

@ -0,0 +1,19 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
export interface ChampModel {
idChamp: number;
texte: string;
section: string;
ordre: string;
type: string;
}

@ -9,6 +9,7 @@
* https://github.com/swagger-api/swagger-codegen.git * https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually. * Do not edit the class manually.
*/ */
import { BusinessUnitModel } from './businessUnitModel';
export interface CollaborateurModel { export interface CollaborateurModel {
idCollaborateur: string; idCollaborateur: string;
@ -19,4 +20,5 @@ export interface CollaborateurModel {
fonction: string; fonction: string;
dateEmbauche: string; dateEmbauche: string;
dateDepart?: string; dateDepart?: string;
businessunit: BusinessUnitModel;
} }

@ -16,6 +16,7 @@ import { EngagementModel } from './engagementModel';
import { NotificationModel } from './notificationModel'; import { NotificationModel } from './notificationModel';
import { ParticpantModel } from './particpantModel'; import { ParticpantModel } from './particpantModel';
import { RDVEntretienModel } from './rDVEntretienModel'; import { RDVEntretienModel } from './rDVEntretienModel';
import { SaisieModel } from './saisieModel';
export interface EpModel { export interface EpModel {
idEp: number; idEp: number;
@ -37,4 +38,5 @@ export interface EpModel {
notifications?: Array<NotificationModel>; notifications?: Array<NotificationModel>;
engagements?: Array<EngagementModel>; engagements?: Array<EngagementModel>;
delegation?: DemandeDelegationModel; delegation?: DemandeDelegationModel;
saisie?: Array<SaisieModel>;
} }

@ -1,4 +1,6 @@
export * from './augmentationSalaireModel'; export * from './augmentationSalaireModel';
export * from './businessUnitModel';
export * from './champModel';
export * from './collaborateurModel'; export * from './collaborateurModel';
export * from './critereModel'; export * from './critereModel';
export * from './demandeDelegationModel'; export * from './demandeDelegationModel';
@ -12,4 +14,11 @@ export * from './notificationModel';
export * from './participationFormationModel'; export * from './participationFormationModel';
export * from './particpantModel'; export * from './particpantModel';
export * from './rDVEntretienModel'; export * from './rDVEntretienModel';
export * from './saisieBoolTexteModel';
export * from './saisieDeuxTextesModel';
export * from './saisieModel';
export * from './saisieNoteTexteModel';
export * from './saisieObjectifsModel';
export * from './saisieUnBoolModel';
export * from './saisieUnTexteModel';
export * from './themeModel'; export * from './themeModel';

@ -0,0 +1,18 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ChampModel } from './champModel';
import { SaisieModel } from './saisieModel';
export interface SaisieBoolTexteModel extends SaisieModel {
bool: boolean;
texte?: string;
}

@ -0,0 +1,18 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ChampModel } from './champModel';
import { SaisieModel } from './saisieModel';
export interface SaisieDeuxTextesModel extends SaisieModel {
texte1: string;
texte2: string;
}

@ -0,0 +1,19 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ChampModel } from './champModel';
export interface SaisieModel {
idSaisie?: string;
note?: number;
commentaire?: string;
champ?: ChampModel;
}

@ -0,0 +1,18 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ChampModel } from './champModel';
import { SaisieModel } from './saisieModel';
export interface SaisieNoteTexteModel extends SaisieModel {
note: number;
texte: string;
}

@ -0,0 +1,19 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ChampModel } from './champModel';
import { SaisieModel } from './saisieModel';
export interface SaisieObjectifsModel extends SaisieModel {
objectif1: string;
objectif2?: string;
objectif3?: string;
}

@ -0,0 +1,17 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ChampModel } from './champModel';
import { SaisieModel } from './saisieModel';
export interface SaisieUnBoolModel extends SaisieModel {
bool: boolean;
}

@ -0,0 +1,17 @@
/**
* API du serveur de l'application de digitalisation des EP
* API qui seront utilisés afin de faire communiquer le client et le serveur ainsi que le serveur et la boîte noire.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ChampModel } from './champModel';
import { SaisieModel } from './saisieModel';
export interface SaisieUnTexteModel extends SaisieModel {
texte: string;
}
Loading…
Cancel
Save