Client for the runs, execution and TEA EEG analysis routes
This commit is contained in:
@@ -7,10 +7,12 @@ import { filter, map } from 'rxjs/operators';
|
||||
import { StrictHttpResponse } from '../../strict-http-response';
|
||||
import { RequestBuilder } from '../../request-builder';
|
||||
|
||||
import { Analyze } from '../../models/analyze';
|
||||
import { Domain } from '../../models/domain';
|
||||
|
||||
export interface Analyze$Params {
|
||||
domain: Domain;
|
||||
body?: Analyze
|
||||
}
|
||||
|
||||
export function analyze(http: HttpClient, rootUrl: string, params: Analyze$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
||||
@@ -19,6 +21,7 @@ export function analyze(http: HttpClient, rootUrl: string, params: Analyze$Param
|
||||
const rb = new RequestBuilder(rootUrl, analyze.PATH, 'post');
|
||||
if (params) {
|
||||
rb.path('domain', params.domain, {});
|
||||
rb.body(params.body, 'application/json');
|
||||
}
|
||||
|
||||
return http.request(
|
||||
|
||||
Reference in New Issue
Block a user