Compare commits
5 Commits
parity/main
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c1c81449a9 | |||
| 157006954c | |||
| 25382f4df5 | |||
| c1c6f10662 | |||
| 2811961a5a |
@@ -1,3 +1,4 @@
|
|||||||
|
# Editor configuration, see https://editorconfig.org
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
@@ -10,3 +11,7 @@ trim_trailing_whitespace = true
|
|||||||
[*.ts]
|
[*.ts]
|
||||||
quote_type = single
|
quote_type = single
|
||||||
ij_typescript_use_double_quotes = false
|
ij_typescript_use_double_quotes = false
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
max_line_length = off
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|||||||
+4
-39
@@ -1,39 +1,4 @@
|
|||||||
/dist
|
__pycache__/
|
||||||
/tmp
|
node_modules/
|
||||||
/out-tsc
|
dist/
|
||||||
/bazel-out
|
.angular/
|
||||||
|
|
||||||
/node_modules
|
|
||||||
npm-debug.log
|
|
||||||
yarn-error.log
|
|
||||||
|
|
||||||
.idea/
|
|
||||||
.project
|
|
||||||
.classpath
|
|
||||||
.c9/
|
|
||||||
*.launch
|
|
||||||
.settings/
|
|
||||||
*.sublime-workspace
|
|
||||||
|
|
||||||
.vscode/*
|
|
||||||
!.vscode/settings.json
|
|
||||||
!.vscode/tasks.json
|
|
||||||
!.vscode/launch.json
|
|
||||||
!.vscode/extensions.json
|
|
||||||
!.vscode/mcp.json
|
|
||||||
.history/*
|
|
||||||
|
|
||||||
/.angular/cache
|
|
||||||
.sass-cache/
|
|
||||||
/connect.lock
|
|
||||||
/coverage
|
|
||||||
/libpeerconnection.log
|
|
||||||
testem.log
|
|
||||||
/typings
|
|
||||||
__screenshots__/
|
|
||||||
|
|
||||||
.DS_Store
|
|
||||||
Thumbs.db
|
|
||||||
|
|
||||||
/test-results/
|
|
||||||
/playwright-report/
|
|
||||||
|
|||||||
@@ -39,9 +39,6 @@
|
|||||||
"material-symbols/outlined.css",
|
"material-symbols/outlined.css",
|
||||||
"src/styles.scss"
|
"src/styles.scss"
|
||||||
],
|
],
|
||||||
"define": {
|
|
||||||
"global": "globalThis"
|
|
||||||
},
|
|
||||||
"allowedCommonJsDependencies": [
|
"allowedCommonJsDependencies": [
|
||||||
"plotly.js-cartesian-dist-min"
|
"plotly.js-cartesian-dist-min"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,463 +0,0 @@
|
|||||||
import { expect } from '@playwright/test';
|
|
||||||
import { downloaded, test, watch } from './support';
|
|
||||||
|
|
||||||
test('tea indicators: every tab loads, and the follow-up list exports to Excel', async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
const listed = page.waitForResponse(
|
|
||||||
(r) => r.url().includes('/tea/fhir/Measure') && !r.url().includes('MeasureReport'),
|
|
||||||
);
|
|
||||||
await page.goto('/indicadores/tea');
|
|
||||||
const measures = (await (await listed).json()).entry.length;
|
|
||||||
expect(measures).toBe(11);
|
|
||||||
await expect(page.getByRole('tab', { name: 'Resumen' })).toBeVisible();
|
|
||||||
const indicators = page.locator('app-tab-indicadores');
|
|
||||||
await expect(indicators.locator('[data-measure]')).toHaveCount(10);
|
|
||||||
await expect(indicators.locator('[data-figure="sankey"] .sankey')).toBeVisible();
|
|
||||||
await expect(indicators.locator('[data-measure="M31_PREVALENCIA"] .barlayer')).toBeVisible();
|
|
||||||
await expect(
|
|
||||||
indicators.locator('[data-measure="M24_CONFIRMACION_DIAGNOSTICO"] app-plot'),
|
|
||||||
).toHaveCount(1);
|
|
||||||
await expect(
|
|
||||||
indicators.locator('[data-measure="M23_PACIENTES_EVALUADOS"] mat-button-toggle-group'),
|
|
||||||
).toHaveCount(0);
|
|
||||||
await expect(
|
|
||||||
indicators.getByRole('heading', { name: 'Porcentaje de EEG normal y anormal' }),
|
|
||||||
).toHaveCount(0);
|
|
||||||
|
|
||||||
await page.getByRole('tab', { name: 'Trazabilidad' }).click();
|
|
||||||
const history = page.locator('app-tab-trazabilidad');
|
|
||||||
await expect(history.locator('[data-measure]')).toHaveCount(11);
|
|
||||||
await expect(
|
|
||||||
history.getByRole('heading', { name: 'Prevalencia registrada de TEA' }),
|
|
||||||
).toBeVisible();
|
|
||||||
await expect(
|
|
||||||
history.getByRole('heading', { name: 'Porcentaje de EEG normal y anormal' }),
|
|
||||||
).toBeVisible();
|
|
||||||
await expect(page.locator('app-tab-trazabilidad app-plot').first()).toBeVisible();
|
|
||||||
|
|
||||||
await page.getByRole('tab', { name: 'Seguimiento' }).click();
|
|
||||||
const rows = page.locator('app-tab-seguimiento-tea table tbody tr');
|
|
||||||
await expect(rows.first().locator('td').first()).toHaveText(/^N-?\d{4}$/);
|
|
||||||
await expect(rows.first().locator('app-tea-stepper li')).toHaveCount(4);
|
|
||||||
await expect(page.locator('app-tab-seguimiento-tea').getByRole('columnheader')).toHaveText([
|
|
||||||
'Expediente',
|
|
||||||
'Nombre',
|
|
||||||
'Sexo',
|
|
||||||
'Edad (meses)',
|
|
||||||
'Etapa',
|
|
||||||
'Puntaje M-CHAT',
|
|
||||||
'CSS ADOS-2',
|
|
||||||
'Estatus de EEG',
|
|
||||||
'Alteraciones encontradas',
|
|
||||||
]);
|
|
||||||
const name = await downloaded(
|
|
||||||
page,
|
|
||||||
page.getByRole('button', { name: 'Exportar a Excel' }),
|
|
||||||
'xlsx',
|
|
||||||
);
|
|
||||||
expect(name).toMatch(/^tea-seguimiento-/);
|
|
||||||
|
|
||||||
await page.getByRole('tab', { name: 'Análisis de riesgo' }).click();
|
|
||||||
const risk = page.locator('app-tab-riesgos-tea');
|
|
||||||
await expect(
|
|
||||||
risk.getByRole('heading', { name: 'EEG de los pacientes del periodo' }),
|
|
||||||
).toBeVisible();
|
|
||||||
await expect(risk.locator('table.worklist tbody tr').first().locator('td').first()).toHaveText(
|
|
||||||
/^N-?\d{4}$/,
|
|
||||||
);
|
|
||||||
await expect(risk.locator('table.worklist > thead').getByRole('columnheader')).toHaveText([
|
|
||||||
'Expediente',
|
|
||||||
'Nombre',
|
|
||||||
'Sexo',
|
|
||||||
'Edad (meses)',
|
|
||||||
'Asociación principal',
|
|
||||||
'Razón de momios',
|
|
||||||
'IC 95 %',
|
|
||||||
'q',
|
|
||||||
'Probabilidad',
|
|
||||||
'Probabilidad de referencia',
|
|
||||||
]);
|
|
||||||
await risk.getByRole('combobox', { name: 'Modelo de asociación' }).click();
|
|
||||||
await page.getByRole('option', { name: 'Con resultados' }).click();
|
|
||||||
await expect(risk.locator('table.worklist tbody tr').first()).toBeVisible();
|
|
||||||
|
|
||||||
await page.getByRole('tab', { name: 'Datos y definiciones' }).click();
|
|
||||||
const definitions = page.locator('app-tab-definiciones');
|
|
||||||
await expect(definitions.locator('details')).toHaveCount(measures);
|
|
||||||
await expect(
|
|
||||||
definitions.getByText('Porcentaje de EEG normal y anormal', { exact: true }),
|
|
||||||
).toBeVisible();
|
|
||||||
await definitions.getByText('Prevalencia registrada de TEA', { exact: true }).click();
|
|
||||||
await expect(definitions.getByText(/Every child loaded on the platform/)).toBeVisible();
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('tea complete child: every screen has data', async ({ page }) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
const recordNumber = /^N-?0011$/;
|
|
||||||
const filled = /^\s*(?!—\s*$)\S/;
|
|
||||||
const mark = '.point, .slice path, .sankey-node, .box';
|
|
||||||
const tab = (name: string) => page.getByRole('tab', { name }).click();
|
|
||||||
const section = (title: string) =>
|
|
||||||
page.locator('app-tea-section').filter({
|
|
||||||
has: page.locator('mat-card-title').getByText(title, { exact: true }),
|
|
||||||
});
|
|
||||||
const find = async (host: string) => {
|
|
||||||
const search = page.locator(host).getByRole('searchbox', { name: 'Buscar paciente' });
|
|
||||||
await search.fill('N0011');
|
|
||||||
await search.press('Enter');
|
|
||||||
};
|
|
||||||
const childRow = (table: string) =>
|
|
||||||
page
|
|
||||||
.locator(table)
|
|
||||||
.getByRole('row')
|
|
||||||
.filter({
|
|
||||||
has: page.getByRole('cell', { name: recordNumber }),
|
|
||||||
});
|
|
||||||
|
|
||||||
await page.goto('/indicadores/tea');
|
|
||||||
const summary = page.locator('app-tab-indicadores');
|
|
||||||
await summary.getByText('Semestral', { exact: true }).click();
|
|
||||||
await summary.getByRole('combobox', { name: 'Periodo seleccionado' }).click();
|
|
||||||
await page.getByRole('option', { name: '2025-S2', exact: true }).click();
|
|
||||||
await summary.getByRole('button', { name: 'Aplicar' }).click();
|
|
||||||
await expect(summary.locator('.summary mark').first()).toHaveText(/\d/);
|
|
||||||
const summaryFigures = summary.locator('.figure-card, .box-card');
|
|
||||||
await expect(summaryFigures).toHaveCount(10);
|
|
||||||
for (const card of await summaryFigures.all()) {
|
|
||||||
await expect(card.locator(`app-plot :is(${mark})`).first()).toBeAttached();
|
|
||||||
}
|
|
||||||
await expect(summary.getByText('Sin datos publicados')).toHaveCount(0);
|
|
||||||
|
|
||||||
await tab('Trazabilidad');
|
|
||||||
const history = page.locator('app-tab-trazabilidad');
|
|
||||||
const panels = history.locator('[data-measure]');
|
|
||||||
await expect(panels).toHaveCount(11);
|
|
||||||
for (const panel of await panels.all()) {
|
|
||||||
await expect(panel.locator(`app-plot :is(${mark})`).first()).toBeAttached();
|
|
||||||
}
|
|
||||||
await expect(history.getByText('Sin datos para el periodo.')).toHaveCount(0);
|
|
||||||
|
|
||||||
await tab('Seguimiento');
|
|
||||||
await find('app-tab-seguimiento-tea');
|
|
||||||
const followUp = childRow('app-tab-seguimiento-tea table.worklist');
|
|
||||||
await expect(followUp.getByRole('cell')).toHaveCount(9);
|
|
||||||
await expect(followUp.locator('td:not(:nth-child(5))')).toHaveText(Array(8).fill(filled));
|
|
||||||
await expect(followUp.locator('app-tea-stepper li.completed')).toHaveCount(4);
|
|
||||||
await expect(followUp.getByRole('cell').last()).toHaveText(/^[1-9]\d*$/);
|
|
||||||
|
|
||||||
await tab('Análisis de riesgo');
|
|
||||||
const risk = page.locator('app-tab-riesgos-tea');
|
|
||||||
await find('app-tab-riesgos-tea');
|
|
||||||
await risk.getByRole('combobox', { name: 'Modelo de asociación' }).click();
|
|
||||||
await page.getByRole('option', { name: 'Con resultados' }).click();
|
|
||||||
const riskRow = childRow('app-tab-riesgos-tea table.worklist');
|
|
||||||
await expect(riskRow.getByRole('cell')).toHaveText(Array(10).fill(filled));
|
|
||||||
|
|
||||||
await tab('Datos y definiciones');
|
|
||||||
const definitions = page.locator('app-tab-definiciones');
|
|
||||||
await expect(definitions.locator('details')).toHaveCount(11);
|
|
||||||
await definitions.getByText('Prevalencia registrada de TEA', { exact: true }).click();
|
|
||||||
await expect(definitions.getByText(/Every child loaded on the platform/)).toBeVisible();
|
|
||||||
|
|
||||||
await tab('Seguimiento');
|
|
||||||
await followUp.getByRole('link').click();
|
|
||||||
await expect(page.getByText(recordNumber)).toBeVisible();
|
|
||||||
const gantt = section('Línea del tiempo');
|
|
||||||
await expect(gantt.locator('app-plot .barlayer .point').first()).toBeAttached();
|
|
||||||
const diamonds = gantt.locator('app-plot .scatterlayer path.point');
|
|
||||||
await expect(diamonds).toHaveCount(4);
|
|
||||||
for (const diamond of await diamonds.all()) {
|
|
||||||
await expect(diamond).toHaveAttribute('d', /^M[\d.]+,0L0,[\d.]+L-/);
|
|
||||||
}
|
|
||||||
await expect(section('ADOS-2').locator('tbody tr').first().locator('td').nth(2)).toHaveText(
|
|
||||||
/^[AB]-\d+$/,
|
|
||||||
);
|
|
||||||
await expect(section('Calidad del EEG').locator('tbody tr').first()).toBeVisible();
|
|
||||||
const alterations = section('Alteraciones');
|
|
||||||
await expect(
|
|
||||||
alterations.locator('h3:text-is("Norma por edad · p5–p95") + app-plot .point').first(),
|
|
||||||
).toBeAttached();
|
|
||||||
await expect(
|
|
||||||
alterations.locator('h3:text-is("Mapa de la cabeza") + app-plot .contourlayer path').first(),
|
|
||||||
).toBeAttached();
|
|
||||||
await expect(section('Relación con el ADOS-2').locator('tbody tr').first()).toBeVisible();
|
|
||||||
|
|
||||||
await page.getByRole('link', { name: 'Análisis de riesgo' }).click();
|
|
||||||
await expect(page.getByRole('heading', { name: 'Análisis de riesgo TEA' })).toBeVisible();
|
|
||||||
await expect(section('Qué calcula').locator('p').first()).toHaveText(/ADOS-2/);
|
|
||||||
await expect(
|
|
||||||
section('Puntuaciones z por métrica y zona').locator('app-plot .point').first(),
|
|
||||||
).toBeAttached();
|
|
||||||
await expect(
|
|
||||||
section('Razones de momios por par').locator('app-plot .point').first(),
|
|
||||||
).toBeAttached();
|
|
||||||
await expect(
|
|
||||||
section('Probabilidad frente a la referencia').locator('tbody tr').first(),
|
|
||||||
).toBeVisible();
|
|
||||||
await expect(section('Probabilidad según z').locator('app-plot .point').first()).toBeAttached();
|
|
||||||
await expect(section('Limitaciones').locator('p').first()).toHaveText(/cohorte/);
|
|
||||||
|
|
||||||
await page.goto('/gobernanza/tea');
|
|
||||||
await expect(page.getByRole('region', { name: 'Ejecución' }).getByRole('status')).toContainText(
|
|
||||||
'Disponible',
|
|
||||||
);
|
|
||||||
const models = page.getByRole('region', { name: 'Modelos' });
|
|
||||||
const modelCards = models.locator('section.model');
|
|
||||||
await expect(modelCards).toHaveCount(8);
|
|
||||||
for (const model of await modelCards.all()) {
|
|
||||||
await expect(model.getByText('champion', { exact: true })).toBeVisible();
|
|
||||||
}
|
|
||||||
await expect(page.locator('app-governance-training formly-form')).toBeVisible();
|
|
||||||
await expect(page.getByText('Subir archivos', { exact: true })).toHaveCount(0);
|
|
||||||
const bundles = page.getByRole('region', { name: 'Bundles' });
|
|
||||||
await expect(bundles.getByRole('combobox', { name: 'Versiones' })).toHaveText('En producción');
|
|
||||||
await expect(bundles.getByRole('button', { name: 'Exportar bundle' })).toBeEnabled();
|
|
||||||
const studies = page.locator('app-eeg-studies');
|
|
||||||
const completeEeg = studies.getByRole('row').filter({ hasText: 'LAB-N-0011-1' });
|
|
||||||
await expect(completeEeg).toContainText(/\bVálido\b/);
|
|
||||||
await completeEeg.getByRole('button').click();
|
|
||||||
await expect(
|
|
||||||
studies
|
|
||||||
.locator('table.plain:not(.eegs) tbody tr td')
|
|
||||||
.filter({ hasText: /^tea\./ })
|
|
||||||
.first(),
|
|
||||||
).toBeVisible();
|
|
||||||
await models.getByRole('button', { name: 'Evaluar un solo estudio' }).click();
|
|
||||||
const preview = page.locator('app-eeg-preview');
|
|
||||||
await expect(preview.getByLabel('EDF')).toBeAttached();
|
|
||||||
await expect(preview.getByLabel('ADOS-2 (PDF)')).toBeAttached();
|
|
||||||
await expect(preview.getByLabel('Fecha de nacimiento')).toBeVisible();
|
|
||||||
await expect(page.getByRole('heading', { name: 'Vista previa', level: 2 })).toHaveCount(0);
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('tea patient: the record and the risk page load and export to PDF', async ({ page }) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/indicadores/tea');
|
|
||||||
await page.getByRole('tab', { name: 'Seguimiento' }).click();
|
|
||||||
const first = page.locator('app-tab-seguimiento-tea table tbody tr').first();
|
|
||||||
await expect(first.locator('td').first()).toHaveText(/^N-?\d{4}$/);
|
|
||||||
await first.getByRole('link').click();
|
|
||||||
|
|
||||||
await expect(page).toHaveURL(/\/indicadores\/tea\/pacientes\/[^/]+$/);
|
|
||||||
await expect(page.getByRole('heading', { level: 1 })).toBeVisible();
|
|
||||||
const timeline = page.locator('app-tea-section').first();
|
|
||||||
await expect(timeline.getByText('Línea del tiempo', { exact: true })).toBeVisible();
|
|
||||||
await expect(timeline.locator('app-plot .scatterlayer .point').first()).toBeVisible();
|
|
||||||
await expect(timeline.getByRole('table')).toHaveCount(0);
|
|
||||||
const record = await downloaded(page, page.getByRole('button', { name: 'Exportar PDF' }), 'pdf');
|
|
||||||
expect(record).toMatch(/^tea-seguimiento-/);
|
|
||||||
|
|
||||||
await page.getByRole('link', { name: 'Regresar' }).click();
|
|
||||||
const focused = page.locator('app-tab-seguimiento-tea');
|
|
||||||
await expect(focused.getByRole('button', { name: 'Ver todos los pacientes' })).toBeVisible();
|
|
||||||
const focusedRows = focused.locator('table tbody tr');
|
|
||||||
await expect(focusedRows).toHaveCount(1);
|
|
||||||
await expect(focusedRows.first().locator('td')).toHaveCount(9);
|
|
||||||
await expect(focusedRows.first().locator('app-tea-stepper')).toBeVisible();
|
|
||||||
await focusedRows.first().getByRole('link').click();
|
|
||||||
|
|
||||||
await page.getByRole('link', { name: 'Análisis de riesgo' }).click();
|
|
||||||
await expect(page.getByRole('heading', { name: 'Análisis de riesgo TEA' })).toBeVisible();
|
|
||||||
await expect(page.locator('app-tea-section').first()).toBeVisible();
|
|
||||||
expect(await downloaded(page, page.getByRole('button', { name: 'Exportar PDF' }), 'pdf')).toMatch(
|
|
||||||
/^tea-riesgos-/,
|
|
||||||
);
|
|
||||||
await page.goto('/indicadores/tea');
|
|
||||||
await page.getByRole('tab', { name: 'Análisis de riesgo' }).click();
|
|
||||||
const riskList = page.locator('app-tab-riesgos-tea table.worklist');
|
|
||||||
const patientLink = riskList.getByRole('row').nth(1).getByRole('link');
|
|
||||||
await expect(patientLink).toHaveAttribute(
|
|
||||||
'href',
|
|
||||||
/\/indicadores\/tea\/pacientes\/[^/]+\/riesgo$/,
|
|
||||||
);
|
|
||||||
await patientLink.click();
|
|
||||||
await expect(page).toHaveURL(/\/indicadores\/tea\/pacientes\/[^/]+\/riesgo$/);
|
|
||||||
await expect(page.getByRole('heading', { name: 'Análisis de riesgo TEA' })).toBeVisible();
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('tea gobernanza: every section in sync mode, and the preview saved as PDF', async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/gobernanza/tea');
|
|
||||||
await expect(page.locator('app-gobernanza').getByRole('heading', { level: 2 })).toHaveText([
|
|
||||||
'Ejecución',
|
|
||||||
'Modelos',
|
|
||||||
'Entrenamiento',
|
|
||||||
'Bundles',
|
|
||||||
'Estudios EEG',
|
|
||||||
]);
|
|
||||||
await expect(page.getByRole('heading', { name: 'Subir archivos', exact: true })).toHaveCount(0);
|
|
||||||
await expect(page.getByText('Archivos de entrenamiento', { exact: true })).toHaveCount(0);
|
|
||||||
await page.getByRole('combobox', { name: 'Modo' }).click();
|
|
||||||
await page.getByRole('option', { name: 'Sync' }).click();
|
|
||||||
await expect(page.getByRole('status').filter({ hasText: 'Disponible' })).toBeVisible();
|
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Entrenar modelos' }).click();
|
|
||||||
const training = page.getByRole('heading', { name: 'Entrenamiento', level: 2 });
|
|
||||||
await expect(training).toBeVisible();
|
|
||||||
await expect(training).toBeFocused();
|
|
||||||
await expect(page.locator('app-governance-training formly-form')).toBeVisible();
|
|
||||||
|
|
||||||
const source = page.getByRole('combobox', { name: 'Origen' });
|
|
||||||
const folder = page.getByRole('textbox', { name: 'Carpeta', exact: true });
|
|
||||||
const line = page.getByRole('combobox', { name: 'Frecuencia de la red eléctrica (Hz)' });
|
|
||||||
await expect(source).toHaveText('Niños del sitio sin el diagnóstico');
|
|
||||||
await expect(folder).toBeHidden();
|
|
||||||
await expect(line).toBeHidden();
|
|
||||||
await source.click();
|
|
||||||
await page.getByRole('option', { name: 'Carpeta de EDF con edades' }).click();
|
|
||||||
await expect(folder).toBeVisible();
|
|
||||||
await expect(line).toBeVisible();
|
|
||||||
await source.click();
|
|
||||||
await page.getByRole('option', { name: 'Niños del sitio sin el diagnóstico' }).click();
|
|
||||||
await expect(folder).toBeHidden();
|
|
||||||
await expect(line).toBeHidden();
|
|
||||||
|
|
||||||
const monitor = page.locator('app-governance-models app-run-monitor');
|
|
||||||
await page.getByRole('button', { name: 'Analizar EEG' }).click();
|
|
||||||
await expect(page.getByRole('heading', { name: 'Análisis de EEG' })).toBeVisible();
|
|
||||||
await expect(monitor.getByRole('status')).toHaveText('SUCCESS', { timeout: 10 * 60_000 });
|
|
||||||
await page.getByRole('button', { name: 'Calcular riesgos' }).click();
|
|
||||||
await expect(page.getByRole('heading', { name: 'Cálculo de riesgos' })).toBeVisible();
|
|
||||||
await expect(monitor.getByRole('status')).toHaveText('SUCCESS', { timeout: 10 * 60_000 });
|
|
||||||
await page.getByRole('button', { name: 'Promover candidatas' }).click();
|
|
||||||
await expect(page.getByText('No hay candidatas que se puedan promover.')).toBeVisible();
|
|
||||||
|
|
||||||
const studies = page.locator('app-eeg-studies');
|
|
||||||
await expect(studies.locator('input[type=file]')).toHaveCount(0);
|
|
||||||
await expect(studies.locator('table.eegs tbody tr').first()).toContainText(/Válido|No válido/);
|
|
||||||
await studies.locator('table.eegs tbody button:enabled').first().click();
|
|
||||||
await expect(studies.getByRole('heading', { name: /^EEG .* meses$/ })).toBeVisible();
|
|
||||||
await studies.getByRole('button', { name: 'Analizar', exact: true }).click();
|
|
||||||
await expect(studies.locator('app-run-monitor').first().getByRole('status')).toHaveText(
|
|
||||||
'SUCCESS',
|
|
||||||
{ timeout: 10 * 60_000 },
|
|
||||||
);
|
|
||||||
|
|
||||||
const models = page.getByRole('region', { name: 'Modelos' });
|
|
||||||
const toggle = models.getByRole('button', { name: 'Evaluar un solo estudio' });
|
|
||||||
const preview = models.locator('.button-row + app-eeg-preview');
|
|
||||||
const edf = preview.getByRole('button', { name: 'EDF', exact: true });
|
|
||||||
const ados = preview.getByRole('button', { name: 'ADOS-2 (PDF)', exact: true });
|
|
||||||
const birth = preview.getByLabel('Fecha de nacimiento');
|
|
||||||
await expect(toggle).toHaveAttribute('aria-pressed', 'false');
|
|
||||||
await expect(edf).toBeHidden();
|
|
||||||
await expect(ados).toBeHidden();
|
|
||||||
await expect(birth).toBeHidden();
|
|
||||||
await toggle.click();
|
|
||||||
await expect(toggle).toHaveAttribute('aria-pressed', 'true');
|
|
||||||
await expect(page.getByRole('heading', { name: 'Vista previa', exact: true })).toHaveCount(0);
|
|
||||||
await expect(edf).toBeVisible();
|
|
||||||
await expect(ados).toBeVisible();
|
|
||||||
await expect(birth).toBeVisible();
|
|
||||||
await toggle.click();
|
|
||||||
await expect(toggle).toHaveAttribute('aria-pressed', 'false');
|
|
||||||
await expect(edf).toBeHidden();
|
|
||||||
await expect(ados).toBeHidden();
|
|
||||||
await expect(birth).toBeHidden();
|
|
||||||
await toggle.click();
|
|
||||||
await preview.getByLabel('EDF').setInputFiles(process.env['TEA_EDF']!);
|
|
||||||
await preview.getByLabel('ADOS-2 (PDF)').setInputFiles(process.env['TEA_ADOS2']!);
|
|
||||||
await preview.getByLabel('Fecha de nacimiento').fill(process.env['TEA_BIRTH']!);
|
|
||||||
await preview.getByRole('button', { name: 'Vista previa' }).click();
|
|
||||||
const dialog = page.getByRole('dialog', { name: 'Vista previa del estudio' });
|
|
||||||
await expect(dialog.getByText('Resultado de la vista previa')).toBeVisible({
|
|
||||||
timeout: 10 * 60_000,
|
|
||||||
});
|
|
||||||
await expect(dialog.locator('dt').first()).toHaveText(/^[AB]-\d+ \S/);
|
|
||||||
expect(
|
|
||||||
await downloaded(page, dialog.getByRole('button', { name: 'Guardar como PDF' }), 'pdf'),
|
|
||||||
).toMatch(/^tea-gobernanza-/);
|
|
||||||
await dialog.getByRole('button', { name: 'Cerrar' }).click();
|
|
||||||
|
|
||||||
const bundles = page.locator('app-governance-bundles');
|
|
||||||
await bundles.getByRole('combobox', { name: 'Versiones' }).click();
|
|
||||||
await page.getByRole('option', { name: 'Todas' }).click();
|
|
||||||
const [bundle] = await Promise.all([
|
|
||||||
page.waitForEvent('download'),
|
|
||||||
bundles.getByRole('button', { name: 'Exportar bundle' }).click(),
|
|
||||||
]);
|
|
||||||
expect(bundle.suggestedFilename()).toMatch(/^tea-models-[0-9a-f]{12}\.zip$/);
|
|
||||||
await expect(bundles.locator('code')).toHaveText(/^[0-9a-f]{64}$/);
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('conectar: the tea pipeline on the canvas, and a node form', async ({ page }) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/conectar');
|
|
||||||
const pipelines = page.locator('aside.pipelines a');
|
|
||||||
await expect(pipelines).toHaveCount(1);
|
|
||||||
await expect(pipelines.first()).toContainText('tea');
|
|
||||||
await pipelines.first().click();
|
|
||||||
|
|
||||||
const canvas = page.locator('.canvas');
|
|
||||||
await expect(page.getByRole('button', { name: 'Leer EDF' })).toBeVisible();
|
|
||||||
const extract = canvas.locator('.node-caption', { hasText: 'Extraer datos' });
|
|
||||||
await expect(extract).toBeVisible();
|
|
||||||
await extract.click();
|
|
||||||
|
|
||||||
const panel = page.locator('aside.panel');
|
|
||||||
await expect(panel.getByRole('heading', { name: 'Extraer datos · ados2_results' })).toBeVisible();
|
|
||||||
await expect(panel.locator('formly-form')).toBeVisible();
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('revision: the unrecognised-documents tab mirrors the pipeline', async ({ page }) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
const answer = page.waitForResponse((r) => r.url().includes('/review/unrecognised'));
|
|
||||||
await page.goto('/revision');
|
|
||||||
await expect(page.getByRole('heading', { name: 'Revisión' })).toBeVisible();
|
|
||||||
const count = ((await (await answer).json()) as unknown[]).length;
|
|
||||||
const tab = page.getByRole('tab', { name: 'Documentos no reconocidos' });
|
|
||||||
await expect(tab).toHaveText(`Documentos no reconocidos (${count})`);
|
|
||||||
await tab.click();
|
|
||||||
if (count === 0) {
|
|
||||||
await expect(page.getByText('Sin documentos no reconocidos.')).toBeVisible();
|
|
||||||
} else {
|
|
||||||
await expect(page.locator('table.plain:not(.card) tbody tr')).toHaveCount(count);
|
|
||||||
}
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('cacu and cama indicators: the four tabs over domains without data', async ({ page }) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
expect(await (await page.request.get('/api/domains')).json()).toEqual(['cacu', 'cama', 'tea']);
|
|
||||||
for (const [domain, title] of [
|
|
||||||
['cacu', 'Cáncer cervicouterino'],
|
|
||||||
['cama', 'Cáncer de mama'],
|
|
||||||
]) {
|
|
||||||
await page.goto(`/indicadores/${domain}`);
|
|
||||||
await expect(page.getByRole('heading', { name: title, level: 1 })).toBeVisible();
|
|
||||||
await expect(page.getByRole('tab')).toHaveText([
|
|
||||||
'Indicadores',
|
|
||||||
'Trazabilidad',
|
|
||||||
'Análisis de riesgos',
|
|
||||||
'Datos y definiciones',
|
|
||||||
]);
|
|
||||||
await expect(page.getByText('Sin datos en el periodo.').first()).toBeVisible();
|
|
||||||
}
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('cacu gobernanza: the shared sections only, none of the TEA ones', async ({ page }) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/gobernanza/cacu');
|
|
||||||
await expect(page.locator('app-gobernanza').getByRole('heading', { level: 2 })).toHaveText([
|
|
||||||
'Ejecución',
|
|
||||||
'Modelos',
|
|
||||||
'Entrenamiento',
|
|
||||||
'Bundles',
|
|
||||||
]);
|
|
||||||
await expect(page.locator('app-eeg-studies')).toHaveCount(0);
|
|
||||||
await expect(page.locator('app-eeg-preview')).toHaveCount(0);
|
|
||||||
const nav = page.getByRole('navigation', { name: 'Dominios' });
|
|
||||||
await expect(nav.getByRole('link', { name: 'Cáncer de mama' })).toBeVisible();
|
|
||||||
await expect(nav.getByRole('link', { name: 'Trastorno del espectro autista' })).toBeVisible();
|
|
||||||
expect(problems.filter((p) => !p.startsWith('console: Failed to load'))).toEqual([]);
|
|
||||||
});
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
import { expect, test } from '@playwright/test';
|
|
||||||
import { watch } from './support';
|
|
||||||
|
|
||||||
const besidesAuthProbes = (problems: string[]) =>
|
|
||||||
problems.filter(
|
|
||||||
(p) =>
|
|
||||||
!p.includes('/api/auth/') &&
|
|
||||||
!p.includes('/api/users/me') &&
|
|
||||||
!p.startsWith('console: Failed to load resource'),
|
|
||||||
);
|
|
||||||
|
|
||||||
test('sign-in: the guard asks first, and the form lands on the requested page', async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/indicadores/tea');
|
|
||||||
await expect(page).toHaveURL(/\/login\?next=%2Findicadores%2Ftea$/);
|
|
||||||
await expect(page.getByRole('heading', { name: 'Inicio de sesión' })).toBeVisible();
|
|
||||||
await page.getByLabel('Usuario', { exact: true }).fill('admin@isssteleon.mx');
|
|
||||||
await page.getByLabel('Contraseña', { exact: true }).fill('solo-para-pruebas');
|
|
||||||
await page.getByRole('button', { name: 'Ingresar', exact: true }).click();
|
|
||||||
await expect(page).toHaveURL(/\/indicadores\/tea$/);
|
|
||||||
await expect(page.getByRole('tab', { name: 'Resumen' })).toBeVisible();
|
|
||||||
expect(besidesAuthProbes(problems)).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('sign-in: a wrong password shows the error and stays', async ({ page }) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/login');
|
|
||||||
await page.getByLabel('Usuario', { exact: true }).fill('admin@isssteleon.mx');
|
|
||||||
await page.getByLabel('Contraseña', { exact: true }).fill('solo-para-pruebas-pero-mal');
|
|
||||||
await page.getByRole('button', { name: 'Ingresar', exact: true }).click();
|
|
||||||
await expect(page.getByRole('alert')).toHaveText('Usuario o contraseña incorrectos.');
|
|
||||||
await expect(page).toHaveURL(/\/login$/);
|
|
||||||
expect(besidesAuthProbes(problems)).toEqual([]);
|
|
||||||
});
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
import { statSync } from 'node:fs';
|
|
||||||
import { expect, Locator, Page, test as base } from '@playwright/test';
|
|
||||||
|
|
||||||
export const test = base.extend<{ admin: void }>({
|
|
||||||
admin: [
|
|
||||||
async ({ page }, use) => {
|
|
||||||
const signed = await page.request.post('/api/auth/login', {
|
|
||||||
form: { username: 'admin@isssteleon.mx', password: 'solo-para-pruebas' },
|
|
||||||
});
|
|
||||||
expect(signed.status()).toBe(204);
|
|
||||||
await use();
|
|
||||||
},
|
|
||||||
{ auto: true },
|
|
||||||
],
|
|
||||||
});
|
|
||||||
|
|
||||||
export function watch(page: Page): string[] {
|
|
||||||
const problems: string[] = [];
|
|
||||||
page.on('console', (m) => m.type() === 'error' && problems.push(`console: ${m.text()}`));
|
|
||||||
page.on('response', (r) => r.status() >= 400 && problems.push(`${r.status()} ${r.url()}`));
|
|
||||||
page.on('pageerror', (e) => problems.push(`page: ${e.message}`));
|
|
||||||
return problems;
|
|
||||||
}
|
|
||||||
|
|
||||||
export async function downloaded(
|
|
||||||
page: Page,
|
|
||||||
button: Locator,
|
|
||||||
kind: 'pdf' | 'xlsx',
|
|
||||||
): Promise<string> {
|
|
||||||
const [file] = await Promise.all([page.waitForEvent('download'), button.click()]);
|
|
||||||
const name = file.suggestedFilename();
|
|
||||||
expect(name).toMatch(new RegExp(`^tea-[a-z]+-\\d{4}-\\d{2}-\\d{2}\\.${kind}$`));
|
|
||||||
expect(name).not.toMatch(/N-?\d{4}/);
|
|
||||||
expect(statSync(await file.path()).size).toBeGreaterThan(0);
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "node_modules/ng-openapi-gen/ng-openapi-gen-schema.json",
|
|
||||||
"input": "openapi.json",
|
|
||||||
"output": "src/app/api",
|
|
||||||
"ignoreUnusedModels": false
|
|
||||||
}
|
|
||||||
-7854
File diff suppressed because it is too large
Load Diff
Generated
+262
-2115
File diff suppressed because it is too large
Load Diff
+5
-3
@@ -2,8 +2,10 @@
|
|||||||
"name": "webapp",
|
"name": "webapp",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"ng": "ng",
|
||||||
"start": "ng serve --proxy-config proxy.conf.json",
|
"start": "ng serve --proxy-config proxy.conf.json",
|
||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
|
"watch": "ng build --watch --configuration development",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
"api": "ng-openapi-gen -c ng-openapi-gen.json"
|
"api": "ng-openapi-gen -c ng-openapi-gen.json"
|
||||||
},
|
},
|
||||||
@@ -27,8 +29,8 @@
|
|||||||
"d3-zoom": "3.0.0",
|
"d3-zoom": "3.0.0",
|
||||||
"material-symbols": "0.48.3",
|
"material-symbols": "0.48.3",
|
||||||
"ngx-vflow": "2.7.0",
|
"ngx-vflow": "2.7.0",
|
||||||
"pdfmake": "0.3.15",
|
"pdfmake": "0.3.14",
|
||||||
"plotly.js": "4.1.2",
|
"plotly.js-cartesian-dist-min": "4.1.2",
|
||||||
"rxjs": "~7.8.0",
|
"rxjs": "~7.8.0",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"write-excel-file": "4.1.1"
|
"write-excel-file": "4.1.1"
|
||||||
@@ -42,7 +44,7 @@
|
|||||||
"@types/d3-selection": "3.0.13",
|
"@types/d3-selection": "3.0.13",
|
||||||
"@types/d3-zoom": "3.0.9",
|
"@types/d3-zoom": "3.0.9",
|
||||||
"@types/fhir": "0.0.44",
|
"@types/fhir": "0.0.44",
|
||||||
"@types/pdfmake": "0.3.3",
|
"@types/pdfmake": "0.3.5",
|
||||||
"@types/plotly.js": "3.0.15",
|
"@types/plotly.js": "3.0.15",
|
||||||
"jsdom": "^31.0.0",
|
"jsdom": "^31.0.0",
|
||||||
"ng-openapi-gen": "^1.1.0",
|
"ng-openapi-gen": "^1.1.0",
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
import { defineConfig } from '@playwright/test';
|
|
||||||
|
|
||||||
export default defineConfig({
|
|
||||||
testDir: 'e2e',
|
|
||||||
timeout: 15 * 60_000,
|
|
||||||
expect: { timeout: 60_000 },
|
|
||||||
workers: 1,
|
|
||||||
reporter: 'list',
|
|
||||||
use: {
|
|
||||||
baseURL: 'http://127.0.0.1:4310',
|
|
||||||
viewport: { width: 1440, height: 1000 },
|
|
||||||
actionTimeout: 60_000,
|
|
||||||
},
|
|
||||||
webServer: {
|
|
||||||
command: 'npx ng serve --host 127.0.0.1 --port 4310 --proxy-config proxy.e2e.mjs',
|
|
||||||
env: { NG_CLI_ANALYTICS: 'false' },
|
|
||||||
url: 'http://127.0.0.1:4310',
|
|
||||||
timeout: 180_000,
|
|
||||||
reuseExistingServer: false,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{ "/api": { "target": "http://127.0.0.1:5711", "pathRewrite": { "^/api": "" } } }
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
export default { '/api': { target: process.env.API_URL, pathRewrite: { '^/api': '' } } };
|
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
@use 'sass:map';
|
@use 'sass:map';
|
||||||
@use '@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
$_palettes: (
|
$_palettes: (
|
||||||
primary: (
|
primary: (
|
||||||
0: #000000,
|
0: #000000,
|
||||||
|
|||||||
@@ -1,100 +0,0 @@
|
|||||||
import type { Observation, ObservationComponent } from 'fhir/r4';
|
|
||||||
import { describe, expect, it } from 'vitest';
|
|
||||||
import { ados2Component, ados2Groups } from './ados2';
|
|
||||||
import { EXT } from './fhir';
|
|
||||||
|
|
||||||
function item(
|
|
||||||
field: string,
|
|
||||||
domain: string,
|
|
||||||
subdomain: string,
|
|
||||||
code: string,
|
|
||||||
title: string,
|
|
||||||
value?: number,
|
|
||||||
): ObservationComponent {
|
|
||||||
return {
|
|
||||||
code: {
|
|
||||||
coding: [{ code: `ados2.${field}` }, { code, display: title }],
|
|
||||||
text: title,
|
|
||||||
},
|
|
||||||
extension: [
|
|
||||||
{ url: EXT + 'ados2-domain', valueCoding: { code: domain[0], display: domain } },
|
|
||||||
{ url: EXT + 'ados2-subdomain', valueCoding: { code: subdomain, display: subdomain } },
|
|
||||||
],
|
|
||||||
valueQuantity: value == null ? undefined : { value },
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
const AS = 'Afectación social (AS)';
|
|
||||||
const CRR = 'Comportamiento restringido y repetitivo (CRR)';
|
|
||||||
|
|
||||||
const observation: Observation = {
|
|
||||||
resourceType: 'Observation',
|
|
||||||
status: 'final',
|
|
||||||
code: { coding: [{ code: 'ados2' }] },
|
|
||||||
component: [
|
|
||||||
{ code: { coding: [{ code: 'ados2.module' }] }, valueCodeableConcept: { text: 'Módulo 1' } },
|
|
||||||
item('pointing', AS, 'Comunicación', 'A-7', 'Señalar', 2),
|
|
||||||
item('gestures', AS, 'Comunicación', 'A-8', 'Gestos', 1),
|
|
||||||
item(
|
|
||||||
'unusual_eye_contact',
|
|
||||||
AS,
|
|
||||||
'Interacción social recíproca',
|
|
||||||
'B-1',
|
|
||||||
'Contacto visual inusual',
|
|
||||||
),
|
|
||||||
item(
|
|
||||||
'intonation',
|
|
||||||
CRR,
|
|
||||||
'Comportamientos restringidos y repetitivos',
|
|
||||||
'A-3',
|
|
||||||
'Entonación de las vocalizaciones o verbalizaciones',
|
|
||||||
3,
|
|
||||||
),
|
|
||||||
{ code: { coding: [{ code: 'ados2.response_to_name' }] } },
|
|
||||||
],
|
|
||||||
};
|
|
||||||
|
|
||||||
describe('Ítems del ADOS-2', () => {
|
|
||||||
it('agrupa los ítems del módulo por dominio y subdominio en su orden', () => {
|
|
||||||
expect(ados2Groups(observation)).toEqual([
|
|
||||||
{
|
|
||||||
domain: AS,
|
|
||||||
subdomains: [
|
|
||||||
{
|
|
||||||
subdomain: 'Comunicación',
|
|
||||||
items: [
|
|
||||||
{ code: 'A-7', title: 'Señalar', score: 2 },
|
|
||||||
{ code: 'A-8', title: 'Gestos', score: 1 },
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
subdomain: 'Interacción social recíproca',
|
|
||||||
items: [{ code: 'B-1', title: 'Contacto visual inusual', score: undefined }],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
domain: CRR,
|
|
||||||
subdomains: [
|
|
||||||
{
|
|
||||||
subdomain: 'Comportamientos restringidos y repetitivos',
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
code: 'A-3',
|
|
||||||
title: 'Entonación de las vocalizaciones o verbalizaciones',
|
|
||||||
score: 3,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
expect(ados2Groups(undefined)).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('encuentra el ítem de una asociación por su número', () => {
|
|
||||||
expect(ados2Component(observation, 2)?.code.text).toBe('Señalar');
|
|
||||||
expect(ados2Component(observation, 8)?.code.coding?.[0].code).toBe('ados2.response_to_name');
|
|
||||||
expect(ados2Component(observation, 0)).toBeUndefined();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
import type { Observation, ObservationComponent } from 'fhir/r4';
|
|
||||||
import { code, ext } from './fhir';
|
|
||||||
|
|
||||||
const ADOS2_ITEMS = [
|
|
||||||
'vocalization_directed',
|
|
||||||
'pointing',
|
|
||||||
'gestures',
|
|
||||||
'unusual_eye_contact',
|
|
||||||
'facial_expressions',
|
|
||||||
'gaze_integration',
|
|
||||||
'shared_enjoyment',
|
|
||||||
'response_to_name',
|
|
||||||
'ignoring',
|
|
||||||
'requesting',
|
|
||||||
'showing',
|
|
||||||
'joint_attention_initiation',
|
|
||||||
'joint_attention_response',
|
|
||||||
'social_overtures_quality',
|
|
||||||
'social_overtures_caregiver',
|
|
||||||
'reciprocal_communication',
|
|
||||||
'rapport_quality',
|
|
||||||
'intonation',
|
|
||||||
'stereotyped_language',
|
|
||||||
'unusual_sensory_interest',
|
|
||||||
'hand_finger_mannerisms',
|
|
||||||
'repetitive_interests',
|
|
||||||
];
|
|
||||||
|
|
||||||
interface Ados2Item {
|
|
||||||
code: string;
|
|
||||||
title: string;
|
|
||||||
score?: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Ados2Subdomain {
|
|
||||||
subdomain: string;
|
|
||||||
items: Ados2Item[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Ados2Domain {
|
|
||||||
domain: string;
|
|
||||||
subdomains: Ados2Subdomain[];
|
|
||||||
}
|
|
||||||
|
|
||||||
function coded(component: ObservationComponent, name: string): string {
|
|
||||||
const coding = ext(component, name)?.valueCoding;
|
|
||||||
return coding?.display ?? coding?.code ?? '';
|
|
||||||
}
|
|
||||||
|
|
||||||
export function ados2Groups(observation: Observation | undefined): Ados2Domain[] {
|
|
||||||
const groups: Ados2Domain[] = [];
|
|
||||||
for (const component of observation?.component ?? []) {
|
|
||||||
const item = component.code.coding?.[1];
|
|
||||||
if (!ext(component, 'ados2-domain') || !item?.code) continue;
|
|
||||||
const domain = coded(component, 'ados2-domain');
|
|
||||||
const subdomain = coded(component, 'ados2-subdomain');
|
|
||||||
let group = groups.at(-1);
|
|
||||||
if (!group || group.domain !== domain) {
|
|
||||||
group = { domain, subdomains: [] };
|
|
||||||
groups.push(group);
|
|
||||||
}
|
|
||||||
let sub = group.subdomains.at(-1);
|
|
||||||
if (!sub || sub.subdomain !== subdomain) {
|
|
||||||
sub = { subdomain, items: [] };
|
|
||||||
group.subdomains.push(sub);
|
|
||||||
}
|
|
||||||
sub.items.push({
|
|
||||||
code: item.code,
|
|
||||||
title: component.code.text ?? item.display ?? item.code,
|
|
||||||
score: component.valueQuantity?.value,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return groups;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function ados2Component(
|
|
||||||
observation: Observation | undefined,
|
|
||||||
number: number,
|
|
||||||
): ObservationComponent | undefined {
|
|
||||||
const field = ADOS2_ITEMS[number - 1];
|
|
||||||
return observation?.component?.find((c) => field && code(c.code) === `ados2.${field}`);
|
|
||||||
}
|
|
||||||
@@ -1,21 +1,15 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
export function provideApiConfiguration(rootUrl: string) {
|
export function provideApiConfiguration(rootUrl: string) {
|
||||||
var config = new ApiConfiguration();
|
var config = new ApiConfiguration();
|
||||||
config.rootUrl = rootUrl;
|
config.rootUrl = rootUrl;
|
||||||
return {
|
return {
|
||||||
provide: ApiConfiguration,
|
provide: ApiConfiguration,
|
||||||
useValue: config
|
useValue: config,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root',
|
providedIn: 'root',
|
||||||
})
|
})
|
||||||
export class ApiConfiguration {
|
export class ApiConfiguration {
|
||||||
rootUrl: string = '';
|
rootUrl: string = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+38
-23
@@ -1,48 +1,63 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable, firstValueFrom } from 'rxjs';
|
import { Observable, firstValueFrom } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { ApiConfiguration } from './api-configuration';
|
import { ApiConfiguration } from './api-configuration';
|
||||||
import { StrictHttpResponse } from './strict-http-response';
|
import { StrictHttpResponse } from './strict-http-response';
|
||||||
|
export type ApiFnOptional<P, R> = (
|
||||||
export type ApiFnOptional<P, R> = (http: HttpClient, rootUrl: string, params?: P, context?: HttpContext) => Observable<StrictHttpResponse<R>>;
|
http: HttpClient,
|
||||||
export type ApiFnRequired<P, R> = (http: HttpClient, rootUrl: string, params: P, context?: HttpContext) => Observable<StrictHttpResponse<R>>;
|
rootUrl: string,
|
||||||
|
params?: P,
|
||||||
|
context?: HttpContext,
|
||||||
|
) => Observable<StrictHttpResponse<R>>;
|
||||||
|
export type ApiFnRequired<P, R> = (
|
||||||
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: P,
|
||||||
|
context?: HttpContext,
|
||||||
|
) => Observable<StrictHttpResponse<R>>;
|
||||||
@Injectable({ providedIn: 'root' })
|
@Injectable({ providedIn: 'root' })
|
||||||
export class Api {
|
export class Api {
|
||||||
constructor(
|
constructor(
|
||||||
private config: ApiConfiguration,
|
private config: ApiConfiguration,
|
||||||
private http: HttpClient
|
private http: HttpClient,
|
||||||
) {
|
) {}
|
||||||
}
|
|
||||||
|
|
||||||
private _rootUrl?: string;
|
private _rootUrl?: string;
|
||||||
|
|
||||||
get rootUrl(): string {
|
get rootUrl(): string {
|
||||||
return this._rootUrl || this.config.rootUrl;
|
return this._rootUrl || this.config.rootUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
set rootUrl(rootUrl: string) {
|
set rootUrl(rootUrl: string) {
|
||||||
this._rootUrl = rootUrl;
|
this._rootUrl = rootUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
invoke<P, R>(fn: ApiFnRequired<P, R>, params: P, context?: HttpContext): Promise<R>;
|
invoke<P, R>(fn: ApiFnRequired<P, R>, params: P, context?: HttpContext): Promise<R>;
|
||||||
invoke<P, R>(fn: ApiFnOptional<P, R>, params?: P, context?: HttpContext): Promise<R>;
|
invoke<P, R>(fn: ApiFnOptional<P, R>, params?: P, context?: HttpContext): Promise<R>;
|
||||||
async invoke<P, R>(fn: ApiFnRequired<P, R> | ApiFnOptional<P, R>, params: P, context?: HttpContext): Promise<R> {
|
async invoke<P, R>(
|
||||||
|
fn: ApiFnRequired<P, R> | ApiFnOptional<P, R>,
|
||||||
|
params: P,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Promise<R> {
|
||||||
const resp = this.invoke$Response(fn, params, context);
|
const resp = this.invoke$Response(fn, params, context);
|
||||||
return (await resp).body;
|
return (await resp).body;
|
||||||
}
|
}
|
||||||
|
invoke$Response<P, R>(
|
||||||
invoke$Response<P, R>(fn: ApiFnRequired<P, R>, params: P, context?: HttpContext): Promise<StrictHttpResponse<R>>;
|
fn: ApiFnRequired<P, R>,
|
||||||
invoke$Response<P, R>(fn: ApiFnOptional<P, R>, params?: P, context?: HttpContext): Promise<StrictHttpResponse<R>>;
|
params: P,
|
||||||
invoke$Response<P, R>(fn: ApiFnRequired<P, R> | ApiFnOptional<P, R>, params: P, context?: HttpContext): Promise<StrictHttpResponse<R>> {
|
context?: HttpContext,
|
||||||
const obs = fn(this.http, this.rootUrl, params, context)
|
): Promise<StrictHttpResponse<R>>;
|
||||||
.pipe(
|
invoke$Response<P, R>(
|
||||||
filter(r => r instanceof HttpResponse),
|
fn: ApiFnOptional<P, R>,
|
||||||
map(r => r as StrictHttpResponse<R>));
|
params?: P,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Promise<StrictHttpResponse<R>>;
|
||||||
|
invoke$Response<P, R>(
|
||||||
|
fn: ApiFnRequired<P, R> | ApiFnOptional<P, R>,
|
||||||
|
params: P,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Promise<StrictHttpResponse<R>> {
|
||||||
|
const obs = fn(this.http, this.rootUrl, params, context).pipe(
|
||||||
|
filter((r) => r instanceof HttpResponse),
|
||||||
|
map((r) => r as StrictHttpResponse<R>),
|
||||||
|
);
|
||||||
return firstValueFrom(obs);
|
return firstValueFrom(obs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,32 +1,27 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Login } from '../../models/login';
|
import { Login } from '../../models/login';
|
||||||
|
|
||||||
export interface AuthCookieLogin$Params {
|
export interface AuthCookieLogin$Params {
|
||||||
body: Login
|
body: Login;
|
||||||
}
|
}
|
||||||
|
export function authCookieLogin(
|
||||||
export function authCookieLogin(http: HttpClient, rootUrl: string, params: AuthCookieLogin$Params, context?: HttpContext): Observable<StrictHttpResponse<any>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: AuthCookieLogin$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<any>> {
|
||||||
const rb = new RequestBuilder(rootUrl, authCookieLogin.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, authCookieLogin.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.body(params.body, 'application/x-www-form-urlencoded');
|
rb.body(params.body, 'application/x-www-form-urlencoded');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<any>;
|
return r as StrictHttpResponse<any>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
authCookieLogin.PATH = '/auth/login';
|
authCookieLogin.PATH = '/auth/login';
|
||||||
|
|||||||
@@ -1,29 +1,23 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
export interface AuthCookieLogout$Params {}
|
||||||
|
export function authCookieLogout(
|
||||||
export interface AuthCookieLogout$Params {
|
http: HttpClient,
|
||||||
}
|
rootUrl: string,
|
||||||
|
params?: AuthCookieLogout$Params,
|
||||||
export function authCookieLogout(http: HttpClient, rootUrl: string, params?: AuthCookieLogout$Params, context?: HttpContext): Observable<StrictHttpResponse<any>> {
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<any>> {
|
||||||
const rb = new RequestBuilder(rootUrl, authCookieLogout.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, authCookieLogout.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<any>;
|
return r as StrictHttpResponse<any>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
authCookieLogout.PATH = '/auth/logout';
|
authCookieLogout.PATH = '/auth/logout';
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { AnalyzeRequest } from '../../models/analyze-request';
|
|
||||||
|
|
||||||
export interface AnalyzeEegs$Params {
|
|
||||||
body: AnalyzeRequest
|
|
||||||
}
|
|
||||||
|
|
||||||
export function analyzeEegs(http: HttpClient, rootUrl: string, params: AnalyzeEegs$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
|
||||||
[key: string]: string;
|
|
||||||
}>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, analyzeEegs.PATH, 'post');
|
|
||||||
if (params) {
|
|
||||||
rb.body(params.body, 'application/json');
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<{
|
|
||||||
[key: string]: string;
|
|
||||||
}>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
analyzeEegs.PATH = '/tea/eegs/analyze';
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
|
|
||||||
export interface EegStudiesSummary$Params {
|
|
||||||
}
|
|
||||||
|
|
||||||
export function eegStudiesSummary(http: HttpClient, rootUrl: string, params?: EegStudiesSummary$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
|
||||||
[key: string]: number;
|
|
||||||
}>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, eegStudiesSummary.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<{
|
|
||||||
[key: string]: number;
|
|
||||||
}>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
eegStudiesSummary.PATH = '/tea/eegs/summary';
|
|
||||||
@@ -1,30 +1,24 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Study } from '../../models/study';
|
import { Study } from '../../models/study';
|
||||||
|
export interface Studies$Params {}
|
||||||
export interface Studies$Params {
|
export function studies(
|
||||||
}
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
export function studies(http: HttpClient, rootUrl: string, params?: Studies$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<Study>>> {
|
params?: Studies$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Array<Study>>> {
|
||||||
const rb = new RequestBuilder(rootUrl, studies.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, studies.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<Study>>;
|
return r as StrictHttpResponse<Array<Study>>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
studies.PATH = '/tea/eegs';
|
studies.PATH = '/tea/eegs';
|
||||||
|
|||||||
@@ -1,32 +1,27 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Analysis } from '../../models/analysis';
|
import { Analysis } from '../../models/analysis';
|
||||||
|
|
||||||
export interface Study$Params {
|
export interface Study$Params {
|
||||||
eeg_id: string;
|
eeg_id: string;
|
||||||
}
|
}
|
||||||
|
export function study(
|
||||||
export function study(http: HttpClient, rootUrl: string, params: Study$Params, context?: HttpContext): Observable<StrictHttpResponse<Analysis>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: Study$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Analysis>> {
|
||||||
const rb = new RequestBuilder(rootUrl, study.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, study.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('eeg_id', params.eeg_id, {});
|
rb.path('eeg_id', params.eeg_id, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Analysis>;
|
return r as StrictHttpResponse<Analysis>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
study.PATH = '/tea/eegs/{eeg_id}';
|
study.PATH = '/tea/eegs/{eeg_id}';
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Health } from '../../models/health';
|
|
||||||
|
|
||||||
export interface ExecutionHealth$Params {
|
|
||||||
mode?: ('sync' | 'local' | 'remote' | null);
|
|
||||||
scheduler?: (string | null);
|
|
||||||
reference?: (string | null);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function executionHealth(http: HttpClient, rootUrl: string, params?: ExecutionHealth$Params, context?: HttpContext): Observable<StrictHttpResponse<Health>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, executionHealth.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.query('mode', params.mode, {});
|
|
||||||
rb.query('scheduler', params.scheduler, {});
|
|
||||||
rb.query('reference', params.reference, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<Health>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
executionHealth.PATH = '/execution/health';
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Options } from '../../models/options';
|
|
||||||
|
|
||||||
export interface ExecutionOptions$Params {
|
|
||||||
}
|
|
||||||
|
|
||||||
export function executionOptions(http: HttpClient, rootUrl: string, params?: ExecutionOptions$Params, context?: HttpContext): Observable<StrictHttpResponse<Options>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, executionOptions.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<Options>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
executionOptions.PATH = '/execution/options';
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
|
|
||||||
export interface EegSummary$Params {
|
|
||||||
domain: Domain;
|
|
||||||
|
|
||||||
'follow-up-window'?: (number | null);
|
|
||||||
|
|
||||||
'follow-up-start'?: (string | null);
|
|
||||||
|
|
||||||
'follow-up-cutoff'?: (string | null);
|
|
||||||
'follow-up-status'?: (string | null);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function eegSummary(http: HttpClient, rootUrl: string, params: EegSummary$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
|
||||||
}>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, eegSummary.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.path('domain', params.domain, {});
|
|
||||||
rb.query('follow-up-window', params['follow-up-window'], {});
|
|
||||||
rb.query('follow-up-start', params['follow-up-start'], {});
|
|
||||||
rb.query('follow-up-cutoff', params['follow-up-cutoff'], {});
|
|
||||||
rb.query('follow-up-status', params['follow-up-status'], {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<{
|
|
||||||
}>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
eegSummary.PATH = '/{domain}/fhir/Patient/$eeg-summary';
|
|
||||||
@@ -1,34 +1,29 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface Metadata$Params {
|
export interface Metadata$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
}
|
}
|
||||||
|
export function metadata(
|
||||||
export function metadata(http: HttpClient, rootUrl: string, params: Metadata$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: Metadata$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, metadata.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, metadata.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
metadata.PATH = '/{domain}/fhir/metadata';
|
metadata.PATH = '/{domain}/fhir/metadata';
|
||||||
|
|||||||
@@ -1,41 +1,35 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface PostBundle$Params {
|
export interface PostBundle$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
|
|
||||||
sender: string;
|
sender: string;
|
||||||
body: {
|
body: {
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
export function postBundle(
|
||||||
|
http: HttpClient,
|
||||||
export function postBundle(http: HttpClient, rootUrl: string, params: PostBundle$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
rootUrl: string,
|
||||||
}>> {
|
params: PostBundle$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, postBundle.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, postBundle.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.query('sender', params.sender, {});
|
rb.query('sender', params.sender, {});
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
postBundle.PATH = '/{domain}/fhir';
|
postBundle.PATH = '/{domain}/fhir';
|
||||||
|
|||||||
@@ -1,36 +1,31 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface ReadMeasure$Params {
|
export interface ReadMeasure$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
|
export function readMeasure(
|
||||||
export function readMeasure(http: HttpClient, rootUrl: string, params: ReadMeasure$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: ReadMeasure$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, readMeasure.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, readMeasure.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.path('id', params.id, {});
|
rb.path('id', params.id, {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
readMeasure.PATH = '/{domain}/fhir/Measure/{id}';
|
readMeasure.PATH = '/{domain}/fhir/Measure/{id}';
|
||||||
|
|||||||
@@ -1,36 +1,31 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface ReadPatient$Params {
|
export interface ReadPatient$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
|
export function readPatient(
|
||||||
export function readPatient(http: HttpClient, rootUrl: string, params: ReadPatient$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: ReadPatient$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, readPatient.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, readPatient.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.path('id', params.id, {});
|
rb.path('id', params.id, {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
readPatient.PATH = '/{domain}/fhir/Patient/{id}';
|
readPatient.PATH = '/{domain}/fhir/Patient/{id}';
|
||||||
|
|||||||
@@ -1,24 +1,21 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchCondition$Params {
|
export interface SearchCondition$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
|
subject?: string | null;
|
||||||
subject?: (string | null);
|
_count?: number | null;
|
||||||
'_count'?: (number | null);
|
_offset?: number;
|
||||||
'_offset'?: number;
|
|
||||||
}
|
}
|
||||||
|
export function searchCondition(
|
||||||
export function searchCondition(http: HttpClient, rootUrl: string, params: SearchCondition$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchCondition$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchCondition.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchCondition.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -26,16 +23,13 @@ export function searchCondition(http: HttpClient, rootUrl: string, params: Searc
|
|||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchCondition.PATH = '/{domain}/fhir/Condition';
|
searchCondition.PATH = '/{domain}/fhir/Condition';
|
||||||
|
|||||||
@@ -1,24 +1,21 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchDiagnosticReport$Params {
|
export interface SearchDiagnosticReport$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
|
subject?: string | null;
|
||||||
subject?: (string | null);
|
_count?: number | null;
|
||||||
'_count'?: (number | null);
|
_offset?: number;
|
||||||
'_offset'?: number;
|
|
||||||
}
|
}
|
||||||
|
export function searchDiagnosticReport(
|
||||||
export function searchDiagnosticReport(http: HttpClient, rootUrl: string, params: SearchDiagnosticReport$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchDiagnosticReport$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchDiagnosticReport.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchDiagnosticReport.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -26,16 +23,13 @@ export function searchDiagnosticReport(http: HttpClient, rootUrl: string, params
|
|||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchDiagnosticReport.PATH = '/{domain}/fhir/DiagnosticReport';
|
searchDiagnosticReport.PATH = '/{domain}/fhir/DiagnosticReport';
|
||||||
|
|||||||
@@ -1,24 +1,21 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchEncounter$Params {
|
export interface SearchEncounter$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
|
subject?: string | null;
|
||||||
subject?: (string | null);
|
_count?: number | null;
|
||||||
'_count'?: (number | null);
|
_offset?: number;
|
||||||
'_offset'?: number;
|
|
||||||
}
|
}
|
||||||
|
export function searchEncounter(
|
||||||
export function searchEncounter(http: HttpClient, rootUrl: string, params: SearchEncounter$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchEncounter$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchEncounter.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchEncounter.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -26,16 +23,13 @@ export function searchEncounter(http: HttpClient, rootUrl: string, params: Searc
|
|||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchEncounter.PATH = '/{domain}/fhir/Encounter';
|
searchEncounter.PATH = '/{domain}/fhir/Encounter';
|
||||||
|
|||||||
@@ -1,30 +1,24 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchMeasureReport$Params {
|
export interface SearchMeasureReport$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
|
|
||||||
measure: string;
|
measure: string;
|
||||||
|
|
||||||
'reporting-period': string;
|
'reporting-period': string;
|
||||||
|
'as-of'?: string | null;
|
||||||
'as-of'?: (string | null);
|
'event-cutoff'?: string | null;
|
||||||
|
_count?: number | null;
|
||||||
'event-cutoff'?: (string | null);
|
_offset?: number;
|
||||||
'_count'?: (number | null);
|
|
||||||
'_offset'?: number;
|
|
||||||
}
|
}
|
||||||
|
export function searchMeasureReport(
|
||||||
export function searchMeasureReport(http: HttpClient, rootUrl: string, params: SearchMeasureReport$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchMeasureReport$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchMeasureReport.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchMeasureReport.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -35,16 +29,13 @@ export function searchMeasureReport(http: HttpClient, rootUrl: string, params: S
|
|||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchMeasureReport.PATH = '/{domain}/fhir/MeasureReport';
|
searchMeasureReport.PATH = '/{domain}/fhir/MeasureReport';
|
||||||
|
|||||||
@@ -1,38 +1,33 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchMeasure$Params {
|
export interface SearchMeasure$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
'_count'?: (number | null);
|
_count?: number | null;
|
||||||
'_offset'?: number;
|
_offset?: number;
|
||||||
}
|
}
|
||||||
|
export function searchMeasure(
|
||||||
export function searchMeasure(http: HttpClient, rootUrl: string, params: SearchMeasure$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchMeasure$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchMeasure.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchMeasure.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchMeasure.PATH = '/{domain}/fhir/Measure';
|
searchMeasure.PATH = '/{domain}/fhir/Measure';
|
||||||
|
|||||||
@@ -1,24 +1,21 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchObservation$Params {
|
export interface SearchObservation$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
|
subject?: string | null;
|
||||||
subject?: (string | null);
|
_count?: number | null;
|
||||||
'_count'?: (number | null);
|
_offset?: number;
|
||||||
'_offset'?: number;
|
|
||||||
}
|
}
|
||||||
|
export function searchObservation(
|
||||||
export function searchObservation(http: HttpClient, rootUrl: string, params: SearchObservation$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchObservation$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchObservation.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchObservation.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -26,16 +23,13 @@ export function searchObservation(http: HttpClient, rootUrl: string, params: Sea
|
|||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchObservation.PATH = '/{domain}/fhir/Observation';
|
searchObservation.PATH = '/{domain}/fhir/Observation';
|
||||||
|
|||||||
@@ -1,52 +1,41 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchPatient$Params {
|
export interface SearchPatient$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
'_id'?: (string | null);
|
_id?: string | null;
|
||||||
|
'follow-up-window'?: number | null;
|
||||||
'follow-up-window'?: (number | null);
|
'follow-up-cutoff'?: string | null;
|
||||||
|
'follow-up-status'?: string | null;
|
||||||
'follow-up-start'?: (string | null);
|
name?: string | null;
|
||||||
|
identifier?: string | null;
|
||||||
'follow-up-cutoff'?: (string | null);
|
birthdate?: Array<string>;
|
||||||
'follow-up-status'?: (string | null);
|
_sort?: string;
|
||||||
|
'risk-horizon'?: number | null;
|
||||||
name?: (string | null);
|
_revinclude?: Array<string>;
|
||||||
|
|
||||||
identifier?: (string | null);
|
|
||||||
|
|
||||||
'_sort'?: string;
|
|
||||||
|
|
||||||
'risk-horizon'?: (number | null);
|
|
||||||
|
|
||||||
'_revinclude'?: Array<string>;
|
|
||||||
|
|
||||||
'_include:iterate'?: Array<string>;
|
'_include:iterate'?: Array<string>;
|
||||||
'_count'?: (number | null);
|
_count?: number | null;
|
||||||
'_offset'?: number;
|
_offset?: number;
|
||||||
}
|
}
|
||||||
|
export function searchPatient(
|
||||||
export function searchPatient(http: HttpClient, rootUrl: string, params: SearchPatient$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchPatient$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchPatient.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchPatient.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.query('_id', params['_id'], {});
|
rb.query('_id', params['_id'], {});
|
||||||
rb.query('follow-up-window', params['follow-up-window'], {});
|
rb.query('follow-up-window', params['follow-up-window'], {});
|
||||||
rb.query('follow-up-start', params['follow-up-start'], {});
|
|
||||||
rb.query('follow-up-cutoff', params['follow-up-cutoff'], {});
|
rb.query('follow-up-cutoff', params['follow-up-cutoff'], {});
|
||||||
rb.query('follow-up-status', params['follow-up-status'], {});
|
rb.query('follow-up-status', params['follow-up-status'], {});
|
||||||
rb.query('name', params.name, {});
|
rb.query('name', params.name, {});
|
||||||
rb.query('identifier', params.identifier, {});
|
rb.query('identifier', params.identifier, {});
|
||||||
|
rb.query('birthdate', params.birthdate, {});
|
||||||
rb.query('_sort', params['_sort'], {});
|
rb.query('_sort', params['_sort'], {});
|
||||||
rb.query('risk-horizon', params['risk-horizon'], {});
|
rb.query('risk-horizon', params['risk-horizon'], {});
|
||||||
rb.query('_revinclude', params['_revinclude'], {});
|
rb.query('_revinclude', params['_revinclude'], {});
|
||||||
@@ -54,16 +43,13 @@ export function searchPatient(http: HttpClient, rootUrl: string, params: SearchP
|
|||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchPatient.PATH = '/{domain}/fhir/Patient';
|
searchPatient.PATH = '/{domain}/fhir/Patient';
|
||||||
|
|||||||
@@ -1,24 +1,21 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchProcedure$Params {
|
export interface SearchProcedure$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
|
subject?: string | null;
|
||||||
subject?: (string | null);
|
_count?: number | null;
|
||||||
'_count'?: (number | null);
|
_offset?: number;
|
||||||
'_offset'?: number;
|
|
||||||
}
|
}
|
||||||
|
export function searchProcedure(
|
||||||
export function searchProcedure(http: HttpClient, rootUrl: string, params: SearchProcedure$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchProcedure$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchProcedure.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchProcedure.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -26,16 +23,13 @@ export function searchProcedure(http: HttpClient, rootUrl: string, params: Searc
|
|||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchProcedure.PATH = '/{domain}/fhir/Procedure';
|
searchProcedure.PATH = '/{domain}/fhir/Procedure';
|
||||||
|
|||||||
@@ -1,24 +1,21 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface SearchRiskAssessment$Params {
|
export interface SearchRiskAssessment$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
|
subject?: string | null;
|
||||||
subject?: (string | null);
|
_count?: number | null;
|
||||||
'_count'?: (number | null);
|
_offset?: number;
|
||||||
'_offset'?: number;
|
|
||||||
}
|
}
|
||||||
|
export function searchRiskAssessment(
|
||||||
export function searchRiskAssessment(http: HttpClient, rootUrl: string, params: SearchRiskAssessment$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
}>> {
|
rootUrl: string,
|
||||||
|
params: SearchRiskAssessment$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<{}>> {
|
||||||
const rb = new RequestBuilder(rootUrl, searchRiskAssessment.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, searchRiskAssessment.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -26,16 +23,13 @@ export function searchRiskAssessment(http: HttpClient, rootUrl: string, params:
|
|||||||
rb.query('_count', params['_count'], {});
|
rb.query('_count', params['_count'], {});
|
||||||
rb.query('_offset', params['_offset'], {});
|
rb.query('_offset', params['_offset'], {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'json', accept: 'application/fhir+json', context }))
|
||||||
rb.build({ responseType: 'json', accept: 'application/fhir+json', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{}>;
|
||||||
}>;
|
}),
|
||||||
})
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
searchRiskAssessment.PATH = '/{domain}/fhir/RiskAssessment';
|
searchRiskAssessment.PATH = '/{domain}/fhir/RiskAssessment';
|
||||||
|
|||||||
@@ -1,32 +1,27 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Browsed } from '../../models/browsed';
|
import { Browsed } from '../../models/browsed';
|
||||||
|
|
||||||
export interface Browse$Params {
|
export interface Browse$Params {
|
||||||
path?: (string | null);
|
path?: string | null;
|
||||||
}
|
}
|
||||||
|
export function browse(
|
||||||
export function browse(http: HttpClient, rootUrl: string, params?: Browse$Params, context?: HttpContext): Observable<StrictHttpResponse<Browsed>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params?: Browse$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Browsed>> {
|
||||||
const rb = new RequestBuilder(rootUrl, browse.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, browse.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.query('path', params.path, {});
|
rb.query('path', params.path, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Browsed>;
|
return r as StrictHttpResponse<Browsed>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
browse.PATH = '/ingest/sources/browse';
|
browse.PATH = '/ingest/sources/browse';
|
||||||
|
|||||||
@@ -1,33 +1,33 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
export interface ConceptMaps$Params {}
|
||||||
|
export function conceptMaps(
|
||||||
export interface ConceptMaps$Params {
|
http: HttpClient,
|
||||||
}
|
rootUrl: string,
|
||||||
|
params?: ConceptMaps$Params,
|
||||||
export function conceptMaps(http: HttpClient, rootUrl: string, params?: ConceptMaps$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<{
|
context?: HttpContext,
|
||||||
[key: string]: any;
|
): Observable<
|
||||||
}>>> {
|
StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, conceptMaps.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, conceptMaps.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<{
|
return r as StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>>;
|
}>
|
||||||
})
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
conceptMaps.PATH = '/ingest/concept-maps';
|
conceptMaps.PATH = '/ingest/concept-maps';
|
||||||
|
|||||||
@@ -1,35 +1,32 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
|
|
||||||
export interface GetConceptMap$Params {
|
export interface GetConceptMap$Params {
|
||||||
map_id: string;
|
map_id: string;
|
||||||
}
|
}
|
||||||
|
export function getConceptMap(
|
||||||
export function getConceptMap(http: HttpClient, rootUrl: string, params: GetConceptMap$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: any;
|
rootUrl: string,
|
||||||
}>> {
|
params: GetConceptMap$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, getConceptMap.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, getConceptMap.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('map_id', params.map_id, {});
|
rb.path('map_id', params.map_id, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
getConceptMap.PATH = '/ingest/concept-maps/{map_id}';
|
getConceptMap.PATH = '/ingest/concept-maps/{map_id}';
|
||||||
|
|||||||
@@ -1,39 +1,40 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
|
|
||||||
export interface NodeRows$Params {
|
export interface NodeRows$Params {
|
||||||
pipeline_id: string;
|
pipeline_id: string;
|
||||||
node_id: string;
|
node_id: string;
|
||||||
limit?: number;
|
limit?: number;
|
||||||
}
|
}
|
||||||
|
export function nodeRows(
|
||||||
export function nodeRows(http: HttpClient, rootUrl: string, params: NodeRows$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<{
|
http: HttpClient,
|
||||||
[key: string]: any;
|
rootUrl: string,
|
||||||
}>>> {
|
params: NodeRows$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, nodeRows.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, nodeRows.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('pipeline_id', params.pipeline_id, {});
|
rb.path('pipeline_id', params.pipeline_id, {});
|
||||||
rb.path('node_id', params.node_id, {});
|
rb.path('node_id', params.node_id, {});
|
||||||
rb.query('limit', params.limit, {});
|
rb.query('limit', params.limit, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<{
|
return r as StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>>;
|
}>
|
||||||
})
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
nodeRows.PATH = '/ingest/pipelines/{pipeline_id}/nodes/{node_id}/rows';
|
nodeRows.PATH = '/ingest/pipelines/{pipeline_id}/nodes/{node_id}/rows';
|
||||||
|
|||||||
@@ -1,34 +1,29 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { SignIn } from '../../models/sign-in';
|
import { SignIn } from '../../models/sign-in';
|
||||||
|
|
||||||
export interface OauthStart$Params {
|
export interface OauthStart$Params {
|
||||||
provider: string;
|
provider: string;
|
||||||
origin: string;
|
origin: string;
|
||||||
}
|
}
|
||||||
|
export function oauthStart(
|
||||||
export function oauthStart(http: HttpClient, rootUrl: string, params: OauthStart$Params, context?: HttpContext): Observable<StrictHttpResponse<SignIn>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: OauthStart$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<SignIn>> {
|
||||||
const rb = new RequestBuilder(rootUrl, oauthStart.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, oauthStart.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('provider', params.provider, {});
|
rb.path('provider', params.provider, {});
|
||||||
rb.query('origin', params.origin, {});
|
rb.query('origin', params.origin, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<SignIn>;
|
return r as StrictHttpResponse<SignIn>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
oauthStart.PATH = '/ingest/sources/oauth/{provider}/start';
|
oauthStart.PATH = '/ingest/sources/oauth/{provider}/start';
|
||||||
|
|||||||
@@ -1,34 +1,29 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { SavedPipeline } from '../../models/saved-pipeline';
|
import { SavedPipeline } from '../../models/saved-pipeline';
|
||||||
|
|
||||||
export interface Pipeline$Params {
|
export interface Pipeline$Params {
|
||||||
pipeline_id: string;
|
pipeline_id: string;
|
||||||
version?: (number | null);
|
version?: number | null;
|
||||||
}
|
}
|
||||||
|
export function pipeline(
|
||||||
export function pipeline(http: HttpClient, rootUrl: string, params: Pipeline$Params, context?: HttpContext): Observable<StrictHttpResponse<SavedPipeline>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: Pipeline$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<SavedPipeline>> {
|
||||||
const rb = new RequestBuilder(rootUrl, pipeline.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, pipeline.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('pipeline_id', params.pipeline_id, {});
|
rb.path('pipeline_id', params.pipeline_id, {});
|
||||||
rb.query('version', params.version, {});
|
rb.query('version', params.version, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<SavedPipeline>;
|
return r as StrictHttpResponse<SavedPipeline>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pipeline.PATH = '/ingest/pipelines/{pipeline_id}';
|
pipeline.PATH = '/ingest/pipelines/{pipeline_id}';
|
||||||
|
|||||||
@@ -1,33 +1,33 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
export interface Pipelines$Params {}
|
||||||
|
export function pipelines(
|
||||||
export interface Pipelines$Params {
|
http: HttpClient,
|
||||||
}
|
rootUrl: string,
|
||||||
|
params?: Pipelines$Params,
|
||||||
export function pipelines(http: HttpClient, rootUrl: string, params?: Pipelines$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<{
|
context?: HttpContext,
|
||||||
[key: string]: any;
|
): Observable<
|
||||||
}>>> {
|
StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, pipelines.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, pipelines.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<{
|
return r as StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>>;
|
}>
|
||||||
})
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pipelines.PATH = '/ingest/pipelines';
|
pipelines.PATH = '/ingest/pipelines';
|
||||||
|
|||||||
@@ -1,39 +1,36 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
|
|
||||||
export interface SaveConceptMap$Params {
|
export interface SaveConceptMap$Params {
|
||||||
map_id: string;
|
map_id: string;
|
||||||
body: {
|
body: {
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
export function saveConceptMap(
|
||||||
|
http: HttpClient,
|
||||||
export function saveConceptMap(http: HttpClient, rootUrl: string, params: SaveConceptMap$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
rootUrl: string,
|
||||||
[key: string]: number;
|
params: SaveConceptMap$Params,
|
||||||
}>> {
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: number;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, saveConceptMap.PATH, 'put');
|
const rb = new RequestBuilder(rootUrl, saveConceptMap.PATH, 'put');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('map_id', params.map_id, {});
|
rb.path('map_id', params.map_id, {});
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: number;
|
[key: string]: number;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
saveConceptMap.PATH = '/ingest/concept-maps/{map_id}';
|
saveConceptMap.PATH = '/ingest/concept-maps/{map_id}';
|
||||||
|
|||||||
@@ -1,38 +1,35 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Pipeline } from '../../models/pipeline';
|
import { Pipeline } from '../../models/pipeline';
|
||||||
|
|
||||||
export interface SavePipeline$Params {
|
export interface SavePipeline$Params {
|
||||||
pipeline_id: string;
|
pipeline_id: string;
|
||||||
body: Pipeline
|
body: Pipeline;
|
||||||
}
|
}
|
||||||
|
export function savePipeline(
|
||||||
export function savePipeline(http: HttpClient, rootUrl: string, params: SavePipeline$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: number;
|
rootUrl: string,
|
||||||
}>> {
|
params: SavePipeline$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: number;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, savePipeline.PATH, 'put');
|
const rb = new RequestBuilder(rootUrl, savePipeline.PATH, 'put');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('pipeline_id', params.pipeline_id, {});
|
rb.path('pipeline_id', params.pipeline_id, {});
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: number;
|
[key: string]: number;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
savePipeline.PATH = '/ingest/pipelines/{pipeline_id}';
|
savePipeline.PATH = '/ingest/pipelines/{pipeline_id}';
|
||||||
|
|||||||
@@ -1,33 +1,29 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
export interface Schema$Params {}
|
||||||
|
export function schema(
|
||||||
export interface Schema$Params {
|
http: HttpClient,
|
||||||
}
|
rootUrl: string,
|
||||||
|
params?: Schema$Params,
|
||||||
export function schema(http: HttpClient, rootUrl: string, params?: Schema$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
context?: HttpContext,
|
||||||
[key: string]: any;
|
): Observable<
|
||||||
}>> {
|
StrictHttpResponse<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, schema.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, schema.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
schema.PATH = '/ingest/schema';
|
schema.PATH = '/ingest/schema';
|
||||||
|
|||||||
@@ -1,38 +1,39 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Source } from '../../models/source';
|
import { Source } from '../../models/source';
|
||||||
|
|
||||||
export interface SourcePreview$Params {
|
export interface SourcePreview$Params {
|
||||||
limit?: number;
|
limit?: number;
|
||||||
body: Source
|
body: Source;
|
||||||
}
|
}
|
||||||
|
export function sourcePreview(
|
||||||
export function sourcePreview(http: HttpClient, rootUrl: string, params: SourcePreview$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<{
|
http: HttpClient,
|
||||||
[key: string]: any;
|
rootUrl: string,
|
||||||
}>>> {
|
params: SourcePreview$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, sourcePreview.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, sourcePreview.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.query('limit', params.limit, {});
|
rb.query('limit', params.limit, {});
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<{
|
return r as StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>>;
|
}>
|
||||||
})
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
sourcePreview.PATH = '/ingest/sources/preview';
|
sourcePreview.PATH = '/ingest/sources/preview';
|
||||||
|
|||||||
@@ -1,32 +1,27 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { SourceRef } from '../../models/source-ref';
|
import { SourceRef } from '../../models/source-ref';
|
||||||
|
|
||||||
export interface SourceResources$Params {
|
export interface SourceResources$Params {
|
||||||
body: SourceRef
|
body: SourceRef;
|
||||||
}
|
}
|
||||||
|
export function sourceResources(
|
||||||
export function sourceResources(http: HttpClient, rootUrl: string, params: SourceResources$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<string>>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: SourceResources$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Array<string>>> {
|
||||||
const rb = new RequestBuilder(rootUrl, sourceResources.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, sourceResources.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<string>>;
|
return r as StrictHttpResponse<Array<string>>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceResources.PATH = '/ingest/sources/resources';
|
sourceResources.PATH = '/ingest/sources/resources';
|
||||||
|
|||||||
@@ -1,30 +1,24 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Catalog } from '../../models/catalog';
|
import { Catalog } from '../../models/catalog';
|
||||||
|
export interface SourceTypes$Params {}
|
||||||
export interface SourceTypes$Params {
|
export function sourceTypes(
|
||||||
}
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
export function sourceTypes(http: HttpClient, rootUrl: string, params?: SourceTypes$Params, context?: HttpContext): Observable<StrictHttpResponse<Catalog>> {
|
params?: SourceTypes$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Catalog>> {
|
||||||
const rb = new RequestBuilder(rootUrl, sourceTypes.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, sourceTypes.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Catalog>;
|
return r as StrictHttpResponse<Catalog>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceTypes.PATH = '/ingest/sources/types';
|
sourceTypes.PATH = '/ingest/sources/types';
|
||||||
|
|||||||
@@ -1,38 +1,35 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { RunRequest } from '../../models/run-request';
|
import { RunRequest } from '../../models/run-request';
|
||||||
|
|
||||||
export interface StartRun$Params {
|
export interface StartRun$Params {
|
||||||
pipeline_id: string;
|
pipeline_id: string;
|
||||||
body: RunRequest
|
body: RunRequest;
|
||||||
}
|
}
|
||||||
|
export function startRun(
|
||||||
export function startRun(http: HttpClient, rootUrl: string, params: StartRun$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: string;
|
rootUrl: string,
|
||||||
}>> {
|
params: StartRun$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, startRun.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, startRun.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('pipeline_id', params.pipeline_id, {});
|
rb.path('pipeline_id', params.pipeline_id, {});
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
startRun.PATH = '/ingest/pipelines/{pipeline_id}/runs';
|
startRun.PATH = '/ingest/pipelines/{pipeline_id}/runs';
|
||||||
|
|||||||
@@ -1,35 +1,30 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Answers } from '../../models/answers';
|
import { Answers } from '../../models/answers';
|
||||||
import { Tested } from '../../models/tested';
|
import { Tested } from '../../models/tested';
|
||||||
|
|
||||||
export interface TestSource$Params {
|
export interface TestSource$Params {
|
||||||
limit?: number;
|
limit?: number;
|
||||||
body: Answers
|
body: Answers;
|
||||||
}
|
}
|
||||||
|
export function testSource(
|
||||||
export function testSource(http: HttpClient, rootUrl: string, params: TestSource$Params, context?: HttpContext): Observable<StrictHttpResponse<Tested>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: TestSource$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Tested>> {
|
||||||
const rb = new RequestBuilder(rootUrl, testSource.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, testSource.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.query('limit', params.limit, {});
|
rb.query('limit', params.limit, {});
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Tested>;
|
return r as StrictHttpResponse<Tested>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
testSource.PATH = '/ingest/sources/test';
|
testSource.PATH = '/ingest/sources/test';
|
||||||
|
|||||||
@@ -1,33 +1,28 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { BodyUpload } from '../../models/body-upload';
|
import { BodyUpload } from '../../models/body-upload';
|
||||||
import { Uploaded } from '../../models/uploaded';
|
import { Uploaded } from '../../models/uploaded';
|
||||||
|
|
||||||
export interface Upload$Params {
|
export interface Upload$Params {
|
||||||
body: BodyUpload
|
body: BodyUpload;
|
||||||
}
|
}
|
||||||
|
export function upload(
|
||||||
export function upload(http: HttpClient, rootUrl: string, params: Upload$Params, context?: HttpContext): Observable<StrictHttpResponse<Uploaded>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: Upload$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Uploaded>> {
|
||||||
const rb = new RequestBuilder(rootUrl, upload.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, upload.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.body(params.body, 'multipart/form-data');
|
rb.body(params.body, 'multipart/form-data');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Uploaded>;
|
return r as StrictHttpResponse<Uploaded>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
upload.PATH = '/ingest/uploads';
|
upload.PATH = '/ingest/uploads';
|
||||||
|
|||||||
@@ -1,25 +1,26 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { BodyAddClinicalValidation } from '../../models/body-add-clinical-validation';
|
import { BodyAddClinicalValidation } from '../../models/body-add-clinical-validation';
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface AddClinicalValidation$Params {
|
export interface AddClinicalValidation$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
name: string;
|
name: string;
|
||||||
version: number;
|
version: number;
|
||||||
body: BodyAddClinicalValidation
|
body: BodyAddClinicalValidation;
|
||||||
}
|
}
|
||||||
|
export function addClinicalValidation(
|
||||||
export function addClinicalValidation(http: HttpClient, rootUrl: string, params: AddClinicalValidation$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: any;
|
rootUrl: string,
|
||||||
}>> {
|
params: AddClinicalValidation$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, addClinicalValidation.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, addClinicalValidation.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -27,17 +28,14 @@ export function addClinicalValidation(http: HttpClient, rootUrl: string, params:
|
|||||||
rb.path('version', params.version, {});
|
rb.path('version', params.version, {});
|
||||||
rb.body(params.body, 'multipart/form-data');
|
rb.body(params.body, 'multipart/form-data');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
addClinicalValidation.PATH =
|
||||||
addClinicalValidation.PATH = '/models/{domain}/{name}/versions/{version}/reports/clinical_validation';
|
'/models/{domain}/{name}/versions/{version}/reports/clinical_validation';
|
||||||
|
|||||||
@@ -1,39 +1,33 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Analyze } from '../../models/analyze';
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface Analyze$Params {
|
export interface Analyze$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
body?: Analyze
|
|
||||||
}
|
}
|
||||||
|
export function analyze(
|
||||||
export function analyze(http: HttpClient, rootUrl: string, params: Analyze$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: string;
|
rootUrl: string,
|
||||||
}>> {
|
params: Analyze$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, analyze.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, analyze.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.body(params.body, 'application/json');
|
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
analyze.PATH = '/models/{domain}/analyze';
|
analyze.PATH = '/models/{domain}/analyze';
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
|
|
||||||
export interface Curve$Params {
|
|
||||||
domain: Domain;
|
|
||||||
name: string;
|
|
||||||
version: number;
|
|
||||||
feature?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function curve(http: HttpClient, rootUrl: string, params: Curve$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<{
|
|
||||||
[key: string]: any;
|
|
||||||
}>>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, curve.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.path('domain', params.domain, {});
|
|
||||||
rb.path('name', params.name, {});
|
|
||||||
rb.path('version', params.version, {});
|
|
||||||
rb.query('feature', params.feature, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<Array<{
|
|
||||||
[key: string]: any;
|
|
||||||
}>>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
curve.PATH = '/models/{domain}/{name}/versions/{version}/curve';
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
|
|
||||||
export interface ExportModels$Params {
|
|
||||||
domain: Domain;
|
|
||||||
names?: (Array<string> | null);
|
|
||||||
versions?: 'champion' | 'latest' | 'all';
|
|
||||||
}
|
|
||||||
|
|
||||||
export function exportModels(http: HttpClient, rootUrl: string, params: ExportModels$Params, context?: HttpContext): Observable<StrictHttpResponse<any>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, exportModels.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.path('domain', params.domain, {});
|
|
||||||
rb.query('names', params.names, {});
|
|
||||||
rb.query('versions', params.versions, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'blob', accept: 'application/zip', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<any>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
exportModels.PATH = '/models/{domain}/export';
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { BodyImportModels } from '../../models/body-import-models';
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
|
|
||||||
export interface ImportModels$Params {
|
|
||||||
domain: Domain;
|
|
||||||
sha256: string;
|
|
||||||
body: BodyImportModels
|
|
||||||
}
|
|
||||||
|
|
||||||
export function importModels(http: HttpClient, rootUrl: string, params: ImportModels$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
|
||||||
[key: string]: string;
|
|
||||||
}>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, importModels.PATH, 'post');
|
|
||||||
if (params) {
|
|
||||||
rb.path('domain', params.domain, {});
|
|
||||||
rb.query('sha256', params.sha256, {});
|
|
||||||
rb.body(params.body, 'multipart/form-data');
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<{
|
|
||||||
[key: string]: string;
|
|
||||||
}>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
importModels.PATH = '/models/{domain}/import';
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
|
|
||||||
export interface Lineage$Params {
|
|
||||||
domain: Domain;
|
|
||||||
name: string;
|
|
||||||
version: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function lineage(http: HttpClient, rootUrl: string, params: Lineage$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
|
||||||
[key: string]: any;
|
|
||||||
}>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, lineage.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.path('domain', params.domain, {});
|
|
||||||
rb.path('name', params.name, {});
|
|
||||||
rb.path('version', params.version, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<{
|
|
||||||
[key: string]: any;
|
|
||||||
}>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
lineage.PATH = '/models/{domain}/{name}/versions/{version}/lineage';
|
|
||||||
@@ -1,33 +1,28 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
import { Model } from '../../models/model';
|
import { Model } from '../../models/model';
|
||||||
|
|
||||||
export interface Models$Params {
|
export interface Models$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
}
|
}
|
||||||
|
export function models(
|
||||||
export function models(http: HttpClient, rootUrl: string, params: Models$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<Model>>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: Models$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Array<Model>>> {
|
||||||
const rb = new RequestBuilder(rootUrl, models.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, models.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<Model>>;
|
return r as StrictHttpResponse<Array<Model>>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
models.PATH = '/models/{domain}';
|
models.PATH = '/models/{domain}';
|
||||||
|
|||||||
@@ -1,40 +1,37 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface Promote$Params {
|
export interface Promote$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
name: string;
|
name: string;
|
||||||
version: number;
|
version: number;
|
||||||
}
|
}
|
||||||
|
export function promote(
|
||||||
export function promote(http: HttpClient, rootUrl: string, params: Promote$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: any;
|
rootUrl: string,
|
||||||
}>> {
|
params: Promote$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, promote.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, promote.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.path('name', params.name, {});
|
rb.path('name', params.name, {});
|
||||||
rb.path('version', params.version, {});
|
rb.path('version', params.version, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
promote.PATH = '/models/{domain}/{name}/versions/{version}/promote';
|
promote.PATH = '/models/{domain}/{name}/versions/{version}/promote';
|
||||||
|
|||||||
@@ -1,22 +1,21 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface ReadReport$Any$Params {
|
export interface ReadReport$Any$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
name: string;
|
name: string;
|
||||||
version: number;
|
version: number;
|
||||||
report: string;
|
report: string;
|
||||||
}
|
}
|
||||||
|
export function readReport$Any(
|
||||||
export function readReport$Any(http: HttpClient, rootUrl: string, params: ReadReport$Any$Params, context?: HttpContext): Observable<StrictHttpResponse<any>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: ReadReport$Any$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<any>> {
|
||||||
const rb = new RequestBuilder(rootUrl, readReport$Any.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, readReport$Any.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -24,15 +23,13 @@ export function readReport$Any(http: HttpClient, rootUrl: string, params: ReadRe
|
|||||||
rb.path('version', params.version, {});
|
rb.path('version', params.version, {});
|
||||||
rb.path('report', params.report, {});
|
rb.path('report', params.report, {});
|
||||||
}
|
}
|
||||||
|
return http
|
||||||
return http.request(
|
.request(rb.build({ responseType: 'blob', accept: 'application/octet-stream', context }))
|
||||||
rb.build({ responseType: 'blob', accept: 'application/octet-stream', context })
|
.pipe(
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<any>;
|
return r as StrictHttpResponse<any>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
readReport$Any.PATH = '/models/{domain}/{name}/versions/{version}/reports/{report}';
|
readReport$Any.PATH = '/models/{domain}/{name}/versions/{version}/reports/{report}';
|
||||||
|
|||||||
@@ -1,22 +1,21 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface ReadReport$Json$Params {
|
export interface ReadReport$Json$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
name: string;
|
name: string;
|
||||||
version: number;
|
version: number;
|
||||||
report: string;
|
report: string;
|
||||||
}
|
}
|
||||||
|
export function readReport$Json(
|
||||||
export function readReport$Json(http: HttpClient, rootUrl: string, params: ReadReport$Json$Params, context?: HttpContext): Observable<StrictHttpResponse<any>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: ReadReport$Json$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<any>> {
|
||||||
const rb = new RequestBuilder(rootUrl, readReport$Json.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, readReport$Json.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
@@ -24,15 +23,11 @@ export function readReport$Json(http: HttpClient, rootUrl: string, params: ReadR
|
|||||||
rb.path('version', params.version, {});
|
rb.path('version', params.version, {});
|
||||||
rb.path('report', params.report, {});
|
rb.path('report', params.report, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<any>;
|
return r as StrictHttpResponse<any>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
readReport$Json.PATH = '/models/{domain}/{name}/versions/{version}/reports/{report}';
|
readReport$Json.PATH = '/models/{domain}/{name}/versions/{version}/reports/{report}';
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
|
|
||||||
export interface Retire$Params {
|
|
||||||
domain: Domain;
|
|
||||||
name: string;
|
|
||||||
version: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function retire(http: HttpClient, rootUrl: string, params: Retire$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
|
||||||
[key: string]: string;
|
|
||||||
}>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, retire.PATH, 'post');
|
|
||||||
if (params) {
|
|
||||||
rb.path('domain', params.domain, {});
|
|
||||||
rb.path('name', params.name, {});
|
|
||||||
rb.path('version', params.version, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<{
|
|
||||||
[key: string]: string;
|
|
||||||
}>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
retire.PATH = '/models/{domain}/{name}/versions/{version}/retire';
|
|
||||||
@@ -1,36 +1,33 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
|
||||||
export interface Score$Params {
|
export interface Score$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
}
|
}
|
||||||
|
export function score(
|
||||||
export function score(http: HttpClient, rootUrl: string, params: Score$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: string;
|
rootUrl: string,
|
||||||
}>> {
|
params: Score$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, score.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, score.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
score.PATH = '/models/{domain}/score';
|
score.PATH = '/models/{domain}/score';
|
||||||
|
|||||||
@@ -1,39 +1,36 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
import { Training } from '../../models/training';
|
import { Training } from '../../models/training';
|
||||||
|
|
||||||
export interface Train$Params {
|
export interface Train$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
body: Training
|
body: Training;
|
||||||
}
|
}
|
||||||
|
export function train(
|
||||||
export function train(http: HttpClient, rootUrl: string, params: Train$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: string;
|
rootUrl: string,
|
||||||
}>> {
|
params: Train$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, train.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, train.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
train.PATH = '/models/{domain}/train';
|
train.PATH = '/models/{domain}/train';
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
import { TrainingConfig } from '../../models/training-config';
|
|
||||||
|
|
||||||
export interface TrainingConfig$Params {
|
|
||||||
domain: Domain;
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function trainingConfig(http: HttpClient, rootUrl: string, params: TrainingConfig$Params, context?: HttpContext): Observable<StrictHttpResponse<TrainingConfig>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, trainingConfig.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.path('domain', params.domain, {});
|
|
||||||
rb.path('name', params.name, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<TrainingConfig>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
trainingConfig.PATH = '/models/{domain}/{name}/training-config';
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
|
|
||||||
export interface VersionChecks$Params {
|
|
||||||
domain: Domain;
|
|
||||||
name: string;
|
|
||||||
version: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function versionChecks(http: HttpClient, rootUrl: string, params: VersionChecks$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
|
||||||
[key: string]: any;
|
|
||||||
}>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, versionChecks.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.path('domain', params.domain, {});
|
|
||||||
rb.path('name', params.name, {});
|
|
||||||
rb.path('version', params.version, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<{
|
|
||||||
[key: string]: any;
|
|
||||||
}>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
versionChecks.PATH = '/models/{domain}/{name}/versions/{version}/checks';
|
|
||||||
@@ -1,35 +1,30 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
import { Version } from '../../models/version';
|
import { Version } from '../../models/version';
|
||||||
|
|
||||||
export interface Versions$Params {
|
export interface Versions$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
export function versions(
|
||||||
export function versions(http: HttpClient, rootUrl: string, params: Versions$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<Version>>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: Versions$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Array<Version>>> {
|
||||||
const rb = new RequestBuilder(rootUrl, versions.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, versions.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('domain', params.domain, {});
|
rb.path('domain', params.domain, {});
|
||||||
rb.path('name', params.name, {});
|
rb.path('name', params.name, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<Version>>;
|
return r as StrictHttpResponse<Array<Version>>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
versions.PATH = '/models/{domain}/{name}/versions';
|
versions.PATH = '/models/{domain}/{name}/versions';
|
||||||
|
|||||||
@@ -1,30 +1,24 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
import { Domain } from '../../models/domain';
|
||||||
|
export interface Domains$Params {}
|
||||||
export interface Domains$Params {
|
export function domains(
|
||||||
}
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
export function domains(http: HttpClient, rootUrl: string, params?: Domains$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<Domain>>> {
|
params?: Domains$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<Array<Domain>>> {
|
||||||
const rb = new RequestBuilder(rootUrl, domains.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, domains.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<Domain>>;
|
return r as StrictHttpResponse<Array<Domain>>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
domains.PATH = '/domains';
|
domains.PATH = '/domains';
|
||||||
|
|||||||
@@ -1,33 +1,29 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
export interface Health$Params {}
|
||||||
|
export function health(
|
||||||
export interface Health$Params {
|
http: HttpClient,
|
||||||
}
|
rootUrl: string,
|
||||||
|
params?: Health$Params,
|
||||||
export function health(http: HttpClient, rootUrl: string, params?: Health$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
context?: HttpContext,
|
||||||
[key: string]: string;
|
): Observable<
|
||||||
}>> {
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, health.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, health.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
health.PATH = '/health';
|
health.PATH = '/health';
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { PreviewStatus } from '../../models/preview-status';
|
|
||||||
|
|
||||||
export interface PreviewStatus$Params {
|
|
||||||
run_id: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function previewStatus(http: HttpClient, rootUrl: string, params: PreviewStatus$Params, context?: HttpContext): Observable<StrictHttpResponse<PreviewStatus>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, previewStatus.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.path('run_id', params.run_id, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<PreviewStatus>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
previewStatus.PATH = '/tea/preview/{run_id}';
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { BodyStartPreview } from '../../models/body-start-preview';
|
|
||||||
|
|
||||||
export interface StartPreview$Params {
|
|
||||||
body: BodyStartPreview
|
|
||||||
}
|
|
||||||
|
|
||||||
export function startPreview(http: HttpClient, rootUrl: string, params: StartPreview$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
|
||||||
[key: string]: string;
|
|
||||||
}>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, startPreview.PATH, 'post');
|
|
||||||
if (params) {
|
|
||||||
rb.body(params.body, 'multipart/form-data');
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<{
|
|
||||||
[key: string]: string;
|
|
||||||
}>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
startPreview.PATH = '/tea/preview';
|
|
||||||
@@ -1,35 +1,48 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
|
|
||||||
export interface Conflicts$Params {
|
export interface Conflicts$Params {
|
||||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'breast_recurrence' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg';
|
entity:
|
||||||
|
| 'identity'
|
||||||
|
| 'cervical_cytology'
|
||||||
|
| 'cervical_biopsy'
|
||||||
|
| 'mammography'
|
||||||
|
| 'breast_biopsy'
|
||||||
|
| 'breast_treatment'
|
||||||
|
| 'breast_recurrence'
|
||||||
|
| 'clinical_note'
|
||||||
|
| 'death'
|
||||||
|
| 'mchat'
|
||||||
|
| 'ados2'
|
||||||
|
| 'eeg';
|
||||||
}
|
}
|
||||||
|
export function conflicts(
|
||||||
export function conflicts(http: HttpClient, rootUrl: string, params: Conflicts$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<{
|
http: HttpClient,
|
||||||
[key: string]: any;
|
rootUrl: string,
|
||||||
}>>> {
|
params: Conflicts$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, conflicts.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, conflicts.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.query('entity', params.entity, {});
|
rb.query('entity', params.entity, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<{
|
return r as StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>>;
|
}>
|
||||||
})
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
conflicts.PATH = '/review/conflicts';
|
conflicts.PATH = '/review/conflicts';
|
||||||
|
|||||||
@@ -1,36 +1,33 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Correction } from '../../models/correction';
|
import { Correction } from '../../models/correction';
|
||||||
|
|
||||||
export interface Correct$Params {
|
export interface Correct$Params {
|
||||||
body: Correction
|
body: Correction;
|
||||||
}
|
}
|
||||||
|
export function correct(
|
||||||
export function correct(http: HttpClient, rootUrl: string, params: Correct$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: string;
|
rootUrl: string,
|
||||||
}>> {
|
params: Correct$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, correct.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, correct.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
correct.PATH = '/review/corrections';
|
correct.PATH = '/review/corrections';
|
||||||
|
|||||||
@@ -1,36 +1,33 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { PersonDecision } from '../../models/person-decision';
|
import { PersonDecision } from '../../models/person-decision';
|
||||||
|
|
||||||
export interface DecidePersons$Params {
|
export interface DecidePersons$Params {
|
||||||
body: PersonDecision
|
body: PersonDecision;
|
||||||
}
|
}
|
||||||
|
export function decidePersons(
|
||||||
export function decidePersons(http: HttpClient, rootUrl: string, params: DecidePersons$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: string;
|
rootUrl: string,
|
||||||
}>> {
|
params: DecidePersons$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, decidePersons.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, decidePersons.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
decidePersons.PATH = '/review/persons';
|
decidePersons.PATH = '/review/persons';
|
||||||
|
|||||||
@@ -1,35 +1,48 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
|
|
||||||
export interface Held$Params {
|
export interface Held$Params {
|
||||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'breast_recurrence' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg';
|
entity:
|
||||||
|
| 'identity'
|
||||||
|
| 'cervical_cytology'
|
||||||
|
| 'cervical_biopsy'
|
||||||
|
| 'mammography'
|
||||||
|
| 'breast_biopsy'
|
||||||
|
| 'breast_treatment'
|
||||||
|
| 'breast_recurrence'
|
||||||
|
| 'clinical_note'
|
||||||
|
| 'death'
|
||||||
|
| 'mchat'
|
||||||
|
| 'ados2'
|
||||||
|
| 'eeg';
|
||||||
}
|
}
|
||||||
|
export function held(
|
||||||
export function held(http: HttpClient, rootUrl: string, params: Held$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<{
|
http: HttpClient,
|
||||||
[key: string]: any;
|
rootUrl: string,
|
||||||
}>>> {
|
params: Held$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, held.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, held.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.query('entity', params.entity, {});
|
rb.query('entity', params.entity, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<{
|
return r as StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>>;
|
}>
|
||||||
})
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
held.PATH = '/review/held';
|
held.PATH = '/review/held';
|
||||||
|
|||||||
@@ -1,32 +1,30 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
|
|
||||||
export interface Persons$Params {
|
export interface Persons$Params {
|
||||||
pipeline: string;
|
pipeline: string;
|
||||||
node: string;
|
node: string;
|
||||||
}
|
}
|
||||||
|
export function persons(
|
||||||
export function persons(http: HttpClient, rootUrl: string, params: Persons$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: Array<{
|
rootUrl: string,
|
||||||
[key: string]: any;
|
params: Persons$Params,
|
||||||
}>;
|
context?: HttpContext,
|
||||||
}>> {
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: Array<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, persons.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, persons.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.query('pipeline', params.pipeline, {});
|
rb.query('pipeline', params.pipeline, {});
|
||||||
rb.query('node', params.node, {});
|
rb.query('node', params.node, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
@@ -34,8 +32,7 @@ export function persons(http: HttpClient, rootUrl: string, params: Persons$Param
|
|||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>;
|
}>;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
persons.PATH = '/review/persons';
|
persons.PATH = '/review/persons';
|
||||||
|
|||||||
@@ -1,36 +1,33 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Rejection } from '../../models/rejection';
|
import { Rejection } from '../../models/rejection';
|
||||||
|
|
||||||
export interface Reject$Params {
|
export interface Reject$Params {
|
||||||
body: Rejection
|
body: Rejection;
|
||||||
}
|
}
|
||||||
|
export function reject(
|
||||||
export function reject(http: HttpClient, rootUrl: string, params: Reject$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: string;
|
rootUrl: string,
|
||||||
}>> {
|
params: Reject$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, reject.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, reject.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<{
|
return r as StrictHttpResponse<{
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
reject.PATH = '/review/rejections';
|
reject.PATH = '/review/rejections';
|
||||||
|
|||||||
@@ -1,35 +1,36 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
|
|
||||||
export interface Unrecognised$Params {
|
export interface Unrecognised$Params {
|
||||||
pipeline: string;
|
pipeline: string;
|
||||||
}
|
}
|
||||||
|
export function unrecognised(
|
||||||
export function unrecognised(http: HttpClient, rootUrl: string, params: Unrecognised$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<{
|
http: HttpClient,
|
||||||
[key: string]: any;
|
rootUrl: string,
|
||||||
}>>> {
|
params: Unrecognised$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
|
[key: string]: any;
|
||||||
|
}>
|
||||||
|
>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, unrecognised.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, unrecognised.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.query('pipeline', params.pipeline, {});
|
rb.query('pipeline', params.pipeline, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Array<{
|
return r as StrictHttpResponse<
|
||||||
|
Array<{
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}>>;
|
}>
|
||||||
})
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
unrecognised.PATH = '/review/unrecognised';
|
unrecognised.PATH = '/review/unrecognised';
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Cancel } from '../../models/cancel';
|
|
||||||
|
|
||||||
export interface CancelRun$Params {
|
|
||||||
run_id: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function cancelRun(http: HttpClient, rootUrl: string, params: CancelRun$Params, context?: HttpContext): Observable<StrictHttpResponse<Cancel>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, cancelRun.PATH, 'post');
|
|
||||||
if (params) {
|
|
||||||
rb.path('run_id', params.run_id, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<Cancel>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
cancelRun.PATH = '/runs/{run_id}/cancel';
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
|
||||||
import { Observable } from 'rxjs';
|
|
||||||
import { filter, map } from 'rxjs/operators';
|
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
|
||||||
import { RequestBuilder } from '../../request-builder';
|
|
||||||
|
|
||||||
import { Domain } from '../../models/domain';
|
|
||||||
import { RunSummary } from '../../models/run-summary';
|
|
||||||
|
|
||||||
export interface RunHistory$Params {
|
|
||||||
job?: (string | null);
|
|
||||||
domain?: (Domain | null);
|
|
||||||
limit?: number;
|
|
||||||
before?: (string | null);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function runHistory(http: HttpClient, rootUrl: string, params?: RunHistory$Params, context?: HttpContext): Observable<StrictHttpResponse<Array<RunSummary>>> {
|
|
||||||
const rb = new RequestBuilder(rootUrl, runHistory.PATH, 'get');
|
|
||||||
if (params) {
|
|
||||||
rb.query('job', params.job, {});
|
|
||||||
rb.query('domain', params.domain, {});
|
|
||||||
rb.query('limit', params.limit, {});
|
|
||||||
rb.query('before', params.before, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
|
||||||
map((r: HttpResponse<any>) => {
|
|
||||||
return r as StrictHttpResponse<Array<RunSummary>>;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
runHistory.PATH = '/runs';
|
|
||||||
@@ -1,34 +1,32 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { Run } from '../../models/run';
|
|
||||||
|
|
||||||
export interface RunStatus$Params {
|
export interface RunStatus$Params {
|
||||||
run_id: string;
|
run_id: string;
|
||||||
outputs?: boolean;
|
|
||||||
}
|
}
|
||||||
|
export function runStatus(
|
||||||
export function runStatus(http: HttpClient, rootUrl: string, params: RunStatus$Params, context?: HttpContext): Observable<StrictHttpResponse<Run>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: RunStatus$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
const rb = new RequestBuilder(rootUrl, runStatus.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, runStatus.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('run_id', params.run_id, {});
|
rb.path('run_id', params.run_id, {});
|
||||||
rb.query('outputs', params.outputs, {});
|
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<Run>;
|
return r as StrictHttpResponse<{
|
||||||
})
|
[key: string]: string;
|
||||||
|
}>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
runStatus.PATH = '/runs/{run_id}';
|
runStatus.PATH = '/runs/{run_id}';
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
|
import { Observable } from 'rxjs';
|
||||||
|
import { filter, map } from 'rxjs/operators';
|
||||||
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
export interface TerminateRun$Params {
|
||||||
|
run_id: string;
|
||||||
|
}
|
||||||
|
export function terminateRun(
|
||||||
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: TerminateRun$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<
|
||||||
|
StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>
|
||||||
|
> {
|
||||||
|
const rb = new RequestBuilder(rootUrl, terminateRun.PATH, 'post');
|
||||||
|
if (params) {
|
||||||
|
rb.path('run_id', params.run_id, {});
|
||||||
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
|
map((r: HttpResponse<any>) => {
|
||||||
|
return r as StrictHttpResponse<{
|
||||||
|
[key: string]: string;
|
||||||
|
}>;
|
||||||
|
}),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
terminateRun.PATH = '/runs/{run_id}/terminate';
|
||||||
@@ -1,33 +1,28 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { UserCreate } from '../../models/user-create';
|
import { UserCreate } from '../../models/user-create';
|
||||||
import { UserRead } from '../../models/user-read';
|
import { UserRead } from '../../models/user-read';
|
||||||
|
|
||||||
export interface RegisterRegister$Params {
|
export interface RegisterRegister$Params {
|
||||||
body: UserCreate
|
body: UserCreate;
|
||||||
}
|
}
|
||||||
|
export function registerRegister(
|
||||||
export function registerRegister(http: HttpClient, rootUrl: string, params: RegisterRegister$Params, context?: HttpContext): Observable<StrictHttpResponse<UserRead>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: RegisterRegister$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<UserRead>> {
|
||||||
const rb = new RequestBuilder(rootUrl, registerRegister.PATH, 'post');
|
const rb = new RequestBuilder(rootUrl, registerRegister.PATH, 'post');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<UserRead>;
|
return r as StrictHttpResponse<UserRead>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
registerRegister.PATH = '/users/register';
|
registerRegister.PATH = '/users/register';
|
||||||
|
|||||||
@@ -1,30 +1,24 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { UserRead } from '../../models/user-read';
|
import { UserRead } from '../../models/user-read';
|
||||||
|
export interface UsersCurrentUser$Params {}
|
||||||
export interface UsersCurrentUser$Params {
|
export function usersCurrentUser(
|
||||||
}
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
export function usersCurrentUser(http: HttpClient, rootUrl: string, params?: UsersCurrentUser$Params, context?: HttpContext): Observable<StrictHttpResponse<UserRead>> {
|
params?: UsersCurrentUser$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<UserRead>> {
|
||||||
const rb = new RequestBuilder(rootUrl, usersCurrentUser.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, usersCurrentUser.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<UserRead>;
|
return r as StrictHttpResponse<UserRead>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
usersCurrentUser.PATH = '/users/me';
|
usersCurrentUser.PATH = '/users/me';
|
||||||
|
|||||||
@@ -1,31 +1,26 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
|
|
||||||
export interface UsersDeleteUser$Params {
|
export interface UsersDeleteUser$Params {
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
|
export function usersDeleteUser(
|
||||||
export function usersDeleteUser(http: HttpClient, rootUrl: string, params: UsersDeleteUser$Params, context?: HttpContext): Observable<StrictHttpResponse<void>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: UsersDeleteUser$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<void>> {
|
||||||
const rb = new RequestBuilder(rootUrl, usersDeleteUser.PATH, 'delete');
|
const rb = new RequestBuilder(rootUrl, usersDeleteUser.PATH, 'delete');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('id', params.id, {});
|
rb.path('id', params.id, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'text', accept: '*/*', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'text', accept: '*/*', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return (r as HttpResponse<any>).clone({ body: undefined }) as StrictHttpResponse<void>;
|
return (r as HttpResponse<any>).clone({ body: undefined }) as StrictHttpResponse<void>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
usersDeleteUser.PATH = '/users/{id}';
|
usersDeleteUser.PATH = '/users/{id}';
|
||||||
|
|||||||
@@ -1,33 +1,28 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { UserRead } from '../../models/user-read';
|
import { UserRead } from '../../models/user-read';
|
||||||
import { UserUpdate } from '../../models/user-update';
|
import { UserUpdate } from '../../models/user-update';
|
||||||
|
|
||||||
export interface UsersPatchCurrentUser$Params {
|
export interface UsersPatchCurrentUser$Params {
|
||||||
body: UserUpdate
|
body: UserUpdate;
|
||||||
}
|
}
|
||||||
|
export function usersPatchCurrentUser(
|
||||||
export function usersPatchCurrentUser(http: HttpClient, rootUrl: string, params: UsersPatchCurrentUser$Params, context?: HttpContext): Observable<StrictHttpResponse<UserRead>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: UsersPatchCurrentUser$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<UserRead>> {
|
||||||
const rb = new RequestBuilder(rootUrl, usersPatchCurrentUser.PATH, 'patch');
|
const rb = new RequestBuilder(rootUrl, usersPatchCurrentUser.PATH, 'patch');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<UserRead>;
|
return r as StrictHttpResponse<UserRead>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
usersPatchCurrentUser.PATH = '/users/me';
|
usersPatchCurrentUser.PATH = '/users/me';
|
||||||
|
|||||||
@@ -1,35 +1,30 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { UserRead } from '../../models/user-read';
|
import { UserRead } from '../../models/user-read';
|
||||||
import { UserUpdate } from '../../models/user-update';
|
import { UserUpdate } from '../../models/user-update';
|
||||||
|
|
||||||
export interface UsersPatchUser$Params {
|
export interface UsersPatchUser$Params {
|
||||||
id: string;
|
id: string;
|
||||||
body: UserUpdate
|
body: UserUpdate;
|
||||||
}
|
}
|
||||||
|
export function usersPatchUser(
|
||||||
export function usersPatchUser(http: HttpClient, rootUrl: string, params: UsersPatchUser$Params, context?: HttpContext): Observable<StrictHttpResponse<UserRead>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: UsersPatchUser$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<UserRead>> {
|
||||||
const rb = new RequestBuilder(rootUrl, usersPatchUser.PATH, 'patch');
|
const rb = new RequestBuilder(rootUrl, usersPatchUser.PATH, 'patch');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('id', params.id, {});
|
rb.path('id', params.id, {});
|
||||||
rb.body(params.body, 'application/json');
|
rb.body(params.body, 'application/json');
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<UserRead>;
|
return r as StrictHttpResponse<UserRead>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
usersPatchUser.PATH = '/users/{id}';
|
usersPatchUser.PATH = '/users/{id}';
|
||||||
|
|||||||
@@ -1,32 +1,27 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { filter, map } from 'rxjs/operators';
|
import { filter, map } from 'rxjs/operators';
|
||||||
import { StrictHttpResponse } from '../../strict-http-response';
|
import { StrictHttpResponse } from '../../strict-http-response';
|
||||||
import { RequestBuilder } from '../../request-builder';
|
import { RequestBuilder } from '../../request-builder';
|
||||||
|
|
||||||
import { UserRead } from '../../models/user-read';
|
import { UserRead } from '../../models/user-read';
|
||||||
|
|
||||||
export interface UsersUser$Params {
|
export interface UsersUser$Params {
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
|
export function usersUser(
|
||||||
export function usersUser(http: HttpClient, rootUrl: string, params: UsersUser$Params, context?: HttpContext): Observable<StrictHttpResponse<UserRead>> {
|
http: HttpClient,
|
||||||
|
rootUrl: string,
|
||||||
|
params: UsersUser$Params,
|
||||||
|
context?: HttpContext,
|
||||||
|
): Observable<StrictHttpResponse<UserRead>> {
|
||||||
const rb = new RequestBuilder(rootUrl, usersUser.PATH, 'get');
|
const rb = new RequestBuilder(rootUrl, usersUser.PATH, 'get');
|
||||||
if (params) {
|
if (params) {
|
||||||
rb.path('id', params.id, {});
|
rb.path('id', params.id, {});
|
||||||
}
|
}
|
||||||
|
return http.request(rb.build({ responseType: 'json', accept: 'application/json', context })).pipe(
|
||||||
return http.request(
|
|
||||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
|
||||||
).pipe(
|
|
||||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||||
map((r: HttpResponse<any>) => {
|
map((r: HttpResponse<any>) => {
|
||||||
return r as StrictHttpResponse<UserRead>;
|
return r as StrictHttpResponse<UserRead>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
usersUser.PATH = '/users/{id}';
|
usersUser.PATH = '/users/{id}';
|
||||||
|
|||||||
+14
-35
@@ -1,6 +1,3 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export type { AuthCookieLogin$Params as AuthCookieLogin$Params } from './fn/auth/auth-cookie-login';
|
export type { AuthCookieLogin$Params as AuthCookieLogin$Params } from './fn/auth/auth-cookie-login';
|
||||||
export { authCookieLogin as authCookieLogin } from './fn/auth/auth-cookie-login';
|
export { authCookieLogin as authCookieLogin } from './fn/auth/auth-cookie-login';
|
||||||
export type { AuthCookieLogout$Params as AuthCookieLogout$Params } from './fn/auth/auth-cookie-logout';
|
export type { AuthCookieLogout$Params as AuthCookieLogout$Params } from './fn/auth/auth-cookie-logout';
|
||||||
@@ -9,10 +6,8 @@ export type { Domains$Params as Domains$Params } from './fn/operations/domains';
|
|||||||
export { domains as domains } from './fn/operations/domains';
|
export { domains as domains } from './fn/operations/domains';
|
||||||
export type { Health$Params as Health$Params } from './fn/operations/health';
|
export type { Health$Params as Health$Params } from './fn/operations/health';
|
||||||
export { health as health } from './fn/operations/health';
|
export { health as health } from './fn/operations/health';
|
||||||
export type { ExecutionHealth$Params as ExecutionHealth$Params } from './fn/execution/execution-health';
|
export type { ConceptMaps$Params as ConceptMaps$Params } from './fn/ingest/concept-maps';
|
||||||
export { executionHealth as executionHealth } from './fn/execution/execution-health';
|
export { conceptMaps as conceptMaps } from './fn/ingest/concept-maps';
|
||||||
export type { ExecutionOptions$Params as ExecutionOptions$Params } from './fn/execution/execution-options';
|
|
||||||
export { executionOptions as executionOptions } from './fn/execution/execution-options';
|
|
||||||
export type { GetConceptMap$Params as GetConceptMap$Params } from './fn/ingest/get-concept-map';
|
export type { GetConceptMap$Params as GetConceptMap$Params } from './fn/ingest/get-concept-map';
|
||||||
export { getConceptMap as getConceptMap } from './fn/ingest/get-concept-map';
|
export { getConceptMap as getConceptMap } from './fn/ingest/get-concept-map';
|
||||||
export type { SaveConceptMap$Params as SaveConceptMap$Params } from './fn/ingest/save-concept-map';
|
export type { SaveConceptMap$Params as SaveConceptMap$Params } from './fn/ingest/save-concept-map';
|
||||||
@@ -35,6 +30,8 @@ export type { OauthStart$Params as OauthStart$Params } from './fn/ingest/oauth-s
|
|||||||
export { oauthStart as oauthStart } from './fn/ingest/oauth-start';
|
export { oauthStart as oauthStart } from './fn/ingest/oauth-start';
|
||||||
export type { SourcePreview$Params as SourcePreview$Params } from './fn/ingest/source-preview';
|
export type { SourcePreview$Params as SourcePreview$Params } from './fn/ingest/source-preview';
|
||||||
export { sourcePreview as sourcePreview } from './fn/ingest/source-preview';
|
export { sourcePreview as sourcePreview } from './fn/ingest/source-preview';
|
||||||
|
export type { SourceResources$Params as SourceResources$Params } from './fn/ingest/source-resources';
|
||||||
|
export { sourceResources as sourceResources } from './fn/ingest/source-resources';
|
||||||
export type { TestSource$Params as TestSource$Params } from './fn/ingest/test-source';
|
export type { TestSource$Params as TestSource$Params } from './fn/ingest/test-source';
|
||||||
export { testSource as testSource } from './fn/ingest/test-source';
|
export { testSource as testSource } from './fn/ingest/test-source';
|
||||||
export type { SourceTypes$Params as SourceTypes$Params } from './fn/ingest/source-types';
|
export type { SourceTypes$Params as SourceTypes$Params } from './fn/ingest/source-types';
|
||||||
@@ -45,24 +42,12 @@ export type { Models$Params as Models$Params } from './fn/models/models';
|
|||||||
export { models as models } from './fn/models/models';
|
export { models as models } from './fn/models/models';
|
||||||
export type { Analyze$Params as Analyze$Params } from './fn/models/analyze';
|
export type { Analyze$Params as Analyze$Params } from './fn/models/analyze';
|
||||||
export { analyze as analyze } from './fn/models/analyze';
|
export { analyze as analyze } from './fn/models/analyze';
|
||||||
export type { ExportModels$Params as ExportModels$Params } from './fn/models/export-models';
|
|
||||||
export { exportModels as exportModels } from './fn/models/export-models';
|
|
||||||
export type { ImportModels$Params as ImportModels$Params } from './fn/models/import-models';
|
|
||||||
export { importModels as importModels } from './fn/models/import-models';
|
|
||||||
export type { Score$Params as Score$Params } from './fn/models/score';
|
export type { Score$Params as Score$Params } from './fn/models/score';
|
||||||
export { score as score } from './fn/models/score';
|
export { score as score } from './fn/models/score';
|
||||||
export type { Train$Params as Train$Params } from './fn/models/train';
|
export type { Train$Params as Train$Params } from './fn/models/train';
|
||||||
export { train as train } from './fn/models/train';
|
export { train as train } from './fn/models/train';
|
||||||
export type { TrainingConfig$Params as TrainingConfig$Params } from './fn/models/training-config';
|
|
||||||
export { trainingConfig as trainingConfig } from './fn/models/training-config';
|
|
||||||
export type { Versions$Params as Versions$Params } from './fn/models/versions';
|
export type { Versions$Params as Versions$Params } from './fn/models/versions';
|
||||||
export { versions as versions } from './fn/models/versions';
|
export { versions as versions } from './fn/models/versions';
|
||||||
export type { VersionChecks$Params as VersionChecks$Params } from './fn/models/version-checks';
|
|
||||||
export { versionChecks as versionChecks } from './fn/models/version-checks';
|
|
||||||
export type { Curve$Params as Curve$Params } from './fn/models/curve';
|
|
||||||
export { curve as curve } from './fn/models/curve';
|
|
||||||
export type { Lineage$Params as Lineage$Params } from './fn/models/lineage';
|
|
||||||
export { lineage as lineage } from './fn/models/lineage';
|
|
||||||
export type { Promote$Params as Promote$Params } from './fn/models/promote';
|
export type { Promote$Params as Promote$Params } from './fn/models/promote';
|
||||||
export { promote as promote } from './fn/models/promote';
|
export { promote as promote } from './fn/models/promote';
|
||||||
export type { AddClinicalValidation$Params as AddClinicalValidation$Params } from './fn/models/add-clinical-validation';
|
export type { AddClinicalValidation$Params as AddClinicalValidation$Params } from './fn/models/add-clinical-validation';
|
||||||
@@ -71,8 +56,6 @@ export type { ReadReport$Json$Params as ReadReport$Json$Params } from './fn/mode
|
|||||||
export { readReport$Json as readReport$Json } from './fn/models/read-report-json';
|
export { readReport$Json as readReport$Json } from './fn/models/read-report-json';
|
||||||
export type { ReadReport$Any$Params as ReadReport$Any$Params } from './fn/models/read-report-any';
|
export type { ReadReport$Any$Params as ReadReport$Any$Params } from './fn/models/read-report-any';
|
||||||
export { readReport$Any as readReport$Any } from './fn/models/read-report-any';
|
export { readReport$Any as readReport$Any } from './fn/models/read-report-any';
|
||||||
export type { Retire$Params as Retire$Params } from './fn/models/retire';
|
|
||||||
export { retire as retire } from './fn/models/retire';
|
|
||||||
export type { Conflicts$Params as Conflicts$Params } from './fn/review/conflicts';
|
export type { Conflicts$Params as Conflicts$Params } from './fn/review/conflicts';
|
||||||
export { conflicts as conflicts } from './fn/review/conflicts';
|
export { conflicts as conflicts } from './fn/review/conflicts';
|
||||||
export type { Correct$Params as Correct$Params } from './fn/review/correct';
|
export type { Correct$Params as Correct$Params } from './fn/review/correct';
|
||||||
@@ -87,28 +70,26 @@ export type { Reject$Params as Reject$Params } from './fn/review/reject';
|
|||||||
export { reject as reject } from './fn/review/reject';
|
export { reject as reject } from './fn/review/reject';
|
||||||
export type { Unrecognised$Params as Unrecognised$Params } from './fn/review/unrecognised';
|
export type { Unrecognised$Params as Unrecognised$Params } from './fn/review/unrecognised';
|
||||||
export { unrecognised as unrecognised } from './fn/review/unrecognised';
|
export { unrecognised as unrecognised } from './fn/review/unrecognised';
|
||||||
export type { RunHistory$Params as RunHistory$Params } from './fn/runs/run-history';
|
|
||||||
export { runHistory as runHistory } from './fn/runs/run-history';
|
|
||||||
export type { RunStatus$Params as RunStatus$Params } from './fn/runs/run-status';
|
export type { RunStatus$Params as RunStatus$Params } from './fn/runs/run-status';
|
||||||
export { runStatus as runStatus } from './fn/runs/run-status';
|
export { runStatus as runStatus } from './fn/runs/run-status';
|
||||||
export type { CancelRun$Params as CancelRun$Params } from './fn/runs/cancel-run';
|
export type { TerminateRun$Params as TerminateRun$Params } from './fn/runs/terminate-run';
|
||||||
export { cancelRun as cancelRun } from './fn/runs/cancel-run';
|
export { terminateRun as terminateRun } from './fn/runs/terminate-run';
|
||||||
export type { Studies$Params as Studies$Params } from './fn/eeg/studies';
|
export type { Studies$Params as Studies$Params } from './fn/eeg/studies';
|
||||||
export { studies as studies } from './fn/eeg/studies';
|
export { studies as studies } from './fn/eeg/studies';
|
||||||
export type { AnalyzeEegs$Params as AnalyzeEegs$Params } from './fn/eeg/analyze-eegs';
|
|
||||||
export { analyzeEegs as analyzeEegs } from './fn/eeg/analyze-eegs';
|
|
||||||
export type { EegStudiesSummary$Params as EegStudiesSummary$Params } from './fn/eeg/eeg-studies-summary';
|
|
||||||
export { eegStudiesSummary as eegStudiesSummary } from './fn/eeg/eeg-studies-summary';
|
|
||||||
export type { Study$Params as Study$Params } from './fn/eeg/study';
|
export type { Study$Params as Study$Params } from './fn/eeg/study';
|
||||||
export { study as study } from './fn/eeg/study';
|
export { study as study } from './fn/eeg/study';
|
||||||
export type { StartPreview$Params as StartPreview$Params } from './fn/preview/start-preview';
|
|
||||||
export { startPreview as startPreview } from './fn/preview/start-preview';
|
|
||||||
export type { PreviewStatus$Params as PreviewStatus$Params } from './fn/preview/preview-status';
|
|
||||||
export { previewStatus as previewStatus } from './fn/preview/preview-status';
|
|
||||||
export type { UsersCurrentUser$Params as UsersCurrentUser$Params } from './fn/users/users-current-user';
|
export type { UsersCurrentUser$Params as UsersCurrentUser$Params } from './fn/users/users-current-user';
|
||||||
export { usersCurrentUser as usersCurrentUser } from './fn/users/users-current-user';
|
export { usersCurrentUser as usersCurrentUser } from './fn/users/users-current-user';
|
||||||
|
export type { UsersPatchCurrentUser$Params as UsersPatchCurrentUser$Params } from './fn/users/users-patch-current-user';
|
||||||
|
export { usersPatchCurrentUser as usersPatchCurrentUser } from './fn/users/users-patch-current-user';
|
||||||
export type { RegisterRegister$Params as RegisterRegister$Params } from './fn/users/register-register';
|
export type { RegisterRegister$Params as RegisterRegister$Params } from './fn/users/register-register';
|
||||||
export { registerRegister as registerRegister } from './fn/users/register-register';
|
export { registerRegister as registerRegister } from './fn/users/register-register';
|
||||||
|
export type { UsersUser$Params as UsersUser$Params } from './fn/users/users-user';
|
||||||
|
export { usersUser as usersUser } from './fn/users/users-user';
|
||||||
|
export type { UsersDeleteUser$Params as UsersDeleteUser$Params } from './fn/users/users-delete-user';
|
||||||
|
export { usersDeleteUser as usersDeleteUser } from './fn/users/users-delete-user';
|
||||||
|
export type { UsersPatchUser$Params as UsersPatchUser$Params } from './fn/users/users-patch-user';
|
||||||
|
export { usersPatchUser as usersPatchUser } from './fn/users/users-patch-user';
|
||||||
export type { PostBundle$Params as PostBundle$Params } from './fn/fhir/post-bundle';
|
export type { PostBundle$Params as PostBundle$Params } from './fn/fhir/post-bundle';
|
||||||
export { postBundle as postBundle } from './fn/fhir/post-bundle';
|
export { postBundle as postBundle } from './fn/fhir/post-bundle';
|
||||||
export type { SearchCondition$Params as SearchCondition$Params } from './fn/fhir/search-condition';
|
export type { SearchCondition$Params as SearchCondition$Params } from './fn/fhir/search-condition';
|
||||||
@@ -127,8 +108,6 @@ export type { SearchObservation$Params as SearchObservation$Params } from './fn/
|
|||||||
export { searchObservation as searchObservation } from './fn/fhir/search-observation';
|
export { searchObservation as searchObservation } from './fn/fhir/search-observation';
|
||||||
export type { SearchPatient$Params as SearchPatient$Params } from './fn/fhir/search-patient';
|
export type { SearchPatient$Params as SearchPatient$Params } from './fn/fhir/search-patient';
|
||||||
export { searchPatient as searchPatient } from './fn/fhir/search-patient';
|
export { searchPatient as searchPatient } from './fn/fhir/search-patient';
|
||||||
export type { EegSummary$Params as EegSummary$Params } from './fn/fhir/eeg-summary';
|
|
||||||
export { eegSummary as eegSummary } from './fn/fhir/eeg-summary';
|
|
||||||
export type { ReadPatient$Params as ReadPatient$Params } from './fn/fhir/read-patient';
|
export type { ReadPatient$Params as ReadPatient$Params } from './fn/fhir/read-patient';
|
||||||
export { readPatient as readPatient } from './fn/fhir/read-patient';
|
export { readPatient as readPatient } from './fn/fhir/read-patient';
|
||||||
export type { SearchProcedure$Params as SearchProcedure$Params } from './fn/fhir/search-procedure';
|
export type { SearchProcedure$Params as SearchProcedure$Params } from './fn/fhir/search-procedure';
|
||||||
|
|||||||
+3
-29
@@ -1,31 +1,19 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export type { Analysis } from './models/analysis';
|
export type { Analysis } from './models/analysis';
|
||||||
export type { Analyze } from './models/analyze';
|
|
||||||
export type { AnalyzeRequest } from './models/analyze-request';
|
|
||||||
export type { Answers } from './models/answers';
|
export type { Answers } from './models/answers';
|
||||||
export type { BodyAddClinicalValidation } from './models/body-add-clinical-validation';
|
export type { BodyAddClinicalValidation } from './models/body-add-clinical-validation';
|
||||||
export type { BodyImportModels } from './models/body-import-models';
|
|
||||||
export type { BodyStartPreview } from './models/body-start-preview';
|
|
||||||
export type { BodyUpload } from './models/body-upload';
|
export type { BodyUpload } from './models/body-upload';
|
||||||
export type { Browsed } from './models/browsed';
|
export type { Browsed } from './models/browsed';
|
||||||
export type { Cancel } from './models/cancel';
|
|
||||||
export type { Catalog } from './models/catalog';
|
export type { Catalog } from './models/catalog';
|
||||||
export type { Condition } from './models/condition';
|
export type { Condition } from './models/condition';
|
||||||
export type { Correction } from './models/correction';
|
export type { Correction } from './models/correction';
|
||||||
export type { Domain } from './models/domain';
|
export type { Domain } from './models/domain';
|
||||||
export type { Edf } from './models/edf';
|
|
||||||
export type { Entry } from './models/entry';
|
export type { Entry } from './models/entry';
|
||||||
export type { ErrorModel } from './models/error-model';
|
export type { ErrorModel } from './models/error-model';
|
||||||
export type { Execution } from './models/execution';
|
|
||||||
export type { Extract } from './models/extract';
|
export type { Extract } from './models/extract';
|
||||||
export type { Fhir } from './models/fhir';
|
export type { Fhir } from './models/fhir';
|
||||||
export type { FieldSpec } from './models/field-spec';
|
export type { FieldSpec } from './models/field-spec';
|
||||||
export type { FolderTrainingSource } from './models/folder-training-source';
|
|
||||||
export type { Group } from './models/group';
|
export type { Group } from './models/group';
|
||||||
export type { Guided } from './models/guided';
|
export type { Guided } from './models/guided';
|
||||||
export type { Health } from './models/health';
|
|
||||||
export type { HttpValidationError } from './models/http-validation-error';
|
export type { HttpValidationError } from './models/http-validation-error';
|
||||||
export type { Join } from './models/join';
|
export type { Join } from './models/join';
|
||||||
export type { Link } from './models/link';
|
export type { Link } from './models/link';
|
||||||
@@ -35,42 +23,28 @@ export type { Map } from './models/map';
|
|||||||
export type { Metric } from './models/metric';
|
export type { Metric } from './models/metric';
|
||||||
export type { Model } from './models/model';
|
export type { Model } from './models/model';
|
||||||
export type { Option } from './models/option';
|
export type { Option } from './models/option';
|
||||||
export type { Options } from './models/options';
|
|
||||||
export type { PersonDecision } from './models/person-decision';
|
export type { PersonDecision } from './models/person-decision';
|
||||||
export type { Pipeline } from './models/pipeline';
|
export type { Pipeline } from './models/pipeline';
|
||||||
export type { Position } from './models/position';
|
export type { Position } from './models/position';
|
||||||
export type { PreviewAdos2 } from './models/preview-ados-2';
|
|
||||||
export type { PreviewEeg } from './models/preview-eeg';
|
|
||||||
export type { PreviewMetric } from './models/preview-metric';
|
|
||||||
export type { PreviewResult } from './models/preview-result';
|
|
||||||
export type { PreviewStatus } from './models/preview-status';
|
|
||||||
export type { Progress } from './models/progress';
|
|
||||||
export type { Provider } from './models/provider';
|
export type { Provider } from './models/provider';
|
||||||
export type { Read } from './models/read';
|
export type { Read } from './models/read';
|
||||||
export type { Rejection } from './models/rejection';
|
export type { Rejection } from './models/rejection';
|
||||||
|
export type { Relation } from './models/relation';
|
||||||
export type { Route } from './models/route';
|
export type { Route } from './models/route';
|
||||||
export type { Run } from './models/run';
|
|
||||||
export type { RunRequest } from './models/run-request';
|
export type { RunRequest } from './models/run-request';
|
||||||
export type { RunSummary } from './models/run-summary';
|
|
||||||
export type { SavedPipeline } from './models/saved-pipeline';
|
export type { SavedPipeline } from './models/saved-pipeline';
|
||||||
export type { Scope } from './models/scope';
|
|
||||||
export type { Score } from './models/score';
|
|
||||||
export type { SignIn } from './models/sign-in';
|
export type { SignIn } from './models/sign-in';
|
||||||
export type { Site } from './models/site';
|
export type { Site } from './models/site';
|
||||||
export type { SiteTrainingSource } from './models/site-training-source';
|
|
||||||
export type { Source } from './models/source';
|
export type { Source } from './models/source';
|
||||||
|
export type { SourceRef } from './models/source-ref';
|
||||||
export type { SourceType } from './models/source-type';
|
export type { SourceType } from './models/source-type';
|
||||||
export type { Step } from './models/step';
|
|
||||||
export type { Study } from './models/study';
|
export type { Study } from './models/study';
|
||||||
export type { Target } from './models/target';
|
export type { Target } from './models/target';
|
||||||
export type { Tasks } from './models/tasks';
|
|
||||||
export type { Tested } from './models/tested';
|
export type { Tested } from './models/tested';
|
||||||
export type { Training } from './models/training';
|
export type { Training } from './models/training';
|
||||||
export type { TrainingConfig } from './models/training-config';
|
|
||||||
export type { TrainingSource } from './models/training-source';
|
|
||||||
export type { Uploaded } from './models/uploaded';
|
export type { Uploaded } from './models/uploaded';
|
||||||
export type { UserCreate } from './models/user-create';
|
export type { UserCreate } from './models/user-create';
|
||||||
export type { UserRead } from './models/user-read';
|
export type { UserRead } from './models/user-read';
|
||||||
|
export type { UserUpdate } from './models/user-update';
|
||||||
export type { ValidationError } from './models/validation-error';
|
export type { ValidationError } from './models/validation-error';
|
||||||
export type { Version } from './models/version';
|
export type { Version } from './models/version';
|
||||||
export type { Worker } from './models/worker';
|
|
||||||
|
|||||||
@@ -1,17 +1,10 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Metric } from '../models/metric';
|
import { Metric } from '../models/metric';
|
||||||
|
import { Relation } from '../models/relation';
|
||||||
export interface Analysis {
|
export interface Analysis {
|
||||||
age_months: (number | null);
|
age_months: number | null;
|
||||||
checks: Array<{
|
|
||||||
[key: string]: any;
|
|
||||||
}>;
|
|
||||||
id: string;
|
id: string;
|
||||||
level: (string | null);
|
level: string | null;
|
||||||
metrics: Array<Metric>;
|
metrics: Array<Metric>;
|
||||||
regions: Array<{
|
relation?: Array<Relation>;
|
||||||
[key: string]: any;
|
valid: boolean | null;
|
||||||
}>;
|
|
||||||
valid: (boolean | null);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Execution } from '../models/execution';
|
|
||||||
import { Scope } from '../models/scope';
|
|
||||||
export interface AnalyzeRequest {
|
|
||||||
execution?: (Execution | null);
|
|
||||||
scope?: Scope;
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Execution } from '../models/execution';
|
|
||||||
export interface Analyze {
|
|
||||||
execution?: (Execution | null);
|
|
||||||
}
|
|
||||||
@@ -1,11 +1,8 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface Answers {
|
export interface Answers {
|
||||||
answers?: {
|
answers?: {
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
};
|
};
|
||||||
node?: (string | null);
|
node?: string | null;
|
||||||
pipeline?: (string | null);
|
pipeline?: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface BodyAddClinicalValidation {
|
export interface BodyAddClinicalValidation {
|
||||||
file: string;
|
file: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user