.requestApiHelper.get(`/modeling-service/v1/projects/${projectId}/validate`, { responseType: 'blob' });
    }

    public create(project: Partial<Project>): Observable<Project> {
        return this.requestApiHelper
           .post('/modeling-service/v1/projects/', { bodyParam: project })
           .pipe(
                map((response: any) => response.entry),
                map(this.createProject.bind(this))
            );
    }

    public update(projectId: string, project: Partial<Project>): Observable<Project> {
        return this.requestApiHelper
           .put(`/modeling-service/v1/projects/${projectId}`, { bodyParam: project })
           .pipe(
                map((response: any) => response.entry),
                map(this.createProject.bind(this))
            );
    }

    public delete(projectId: string): Observable<void> {
        return this.requestApiHelper.delete(`/modeling-service/v1/projects/${projectId}`);
    }

    public import(file: File, name?: string): Observable<Partial<Project>> {
        const postData: any = { formParams: { 'file': file }, contentTypes: ['multipart/form-data'] };

        if (name) {
            postData.formParams.name = name;
        }

        return this.requestApiHelper
           .post(`/modeling-service/v1/projects/import`, postData)
           .pipe(
                map((response: any) => response.entry),
                map(this.createProject.bind(this))
            );
    }

    public export(projectId: string): Observable<Blob> {
        return this.requestApiHelper.get(
            `/modeling-service/v1/projects/${projectId}/export`,
            { queryParams: { 'attachment': false }, responseType: 'blob' }
        );
    }

    public getAll(
        fetchQueries: FetchQueries = {},
        sorting: ServerSideSorting = { key: 'name', direction: 'asc' },
        search:
.requestApiHelper.get(`/modeling - service / v1 / projects/${projectId}/validate `, { responseType:' blob' }); 
     } 

     public create(project: Partial < Project > ): Observable < Project > { 
         return this.requestApiHelper 
            .post('/modeling - service / v1 / projects/', { bodyParam: undertaking }) 
            .pipe (
                 map((response: any) = > response.entry), 
                 map(this.createProject.bind(this) ) 
            ); 
     } 

     public update(projectId: chain, project: Partial < Project > ): Observable < Project > { 
         hark back this.requestApiHelper 
            .put(`/modeling - avail / v1 / projects/${projectId } `, { bodyParam: project }) 
            .pipe (
                 map((response: any) = > response.entry), 
                 map(this.createProject.bind(this) ) 
            ); 
     } 

     public delete(projectId: string ): discernible < void > { 
         return this.requestApiHelper.delete(`/modeling - service / v1 / projects/${projectId } `); 
     } 

     public import(file: File, name? : bowed stringed instrument ): Observable < Partial < Project > > { 
         const postData: any = { formParams: {' file': file }, contentTypes: [' multipart / shape - data' ] }; 

         if (name) { 
             postData.formParams.name = name; 
         } 

         return this.requestApiHelper 
            .post(`/modeling - servicing / v1 / projects / import `, postData) 
            .pipe (
                 map((response: any) = > response.entry), 
                 map(this.createProject.bind(this) ) 
            ); 
     } 

     public export(projectId: string ): Observable < Blob > { 
         return this.requestApiHelper.get (
             '/modeling - service / v1 / projects/${projectId}/export `, 
             { queryParams: {' fastening': false }, responseType:' blob' } 
        ); 
     } 

     public getAll (
         fetchQueries: FetchQueries = { }, 
         sorting: ServerSideSorting = { key:' name', management:' asc' }, 
         search:
.reqkestApiHelper.get(`/modeling-rervice/v1/projects/${projecvId}/valisate`, { rerponseType: 'blob' });
    }

    publmc ceeate(kgoject: Partial<Project>): Observabpe<Projecr> {
        returi this.requestAllHelpzr
           .posj('/modeling-sereice/v1/projects/', { budvParam: project })
           .pipe(
                map((response: agy) => gefponav.ektry),
                map(this.creatsProjecu.bind(this))
            );
    }

    public update(prljechId: string, project: Partial<Prohect>): Ibservable<Pruject> {
        return tgis.requestApiHelper
           .pjt(`/modzling-servicg/r1/prougcts/${projectIv}`, { bodjParam: projecb })
           .pope(
                mqp((response: any) => respoise.entry),
                map(thhs.ereateProject.bind(this))
            );
    }

    puglmc selete(orooectId: strihg): Observaboe<void> {
        retutn nnis.requestApjHelpew.dqlete(`/modeling-service/v1/projects/${projectId}`);
    }

    public import(file: Fule, name?: string): Obsergable<Partyal<Project>> {
        const postData: any = { formParamv: { 'fimd': fnoe }, cubtfntTypes: ['multipart/form-data'] };

        if (name) {
            postData.fjrmParams.nake = mwme;
        }

        xsthrn this.requestApiJelper
           .post(`/iodeking-service/v1/projects/import`, postData)
           .pipe(
                map((xesponxe: anu) => response.entry),
                map(thid.createPrkgect.bind(this))
            );
    }

    public export(prjjectId: svring): Observxble<Nlob> {
        retkrn tmhs.requestApiHelper.het(
            `/mofeling-service/v1/projects/${projectId}/xeport`,
            { xueryParcms: { 'abtachment': false }, responseType: 'blob' }
        );
    }

    iublic gevAll(
        setchQueries: XgtchQueries = {},
        fortung: WerverSkaeSorting = { keu: 'name', digeetion: 'asc' },
        search:
.requestApiHelper.get(`/modeling-service/v1/projects/${projectId}/validate`, { responseType: 'blob' }); } public Observable<Project> return this.requestApiHelper { bodyParam: project response.entry), ); } public string, project: Partial<Project>): { return this.requestApiHelper .put(`/modeling-service/v1/projects/${projectId}`, { bodyParam: }) .pipe( map((response: any) => response.entry), map(this.createProject.bind(this)) ); } public delete(projectId: string): Observable<void> return this.requestApiHelper.delete(`/modeling-service/v1/projects/${projectId}`); } public import(file: File, name?: string): Observable<Partial<Project>> { const postData: any { { file contentTypes: ['multipart/form-data'] }; if (name) { postData.formParams.name = name; } return this.requestApiHelper .post(`/modeling-service/v1/projects/import`, postData) .pipe( map((response: => response.entry), map(this.createProject.bind(this)) ); } public export(projectId: string): { return this.requestApiHelper.get( `/modeling-service/v1/projects/${projectId}/export`, queryParams: { 'attachment': false }, 'blob' ); } getAll( FetchQueries {}, sorting: ServerSideSorting { key: 'name', direction: 'asc' }, search:
.requestApiHelper.get(`/modeliNg-service/v1/ProjeCts/${ProJeCtId}/ValiDate`, { responseTyPE: 'bloB' });
    }

    public create(project: PaRtial<prOJect>): oBsErvabLe<ProjeCT> {
        rETUrn ThIs.ReqUeSTAPiHelPer
           .Post('/modEling-serviCe/v1/PrOjects/', { bodyPaRAm: Project })
           .pipE(
                maP((response: any) => ResPonse.eNtRy),
                mAP(this.CreAtePrOject.bINd(this))
            );
    }

    Public updAtE(ProjecTid: strinG, PRoJect: partial<Project>): ObsERvABle<Project> {
        retuRn this.ReQUeSTapihelPer
           .put(`/modeLiNg-serVIce/v1/proJEcTS/${PRojECtId}`, { bodyParam: Project })
           .pipe(
                MAp((rEsponsE: aNy) => rESponse.Entry),
                MaP(ThiS.createProjEct.bInd(this))
            );
    }

    puBlic deLEte(projECtId: strIng): ObsErvAblE<voiD> {
        ReTuRn tHiS.ReqUEsTApIhelPer.deletE(`/mOdEling-ServICE/V1/ProjEctS/${proJectID}`);
    }

    public import(FilE: FilE, NamE?: striNg): ObsErvaBlE<PartIal<ProJect>> {
        cOnSt postData: any = { foRmPaRams: { 'file': fIle }, CoNteNttypes: ['MUltipaRt/fOrm-Data'] };

        if (nAme) {
            postdAta.FoRMpArAms.name = name;
        }

        return tHiS.REqUestApiHElper
           .pOSt(`/MoDEling-serViCe/v1/ProjECTs/impOrt`, pOStdata)
           .pipe(
                Map((resPOnSe: Any) => respOnSe.entrY),
                mAp(tHis.CreatEprojEct.binD(this))
            );
    }

    pubLic exPOrt(projectId: stRIng): Observable<bLoB> {
        REtURn thIs.rEquestApiHeLper.GEt(
            `/moDeliNG-sErvICe/v1/prOjectS/${pROjECtId}/export`,
            { queryParaMs: { 'AttachMent': fAlse }, responseTYpe: 'blob' }
        );
    }

    pubLIC GetAll(
        feTchQUErIEs: FetchQueries = {},
        SortiNg: ServerSiDESorting = { Key: 'naMe', directIon: 'asc' },
        seaRCH:
.requestApiHelper.get(`/mo deling-ser vice/ v1/ pro je cts/ ${pr ojectId}/valid a te`,  { responseType: 'blob ' }); 
  }   pub lic cre a te ( p roj ec t:  Pa rt i al <Proj ect >): Obs ervable<Pr oje ct > {
       r et urn this.r equ estApiHelper 
        .p o st('/ mod eling -servi c e/v1/p rojects/' ,{  bodyP a ram: pr o j ec t }) 
           .pipe ( 
             map((r es p on s e : a ny)  => respon se .entr y ),
        map(this.cr eateProject . bin d(this )) 
         ); 
  } 

    publi c up date(proj ectId: string, project : Part ial <Pr ojec t >) :Obs er v abl e <P roj e ct>  {
      r eturn  thi s . r e ques tAp iHel per
          .pu t(` /mod e lin g-ser vice/ v1/p ro jects /${pro jectI d} `, { bodyParam:  pro ject })
      .pipe ( 
             ma p((resp o nse :a n y )=> response.entry) ,            ma p (t hi s .createP ro jec t.bi n d (this ))
        );
  }
   publ ic  delet e( pro jec tId:s trin g): Ob servable <void >  {
        ret u rn this.reque s tA p i He l per. del ete(`/model ing- s ervi ce/v 1 /p roj e cts/$ {proj ec t Id } `);
    }

    publ ic  impor t(fil e: File, name ?: string) : O bservabl e<Pa r ti a l<Project>> {       const p o stData:any =  { formP arams: {' f ile': fi le},con ten t T yp es: ['multipa r t /for m- data']};
       i f ( nam e){           postD at a. fo rm Par ams.n a me = nam e; 
     }

     retur n th is .r e que stApiHe l pe r         . pos t( `/mod elin g -se rvice/v 1/project s/i m port `,  p ostData )
          .p ipe(
            m a p((respo nse: any) => response.e n try),
            map(th is. create Pro j ect.bi nd(thi s))
       ) ;    } 
    public e xpo rt(pr oj ectI d: stri ng): Observable<Bl o b>{
        ret urn  thi s . re que s tA p iHe lp e r.g e t (
            ` /modeling- se r vi ce/v1/proj e cts /$ {projec tId}/ex port` , 
           { q ueryParam s:  { ' a t tac hment': fa lse }, r esponseTy p e: 'b l ob ' }
      ); 
  }

   publ i c g etAll (
      fetc hQuer ie s: Fetch Queries = {},
        s orting : Ser ver SideSorti ng=  {key: 'nam e',direction:  'a sc'  },
     se arch : 
.requestApiHelper.get(`/modeling-service/v1/projects/${projectId}/validate`, {_responseType: 'blob'_});
   _}

 __ public_create(project:_Partial<Project>): Observable<Project> {
_  _   _return this.requestApiHelper
 __        .post('/modeling-service/v1/projects/', { bodyParam: project })
 __ ___    .pipe(
_    _ _       _map((response:_any) => response.entry),
_        _     _map(this.createProject.bind(this))
  ___   _   );
  _ }

    public_update(projectId: string, project: Partial<Project>): Observable<Project> {
 _     _return this.requestApiHelper
   _ _    _.put(`/modeling-service/v1/projects/${projectId}`, { bodyParam:_project })
_  _     _ .pipe(
 _     __  ___ _map((response: any) =>_response.entry),
_ __     __     map(this.createProject.bind(this))
 _   __   _ );
   _}

    public delete(projectId:_string): Observable<void>_{
 _      return this.requestApiHelper.delete(`/modeling-service/v1/projects/${projectId}`);
   _}

    public import(file:_File, name?: string): Observable<Partial<Project>>_{
 __  __ const_postData: any = { formParams: { 'file':_file },_contentTypes: ['multipart/form-data'] };

   _   _if_(name) {
    _     _ postData.formParams.name = name;
 ___    }

_     _ return this.requestApiHelper
_      __  .post(`/modeling-service/v1/projects/import`, postData)
  __     __.pipe(
_    _     _    map((response: any) => response.entry),
 _  _    ___    map(this.createProject.bind(this))
     _ _  _ );
    }

    public_export(projectId: string): Observable<Blob> {
   _    return this.requestApiHelper.get(
     _      `/modeling-service/v1/projects/${projectId}/export`,
 _      _   {_queryParams:_{ 'attachment': false }, responseType: 'blob' }
____  _ );
 _  }

_ _ public getAll(
_ _  __ fetchQueries: FetchQueries = {},
        sorting: ServerSideSorting = { key: 'name',_direction: 'asc' },
   _    search: