Compare commits
5 Commits
d09e8c59ed
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c1c81449a9 | |||
| 157006954c | |||
| 25382f4df5 | |||
| c1c6f10662 | |||
| 2811961a5a |
+4
-48
@@ -1,48 +1,4 @@
|
|||||||
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
|
__pycache__/
|
||||||
|
node_modules/
|
||||||
# Compiled output
|
dist/
|
||||||
/dist
|
.angular/
|
||||||
/tmp
|
|
||||||
/out-tsc
|
|
||||||
/bazel-out
|
|
||||||
|
|
||||||
# Node
|
|
||||||
/node_modules
|
|
||||||
npm-debug.log
|
|
||||||
yarn-error.log
|
|
||||||
|
|
||||||
# IDEs and editors
|
|
||||||
.idea/
|
|
||||||
.project
|
|
||||||
.classpath
|
|
||||||
.c9/
|
|
||||||
*.launch
|
|
||||||
.settings/
|
|
||||||
*.sublime-workspace
|
|
||||||
|
|
||||||
# Visual Studio Code
|
|
||||||
.vscode/*
|
|
||||||
!.vscode/settings.json
|
|
||||||
!.vscode/tasks.json
|
|
||||||
!.vscode/launch.json
|
|
||||||
!.vscode/extensions.json
|
|
||||||
!.vscode/mcp.json
|
|
||||||
.history/*
|
|
||||||
|
|
||||||
# Miscellaneous
|
|
||||||
/.angular/cache
|
|
||||||
.sass-cache/
|
|
||||||
/connect.lock
|
|
||||||
/coverage
|
|
||||||
/libpeerconnection.log
|
|
||||||
testem.log
|
|
||||||
/typings
|
|
||||||
__screenshots__/
|
|
||||||
|
|
||||||
# System files
|
|
||||||
.DS_Store
|
|
||||||
Thumbs.db
|
|
||||||
|
|
||||||
# Playwright
|
|
||||||
/test-results/
|
|
||||||
/playwright-report/
|
|
||||||
|
|||||||
@@ -1,285 +0,0 @@
|
|||||||
import { readFileSync } from 'node:fs';
|
|
||||||
import { expect, Page, test } from '@playwright/test';
|
|
||||||
|
|
||||||
/** Every page loads from the API with no failed request and no console error. */
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
// The pages show only to someone signed in (the API itself answers everyone).
|
|
||||||
test.beforeEach(async ({ page }) => {
|
|
||||||
const signed = await page.request.post('/api/auth/login', {
|
|
||||||
form: { username: 'admin@isssteleon.mx', password: 'solo-para-pruebas' },
|
|
||||||
});
|
|
||||||
expect(signed.status()).toBe(204);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('login: the pages wait for a sign-in, and a wrong password says so', async ({ browser }) => {
|
|
||||||
const page = await browser.newPage({ baseURL: 'http://127.0.0.1:4310' });
|
|
||||||
await page.goto('/conectar');
|
|
||||||
await expect(page).toHaveURL(/\/login\?next=%2Fconectar/);
|
|
||||||
await expect(page.getByRole('heading', { name: 'Inicio de sesión' })).toBeVisible();
|
|
||||||
await page.getByRole('textbox', { name: 'Usuario' }).fill('admin@isssteleon.mx');
|
|
||||||
await page.getByRole('textbox', { name: 'Contraseña' }).fill('otra');
|
|
||||||
await page.getByRole('button', { name: 'Ingresar' }).click();
|
|
||||||
await expect(page.getByText('Usuario o contraseña incorrectos.')).toBeVisible();
|
|
||||||
await page.getByRole('textbox', { name: 'Contraseña' }).fill('solo-para-pruebas');
|
|
||||||
await page.getByRole('button', { name: 'Ingresar' }).click();
|
|
||||||
await expect(page).toHaveURL(/\/conectar$/);
|
|
||||||
await page.getByRole('button', { name: 'Cuenta' }).click();
|
|
||||||
await page.getByRole('menuitem', { name: 'Salir' }).click();
|
|
||||||
await expect(page).toHaveURL(/\/login/);
|
|
||||||
await page.close();
|
|
||||||
});
|
|
||||||
|
|
||||||
test("indicators: the KPIs are the API's MeasureReports, every tab and the patient view load", async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
const report = page.waitForResponse(
|
|
||||||
(r) =>
|
|
||||||
r.url().includes('MeasureReport') &&
|
|
||||||
r.url().includes('measure=cacu-eu7') &&
|
|
||||||
!r.url().includes('%2C'),
|
|
||||||
);
|
|
||||||
await page.goto('/indicadores/cacu');
|
|
||||||
const eu7 = await (await report).json();
|
|
||||||
const count = eu7.entry[0].resource.group[0].population.find(
|
|
||||||
(p: any) => p.code.coding[0].code === 'initial-population',
|
|
||||||
).count;
|
|
||||||
// the card says it as the old one did: "<n> pacientes"
|
|
||||||
await expect(page.locator('[data-measure="CACU_EU7"] .kpi-value')).toHaveText(
|
|
||||||
`${count.toLocaleString('es-MX')} pacientes`,
|
|
||||||
);
|
|
||||||
await expect(page.locator('app-tab-indicadores app-plot').first()).toBeVisible();
|
|
||||||
|
|
||||||
await page.getByRole('tab', { name: 'Trazabilidad' }).click();
|
|
||||||
await expect(page.locator('app-tab-trazabilidad mat-card')).toHaveCount(14);
|
|
||||||
|
|
||||||
await page.getByRole('tab', { name: 'Datos y definiciones' }).click();
|
|
||||||
await expect(page.locator('app-tab-definiciones tbody tr')).toHaveCount(14);
|
|
||||||
|
|
||||||
const list = page.waitForResponse((r) => r.url().includes('/fhir/Patient?'));
|
|
||||||
await page.getByRole('tab', { name: 'Análisis de riesgos' }).click();
|
|
||||||
const bundle = await (await list).json();
|
|
||||||
const patient = bundle.entry.find((e: any) => e.search.mode === 'match').resource;
|
|
||||||
const first = patient.name?.[0]?.text ?? patient.id.slice(0, 10);
|
|
||||||
const rows = page.locator('table.worklist tbody tr');
|
|
||||||
await expect(rows).toHaveCount(Math.min(20, bundle.total));
|
|
||||||
await expect(rows.first().locator('a').first()).toHaveText(first);
|
|
||||||
await page.getByRole('button', { name: 'Siguiente' }).click();
|
|
||||||
await expect(page.getByText(`21–`)).toBeVisible();
|
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Anterior' }).click();
|
|
||||||
await rows.first().locator('a').first().click();
|
|
||||||
await expect(page.getByText('Historial médico')).toBeVisible();
|
|
||||||
await expect(page.getByText('Pruebas y resultados')).toBeVisible();
|
|
||||||
await expect(
|
|
||||||
page.locator('app-paciente table').nth(1).locator('tbody tr').first(),
|
|
||||||
).not.toContainText('Sin estudios');
|
|
||||||
|
|
||||||
await page.goto('/indicadores/cama');
|
|
||||||
await expect(page.getByRole('tab', { name: 'Indicadores' })).toBeVisible();
|
|
||||||
await page.getByRole('tab', { name: 'Análisis de riesgos' }).click();
|
|
||||||
await page.locator('mat-form-field', { hasText: 'Ventana' }).click();
|
|
||||||
await page.getByRole('option', { name: '12 meses' }).click();
|
|
||||||
const camaRows = page.locator('table.worklist tbody tr');
|
|
||||||
await expect(camaRows.first()).toContainText('BI-RADS');
|
|
||||||
await page.goto('/indicadores/tea');
|
|
||||||
await expect(page.getByRole('tab', { name: 'Resumen' })).toBeVisible();
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('conectar: open the hospital pipeline, preview a source, run it to success', async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/conectar');
|
|
||||||
await page.getByText('cacu', { exact: true }).click();
|
|
||||||
await expect(page.locator('vflow')).toBeVisible();
|
|
||||||
await page.getByText('Fuente de datos · Patients').click();
|
|
||||||
await expect(page.locator('formly-form')).toBeVisible(); // drawn by hand: its raw form
|
|
||||||
await page.getByRole('button', { name: 'Vista previa' }).click();
|
|
||||||
await expect(page.locator('.preview tr[mat-row]').first()).toBeVisible();
|
|
||||||
// A map node shows the site's codes in platform terms (its ConceptMap), editable as rows.
|
|
||||||
await page.getByText('Traducir códigos · cytology', { exact: true }).click();
|
|
||||||
await expect(page.getByRole('heading', { name: /^Códigos del sitio/ })).toBeVisible();
|
|
||||||
await expect
|
|
||||||
.poll(() =>
|
|
||||||
page
|
|
||||||
.locator('app-concept-map-editor input')
|
|
||||||
.evaluateAll((els) => els.map((e) => (e as HTMLInputElement).value)),
|
|
||||||
)
|
|
||||||
.toContain('LIEAG');
|
|
||||||
await page.getByRole('button', { name: 'Ejecutar' }).click();
|
|
||||||
await expect(page.getByText('SUCCESS')).toBeVisible({ timeout: 10 * 60_000 });
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('revision: what the hospital source holds, and a decision through the page', async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/revision');
|
|
||||||
await page.getByRole('tab', { name: 'Personas' }).click();
|
|
||||||
await page.locator('mat-form-field', { hasText: 'Canalización' }).click();
|
|
||||||
await page.getByRole('option', { name: 'site', exact: true }).click();
|
|
||||||
await expect(page.getByText(/Posibles pacientes duplicadas \([1-9]/)).toBeVisible();
|
|
||||||
await page.getByRole('button', { name: 'Distintas' }).first().click();
|
|
||||||
await expect(page.getByText('Decisión registrada.')).toBeVisible();
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('gobernanza: a version with its reports, its curves, and promotion refused without validation', async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/gobernanza/cama');
|
|
||||||
await expect(page.getByRole('heading', { name: 'survival' })).toBeVisible();
|
|
||||||
const version = page.locator('tr', { hasText: 'v1' });
|
|
||||||
await expect(version.getByRole('link', { name: 'Validación técnica' })).toBeVisible();
|
|
||||||
await version.getByRole('button', { name: 'Ver gráficas' }).click();
|
|
||||||
await expect(page.locator('app-plot .plot svg').first()).toBeVisible();
|
|
||||||
await version.getByRole('button', { name: 'Promover' }).click();
|
|
||||||
await expect(page.getByText('No se promovió')).toContainText('clinical_validation');
|
|
||||||
expect(problems.filter((p) => !p.includes('409'))).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
test('conectar: someone who knows nothing of databases connects the SQL Server with the dialog', async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const site = new URL((process.env['SITE_URL'] ?? '').replace(/^mssql\+pymssql/, 'http'));
|
|
||||||
const problems = watch(page);
|
|
||||||
await page.goto('/conectar');
|
|
||||||
await page.getByLabel('Nueva canalización').fill('asistente');
|
|
||||||
await page.getByLabel('Nueva canalización').press('Enter');
|
|
||||||
await page.getByRole('button', { name: 'Fuente de datos' }).click();
|
|
||||||
await expect(page.getByText('¿Dónde están los datos?')).toBeVisible();
|
|
||||||
await page.locator('[data-type="sqlserver"]').click();
|
|
||||||
await page.locator('[data-field="host"]').fill(site.hostname);
|
|
||||||
await page.locator('[data-field="database"]').fill(site.pathname.slice(1));
|
|
||||||
await page.locator('[data-field="user"]').fill(decodeURIComponent(site.username));
|
|
||||||
await page.locator('[data-field="password"]').fill(decodeURIComponent(site.password));
|
|
||||||
await page.getByRole('button', { name: 'Probar conexión' }).click();
|
|
||||||
await expect(page.getByText('Conexión correcta: 1 tabla.')).toBeVisible();
|
|
||||||
await page.locator('mat-select[data-field="table"]').click();
|
|
||||||
await page.getByRole('option', { name: 'ResultadoSubrogado' }).click();
|
|
||||||
await expect(page.getByText(/(Las primeras \d+ filas|La primera fila):/)).toBeVisible();
|
|
||||||
await page.getByLabel('Nombre de esta fuente').fill('Resultados');
|
|
||||||
await page.getByRole('button', { name: 'Guardar', exact: true }).last().click();
|
|
||||||
await expect(page.getByText('Fuente de datos · Resultados')).toBeVisible();
|
|
||||||
// A wrong password says so in words, not a stack trace.
|
|
||||||
await page.getByRole('button', { name: 'Editar conexión' }).click();
|
|
||||||
await page.locator('[data-field="password"]').fill('not-it');
|
|
||||||
await page.getByRole('button', { name: 'Probar conexión' }).click();
|
|
||||||
await expect(page.getByText(/usuario o la contraseña no son correctos/)).toBeVisible();
|
|
||||||
await page.getByRole('button', { name: 'Cancelar' }).click();
|
|
||||||
await expect(page.getByRole('dialog')).toHaveCount(0);
|
|
||||||
await page.getByRole('button', { name: 'Guardar', exact: true }).click();
|
|
||||||
await expect(page.getByText('Versión 1 guardada.')).toBeVisible();
|
|
||||||
expect(problems).toEqual([]);
|
|
||||||
});
|
|
||||||
|
|
||||||
/** The old app's Indicadores tab as captured (tools/capture_pages.py): its headings from the
|
|
||||||
* opportunity section on, in order, and the kind of each plot (its traces' types). */
|
|
||||||
function captured(domain: string) {
|
|
||||||
const path = `../tests/fixtures/reference/${domain}/ui/pages.json`;
|
|
||||||
const tabs = JSON.parse(readFileSync(path, 'utf8')).tabs;
|
|
||||||
const items = (tabs['Indicadores'] ?? tabs['Resumen']) as any[]; // TEA's first tab is its summary
|
|
||||||
const from = items.findIndex((i) => i.text === 'Indicadores de oportunidad');
|
|
||||||
return items
|
|
||||||
.slice(from)
|
|
||||||
.filter((i) => ['h2', 'h3', 'plot'].includes(i.kind))
|
|
||||||
.filter((i) => !/^(cacu|cama|tea), /.test(i.text ?? '')); // a figure's machine caption
|
|
||||||
}
|
|
||||||
const period = (text: string) => text.replace(/, \d{4}-(S[12]|\d{2})$/, ', <periodo>');
|
|
||||||
const kindOf = (types: string[]) => [...new Set(types)].sort().join('+');
|
|
||||||
|
|
||||||
for (const domain of ['cacu', 'cama', 'tea']) {
|
|
||||||
test(`indicadores ${domain}: the old page's headings, in order, and the same kinds of plots`, async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const old = captured(domain);
|
|
||||||
await page.goto(`/indicadores/${domain}`);
|
|
||||||
const tab = page.locator('app-tab-indicadores');
|
|
||||||
await expect(tab.getByRole('heading', { name: 'Indicadores clínicos' })).toBeVisible();
|
|
||||||
await expect(tab.locator('app-loading')).toHaveCount(0, { timeout: 5 * 60_000 });
|
|
||||||
const headings = await tab
|
|
||||||
.locator('h2, h3')
|
|
||||||
.evaluateAll((els) => els.map((e) => (e as HTMLElement).innerText.trim()));
|
|
||||||
const from = headings.indexOf('Indicadores de oportunidad');
|
|
||||||
expect(headings.slice(from).map(period)).toEqual(
|
|
||||||
old.filter((i) => i.kind !== 'plot').map((i) => period(i.text)),
|
|
||||||
);
|
|
||||||
// Each figure drawn is one of the old kinds (a figure with no data in the period is named).
|
|
||||||
const drawn = await tab
|
|
||||||
.locator('.js-plotly-plot')
|
|
||||||
.evaluateAll((els) =>
|
|
||||||
els.map((e: any) => (e.data ?? []).map((t: any) => t.type ?? 'scatter')),
|
|
||||||
);
|
|
||||||
const kinds = new Set(
|
|
||||||
old.filter((i) => i.kind === 'plot').map((i) => kindOf(i.traces.map((t: any) => t.type))),
|
|
||||||
);
|
|
||||||
for (const types of drawn) expect(kinds).toContain(kindOf(types));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
for (const domain of ['cacu', 'cama', 'tea']) {
|
|
||||||
test(`trazabilidad ${domain}: the old tab's panels, in order, and the same kinds of plots`, async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const tabs = JSON.parse(
|
|
||||||
readFileSync(`../tests/fixtures/reference/${domain}/ui/pages.json`, 'utf8'),
|
|
||||||
).tabs;
|
|
||||||
const old = (tabs['Trazabilidad'] as any[]).filter((i) =>
|
|
||||||
['h2', 'h3', 'plot'].includes(i.kind),
|
|
||||||
);
|
|
||||||
await page.goto(`/indicadores/${domain}`);
|
|
||||||
await page.getByRole('tab', { name: 'Trazabilidad' }).click();
|
|
||||||
const tab = page.locator('app-tab-trazabilidad');
|
|
||||||
await expect(tab.getByRole('heading', { name: 'Filtros' })).toBeVisible();
|
|
||||||
await expect(tab.locator('app-loading')).toHaveCount(0, { timeout: 5 * 60_000 });
|
|
||||||
const headings = await tab
|
|
||||||
.locator('h2, h3')
|
|
||||||
.evaluateAll((els) => els.map((e) => (e as HTMLElement).innerText.trim()));
|
|
||||||
expect(headings).toEqual(old.filter((i) => i.kind !== 'plot').map((i) => i.text));
|
|
||||||
const drawn = await tab
|
|
||||||
.locator('.js-plotly-plot')
|
|
||||||
.evaluateAll((els) =>
|
|
||||||
els.map((e: any) => (e.data ?? []).map((t: any) => t.type ?? 'scatter')),
|
|
||||||
);
|
|
||||||
const kinds = new Set(
|
|
||||||
old.filter((i) => i.kind === 'plot').map((i) => kindOf(i.traces.map((t: any) => t.type))),
|
|
||||||
);
|
|
||||||
for (const types of drawn) expect(kinds).toContain(kindOf(types));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
for (const domain of ['cacu', 'cama', 'tea']) {
|
|
||||||
test(`datos y definiciones ${domain}: the old tab's headings and an indicator that opens`, async ({
|
|
||||||
page,
|
|
||||||
}) => {
|
|
||||||
const tabs = JSON.parse(
|
|
||||||
readFileSync(`../tests/fixtures/reference/${domain}/ui/pages.json`, 'utf8'),
|
|
||||||
).tabs;
|
|
||||||
const old = (tabs['Datos y definiciones'] as any[])
|
|
||||||
.filter((i) => ['h2', 'h3'].includes(i.kind))
|
|
||||||
.map((i) => i.text);
|
|
||||||
await page.goto(`/indicadores/${domain}`);
|
|
||||||
await page.getByRole('tab', { name: 'Datos y definiciones' }).click();
|
|
||||||
const tab = page.locator('app-tab-definiciones');
|
|
||||||
await expect(tab.getByRole('heading', { name: 'Catálogo de indicadores' })).toBeVisible();
|
|
||||||
const headings = await tab
|
|
||||||
.locator('h2, h3')
|
|
||||||
.evaluateAll((els) => els.map((e) => (e as HTMLElement).innerText.trim()));
|
|
||||||
expect(headings).toEqual(old);
|
|
||||||
await tab.locator('summary').first().click();
|
|
||||||
await expect(
|
|
||||||
tab.getByRole('heading', { name: 'Tipos de periodo admitidos' }).first(),
|
|
||||||
).toBeVisible();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "node_modules/ng-openapi-gen/ng-openapi-gen-schema.json",
|
|
||||||
"input": "openapi.json",
|
|
||||||
"output": "src/app/api",
|
|
||||||
"ignoreUnusedModels": false
|
|
||||||
}
|
|
||||||
-5826
File diff suppressed because it is too large
Load Diff
Generated
+285
-2
@@ -25,9 +25,11 @@
|
|||||||
"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.14",
|
||||||
"plotly.js-cartesian-dist-min": "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"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/build": "^22.3.0",
|
"@angular/build": "^22.3.0",
|
||||||
@@ -38,6 +40,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.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",
|
||||||
@@ -2402,6 +2405,30 @@
|
|||||||
"@ngx-formly/core": "11.2.0"
|
"@ngx-formly/core": "11.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@noble/ciphers": {
|
||||||
|
"version": "1.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
|
||||||
|
"integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": "^14.21.3 || >=16"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://paulmillr.com/funding/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@noble/hashes": {
|
||||||
|
"version": "1.8.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
|
||||||
|
"integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": "^14.21.3 || >=16"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://paulmillr.com/funding/"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@oxc-parser/binding-android-arm-eabi": {
|
"node_modules/@oxc-parser/binding-android-arm-eabi": {
|
||||||
"version": "0.158.0",
|
"version": "0.158.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.158.0.tgz",
|
"resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.158.0.tgz",
|
||||||
@@ -3465,6 +3492,12 @@
|
|||||||
"integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
|
"integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/@swc/helpers": {
|
||||||
|
"version": "0.5.24",
|
||||||
|
"resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.24.tgz",
|
||||||
|
"integrity": "sha512-6tcXo4kA8HgGO7AVmawB57RYi/piBPYVHVcO6dXjX+SZw8GoHmi262sp4v2Ha2kNP9Cx84qei27yT+fjS1lxgg==",
|
||||||
|
"license": "Apache-2.0"
|
||||||
|
},
|
||||||
"node_modules/@tybys/wasm-util": {
|
"node_modules/@tybys/wasm-util": {
|
||||||
"version": "0.10.5",
|
"version": "0.10.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz",
|
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz",
|
||||||
@@ -3570,6 +3603,37 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peer": true
|
"peer": true
|
||||||
},
|
},
|
||||||
|
"node_modules/@types/node": {
|
||||||
|
"version": "26.6.11",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.11.tgz",
|
||||||
|
"integrity": "sha512-uUyQ2XLEz+EXh34lmS3GhKrkqn/8FU7KUiKRpk347At2bmnMVWss45yz8b4FG/tUtmV1tV/+TVkITItPROyeeQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"undici-types": "~8.9.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@types/pdfkit": {
|
||||||
|
"version": "0.17.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/pdfkit/-/pdfkit-0.17.7.tgz",
|
||||||
|
"integrity": "sha512-VMOZDWw7HtNtLbjIuHIhVArm9PlV0gxpz32jAl1IuXWlIgbr1lKFoTsrtvEzY8a9BIpQJEE5DwNPKD50otTs6g==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/node": "*"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@types/pdfmake": {
|
||||||
|
"version": "0.3.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/pdfmake/-/pdfmake-0.3.5.tgz",
|
||||||
|
"integrity": "sha512-AQI4ISWzt7qmnKaipkikibz9x2XIvU/1zqfEHwKhBU7vP6oIhlGoLB9KsSIAryH7f9uuJebXScldb6F4ebwFxg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/node": "*",
|
||||||
|
"@types/pdfkit": "*"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@types/plotly.js": {
|
"node_modules/@types/plotly.js": {
|
||||||
"version": "3.0.15",
|
"version": "3.0.15",
|
||||||
"resolved": "https://registry.npmjs.org/@types/plotly.js/-/plotly.js-3.0.15.tgz",
|
"resolved": "https://registry.npmjs.org/@types/plotly.js/-/plotly.js-3.0.15.tgz",
|
||||||
@@ -3816,6 +3880,15 @@
|
|||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/base64-js": {
|
||||||
|
"version": "0.0.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz",
|
||||||
|
"integrity": "sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/baseline-browser-mapping": {
|
"node_modules/baseline-browser-mapping": {
|
||||||
"version": "2.11.39",
|
"version": "2.11.39",
|
||||||
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.39.tgz",
|
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.39.tgz",
|
||||||
@@ -3891,6 +3964,35 @@
|
|||||||
"url": "https://github.com/sponsors/fb55"
|
"url": "https://github.com/sponsors/fb55"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/brotli": {
|
||||||
|
"version": "1.3.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/brotli/-/brotli-1.3.3.tgz",
|
||||||
|
"integrity": "sha512-oTKjJdShmDuGW94SyyaoQvAjf30dZaHnjJ8uAF+u2/vGJkJbJPJAT1gDiOJP5v1Zb6f9KEyW/1HpuaWIXtGHPg==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"base64-js": "^1.1.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/brotli/node_modules/base64-js": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
||||||
|
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "patreon",
|
||||||
|
"url": "https://www.patreon.com/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "consulting",
|
||||||
|
"url": "https://feross.org/support"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/browserslist": {
|
"node_modules/browserslist": {
|
||||||
"version": "4.29.6",
|
"version": "4.29.6",
|
||||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.6.tgz",
|
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.6.tgz",
|
||||||
@@ -4119,6 +4221,15 @@
|
|||||||
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/clone": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.8"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/colorjs.io": {
|
"node_modules/colorjs.io": {
|
||||||
"version": "0.7.1",
|
"version": "0.7.1",
|
||||||
"resolved": "https://registry.npmjs.org/colorjs.io/-/colorjs.io-0.7.1.tgz",
|
"resolved": "https://registry.npmjs.org/colorjs.io/-/colorjs.io-0.7.1.tgz",
|
||||||
@@ -4326,6 +4437,12 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/dfa": {
|
||||||
|
"version": "1.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/dfa/-/dfa-1.2.0.tgz",
|
||||||
|
"integrity": "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/dom-serializer": {
|
"node_modules/dom-serializer": {
|
||||||
"version": "3.1.1",
|
"version": "3.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.1.1.tgz",
|
||||||
@@ -4561,7 +4678,6 @@
|
|||||||
"version": "3.1.3",
|
"version": "3.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
||||||
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
|
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
|
||||||
"dev": true,
|
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/fast-string-truncated-width": {
|
"node_modules/fast-string-truncated-width": {
|
||||||
@@ -4626,6 +4742,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/fflate": {
|
||||||
|
"version": "0.8.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz",
|
||||||
|
"integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/flru": {
|
"node_modules/flru": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/flru/-/flru-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/flru/-/flru-1.0.2.tgz",
|
||||||
@@ -4636,6 +4758,23 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/fontkit": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/fontkit/-/fontkit-2.0.4.tgz",
|
||||||
|
"integrity": "sha512-syetQadaUEDNdxdugga9CpEYVaQIxOwk7GlwZWWZ19//qW4zE5bknOKeMBDYAASwnpaSHKJITRLMF9m1fp3s6g==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@swc/helpers": "^0.5.12",
|
||||||
|
"brotli": "^1.3.2",
|
||||||
|
"clone": "^2.1.2",
|
||||||
|
"dfa": "^1.2.0",
|
||||||
|
"fast-deep-equal": "^3.1.3",
|
||||||
|
"restructure": "^3.0.0",
|
||||||
|
"tiny-inflate": "^1.0.3",
|
||||||
|
"unicode-properties": "^1.4.0",
|
||||||
|
"unicode-trie": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/fs-extra": {
|
"node_modules/fs-extra": {
|
||||||
"version": "11.4.1",
|
"version": "11.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.1.tgz",
|
||||||
@@ -5366,6 +5505,16 @@
|
|||||||
"url": "https://opencollective.com/parcel"
|
"url": "https://opencollective.com/parcel"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/linebreak": {
|
||||||
|
"version": "1.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/linebreak/-/linebreak-1.1.0.tgz",
|
||||||
|
"integrity": "sha512-MHp03UImeVhB7XZtjd0E4n6+3xr5Dq/9xI/5FptGk5FrbDR3zagPa2DS6U8ks/3HjbKWG9Q1M2ufOzxV2qLYSQ==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"base64-js": "0.0.8",
|
||||||
|
"unicode-trie": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/listr2": {
|
"node_modules/listr2": {
|
||||||
"version": "11.4.1",
|
"version": "11.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/listr2/-/listr2-11.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/listr2/-/listr2-11.4.1.tgz",
|
||||||
@@ -5844,6 +5993,12 @@
|
|||||||
"@oxc-parser/binding-win32-x64-msvc": "0.158.0"
|
"@oxc-parser/binding-win32-x64-msvc": "0.158.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/pako": {
|
||||||
|
"version": "0.2.9",
|
||||||
|
"resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",
|
||||||
|
"integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/parse5": {
|
"node_modules/parse5": {
|
||||||
"version": "8.1.1",
|
"version": "8.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.1.tgz",
|
||||||
@@ -5922,6 +6077,34 @@
|
|||||||
"url": "https://github.com/fb55/entities?sponsor=1"
|
"url": "https://github.com/fb55/entities?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/pdfkit": {
|
||||||
|
"version": "0.20.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/pdfkit/-/pdfkit-0.20.2.tgz",
|
||||||
|
"integrity": "sha512-Q/w03ICAQyXfHNfTsg1udp0ADerdBN0s7a6XSPL7J7Ro6ABnafoBOCDBstIO9U02mvzHEV8HrvFIw5iV5ejIRA==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@noble/ciphers": "^1.3.0",
|
||||||
|
"@noble/hashes": "^1.8.0",
|
||||||
|
"fflate": "^0.8.3",
|
||||||
|
"fontkit": "^2.0.4",
|
||||||
|
"linebreak": "^1.1.0",
|
||||||
|
"png-js": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/pdfmake": {
|
||||||
|
"version": "0.3.14",
|
||||||
|
"resolved": "https://registry.npmjs.org/pdfmake/-/pdfmake-0.3.14.tgz",
|
||||||
|
"integrity": "sha512-EDyOlwiDnE8e0eITSpHwZCVAP/veWq0TxA2RyhoDO0cSLat7HEGNtKUN6UiW9+YovO2GhcWlK99Q7tj9sof9gg==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"linebreak": "^1.1.0",
|
||||||
|
"pdfkit": "^0.20.2",
|
||||||
|
"xmldoc": "^2.0.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/picocolors": {
|
"node_modules/picocolors": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
||||||
@@ -5990,6 +6173,14 @@
|
|||||||
"integrity": "sha512-3UkyAT7/U8f3sOLavLnUjA6mqFmnqEe246GZhxT0J3TT9oZ0mh6SgwsL1yo/3/4xfmRSDFdGOxe+EsvT2XiE0g==",
|
"integrity": "sha512-3UkyAT7/U8f3sOLavLnUjA6mqFmnqEe246GZhxT0J3TT9oZ0mh6SgwsL1yo/3/4xfmRSDFdGOxe+EsvT2XiE0g==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/png-js": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/png-js/-/png-js-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-GdzJuUMc6ZSpxFJWVxtOH1bzYHym+TOnveqUjb+VJIbZWbZzyiRGFiKhbiielfpYbgMlhHVhsJ0FTazfuRFkMA==",
|
||||||
|
"dependencies": {
|
||||||
|
"fflate": "^0.8.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/postcss": {
|
"node_modules/postcss": {
|
||||||
"version": "8.5.33",
|
"version": "8.5.33",
|
||||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz",
|
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz",
|
||||||
@@ -6165,6 +6356,12 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/restructure": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/restructure/-/restructure-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-gSfoiOEA0VPE6Tukkrr7I0RBdE0s7H1eFCDBk05l1KIQT1UIKNc5JZy6jdyW6eYH3aR3g5b3PuL77rq0hvwtAw==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/rolldown": {
|
"node_modules/rolldown": {
|
||||||
"version": "1.3.1",
|
"version": "1.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.3.1.tgz",
|
||||||
@@ -6663,6 +6860,15 @@
|
|||||||
"url": "https://paulmillr.com/funding/"
|
"url": "https://paulmillr.com/funding/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/sax": {
|
||||||
|
"version": "1.6.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/sax/-/sax-1.6.1.tgz",
|
||||||
|
"integrity": "sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==",
|
||||||
|
"license": "BlueOak-1.0.0",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=11.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/saxes": {
|
"node_modules/saxes": {
|
||||||
"version": "6.0.0",
|
"version": "6.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
|
||||||
@@ -6852,6 +7058,12 @@
|
|||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/tiny-inflate": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/tinybench": {
|
"node_modules/tinybench": {
|
||||||
"version": "6.2.5",
|
"version": "6.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.5.tgz",
|
||||||
@@ -6979,6 +7191,53 @@
|
|||||||
"node": ">=22.19.0"
|
"node": ">=22.19.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/undici-types": {
|
||||||
|
"version": "8.9.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz",
|
||||||
|
"integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
|
"node_modules/unicode-properties": {
|
||||||
|
"version": "1.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/unicode-properties/-/unicode-properties-1.4.1.tgz",
|
||||||
|
"integrity": "sha512-CLjCCLQ6UuMxWnbIylkisbRj31qxHPAurvena/0iwSVbQ2G1VY5/HjV0IRabOEbDHlzZlRdCrD4NhB0JtU40Pg==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"base64-js": "^1.3.0",
|
||||||
|
"unicode-trie": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/unicode-properties/node_modules/base64-js": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
||||||
|
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "patreon",
|
||||||
|
"url": "https://www.patreon.com/feross"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "consulting",
|
||||||
|
"url": "https://feross.org/support"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
|
"node_modules/unicode-trie": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"pako": "^0.2.5",
|
||||||
|
"tiny-inflate": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/universalify": {
|
"node_modules/universalify": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
|
||||||
@@ -7676,6 +7935,18 @@
|
|||||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/write-excel-file": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/write-excel-file/-/write-excel-file-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-MUnCnNtQrcZek832ZcU24uU0rSphFmKPD1DvIjXOlygVb93CV7Tme6H3jUTkxsMmjB2W7HIzERzjqTi5kui71A==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"fflate": "^0.8.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/xml-name-validator": {
|
"node_modules/xml-name-validator": {
|
||||||
"version": "5.0.0",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz",
|
||||||
@@ -7693,6 +7964,18 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/xmldoc": {
|
||||||
|
"version": "2.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/xmldoc/-/xmldoc-2.0.3.tgz",
|
||||||
|
"integrity": "sha512-6gRk4NY/Jvg67xn7OzJuxLRsGgiXBaPUQplVJ/9l99uIugxh4FTOewYz5ic8WScj7Xx/2WvhENiQKwkK9RpE4w==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"sax": "^1.4.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/xxhash-wasm": {
|
"node_modules/xxhash-wasm": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.1.0.tgz",
|
||||||
|
|||||||
+4
-1
@@ -29,9 +29,11 @@
|
|||||||
"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.14",
|
||||||
"plotly.js-cartesian-dist-min": "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"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/build": "^22.3.0",
|
"@angular/build": "^22.3.0",
|
||||||
@@ -42,6 +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.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,25 +0,0 @@
|
|||||||
import { defineConfig } from '@playwright/test';
|
|
||||||
|
|
||||||
/** The pages against a running API (API_URL), served by the dev server with the same
|
|
||||||
* proxy the app uses in production (`/api`). Run by WebApi/tests/test_webapp.py, which
|
|
||||||
* starts the platform and loads the synthetic hospital first. */
|
|
||||||
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, // a stuck step fails, not the whole run
|
|
||||||
},
|
|
||||||
webServer: {
|
|
||||||
// IPv4 explicitly: `localhost` may resolve to ::1 only (CI containers), where the url below never answers.
|
|
||||||
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,2 +0,0 @@
|
|||||||
// `/api` to the API the e2e run started (API_URL).
|
|
||||||
export default { '/api': { target: process.env.API_URL, pathRewrite: { '^/api': '' } } };
|
|
||||||
@@ -1,10 +1,5 @@
|
|||||||
// This file was generated by running 'ng generate @angular/material:theme-color'.
|
|
||||||
// Proceed with caution if making changes to this file.
|
|
||||||
|
|
||||||
@use 'sass:map';
|
@use 'sass:map';
|
||||||
@use '@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
// Note: Color palettes are generated from primary: #a8c243, tertiary: #5f9ea0
|
|
||||||
$_palettes: (
|
$_palettes: (
|
||||||
primary: (
|
primary: (
|
||||||
0: #000000,
|
0: #000000,
|
||||||
|
|||||||
@@ -1,27 +1,15 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
/**
|
|
||||||
* Provides the ApiConfiguration configuration object with a given root URL.
|
|
||||||
*/
|
|
||||||
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,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Global configuration
|
|
||||||
*/
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root',
|
providedIn: 'root',
|
||||||
})
|
})
|
||||||
export class ApiConfiguration {
|
export class ApiConfiguration {
|
||||||
rootUrl: string = '';
|
rootUrl: string = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+38
-39
@@ -1,64 +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,
|
||||||
* Helper service to call API functions directly
|
) => 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;
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the root url for API operations. If not set directly here,
|
|
||||||
* will fallback to `ApiConfiguration.rootUrl`.
|
|
||||||
*/
|
|
||||||
get rootUrl(): string {
|
get rootUrl(): string {
|
||||||
return this._rootUrl || this.config.rootUrl;
|
return this._rootUrl || this.config.rootUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the root URL for API operations
|
|
||||||
*/
|
|
||||||
set rootUrl(rootUrl: string) {
|
set rootUrl(rootUrl: string) {
|
||||||
this._rootUrl = rootUrl;
|
this._rootUrl = rootUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Executes an API call, returning the response body only
|
|
||||||
*/
|
|
||||||
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>(
|
||||||
/**
|
fn: ApiFnRequired<P, R>,
|
||||||
* Executes an API call, returning the entire response
|
params: P,
|
||||||
*/
|
context?: HttpContext,
|
||||||
invoke$Response<P, R>(fn: ApiFnRequired<P, R>, params: P, context?: HttpContext): Promise<StrictHttpResponse<R>>;
|
): Promise<StrictHttpResponse<R>>;
|
||||||
invoke$Response<P, R>(fn: ApiFnOptional<P, R>, params?: P, context?: HttpContext): Promise<StrictHttpResponse<R>>;
|
invoke$Response<P, R>(
|
||||||
invoke$Response<P, R>(fn: ApiFnRequired<P, R> | ApiFnOptional<P, R>, params: P, context?: HttpContext): Promise<StrictHttpResponse<R>> {
|
fn: ApiFnOptional<P, R>,
|
||||||
const obs = fn(this.http, this.rootUrl, params, context)
|
params?: P,
|
||||||
.pipe(
|
context?: HttpContext,
|
||||||
filter(r => r instanceof HttpResponse),
|
): Promise<StrictHttpResponse<R>>;
|
||||||
map(r => r as 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,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,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,44 +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;
|
||||||
|
|
||||||
/**
|
|
||||||
* the sender's pipeline (its fhir nodes read this inbox)
|
|
||||||
*/
|
|
||||||
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,27 +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;
|
||||||
/**
|
_count?: number | null;
|
||||||
* Patient/<id>, comma-separated
|
_offset?: number;
|
||||||
*/
|
|
||||||
subject?: (string | null);
|
|
||||||
'_count'?: (number | null);
|
|
||||||
'_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, {});
|
||||||
@@ -29,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,27 +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;
|
||||||
/**
|
_count?: number | null;
|
||||||
* Patient/<id>, comma-separated
|
_offset?: number;
|
||||||
*/
|
|
||||||
subject?: (string | null);
|
|
||||||
'_count'?: (number | null);
|
|
||||||
'_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, {});
|
||||||
@@ -29,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,27 +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;
|
||||||
/**
|
_count?: number | null;
|
||||||
* Patient/<id>, comma-separated
|
_offset?: number;
|
||||||
*/
|
|
||||||
subject?: (string | null);
|
|
||||||
'_count'?: (number | null);
|
|
||||||
'_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, {});
|
||||||
@@ -29,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,42 +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;
|
||||||
|
|
||||||
/**
|
|
||||||
* the Measure's id or canonical URL
|
|
||||||
*/
|
|
||||||
measure: string;
|
measure: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* semesters (2025-S1) or months (2025-03), comma-separated
|
|
||||||
*/
|
|
||||||
'reporting-period': string;
|
'reporting-period': string;
|
||||||
|
'as-of'?: string | null;
|
||||||
/**
|
'event-cutoff'?: string | null;
|
||||||
* count only what was known by then
|
_count?: number | null;
|
||||||
*/
|
_offset?: number;
|
||||||
'as-of'?: (string | null);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* durations count to this day
|
|
||||||
*/
|
|
||||||
'event-cutoff'?: (string | null);
|
|
||||||
'_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, {});
|
||||||
@@ -47,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,27 +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;
|
||||||
/**
|
_count?: number | null;
|
||||||
* Patient/<id>, comma-separated
|
_offset?: number;
|
||||||
*/
|
|
||||||
subject?: (string | null);
|
|
||||||
'_count'?: (number | null);
|
|
||||||
'_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, {});
|
||||||
@@ -29,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,54 +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 SearchPatient$Params {
|
export interface SearchPatient$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
'_id'?: (string | null);
|
_id?: string | null;
|
||||||
|
'follow-up-window'?: number | null;
|
||||||
/**
|
'follow-up-cutoff'?: string | null;
|
||||||
* months: the domain's follow-up list over that window up to the cut-off
|
'follow-up-status'?: string | null;
|
||||||
*/
|
name?: string | null;
|
||||||
'follow-up-window'?: (number | null);
|
identifier?: string | null;
|
||||||
|
birthdate?: Array<string>;
|
||||||
/**
|
_sort?: string;
|
||||||
* default: the last day with data
|
'risk-horizon'?: number | null;
|
||||||
*/
|
_revinclude?: Array<string>;
|
||||||
'follow-up-cutoff'?: (string | null);
|
|
||||||
'follow-up-status'?: (string | null);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* -recent or -risk-<outcome>
|
|
||||||
*/
|
|
||||||
'_sort'?: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* years
|
|
||||||
*/
|
|
||||||
'risk-horizon'?: (number | null);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* any of ('DiagnosticReport:subject', 'RiskAssessment:subject', 'Observation:subject')
|
|
||||||
*/
|
|
||||||
'_revinclude'?: Array<string>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* DiagnosticReport:result
|
|
||||||
*/
|
|
||||||
'_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, {});
|
||||||
@@ -56,6 +33,9 @@ export function searchPatient(http: HttpClient, rootUrl: string, params: SearchP
|
|||||||
rb.query('follow-up-window', params['follow-up-window'], {});
|
rb.query('follow-up-window', params['follow-up-window'], {});
|
||||||
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('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'], {});
|
||||||
@@ -63,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,27 +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;
|
||||||
/**
|
_count?: number | null;
|
||||||
* Patient/<id>, comma-separated
|
_offset?: number;
|
||||||
*/
|
|
||||||
subject?: (string | null);
|
|
||||||
'_count'?: (number | null);
|
|
||||||
'_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, {});
|
||||||
@@ -29,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,27 +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;
|
||||||
/**
|
_count?: number | null;
|
||||||
* Patient/<id>, comma-separated
|
_offset?: number;
|
||||||
*/
|
|
||||||
subject?: (string | null);
|
|
||||||
'_count'?: (number | null);
|
|
||||||
'_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, {});
|
||||||
@@ -29,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<
|
||||||
[key: string]: any;
|
Array<{
|
||||||
}>>;
|
[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<
|
||||||
[key: string]: any;
|
Array<{
|
||||||
}>>;
|
[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<
|
||||||
[key: string]: any;
|
Array<{
|
||||||
}>>;
|
[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<
|
||||||
[key: string]: any;
|
Array<{
|
||||||
}>>;
|
[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,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 Analyze$Params {
|
export interface Analyze$Params {
|
||||||
domain: Domain;
|
domain: Domain;
|
||||||
}
|
}
|
||||||
|
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, {});
|
||||||
}
|
}
|
||||||
|
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,32 +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';
|
||||||
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<string>>> {
|
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<string>>;
|
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,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 +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,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<
|
||||||
[key: string]: any;
|
Array<{
|
||||||
}>>;
|
[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<
|
||||||
[key: string]: any;
|
Array<{
|
||||||
}>>;
|
[key: string]: any;
|
||||||
})
|
}>
|
||||||
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
held.PATH = '/review/held';
|
held.PATH = '/review/held';
|
||||||
|
|||||||
@@ -1,41 +1,38 @@
|
|||||||
/* 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<{
|
||||||
[key: string]: Array<{
|
[key: string]: Array<{
|
||||||
[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<
|
||||||
[key: string]: any;
|
Array<{
|
||||||
}>>;
|
[key: string]: any;
|
||||||
})
|
}>
|
||||||
|
>;
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
unrecognised.PATH = '/review/unrecognised';
|
unrecognised.PATH = '/review/unrecognised';
|
||||||
|
|||||||
@@ -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 RunStatus$Params {
|
export interface RunStatus$Params {
|
||||||
run_id: string;
|
run_id: string;
|
||||||
}
|
}
|
||||||
|
export function runStatus(
|
||||||
export function runStatus(http: HttpClient, rootUrl: string, params: RunStatus$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
http: HttpClient,
|
||||||
[key: string]: string;
|
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, {});
|
||||||
}
|
}
|
||||||
|
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;
|
||||||
}>;
|
}>;
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
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}';
|
||||||
|
|||||||
@@ -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';
|
||||||
@@ -75,6 +72,8 @@ export type { Unrecognised$Params as Unrecognised$Params } from './fn/review/unr
|
|||||||
export { unrecognised as unrecognised } from './fn/review/unrecognised';
|
export { unrecognised as unrecognised } from './fn/review/unrecognised';
|
||||||
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 { TerminateRun$Params as TerminateRun$Params } from './fn/runs/terminate-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 { Study$Params as Study$Params } from './fn/eeg/study';
|
export type { Study$Params as Study$Params } from './fn/eeg/study';
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
/* 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 { 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';
|
||||||
@@ -24,6 +21,7 @@ export type { Listing } from './models/listing';
|
|||||||
export type { Login } from './models/login';
|
export type { Login } from './models/login';
|
||||||
export type { Map } from './models/map';
|
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 { Option } from './models/option';
|
export type { Option } from './models/option';
|
||||||
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';
|
||||||
|
|||||||
@@ -1,13 +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';
|
import { Relation } from '../models/relation';
|
||||||
export interface Analysis {
|
export interface Analysis {
|
||||||
age_months: (number | null);
|
age_months: number | null;
|
||||||
id: string;
|
id: string;
|
||||||
level: (string | null);
|
level: string | null;
|
||||||
metrics: Array<Metric>;
|
metrics: Array<Metric>;
|
||||||
relation?: Array<Relation>;
|
relation?: Array<Relation>;
|
||||||
valid: (boolean | null);
|
valid: boolean | 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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface BodyUpload {
|
export interface BodyUpload {
|
||||||
files: Array<string>;
|
files: Array<string>;
|
||||||
folder?: (string | null);
|
folder?: string | null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Entry } from '../models/entry';
|
import { Entry } from '../models/entry';
|
||||||
export interface Browsed {
|
export interface Browsed {
|
||||||
entries: Array<Entry>;
|
entries: Array<Entry>;
|
||||||
parent: (string | null);
|
parent: string | null;
|
||||||
path: (string | null);
|
path: string | null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Group } from '../models/group';
|
import { Group } from '../models/group';
|
||||||
import { Option } from '../models/option';
|
import { Option } from '../models/option';
|
||||||
import { Provider } from '../models/provider';
|
import { Provider } from '../models/provider';
|
||||||
@@ -8,12 +5,12 @@ import { SourceType } from '../models/source-type';
|
|||||||
export interface Catalog {
|
export interface Catalog {
|
||||||
formats: Array<Option>;
|
formats: Array<Option>;
|
||||||
groups: {
|
groups: {
|
||||||
[key: string]: Group;
|
[key: string]: Group;
|
||||||
};
|
};
|
||||||
providers: {
|
providers: {
|
||||||
[key: string]: Provider;
|
[key: string]: Provider;
|
||||||
};
|
};
|
||||||
types: {
|
types: {
|
||||||
[key: string]: SourceType;
|
[key: string]: SourceType;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,5 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface Condition {
|
export interface Condition {
|
||||||
|
|
||||||
/**
|
|
||||||
* Por ejemplo «text», el texto leído del documento.
|
|
||||||
*/
|
|
||||||
column: string;
|
column: string;
|
||||||
op: 'equals' | 'contains' | 'matches' | 'present';
|
op: 'equals' | 'contains' | 'matches' | 'present';
|
||||||
|
|
||||||
/**
|
|
||||||
* Lo que se busca; por ejemplo «citología».
|
|
||||||
*/
|
|
||||||
value?: string;
|
value?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,17 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* One field of one record as a reviewer read it in the source document: an identity
|
|
||||||
* field (a mistyped record number) or a study's (a stage the scan made unreadable).
|
|
||||||
*/
|
|
||||||
export interface Correction {
|
export interface Correction {
|
||||||
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';
|
||||||
field: string;
|
field: string;
|
||||||
record: string;
|
record: string;
|
||||||
value: string;
|
value: string;
|
||||||
|
|||||||
@@ -1,13 +1,2 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Domain } from './domain';
|
import { Domain } from './domain';
|
||||||
|
export const DOMAIN: Domain[] = ['cacu', 'cama', 'tea'];
|
||||||
/**
|
|
||||||
* Each possible value of `Domain`
|
|
||||||
*/
|
|
||||||
export const DOMAIN: Domain[] = [
|
|
||||||
'cacu',
|
|
||||||
'cama',
|
|
||||||
'tea'
|
|
||||||
];
|
|
||||||
|
|||||||
@@ -1,5 +1 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export type Domain = 'cacu' | 'cama' | 'tea';
|
export type Domain = 'cacu' | 'cama' | 'tea';
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface Entry {
|
export interface Entry {
|
||||||
kind: 'folder' | 'file';
|
kind: 'folder' | 'file';
|
||||||
name: string;
|
name: string;
|
||||||
path: string;
|
path: string;
|
||||||
size?: (number | null);
|
size?: number | null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface ErrorModel {
|
export interface ErrorModel {
|
||||||
detail: (string | {
|
detail:
|
||||||
[key: string]: string;
|
| string
|
||||||
});
|
| {
|
||||||
|
[key: string]: string;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,54 +1,34 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Position } from '../models/position';
|
import { Position } from '../models/position';
|
||||||
|
|
||||||
/**
|
|
||||||
* Platform fields read from text, each kept with the text it was read from.
|
|
||||||
*
|
|
||||||
* `auto` asks the LLM when one is configured and answering, else applies `patterns`;
|
|
||||||
* with neither, the row is held. Patterns are regexes with one group, per field (the
|
|
||||||
* LLM can propose them from sample documents); their values go through the ConceptMap
|
|
||||||
* and `formats` as in `map`.
|
|
||||||
*/
|
|
||||||
export interface Extract {
|
export interface Extract {
|
||||||
column: (string | Array<string>);
|
column: string | Array<string>;
|
||||||
|
|
||||||
/**
|
|
||||||
* Dato → columna, sin leer el texto.
|
|
||||||
*/
|
|
||||||
columns?: {
|
columns?: {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
};
|
};
|
||||||
concept_map?: (string | null);
|
concept_map?: string | null;
|
||||||
|
entity:
|
||||||
/**
|
| 'identity'
|
||||||
* Qué estudio se saca del documento.
|
| 'cervical_cytology'
|
||||||
*/
|
| 'cervical_biopsy'
|
||||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'breast_recurrence' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg';
|
| 'mammography'
|
||||||
|
| 'breast_biopsy'
|
||||||
|
| 'breast_treatment'
|
||||||
|
| 'breast_recurrence'
|
||||||
|
| 'clinical_note'
|
||||||
|
| 'death'
|
||||||
|
| 'mchat'
|
||||||
|
| 'ados2'
|
||||||
|
| 'eeg';
|
||||||
formats?: {
|
formats?: {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* Para el modelo de lenguaje.
|
|
||||||
*/
|
|
||||||
hints?: string;
|
hints?: string;
|
||||||
id: string;
|
id: string;
|
||||||
inputs?: Array<string>;
|
inputs?: Array<string>;
|
||||||
kind?: 'extract';
|
kind?: 'extract';
|
||||||
|
|
||||||
/**
|
|
||||||
* Cómo se ve en el diagrama.
|
|
||||||
*/
|
|
||||||
label?: string;
|
label?: string;
|
||||||
method?: 'auto' | 'llm' | 'patterns';
|
method?: 'auto' | 'llm' | 'patterns';
|
||||||
|
|
||||||
/**
|
|
||||||
* Dato → expresión con un grupo ( ).
|
|
||||||
*/
|
|
||||||
patterns?: {
|
patterns?: {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
};
|
};
|
||||||
position?: (Position | null);
|
position?: Position | null;
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-16
@@ -1,24 +1,23 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Position } from '../models/position';
|
import { Position } from '../models/position';
|
||||||
|
|
||||||
/**
|
|
||||||
* FHIR R4 Bundles a standard hospital sent (a column of their JSON) as rows of one
|
|
||||||
* entity: identity, death or a study (core.fhir_in). The sender's own codes go through
|
|
||||||
* its ConceptMap.
|
|
||||||
*/
|
|
||||||
export interface Fhir {
|
export interface Fhir {
|
||||||
column?: string;
|
column?: string;
|
||||||
concept_map?: (string | null);
|
concept_map?: string | null;
|
||||||
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';
|
||||||
id: string;
|
id: string;
|
||||||
inputs?: Array<string>;
|
inputs?: Array<string>;
|
||||||
kind?: 'fhir';
|
kind?: 'fhir';
|
||||||
|
|
||||||
/**
|
|
||||||
* Cómo se ve en el diagrama.
|
|
||||||
*/
|
|
||||||
label?: string;
|
label?: string;
|
||||||
position?: (Position | null);
|
position?: Position | null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Option } from '../models/option';
|
import { Option } from '../models/option';
|
||||||
export interface FieldSpec {
|
export interface FieldSpec {
|
||||||
advanced?: boolean;
|
advanced?: boolean;
|
||||||
@@ -9,7 +6,19 @@ export interface FieldSpec {
|
|||||||
label: string;
|
label: string;
|
||||||
options?: Array<Option>;
|
options?: Array<Option>;
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
provider?: (string | null);
|
provider?: string | null;
|
||||||
required?: boolean;
|
required?: boolean;
|
||||||
type?: 'text' | 'number' | 'password' | 'select' | 'folder' | 'server_file' | 'upload' | 'url' | 'oauth' | 'table' | 'format';
|
type?:
|
||||||
|
| 'text'
|
||||||
|
| 'number'
|
||||||
|
| 'password'
|
||||||
|
| 'select'
|
||||||
|
| 'folder'
|
||||||
|
| 'server_file'
|
||||||
|
| 'upload'
|
||||||
|
| 'url'
|
||||||
|
| 'oauth'
|
||||||
|
| 'table'
|
||||||
|
| 'format'
|
||||||
|
| 'columns';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface Group {
|
export interface Group {
|
||||||
description: string;
|
description: string;
|
||||||
title: string;
|
title: string;
|
||||||
|
|||||||
@@ -1,14 +1,6 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* How the Conectar dialog drew a source: its type (core.sources) and the answers given.
|
|
||||||
* The node's dlt fields are made from them; drawn by hand ("Avanzado"), a node has none.
|
|
||||||
*/
|
|
||||||
export interface Guided {
|
export interface Guided {
|
||||||
answers?: {
|
answers?: {
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
};
|
};
|
||||||
type: string;
|
type: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { ValidationError } from '../models/validation-error';
|
import { ValidationError } from '../models/validation-error';
|
||||||
export interface HttpValidationError {
|
export interface HttpValidationError {
|
||||||
detail?: Array<ValidationError>;
|
detail?: Array<ValidationError>;
|
||||||
|
|||||||
@@ -1,25 +1,10 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Position } from '../models/position';
|
import { Position } from '../models/position';
|
||||||
|
|
||||||
/**
|
|
||||||
* Two inputs side by side where their columns match.
|
|
||||||
*/
|
|
||||||
export interface Join {
|
export interface Join {
|
||||||
how?: 'inner' | 'left';
|
how?: 'inner' | 'left';
|
||||||
id: string;
|
id: string;
|
||||||
inputs?: Array<string>;
|
inputs?: Array<string>;
|
||||||
kind?: 'join';
|
kind?: 'join';
|
||||||
|
|
||||||
/**
|
|
||||||
* Cómo se ve en el diagrama.
|
|
||||||
*/
|
|
||||||
label?: string;
|
label?: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* Pares [columna izquierda, derecha].
|
|
||||||
*/
|
|
||||||
on: Array<[string, string]>;
|
on: Array<[string, string]>;
|
||||||
position?: (Position | null);
|
position?: Position | null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,35 +1,11 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Position } from '../models/position';
|
import { Position } from '../models/position';
|
||||||
|
|
||||||
/**
|
|
||||||
* Identity rows from every input, grouped into persons (Splink).
|
|
||||||
*
|
|
||||||
* Two records are the same person when any rule holds (Splink's SQL rule syntax, `l.`
|
|
||||||
* and `r.` for the two records); persons are the connected groups. A person whose
|
|
||||||
* records disagree on birth date or sex is held for review as a whole. Pairs Splink
|
|
||||||
* scores above `review` that ended up apart are queued as possible matches.
|
|
||||||
*/
|
|
||||||
export interface Link {
|
export interface Link {
|
||||||
fields?: Array<string>;
|
fields?: Array<string>;
|
||||||
id: string;
|
id: string;
|
||||||
inputs?: Array<string>;
|
inputs?: Array<string>;
|
||||||
kind?: 'link';
|
kind?: 'link';
|
||||||
|
|
||||||
/**
|
|
||||||
* Cómo se ve en el diagrama.
|
|
||||||
*/
|
|
||||||
label?: string;
|
label?: string;
|
||||||
position?: (Position | null);
|
position?: Position | null;
|
||||||
|
|
||||||
/**
|
|
||||||
* Parecidos por encima de esto los ve un revisor.
|
|
||||||
*/
|
|
||||||
review?: number;
|
review?: number;
|
||||||
|
|
||||||
/**
|
|
||||||
* Vacío: las de siempre (mismo identificador, o misma fecha de nacimiento y nombre).
|
|
||||||
*/
|
|
||||||
rules?: Array<string>;
|
rules?: Array<string>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,7 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* What "Probar conexión" shows: a database's tables (the resources of `source`, built
|
|
||||||
* from `args`), or the first rows the type's own node reads (files, records).
|
|
||||||
*/
|
|
||||||
export interface Listing {
|
export interface Listing {
|
||||||
args?: {
|
args?: {
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
};
|
};
|
||||||
kind: 'tables' | 'rows';
|
kind: 'tables' | 'rows';
|
||||||
source?: (string | null);
|
source?: string | null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface Login {
|
export interface Login {
|
||||||
client_id?: (string | null);
|
client_id?: string | null;
|
||||||
client_secret?: (string | null);
|
client_secret?: string | null;
|
||||||
grant_type?: (string | null);
|
grant_type?: string | null;
|
||||||
password: string;
|
password: string;
|
||||||
scope?: string;
|
scope?: string;
|
||||||
username: string;
|
username: string;
|
||||||
|
|||||||
@@ -1,46 +1,18 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Position } from '../models/position';
|
import { Position } from '../models/position';
|
||||||
|
|
||||||
/**
|
|
||||||
* Columns to platform fields, the site's codes translated by its ConceptMap
|
|
||||||
* (core.concept_map), and its date formats.
|
|
||||||
*/
|
|
||||||
export interface Map {
|
export interface Map {
|
||||||
|
concept_map?: string | null;
|
||||||
/**
|
|
||||||
* La tabla de códigos del sitio.
|
|
||||||
*/
|
|
||||||
concept_map?: (string | null);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Dato de la plataforma → columna del sitio.
|
|
||||||
*/
|
|
||||||
fields: {
|
fields: {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* Por ejemplo %d/%m/%Y.
|
|
||||||
*/
|
|
||||||
formats?: {
|
formats?: {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
};
|
};
|
||||||
id: string;
|
id: string;
|
||||||
inputs?: Array<string>;
|
inputs?: Array<string>;
|
||||||
kind?: 'map';
|
kind?: 'map';
|
||||||
|
|
||||||
/**
|
|
||||||
* Cómo se ve en el diagrama.
|
|
||||||
*/
|
|
||||||
label?: string;
|
label?: string;
|
||||||
position?: (Position | null);
|
position?: Position | null;
|
||||||
|
|
||||||
/**
|
|
||||||
* Un dato igual para todas las filas.
|
|
||||||
*/
|
|
||||||
values?: {
|
values?: {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,13 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
import { Site } from '../models/site';
|
import { Site } from '../models/site';
|
||||||
export interface Metric {
|
export interface Metric {
|
||||||
code: string;
|
code: string;
|
||||||
electrodes?: Array<Site>;
|
electrodes?: Array<Site>;
|
||||||
median?: (number | null);
|
median?: number | null;
|
||||||
model: (string | null);
|
model: string | null;
|
||||||
outside: (number | null);
|
outside: number | null;
|
||||||
p5?: (number | null);
|
p5?: number | null;
|
||||||
p95?: (number | null);
|
p95?: number | null;
|
||||||
value: number;
|
value: number;
|
||||||
z: (number | null);
|
z: number | null;
|
||||||
zones?: Array<Site>;
|
zones?: Array<Site>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
export interface Model {
|
||||||
|
name: string;
|
||||||
|
title: string;
|
||||||
|
}
|
||||||
@@ -1,6 +1,3 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface Option {
|
export interface Option {
|
||||||
label: string;
|
label: string;
|
||||||
value: any;
|
value: any;
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
||||||
|
|
||||||
export interface PersonDecision {
|
export interface PersonDecision {
|
||||||
candidate: string;
|
candidate: string;
|
||||||
person: string;
|
person: string;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user