Regenerate the API client for the conectar and review routes
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface BodyUpload {
|
||||
file: string;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface Condition {
|
||||
column: string;
|
||||
op: 'equals' | 'contains' | 'matches' | 'present';
|
||||
value?: string;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* 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 `values` and
|
||||
* `formats` as in `map`.
|
||||
*/
|
||||
export interface Extract {
|
||||
column: string;
|
||||
entity: 'identity' | 'death' | 'clinical_note' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy';
|
||||
formats?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
hints?: string;
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'extract';
|
||||
label?: string;
|
||||
method?: 'auto' | 'llm' | 'patterns';
|
||||
patterns?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
values?: {
|
||||
[key: string]: {
|
||||
[key: string]: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* Two inputs side by side where their columns match.
|
||||
*/
|
||||
export interface Join {
|
||||
how?: 'inner' | 'left';
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'join';
|
||||
label?: string;
|
||||
on: Array<[string, string]>;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
fields?: Array<string>;
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'link';
|
||||
label?: string;
|
||||
review?: number;
|
||||
rules?: Array<string>;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* Columns to platform fields, with the site's codes and date formats.
|
||||
*/
|
||||
export interface Map {
|
||||
fields: {
|
||||
[key: string]: string;
|
||||
};
|
||||
formats?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'map';
|
||||
label?: string;
|
||||
values?: {
|
||||
[key: string]: {
|
||||
[key: string]: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
import { Extract } from '../models/extract';
|
||||
import { Join } from '../models/join';
|
||||
import { Link } from '../models/link';
|
||||
import { Map } from '../models/map';
|
||||
import { Read } from '../models/read';
|
||||
import { Route } from '../models/route';
|
||||
import { Source } from '../models/source';
|
||||
import { Target } from '../models/target';
|
||||
export interface Pipeline {
|
||||
nodes: Array<(Source | Read | Route | Map | Extract | Join | Link | Target)>;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* Files in a column (PDF, Word, Excel, scans...) to text (MarkItDown, OCRmyPDF).
|
||||
*/
|
||||
export interface Read {
|
||||
column: string;
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'read';
|
||||
label?: string;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface Rejection {
|
||||
entity: 'identity' | 'death' | 'clinical_note' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy';
|
||||
reason: string;
|
||||
record: string;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
import { Condition } from '../models/condition';
|
||||
|
||||
/**
|
||||
* Only the rows where every condition holds (e.g. reports titled "Citología").
|
||||
*/
|
||||
export interface Route {
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'route';
|
||||
label?: string;
|
||||
when: Array<Condition>;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface RunRequest {
|
||||
version?: (number | null);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
import { Pipeline } from '../models/pipeline';
|
||||
export interface SavedPipeline {
|
||||
pipeline: Pipeline;
|
||||
version: number;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface SourceRef {
|
||||
args?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
source: string;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* One table, file set or API resource, copied as it is (dlt). Merged on the source's
|
||||
* own primary key or `primary_key`; replaced whole when it has none.
|
||||
*/
|
||||
export interface Source {
|
||||
args?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'source';
|
||||
label?: string;
|
||||
primary_key?: Array<string>;
|
||||
resource?: (string | null);
|
||||
source: string;
|
||||
then?: (string | null);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* Rows of platform fields into one platform entity, each row given its person by the
|
||||
* one `link` node among the inputs. Rule breaks are held for review.
|
||||
*/
|
||||
export interface Target {
|
||||
entity: 'identity' | 'death' | 'clinical_note' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy';
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'target';
|
||||
label?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user