|
|
@ -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'EP |
|
|
|
* @param body |
|
|
|
* @param type type de l'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, |
|
|
|