@inflexa-ai/harness 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/report-builder.d.ts +2 -0
- package/dist/agents/report-builder.js +2 -0
- package/dist/agents/report-session-agent.d.ts +56 -0
- package/dist/agents/report-session-agent.js +72 -0
- package/dist/app/report-session-runtime.d.ts +72 -0
- package/dist/app/report-session-runtime.js +157 -0
- package/dist/app/spawn-report-session.d.ts +85 -0
- package/dist/app/spawn-report-session.js +83 -0
- package/dist/contracts/chat-events.d.ts +9 -0
- package/dist/contracts/index.d.ts +6 -2
- package/dist/contracts/index.js +3 -1
- package/dist/contracts/organ-system.d.ts +49 -0
- package/dist/contracts/organ-system.js +67 -0
- package/dist/contracts/report-blocks.d.ts +564 -0
- package/dist/contracts/report-blocks.js +117 -0
- package/dist/contracts/report-reference.d.ts +459 -0
- package/dist/contracts/report-reference.js +256 -0
- package/dist/contracts/schemas/chat-events.d.ts +2 -0
- package/dist/contracts/schemas/chat-events.js +2 -0
- package/dist/contracts/severity.d.ts +15 -0
- package/dist/contracts/severity.js +10 -0
- package/dist/contracts/target-dossier.d.ts +8675 -12972
- package/dist/contracts/target-dossier.js +534 -591
- package/dist/data/safety-panel-schema.d.ts +18 -5
- package/dist/data/safety-panel-schema.js +4 -4
- package/dist/execution/artifact-metadata.js +1 -0
- package/dist/execution/report-runner.js +1 -3
- package/dist/execution/run-synthesis.js +2 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +19 -0
- package/dist/lib/async-utils.d.ts +16 -4
- package/dist/lib/async-utils.js +20 -15
- package/dist/lib/host-concurrency.js +1 -0
- package/dist/loop/__fixtures__/scripted-provider.js +23 -2
- package/dist/loop/run-agent.js +58 -10
- package/dist/loop/tool-detail.d.ts +40 -0
- package/dist/loop/tool-detail.js +35 -3
- package/dist/loop/types.d.ts +13 -0
- package/dist/memory/thread-history.d.ts +10 -0
- package/dist/memory/thread-history.js +12 -1
- package/dist/memory/thread-store.d.ts +4 -4
- package/dist/memory/thread-store.js +18 -9
- package/dist/prompts/report-session.d.ts +1 -0
- package/dist/prompts/report-session.js +89 -0
- package/dist/prompts/target-assessment/briefs/executive-recommendation.d.ts +1 -1
- package/dist/prompts/target-assessment/briefs/executive-recommendation.js +5 -5
- package/dist/prompts/target-assessment/briefs/liability-bullets.d.ts +1 -1
- package/dist/prompts/target-assessment/briefs/liability-bullets.js +1 -1
- package/dist/prompts/target-assessment/briefs/target-organ-liabilities.d.ts +1 -1
- package/dist/prompts/target-assessment/briefs/target-organ-liabilities.js +11 -3
- package/dist/prompts/target-assessment/investigation/adversarial-critique.d.ts +1 -0
- package/dist/prompts/target-assessment/investigation/adversarial-critique.js +67 -0
- package/dist/prompts/target-assessment/investigation/claim-reverification.d.ts +1 -0
- package/dist/prompts/target-assessment/investigation/claim-reverification.js +49 -0
- package/dist/prompts/target-assessment/investigation/index.d.ts +3 -0
- package/dist/prompts/target-assessment/investigation/index.js +3 -0
- package/dist/prompts/target-assessment/investigation/mechanism-proposal.d.ts +1 -0
- package/dist/prompts/target-assessment/investigation/mechanism-proposal.js +49 -0
- package/dist/prompts/target-assessment/tox-voice/index.d.ts +1 -1
- package/dist/prompts/target-assessment/tox-voice/vocabulary.d.ts +8 -5
- package/dist/prompts/target-assessment/tox-voice/vocabulary.js +9 -20
- package/dist/providers/__fixtures__/session.d.ts +5 -4
- package/dist/providers/__fixtures__/session.js +4 -4
- package/dist/providers/ai-sdk.d.ts +77 -0
- package/dist/providers/ai-sdk.js +149 -19
- package/dist/providers/errors.d.ts +14 -0
- package/dist/providers/errors.js +103 -18
- package/dist/providers/types.d.ts +16 -0
- package/dist/providers/types.js +10 -1
- package/dist/report-model/block-walk.d.ts +56 -0
- package/dist/report-model/block-walk.js +89 -0
- package/dist/report-model/draft-finish.d.ts +60 -0
- package/dist/report-model/draft-finish.js +56 -0
- package/dist/report-model/draft-operations.d.ts +125 -0
- package/dist/report-model/draft-operations.js +341 -0
- package/dist/report-model/draft-read.d.ts +59 -0
- package/dist/report-model/draft-read.js +109 -0
- package/dist/report-model/draft.d.ts +51 -0
- package/dist/report-model/draft.js +32 -0
- package/dist/report-model/fixture-resolver.d.ts +8 -0
- package/dist/report-model/fixture-resolver.js +252 -0
- package/dist/report-model/pin-snapshot.d.ts +30 -0
- package/dist/report-model/pin-snapshot.js +40 -0
- package/dist/report-model/reference-resolver.d.ts +113 -0
- package/dist/report-model/reference-resolver.js +60 -0
- package/dist/report-model/structural-validation.d.ts +22 -0
- package/dist/report-model/structural-validation.js +68 -0
- package/dist/report-model/validate.d.ts +72 -0
- package/dist/report-model/validate.js +95 -0
- package/dist/report-render/chart.d.ts +33 -0
- package/dist/report-render/chart.js +538 -0
- package/dist/report-render/page.d.ts +127 -0
- package/dist/report-render/page.js +307 -0
- package/dist/report-render/references.d.ts +32 -0
- package/dist/report-render/references.js +44 -0
- package/dist/report-render/render.d.ts +25 -0
- package/dist/report-render/render.js +125 -0
- package/dist/report-render/script-json.d.ts +13 -0
- package/dist/report-render/script-json.js +15 -0
- package/dist/report-render/types.d.ts +39 -0
- package/dist/report-render/types.js +10 -0
- package/dist/report-render/value-bridge.d.ts +62 -0
- package/dist/report-render/value-bridge.js +82 -0
- package/dist/report-render/views/chart-view.d.ts +11 -0
- package/dist/report-render/views/chart-view.js +23 -0
- package/dist/report-render/views/page-view.d.ts +20 -0
- package/dist/report-render/views/page-view.js +49 -0
- package/dist/report-render/views/prose.d.ts +28 -0
- package/dist/report-render/views/prose.js +75 -0
- package/dist/report-render/views/references-view.d.ts +20 -0
- package/dist/report-render/views/references-view.js +64 -0
- package/dist/report-render/views/values.d.ts +42 -0
- package/dist/report-render/views/values.js +43 -0
- package/dist/runtime/assemble.d.ts +15 -0
- package/dist/runtime/assemble.js +28 -6
- package/dist/runtime/boot.d.ts +3 -3
- package/dist/runtime/boot.js +15 -4
- package/dist/runtime/dbos.d.ts +4 -4
- package/dist/state/artifacts.d.ts +16 -0
- package/dist/state/artifacts.js +18 -0
- package/dist/state/init.js +54 -0
- package/dist/state/purge-analysis.js +2 -0
- package/dist/state/report-session-state.d.ts +112 -0
- package/dist/state/report-session-state.js +150 -0
- package/dist/state/report-versions.d.ts +129 -0
- package/dist/state/report-versions.js +167 -0
- package/dist/state/snapshot-parse.d.ts +34 -0
- package/dist/state/snapshot-parse.js +82 -0
- package/dist/tasks/data-profile.js +1 -0
- package/dist/tools/ad-hoc-router.d.ts +7 -2
- package/dist/tools/ad-hoc-router.js +2 -1
- package/dist/tools/bio/chembl.js +1 -0
- package/dist/tools/bio/comptox.js +1 -0
- package/dist/tools/bio/drug-gene-interactions.js +1 -0
- package/dist/tools/bio/gene-disease-evidence.js +1 -0
- package/dist/tools/bio/gene-preclinical-profile.js +1 -0
- package/dist/tools/bio/keys.d.ts +3 -2
- package/dist/tools/bio/keys.js +3 -2
- package/dist/tools/bio/lookup-annotation.js +1 -0
- package/dist/tools/bio/opentargets.d.ts +3 -3
- package/dist/tools/bio/opentargets.js +4 -3
- package/dist/tools/bio/pubchem.js +1 -0
- package/dist/tools/bio/search-clinical-trials.js +1 -0
- package/dist/tools/bio/search-faers.js +1 -0
- package/dist/tools/bio/search-geo-datasets.js +1 -0
- package/dist/tools/bio/search-interactions.js +1 -0
- package/dist/tools/bio/target-safety.d.ts +4 -6
- package/dist/tools/bio/target-safety.js +7 -6
- package/dist/tools/define-tool.d.ts +19 -12
- package/dist/tools/define-tool.js +4 -2
- package/dist/tools/display/show-user.js +1 -0
- package/dist/tools/iterate-report.js +2 -0
- package/dist/tools/lib/chembl-client.d.ts +2 -0
- package/dist/tools/lib/chembl-client.js +1 -0
- package/dist/tools/lib/monarch-client.d.ts +42 -0
- package/dist/tools/lib/monarch-client.js +100 -0
- package/dist/tools/report/build-report.js +1 -0
- package/dist/tools/report/mint-preview-url.js +1 -0
- package/dist/tools/report/preview-snapshot.js +1 -0
- package/dist/tools/report/submit-report.js +1 -0
- package/dist/tools/report/version-fs.js +4 -0
- package/dist/tools/report-authoring/authoring-tools.d.ts +241 -0
- package/dist/tools/report-authoring/authoring-tools.js +460 -0
- package/dist/tools/report-session/index.d.ts +8 -0
- package/dist/tools/report-session/index.js +8 -0
- package/dist/tools/report-session/preview-report.d.ts +90 -0
- package/dist/tools/report-session/preview-report.js +245 -0
- package/dist/tools/research/context7-docs.js +2 -0
- package/dist/tools/research/generate-analogy-report.js +1 -0
- package/dist/tools/research/generate-plan.js +7 -2
- package/dist/tools/research/inspect-data-profile.js +4 -0
- package/dist/tools/research/literature-reviewer.js +1 -0
- package/dist/tools/research/search-arxiv.js +1 -0
- package/dist/tools/research/search-github-repos.js +1 -0
- package/dist/tools/research/search-semantic-scholar.js +1 -0
- package/dist/tools/sandbox/list-available-packages.js +23 -0
- package/dist/tools/sandbox/list-available-refs.js +36 -0
- package/dist/tools/sandbox/report-blocker.js +1 -0
- package/dist/tools/sandbox/skills.js +2 -0
- package/dist/tools/workspace/file-stat.js +1 -0
- package/dist/tools/workspace/show-file.js +2 -0
- package/dist/tools/workspace/show-plan.js +1 -0
- package/dist/workflows/execute-analysis.d.ts +5 -1
- package/dist/workflows/execute-analysis.js +5 -5
- package/dist/workflows/execute-target-assessment.d.ts +13 -2
- package/dist/workflows/execute-target-assessment.js +78 -16
- package/dist/workflows/target-assessment/assemblers/index.d.ts +1 -1
- package/dist/workflows/target-assessment/assemblers/index.js +1 -1
- package/dist/workflows/target-assessment/assemblers/literature.d.ts +9 -27
- package/dist/workflows/target-assessment/assemblers/literature.js +32 -48
- package/dist/workflows/target-assessment/assemblers/orchestrator.d.ts +17 -9
- package/dist/workflows/target-assessment/assemblers/orchestrator.js +195 -85
- package/dist/workflows/target-assessment/assemblers/safety.d.ts +70 -48
- package/dist/workflows/target-assessment/assemblers/safety.js +125 -42
- package/dist/workflows/target-assessment/collectors/index.d.ts +5 -2
- package/dist/workflows/target-assessment/collectors/index.js +48 -5
- package/dist/workflows/target-assessment/coverage.d.ts +43 -27
- package/dist/workflows/target-assessment/coverage.js +33 -29
- package/dist/workflows/target-assessment/fanout/index.js +1 -0
- package/dist/workflows/target-assessment/investigation/index.d.ts +97 -0
- package/dist/workflows/target-assessment/investigation/index.js +419 -0
- package/dist/workflows/target-assessment/lib/approval-precedents.d.ts +26 -5
- package/dist/workflows/target-assessment/lib/approval-precedents.js +95 -29
- package/dist/workflows/target-assessment/lib/citation-validator.js +1 -1
- package/dist/workflows/target-assessment/lib/clinical-consequence-annotator.d.ts +2 -2
- package/dist/workflows/target-assessment/lib/clinical-evidence-attribution.d.ts +2 -3
- package/dist/workflows/target-assessment/lib/clinical-evidence-attribution.js +0 -4
- package/dist/workflows/target-assessment/lib/compute-derived.d.ts +6 -5
- package/dist/workflows/target-assessment/lib/compute-derived.js +14 -5
- package/dist/workflows/target-assessment/lib/family-complex-supplement.d.ts +5 -6
- package/dist/workflows/target-assessment/lib/family-complex-supplement.js +2 -3
- package/dist/workflows/target-assessment/lib/fda-label-safety.d.ts +72 -0
- package/dist/workflows/target-assessment/lib/fda-label-safety.js +166 -0
- package/dist/workflows/target-assessment/lib/heterodimer-filter.d.ts +0 -9
- package/dist/workflows/target-assessment/lib/heterodimer-filter.js +0 -10
- package/dist/workflows/target-assessment/lib/hpo-organ-map.d.ts +34 -0
- package/dist/workflows/target-assessment/lib/hpo-organ-map.js +63 -0
- package/dist/workflows/target-assessment/lib/impc-organ-map.d.ts +19 -0
- package/dist/workflows/target-assessment/lib/impc-organ-map.js +39 -0
- package/dist/workflows/target-assessment/lib/meddra-organ-map.d.ts +24 -14
- package/dist/workflows/target-assessment/lib/meddra-organ-map.js +59 -47
- package/dist/workflows/target-assessment/lib/recommendation-sanitizer.js +1 -1
- package/dist/workflows/target-assessment/lib/regulatory-actions.d.ts +2 -3
- package/dist/workflows/target-assessment/lib/regulatory-actions.js +33 -4
- package/dist/workflows/target-assessment/lib/safety-corroboration.d.ts +44 -0
- package/dist/workflows/target-assessment/lib/safety-corroboration.js +273 -0
- package/dist/workflows/target-assessment/lib/target-identity-filter.d.ts +5 -7
- package/dist/workflows/target-assessment/lib/target-identity-filter.js +5 -7
- package/dist/workflows/target-assessment/metrics.d.ts +1 -6
- package/dist/workflows/target-assessment/metrics.js +1 -13
- package/dist/workflows/target-assessment/phase4-assemble.d.ts +2147 -807
- package/dist/workflows/target-assessment/phase4-assemble.js +19 -19
- package/dist/workflows/target-assessment/phase5-persist.d.ts +20 -21
- package/dist/workflows/target-assessment/phase5-persist.js +56 -173
- package/dist/workflows/target-assessment/schemas.d.ts +46 -1
- package/dist/workflows/target-assessment/schemas.js +19 -0
- package/dist/workflows/target-assessment/steps/fanout/polypharm-for-one-modulator-step.d.ts +1 -0
- package/dist/workflows/target-assessment/steps/fanout/polypharm-for-one-modulator-step.js +2 -0
- package/dist/workflows/target-assessment/steps/phase2-aggregate.d.ts +26 -62
- package/dist/workflows/target-assessment/steps/phase2-aggregate.js +0 -4
- package/dist/workflows/target-assessment/steps/phase3-aggregate.d.ts +27 -154
- package/dist/workflows/target-assessment/steps/phase3-aggregate.js +0 -6
- package/dist/workflows/target-assessment/steps/synthesis/diagnostics.d.ts +0 -6
- package/dist/workflows/target-assessment/steps/synthesis/diagnostics.js +0 -18
- package/dist/workflows/target-assessment/sub-workflows/per-modulator-polypharm.d.ts +1 -0
- package/dist/workflows/target-assessment/synthesis/index.d.ts +52 -5
- package/dist/workflows/target-assessment/synthesis/index.js +4 -1
- package/dist/workflows/target-assessment/synthesis-probes.d.ts +3 -3
- package/package.json +4 -1
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Phase 4 —
|
|
2
|
+
* Phase 4 — dossier assembly.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
4
|
+
* Calls `assembleDossier` (~3.5K LOC of aggregation over the Phase-3 bundle)
|
|
5
|
+
* and returns the assembled `DossierBody`. The safety-corroboration and
|
|
6
|
+
* claim-investigation sections are stamped by the workflow body between this
|
|
7
|
+
* step and synthesis; the Phase-5 synthesis sections (translational commentary,
|
|
8
|
+
* liability bullets, safety-flags trail) are stamped by the Phase-5 persist
|
|
9
|
+
* step.
|
|
9
10
|
*
|
|
10
11
|
* The DBOS workflow body wraps this in `DBOS.runStep({name: "phase4-assemble"})`
|
|
11
12
|
* so recovery on a fresh replica replays the cached output without re-running
|
|
12
|
-
* the
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* session + model) through Phase-4 is a follow-up tracked in §17 cleanup.
|
|
13
|
+
* the compute. Replay caching earns its keep here because `annotatorDeps`
|
|
14
|
+
* carries the per-row clinical-consequence annotator's LLM seam: assembly makes
|
|
15
|
+
* bounded model calls for off-target rows that have no cached annotation. Those
|
|
16
|
+
* calls are per-row best-effort — a failure leaves the row's original fallback —
|
|
17
|
+
* and their results are cached in Postgres, so a repeat assessment of the same
|
|
18
|
+
* target reaches them without an LLM call at all.
|
|
19
19
|
*/
|
|
20
20
|
import type { Pool } from "pg";
|
|
21
21
|
import { z } from "zod";
|
|
22
|
+
import type { ClinicalConsequenceAnnotatorDeps } from "./lib/clinical-consequence-annotator.js";
|
|
22
23
|
import type { Phase3Bundle } from "./steps/phase3-aggregate.js";
|
|
23
24
|
import { Phase3BundleSchema } from "./steps/phase3-aggregate.js";
|
|
24
25
|
export declare const Phase4OutputSchema: z.ZodObject<{
|
|
@@ -45,6 +46,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
45
46
|
evidence: z.ZodArray<z.ZodObject<{
|
|
46
47
|
pmid: z.ZodOptional<z.ZodString>;
|
|
47
48
|
doi: z.ZodOptional<z.ZodString>;
|
|
49
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
48
50
|
source: z.ZodString;
|
|
49
51
|
predicate: z.ZodOptional<z.ZodString>;
|
|
50
52
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -62,6 +64,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
62
64
|
}, z.core.$strip>>;
|
|
63
65
|
}, z.core.$strip>>;
|
|
64
66
|
}, z.core.$strip>;
|
|
67
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
65
68
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
66
69
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
67
70
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -71,6 +74,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
71
74
|
source: z.ZodOptional<z.ZodString>;
|
|
72
75
|
}, z.core.$strip>>;
|
|
73
76
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
79
|
+
filter: z.ZodString;
|
|
80
|
+
dropped_count: z.ZodNumber;
|
|
81
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
74
82
|
}, z.core.$strip>, z.ZodObject<{
|
|
75
83
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
76
84
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -97,6 +105,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
97
105
|
preferred_modality: z.ZodNullable<z.ZodString>;
|
|
98
106
|
drug_molecule_types_present: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
99
107
|
}, z.core.$strip>;
|
|
108
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
100
109
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
101
110
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
102
111
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -106,11 +115,15 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
106
115
|
source: z.ZodOptional<z.ZodString>;
|
|
107
116
|
}, z.core.$strip>>;
|
|
108
117
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
118
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
119
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
120
|
+
filter: z.ZodString;
|
|
121
|
+
dropped_count: z.ZodNumber;
|
|
122
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
109
123
|
}, z.core.$strip>, z.ZodObject<{
|
|
110
124
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
111
125
|
reason: z.ZodOptional<z.ZodString>;
|
|
112
126
|
}, z.core.$strip>], "coverage">;
|
|
113
|
-
schema_version: z.ZodLiteral<"4">;
|
|
114
127
|
off_target_panel: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
115
128
|
coverage: z.ZodLiteral<"available">;
|
|
116
129
|
data: z.ZodObject<{
|
|
@@ -120,7 +133,26 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
120
133
|
target_class: z.ZodOptional<z.ZodString>;
|
|
121
134
|
pchembl: z.ZodNumber;
|
|
122
135
|
is_safety_panel_target: z.ZodBoolean;
|
|
123
|
-
organ_system: z.ZodNullable<z.
|
|
136
|
+
organ_system: z.ZodNullable<z.ZodEnum<{
|
|
137
|
+
hematologic: "hematologic";
|
|
138
|
+
metabolic: "metabolic";
|
|
139
|
+
immune: "immune";
|
|
140
|
+
hepatic: "hepatic";
|
|
141
|
+
musculoskeletal: "musculoskeletal";
|
|
142
|
+
cns: "cns";
|
|
143
|
+
renal: "renal";
|
|
144
|
+
reproductive: "reproductive";
|
|
145
|
+
respiratory: "respiratory";
|
|
146
|
+
cardiac: "cardiac";
|
|
147
|
+
vascular: "vascular";
|
|
148
|
+
pns: "pns";
|
|
149
|
+
gi: "gi";
|
|
150
|
+
pancreas: "pancreas";
|
|
151
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
152
|
+
dermatologic: "dermatologic";
|
|
153
|
+
ocular: "ocular";
|
|
154
|
+
oncology: "oncology";
|
|
155
|
+
}>>;
|
|
124
156
|
clinical_consequence: z.ZodNullable<z.ZodString>;
|
|
125
157
|
selectivity: z.ZodUnion<readonly [z.ZodObject<{
|
|
126
158
|
vs_primary_potency: z.ZodObject<{
|
|
@@ -137,28 +169,35 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
137
169
|
reason: z.ZodString;
|
|
138
170
|
}, z.core.$strip>]>;
|
|
139
171
|
selectivity_window_below_threshold: z.ZodBoolean;
|
|
140
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
141
|
-
pmid: z.ZodOptional<z.ZodString>;
|
|
142
|
-
doi: z.ZodOptional<z.ZodString>;
|
|
143
|
-
source: z.ZodString;
|
|
144
|
-
predicate: z.ZodOptional<z.ZodString>;
|
|
145
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
146
|
-
strength: z.ZodOptional<z.ZodString>;
|
|
147
|
-
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
-
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
-
excerpt: z.ZodOptional<z.ZodString>;
|
|
150
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
151
|
-
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
152
|
-
document: z.ZodString;
|
|
153
|
-
section: z.ZodOptional<z.ZodString>;
|
|
154
|
-
doc_id: z.ZodOptional<z.ZodString>;
|
|
155
|
-
doc_url: z.ZodOptional<z.ZodString>;
|
|
156
|
-
}, z.core.$strip>>;
|
|
157
|
-
}, z.core.$strip>>;
|
|
158
172
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
159
173
|
merged_chembl_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
174
|
}, z.core.$strip>>;
|
|
161
175
|
relationship: z.ZodLiteral<"off_target">;
|
|
176
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
177
|
+
state: z.ZodLiteral<"scored">;
|
|
178
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
179
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
180
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
181
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
182
|
+
source: z.ZodString;
|
|
183
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
184
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
186
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
189
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
190
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
191
|
+
document: z.ZodString;
|
|
192
|
+
section: z.ZodOptional<z.ZodString>;
|
|
193
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
194
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
}, z.core.$strip>>;
|
|
197
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
198
|
+
state: z.ZodLiteral<"unknown">;
|
|
199
|
+
reason: z.ZodString;
|
|
200
|
+
}, z.core.$strip>], "state">;
|
|
162
201
|
}, z.core.$strip>>;
|
|
163
202
|
excluded_rows: z.ZodArray<z.ZodObject<{
|
|
164
203
|
off_target_id: z.ZodNullable<z.ZodString>;
|
|
@@ -166,7 +205,26 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
166
205
|
target_class: z.ZodOptional<z.ZodString>;
|
|
167
206
|
pchembl: z.ZodNumber;
|
|
168
207
|
is_safety_panel_target: z.ZodBoolean;
|
|
169
|
-
organ_system: z.ZodNullable<z.
|
|
208
|
+
organ_system: z.ZodNullable<z.ZodEnum<{
|
|
209
|
+
hematologic: "hematologic";
|
|
210
|
+
metabolic: "metabolic";
|
|
211
|
+
immune: "immune";
|
|
212
|
+
hepatic: "hepatic";
|
|
213
|
+
musculoskeletal: "musculoskeletal";
|
|
214
|
+
cns: "cns";
|
|
215
|
+
renal: "renal";
|
|
216
|
+
reproductive: "reproductive";
|
|
217
|
+
respiratory: "respiratory";
|
|
218
|
+
cardiac: "cardiac";
|
|
219
|
+
vascular: "vascular";
|
|
220
|
+
pns: "pns";
|
|
221
|
+
gi: "gi";
|
|
222
|
+
pancreas: "pancreas";
|
|
223
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
224
|
+
dermatologic: "dermatologic";
|
|
225
|
+
ocular: "ocular";
|
|
226
|
+
oncology: "oncology";
|
|
227
|
+
}>>;
|
|
170
228
|
clinical_consequence: z.ZodNullable<z.ZodString>;
|
|
171
229
|
selectivity: z.ZodUnion<readonly [z.ZodObject<{
|
|
172
230
|
vs_primary_potency: z.ZodObject<{
|
|
@@ -183,9 +241,19 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
183
241
|
reason: z.ZodString;
|
|
184
242
|
}, z.core.$strip>]>;
|
|
185
243
|
selectivity_window_below_threshold: z.ZodBoolean;
|
|
244
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
merged_chembl_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
246
|
+
}, z.core.$strip>>;
|
|
247
|
+
relationship: z.ZodEnum<{
|
|
248
|
+
intended_co_target: "intended_co_target";
|
|
249
|
+
on_target_self_hit: "on_target_self_hit";
|
|
250
|
+
obligate_cofactor: "obligate_cofactor";
|
|
251
|
+
}>;
|
|
252
|
+
reason: z.ZodString;
|
|
186
253
|
evidence: z.ZodArray<z.ZodObject<{
|
|
187
254
|
pmid: z.ZodOptional<z.ZodString>;
|
|
188
255
|
doi: z.ZodOptional<z.ZodString>;
|
|
256
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
189
257
|
source: z.ZodString;
|
|
190
258
|
predicate: z.ZodOptional<z.ZodString>;
|
|
191
259
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -201,17 +269,9 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
201
269
|
doc_url: z.ZodOptional<z.ZodString>;
|
|
202
270
|
}, z.core.$strip>>;
|
|
203
271
|
}, z.core.$strip>>;
|
|
204
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
205
|
-
merged_chembl_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
206
|
-
}, z.core.$strip>>;
|
|
207
|
-
relationship: z.ZodEnum<{
|
|
208
|
-
intended_co_target: "intended_co_target";
|
|
209
|
-
on_target_self_hit: "on_target_self_hit";
|
|
210
|
-
obligate_cofactor: "obligate_cofactor";
|
|
211
|
-
}>;
|
|
212
|
-
reason: z.ZodString;
|
|
213
272
|
}, z.core.$strip>>;
|
|
214
273
|
}, z.core.$strip>;
|
|
274
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
215
275
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
216
276
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
217
277
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -221,6 +281,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
221
281
|
source: z.ZodOptional<z.ZodString>;
|
|
222
282
|
}, z.core.$strip>>;
|
|
223
283
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
286
|
+
filter: z.ZodString;
|
|
287
|
+
dropped_count: z.ZodNumber;
|
|
288
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
224
289
|
}, z.core.$strip>, z.ZodObject<{
|
|
225
290
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
226
291
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -237,6 +302,31 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
237
302
|
high_safety_organ_expression: "high_safety_organ_expression";
|
|
238
303
|
broad_expression: "broad_expression";
|
|
239
304
|
}>;
|
|
305
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
306
|
+
state: z.ZodLiteral<"scored">;
|
|
307
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
308
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
309
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
310
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
311
|
+
source: z.ZodString;
|
|
312
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
313
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
314
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
315
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
316
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
318
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
319
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
320
|
+
document: z.ZodString;
|
|
321
|
+
section: z.ZodOptional<z.ZodString>;
|
|
322
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
323
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
324
|
+
}, z.core.$strip>>;
|
|
325
|
+
}, z.core.$strip>>;
|
|
326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
+
state: z.ZodLiteral<"unknown">;
|
|
328
|
+
reason: z.ZodString;
|
|
329
|
+
}, z.core.$strip>], "state">;
|
|
240
330
|
}, z.core.$strip>>;
|
|
241
331
|
liability_bullets_dropped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
242
332
|
text: z.ZodString;
|
|
@@ -257,35 +347,213 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
257
347
|
inferred_therapeutic_area: z.ZodNullable<z.ZodString>;
|
|
258
348
|
no_liabilities_disclosure: z.ZodOptional<z.ZodString>;
|
|
259
349
|
}, z.core.$strict>;
|
|
260
|
-
|
|
261
|
-
|
|
350
|
+
entity: z.ZodObject<{
|
|
351
|
+
canonicalId: z.ZodString;
|
|
352
|
+
symbol: z.ZodString;
|
|
353
|
+
displayName: z.ZodString;
|
|
354
|
+
entityType: z.ZodEnum<{
|
|
355
|
+
gene: "gene";
|
|
356
|
+
rna: "rna";
|
|
357
|
+
protein: "protein";
|
|
358
|
+
complex: "complex";
|
|
359
|
+
}>;
|
|
360
|
+
ontology: z.ZodString;
|
|
361
|
+
identifiers: z.ZodObject<{
|
|
362
|
+
hgnc: z.ZodOptional<z.ZodString>;
|
|
363
|
+
ensembl: z.ZodOptional<z.ZodString>;
|
|
364
|
+
uniprot: z.ZodOptional<z.ZodString>;
|
|
365
|
+
chembl: z.ZodOptional<z.ZodString>;
|
|
366
|
+
ncbiGene: z.ZodOptional<z.ZodString>;
|
|
367
|
+
}, z.core.$strip>;
|
|
368
|
+
synonyms: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
369
|
+
proteinFamily: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
indications: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
372
|
+
coverage: z.ZodLiteral<"available">;
|
|
373
|
+
data: z.ZodObject<{
|
|
374
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
375
|
+
disease_id: z.ZodString;
|
|
376
|
+
disease_name: z.ZodString;
|
|
377
|
+
composite_score: z.ZodNumber;
|
|
378
|
+
composite_score_breakdown: z.ZodOptional<z.ZodObject<{
|
|
379
|
+
base: z.ZodNumber;
|
|
380
|
+
source_bonuses: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
381
|
+
paper_depth: z.ZodNumber;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
evidence_score: z.ZodNumber;
|
|
384
|
+
source_count: z.ZodNumber;
|
|
385
|
+
unique_paper_count: z.ZodNumber;
|
|
386
|
+
sources: z.ZodArray<z.ZodString>;
|
|
387
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
388
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
389
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
390
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
391
|
+
source: z.ZodString;
|
|
392
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
393
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
394
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
395
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
396
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
397
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
398
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
399
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
document: z.ZodString;
|
|
401
|
+
section: z.ZodOptional<z.ZodString>;
|
|
402
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
403
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
404
|
+
}, z.core.$strip>>;
|
|
405
|
+
}, z.core.$strip>>;
|
|
406
|
+
}, z.core.$strip>>;
|
|
407
|
+
excluded_unsupported_count: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
unsupported_associations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
409
|
+
disease_id: z.ZodString;
|
|
410
|
+
disease_name: z.ZodString;
|
|
411
|
+
}, z.core.$strip>>>;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
415
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
417
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
418
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
message: z.ZodString;
|
|
420
|
+
source: z.ZodOptional<z.ZodString>;
|
|
421
|
+
}, z.core.$strip>>;
|
|
422
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
424
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
425
|
+
filter: z.ZodString;
|
|
426
|
+
dropped_count: z.ZodNumber;
|
|
427
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
428
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
429
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
430
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
431
|
+
}, z.core.$strip>], "coverage">;
|
|
432
|
+
clinical_development: z.ZodObject<{
|
|
433
|
+
trials: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
262
434
|
coverage: z.ZodLiteral<"available">;
|
|
263
435
|
data: z.ZodObject<{
|
|
264
436
|
rows: z.ZodArray<z.ZodObject<{
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
437
|
+
nct_id: z.ZodString;
|
|
438
|
+
title: z.ZodString;
|
|
439
|
+
phase: z.ZodNullable<z.ZodString>;
|
|
440
|
+
status: z.ZodString;
|
|
441
|
+
conditions: z.ZodArray<z.ZodString>;
|
|
442
|
+
start_date: z.ZodNullable<z.ZodString>;
|
|
443
|
+
completion_date: z.ZodNullable<z.ZodString>;
|
|
444
|
+
match_confidence: z.ZodEnum<{
|
|
445
|
+
high: "high";
|
|
446
|
+
medium: "medium";
|
|
447
|
+
low: "low";
|
|
448
|
+
off_target: "off_target";
|
|
449
|
+
}>;
|
|
450
|
+
attribution: z.ZodObject<{
|
|
451
|
+
relationship: z.ZodEnum<{
|
|
452
|
+
unknown: "unknown";
|
|
453
|
+
related_family_target: "related_family_target";
|
|
454
|
+
condition_only: "condition_only";
|
|
455
|
+
direct_modulator: "direct_modulator";
|
|
456
|
+
class_modulator: "class_modulator";
|
|
457
|
+
target_biomarker: "target_biomarker";
|
|
458
|
+
pathway_biomarker: "pathway_biomarker";
|
|
459
|
+
unrelated: "unrelated";
|
|
460
|
+
}>;
|
|
461
|
+
evidence_role: z.ZodEnum<{
|
|
462
|
+
supports_target: "supports_target";
|
|
463
|
+
contextual: "contextual";
|
|
464
|
+
excluded: "excluded";
|
|
465
|
+
}>;
|
|
466
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
467
|
+
kind: z.ZodEnum<{
|
|
468
|
+
mechanism_target_match: "mechanism_target_match";
|
|
469
|
+
known_class_drug: "known_class_drug";
|
|
470
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
471
|
+
related_family_target: "related_family_target";
|
|
472
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
473
|
+
condition_only: "condition_only";
|
|
474
|
+
text_match: "text_match";
|
|
475
|
+
manual: "manual";
|
|
476
|
+
}>;
|
|
477
|
+
source: z.ZodString;
|
|
478
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
479
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
285
480
|
}, z.core.$strip>>;
|
|
286
|
-
|
|
481
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
482
|
+
name: z.ZodString;
|
|
483
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
484
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
485
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
486
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
487
|
+
resolver_source: z.ZodString;
|
|
488
|
+
}, z.core.$strip>>>;
|
|
489
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
490
|
+
}, z.core.$strip>;
|
|
491
|
+
eligible_for_toxicology_aggregation: z.ZodBoolean;
|
|
492
|
+
}, z.core.$strip>>;
|
|
493
|
+
excluded_rows: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
494
|
+
nct_id: z.ZodString;
|
|
495
|
+
title: z.ZodString;
|
|
496
|
+
phase: z.ZodNullable<z.ZodString>;
|
|
497
|
+
status: z.ZodString;
|
|
498
|
+
conditions: z.ZodArray<z.ZodString>;
|
|
499
|
+
start_date: z.ZodNullable<z.ZodString>;
|
|
500
|
+
completion_date: z.ZodNullable<z.ZodString>;
|
|
501
|
+
match_confidence: z.ZodEnum<{
|
|
502
|
+
high: "high";
|
|
503
|
+
medium: "medium";
|
|
504
|
+
low: "low";
|
|
505
|
+
off_target: "off_target";
|
|
506
|
+
}>;
|
|
507
|
+
attribution: z.ZodObject<{
|
|
508
|
+
relationship: z.ZodEnum<{
|
|
509
|
+
unknown: "unknown";
|
|
510
|
+
related_family_target: "related_family_target";
|
|
511
|
+
condition_only: "condition_only";
|
|
512
|
+
direct_modulator: "direct_modulator";
|
|
513
|
+
class_modulator: "class_modulator";
|
|
514
|
+
target_biomarker: "target_biomarker";
|
|
515
|
+
pathway_biomarker: "pathway_biomarker";
|
|
516
|
+
unrelated: "unrelated";
|
|
517
|
+
}>;
|
|
518
|
+
evidence_role: z.ZodEnum<{
|
|
519
|
+
supports_target: "supports_target";
|
|
520
|
+
contextual: "contextual";
|
|
521
|
+
excluded: "excluded";
|
|
522
|
+
}>;
|
|
523
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
524
|
+
kind: z.ZodEnum<{
|
|
525
|
+
mechanism_target_match: "mechanism_target_match";
|
|
526
|
+
known_class_drug: "known_class_drug";
|
|
527
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
528
|
+
related_family_target: "related_family_target";
|
|
529
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
530
|
+
condition_only: "condition_only";
|
|
531
|
+
text_match: "text_match";
|
|
532
|
+
manual: "manual";
|
|
533
|
+
}>;
|
|
534
|
+
source: z.ZodString;
|
|
535
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
536
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
537
|
+
}, z.core.$strip>>;
|
|
538
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
539
|
+
name: z.ZodString;
|
|
540
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
541
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
542
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
543
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
544
|
+
resolver_source: z.ZodString;
|
|
545
|
+
}, z.core.$strip>>>;
|
|
546
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
547
|
+
}, z.core.$strip>;
|
|
548
|
+
eligible_for_toxicology_aggregation: z.ZodBoolean;
|
|
549
|
+
}, z.core.$strip>>>;
|
|
550
|
+
selection_criteria: z.ZodOptional<z.ZodObject<{
|
|
551
|
+
derived_from: z.ZodOptional<z.ZodString>;
|
|
552
|
+
min_confidence: z.ZodOptional<z.ZodString>;
|
|
553
|
+
excluded_off_target_count: z.ZodOptional<z.ZodNumber>;
|
|
287
554
|
}, z.core.$strip>>;
|
|
288
555
|
}, z.core.$strip>;
|
|
556
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
289
557
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
290
558
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
291
559
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -296,63 +564,94 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
296
564
|
}, z.core.$strip>>;
|
|
297
565
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
298
566
|
}, z.core.$strip>, z.ZodObject<{
|
|
299
|
-
coverage: z.ZodLiteral<"
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
evidence_timeline: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
303
|
-
coverage: z.ZodLiteral<"available">;
|
|
304
|
-
data: z.ZodObject<{
|
|
305
|
-
histogram: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
306
|
-
first_reported_year: z.ZodNullable<z.ZodNumber>;
|
|
307
|
-
last_reported_year: z.ZodNullable<z.ZodNumber>;
|
|
308
|
-
trend_labels: z.ZodArray<z.ZodString>;
|
|
309
|
-
}, z.core.$strip>;
|
|
310
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
311
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
312
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
313
|
-
coverage: z.ZodLiteral<"queried_no_data">;
|
|
314
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
315
|
-
message: z.ZodString;
|
|
316
|
-
source: z.ZodOptional<z.ZodString>;
|
|
317
|
-
}, z.core.$strip>>;
|
|
567
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
568
|
+
filter: z.ZodString;
|
|
569
|
+
dropped_count: z.ZodNumber;
|
|
318
570
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
319
571
|
}, z.core.$strip>, z.ZodObject<{
|
|
320
572
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
321
573
|
reason: z.ZodOptional<z.ZodString>;
|
|
322
574
|
}, z.core.$strip>], "coverage">;
|
|
323
|
-
|
|
575
|
+
outcomes: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
324
576
|
coverage: z.ZodLiteral<"available">;
|
|
325
577
|
data: z.ZodObject<{
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
clinical: "clinical";
|
|
578
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
579
|
+
nct_id: z.ZodString;
|
|
580
|
+
measure: z.ZodString;
|
|
581
|
+
outcome_type: z.ZodEnum<{
|
|
582
|
+
other: "other";
|
|
583
|
+
primary: "primary";
|
|
584
|
+
secondary: "secondary";
|
|
334
585
|
}>;
|
|
335
|
-
|
|
336
|
-
|
|
586
|
+
description: z.ZodOptional<z.ZodString>;
|
|
587
|
+
time_frame: z.ZodOptional<z.ZodString>;
|
|
588
|
+
effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
|
+
kind: z.ZodLiteral<"quantitative">;
|
|
590
|
+
value: z.ZodNumber;
|
|
591
|
+
ci_low: z.ZodOptional<z.ZodNumber>;
|
|
592
|
+
ci_high: z.ZodOptional<z.ZodNumber>;
|
|
593
|
+
units: z.ZodString;
|
|
594
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
595
|
+
kind: z.ZodLiteral<"qualitative">;
|
|
596
|
+
direction: z.ZodEnum<{
|
|
597
|
+
increase: "increase";
|
|
598
|
+
decrease: "decrease";
|
|
599
|
+
no_change: "no_change";
|
|
600
|
+
}>;
|
|
601
|
+
magnitude_label: z.ZodString;
|
|
602
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
603
|
+
kind: z.ZodLiteral<"not_extracted">;
|
|
604
|
+
reason: z.ZodEnum<{
|
|
605
|
+
ctgov_no_numeric_result: "ctgov_no_numeric_result";
|
|
606
|
+
ctgov_no_result_groups: "ctgov_no_result_groups";
|
|
607
|
+
parse_failure: "parse_failure";
|
|
608
|
+
}>;
|
|
609
|
+
}, z.core.$strip>], "kind">;
|
|
610
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
611
|
+
relationship: z.ZodEnum<{
|
|
612
|
+
unknown: "unknown";
|
|
613
|
+
related_family_target: "related_family_target";
|
|
614
|
+
condition_only: "condition_only";
|
|
615
|
+
direct_modulator: "direct_modulator";
|
|
616
|
+
class_modulator: "class_modulator";
|
|
617
|
+
target_biomarker: "target_biomarker";
|
|
618
|
+
pathway_biomarker: "pathway_biomarker";
|
|
619
|
+
unrelated: "unrelated";
|
|
620
|
+
}>;
|
|
621
|
+
evidence_role: z.ZodEnum<{
|
|
622
|
+
supports_target: "supports_target";
|
|
623
|
+
contextual: "contextual";
|
|
624
|
+
excluded: "excluded";
|
|
625
|
+
}>;
|
|
626
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
627
|
+
kind: z.ZodEnum<{
|
|
628
|
+
mechanism_target_match: "mechanism_target_match";
|
|
629
|
+
known_class_drug: "known_class_drug";
|
|
630
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
631
|
+
related_family_target: "related_family_target";
|
|
632
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
633
|
+
condition_only: "condition_only";
|
|
634
|
+
text_match: "text_match";
|
|
635
|
+
manual: "manual";
|
|
636
|
+
}>;
|
|
637
|
+
source: z.ZodString;
|
|
638
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
639
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
640
|
+
}, z.core.$strip>>;
|
|
641
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
642
|
+
name: z.ZodString;
|
|
643
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
644
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
645
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
646
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
647
|
+
resolver_source: z.ZodString;
|
|
648
|
+
}, z.core.$strip>>>;
|
|
649
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
650
|
+
}, z.core.$strip>>;
|
|
651
|
+
eligible_for_toxicology_aggregation: z.ZodDefault<z.ZodBoolean>;
|
|
337
652
|
}, z.core.$strip>>;
|
|
338
|
-
peak_evidence_tier: z.ZodNullable<z.ZodEnum<{
|
|
339
|
-
computational: "computational";
|
|
340
|
-
basic_in_vitro: "basic_in_vitro";
|
|
341
|
-
complex_in_vitro: "complex_in_vitro";
|
|
342
|
-
in_vivo_animal: "in_vivo_animal";
|
|
343
|
-
ex_vivo_human: "ex_vivo_human";
|
|
344
|
-
clinical: "clinical";
|
|
345
|
-
}>>;
|
|
346
|
-
progression_complete: z.ZodBoolean;
|
|
347
|
-
weakest_progression_gap: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
348
|
-
computational: "computational";
|
|
349
|
-
basic_in_vitro: "basic_in_vitro";
|
|
350
|
-
complex_in_vitro: "complex_in_vitro";
|
|
351
|
-
in_vivo_animal: "in_vivo_animal";
|
|
352
|
-
ex_vivo_human: "ex_vivo_human";
|
|
353
|
-
clinical: "clinical";
|
|
354
|
-
}>>>;
|
|
355
653
|
}, z.core.$strip>;
|
|
654
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
356
655
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
357
656
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
358
657
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -362,18 +661,215 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
362
661
|
source: z.ZodOptional<z.ZodString>;
|
|
363
662
|
}, z.core.$strip>>;
|
|
364
663
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
664
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
665
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
666
|
+
filter: z.ZodString;
|
|
667
|
+
dropped_count: z.ZodNumber;
|
|
668
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
365
669
|
}, z.core.$strip>, z.ZodObject<{
|
|
366
670
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
367
671
|
reason: z.ZodOptional<z.ZodString>;
|
|
368
672
|
}, z.core.$strip>], "coverage">;
|
|
369
|
-
|
|
673
|
+
failed_trials: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
370
674
|
coverage: z.ZodLiteral<"available">;
|
|
371
675
|
data: z.ZodObject<{
|
|
372
676
|
rows: z.ZodArray<z.ZodObject<{
|
|
373
|
-
|
|
677
|
+
nct_id: z.ZodString;
|
|
678
|
+
title: z.ZodString;
|
|
679
|
+
why_stopped: z.ZodString;
|
|
680
|
+
classifier: z.ZodEnum<{
|
|
681
|
+
rules: "rules";
|
|
682
|
+
llm: "llm";
|
|
683
|
+
}>;
|
|
684
|
+
failure_category: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
685
|
+
category: z.ZodLiteral<"safety">;
|
|
686
|
+
safety_evidence_excerpt: z.ZodString;
|
|
687
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
688
|
+
category: z.ZodLiteral<"strategic">;
|
|
689
|
+
category_evidence_excerpt: z.ZodString;
|
|
690
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
691
|
+
category: z.ZodLiteral<"operational">;
|
|
692
|
+
category_evidence_excerpt: z.ZodString;
|
|
693
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
694
|
+
category: z.ZodLiteral<"efficacy">;
|
|
695
|
+
category_evidence_excerpt: z.ZodString;
|
|
696
|
+
}, z.core.$strip>], "category">;
|
|
697
|
+
attribution: z.ZodObject<{
|
|
698
|
+
relationship: z.ZodEnum<{
|
|
699
|
+
unknown: "unknown";
|
|
700
|
+
related_family_target: "related_family_target";
|
|
701
|
+
condition_only: "condition_only";
|
|
702
|
+
direct_modulator: "direct_modulator";
|
|
703
|
+
class_modulator: "class_modulator";
|
|
704
|
+
target_biomarker: "target_biomarker";
|
|
705
|
+
pathway_biomarker: "pathway_biomarker";
|
|
706
|
+
unrelated: "unrelated";
|
|
707
|
+
}>;
|
|
708
|
+
evidence_role: z.ZodEnum<{
|
|
709
|
+
supports_target: "supports_target";
|
|
710
|
+
contextual: "contextual";
|
|
711
|
+
excluded: "excluded";
|
|
712
|
+
}>;
|
|
713
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
714
|
+
kind: z.ZodEnum<{
|
|
715
|
+
mechanism_target_match: "mechanism_target_match";
|
|
716
|
+
known_class_drug: "known_class_drug";
|
|
717
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
718
|
+
related_family_target: "related_family_target";
|
|
719
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
720
|
+
condition_only: "condition_only";
|
|
721
|
+
text_match: "text_match";
|
|
722
|
+
manual: "manual";
|
|
723
|
+
}>;
|
|
724
|
+
source: z.ZodString;
|
|
725
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
726
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
727
|
+
}, z.core.$strip>>;
|
|
728
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
729
|
+
name: z.ZodString;
|
|
730
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
731
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
732
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
733
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
734
|
+
resolver_source: z.ZodString;
|
|
735
|
+
}, z.core.$strip>>>;
|
|
736
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
737
|
+
}, z.core.$strip>;
|
|
738
|
+
eligible_for_toxicology_aggregation: z.ZodBoolean;
|
|
739
|
+
}, z.core.$strip>>;
|
|
740
|
+
excluded_rows: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
741
|
+
nct_id: z.ZodString;
|
|
742
|
+
title: z.ZodString;
|
|
743
|
+
why_stopped: z.ZodString;
|
|
744
|
+
classifier: z.ZodEnum<{
|
|
745
|
+
rules: "rules";
|
|
746
|
+
llm: "llm";
|
|
747
|
+
}>;
|
|
748
|
+
failure_category: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
749
|
+
category: z.ZodLiteral<"safety">;
|
|
750
|
+
safety_evidence_excerpt: z.ZodString;
|
|
751
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
752
|
+
category: z.ZodLiteral<"strategic">;
|
|
753
|
+
category_evidence_excerpt: z.ZodString;
|
|
754
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
755
|
+
category: z.ZodLiteral<"operational">;
|
|
756
|
+
category_evidence_excerpt: z.ZodString;
|
|
757
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
758
|
+
category: z.ZodLiteral<"efficacy">;
|
|
759
|
+
category_evidence_excerpt: z.ZodString;
|
|
760
|
+
}, z.core.$strip>], "category">;
|
|
761
|
+
attribution: z.ZodObject<{
|
|
762
|
+
relationship: z.ZodEnum<{
|
|
763
|
+
unknown: "unknown";
|
|
764
|
+
related_family_target: "related_family_target";
|
|
765
|
+
condition_only: "condition_only";
|
|
766
|
+
direct_modulator: "direct_modulator";
|
|
767
|
+
class_modulator: "class_modulator";
|
|
768
|
+
target_biomarker: "target_biomarker";
|
|
769
|
+
pathway_biomarker: "pathway_biomarker";
|
|
770
|
+
unrelated: "unrelated";
|
|
771
|
+
}>;
|
|
772
|
+
evidence_role: z.ZodEnum<{
|
|
773
|
+
supports_target: "supports_target";
|
|
774
|
+
contextual: "contextual";
|
|
775
|
+
excluded: "excluded";
|
|
776
|
+
}>;
|
|
777
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
778
|
+
kind: z.ZodEnum<{
|
|
779
|
+
mechanism_target_match: "mechanism_target_match";
|
|
780
|
+
known_class_drug: "known_class_drug";
|
|
781
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
782
|
+
related_family_target: "related_family_target";
|
|
783
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
784
|
+
condition_only: "condition_only";
|
|
785
|
+
text_match: "text_match";
|
|
786
|
+
manual: "manual";
|
|
787
|
+
}>;
|
|
788
|
+
source: z.ZodString;
|
|
789
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
790
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
791
|
+
}, z.core.$strip>>;
|
|
792
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
793
|
+
name: z.ZodString;
|
|
794
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
795
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
796
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
797
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
798
|
+
resolver_source: z.ZodString;
|
|
799
|
+
}, z.core.$strip>>>;
|
|
800
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
801
|
+
}, z.core.$strip>;
|
|
802
|
+
eligible_for_toxicology_aggregation: z.ZodBoolean;
|
|
803
|
+
}, z.core.$strip>>>;
|
|
804
|
+
}, z.core.$strip>;
|
|
805
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
806
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
807
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
808
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
809
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
810
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
811
|
+
message: z.ZodString;
|
|
812
|
+
source: z.ZodOptional<z.ZodString>;
|
|
813
|
+
}, z.core.$strip>>;
|
|
814
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
815
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
816
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
817
|
+
filter: z.ZodString;
|
|
818
|
+
dropped_count: z.ZodNumber;
|
|
819
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
821
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
822
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
823
|
+
}, z.core.$strip>], "coverage">;
|
|
824
|
+
benchmarks: z.ZodObject<{
|
|
825
|
+
therapeutic_area: z.ZodNullable<z.ZodString>;
|
|
826
|
+
fallback_to_all_areas: z.ZodBoolean;
|
|
827
|
+
phase_transitions: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
828
|
+
likelihood_of_approval: z.ZodNullable<z.ZodNumber>;
|
|
829
|
+
source_attribution: z.ZodString;
|
|
830
|
+
}, z.core.$strip>;
|
|
831
|
+
}, z.core.$strip>;
|
|
832
|
+
safety_profile: z.ZodObject<{
|
|
833
|
+
organ_rollup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
834
|
+
coverage: z.ZodLiteral<"available">;
|
|
835
|
+
data: z.ZodObject<{
|
|
836
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
837
|
+
organ: z.ZodEnum<{
|
|
838
|
+
hematologic: "hematologic";
|
|
839
|
+
metabolic: "metabolic";
|
|
840
|
+
immune: "immune";
|
|
841
|
+
hepatic: "hepatic";
|
|
842
|
+
musculoskeletal: "musculoskeletal";
|
|
843
|
+
cns: "cns";
|
|
844
|
+
renal: "renal";
|
|
845
|
+
reproductive: "reproductive";
|
|
846
|
+
respiratory: "respiratory";
|
|
847
|
+
cardiac: "cardiac";
|
|
848
|
+
vascular: "vascular";
|
|
849
|
+
pns: "pns";
|
|
850
|
+
gi: "gi";
|
|
851
|
+
pancreas: "pancreas";
|
|
852
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
853
|
+
dermatologic: "dermatologic";
|
|
854
|
+
ocular: "ocular";
|
|
855
|
+
oncology: "oncology";
|
|
856
|
+
}>;
|
|
857
|
+
risk_level: z.ZodEnum<{
|
|
858
|
+
high: "high";
|
|
859
|
+
medium: "medium";
|
|
860
|
+
low: "low";
|
|
861
|
+
}>;
|
|
862
|
+
signal_type_count: z.ZodNumber;
|
|
863
|
+
signals: z.ZodObject<{
|
|
864
|
+
chembl_polypharm_count: z.ZodNumber;
|
|
865
|
+
faers_count: z.ZodNumber;
|
|
866
|
+
trial_ae_count: z.ZodNumber;
|
|
867
|
+
class_liability_present: z.ZodBoolean;
|
|
868
|
+
}, z.core.$strip>;
|
|
374
869
|
evidence: z.ZodArray<z.ZodObject<{
|
|
375
870
|
pmid: z.ZodOptional<z.ZodString>;
|
|
376
871
|
doi: z.ZodOptional<z.ZodString>;
|
|
872
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
377
873
|
source: z.ZodString;
|
|
378
874
|
predicate: z.ZodOptional<z.ZodString>;
|
|
379
875
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -390,8 +886,8 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
390
886
|
}, z.core.$strip>>;
|
|
391
887
|
}, z.core.$strip>>;
|
|
392
888
|
}, z.core.$strip>>;
|
|
393
|
-
score_floor: z.ZodNumber;
|
|
394
889
|
}, z.core.$strip>;
|
|
890
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
395
891
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
396
892
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
397
893
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -401,52 +897,53 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
401
897
|
source: z.ZodOptional<z.ZodString>;
|
|
402
898
|
}, z.core.$strip>>;
|
|
403
899
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
900
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
901
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
902
|
+
filter: z.ZodString;
|
|
903
|
+
dropped_count: z.ZodNumber;
|
|
904
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
404
905
|
}, z.core.$strip>, z.ZodObject<{
|
|
405
906
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
406
907
|
reason: z.ZodOptional<z.ZodString>;
|
|
407
908
|
}, z.core.$strip>], "coverage">;
|
|
408
|
-
|
|
909
|
+
faers: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
409
910
|
coverage: z.ZodLiteral<"available">;
|
|
410
911
|
data: z.ZodObject<{
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
912
|
+
total_reports: z.ZodNumber;
|
|
913
|
+
seriousness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
914
|
+
coverage: z.ZodLiteral<"available">;
|
|
915
|
+
total_reports: z.ZodNumber;
|
|
916
|
+
by_seriousness: z.ZodObject<{
|
|
917
|
+
death: z.ZodNumber;
|
|
918
|
+
life_threatening: z.ZodNumber;
|
|
919
|
+
hospitalization: z.ZodNumber;
|
|
920
|
+
disabling: z.ZodNumber;
|
|
921
|
+
other_serious: z.ZodNumber;
|
|
922
|
+
congenital_anomaly: z.ZodNumber;
|
|
923
|
+
}, z.core.$strip>;
|
|
924
|
+
fatal_report_count: z.ZodNumber;
|
|
925
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
926
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
927
|
+
total_reports: z.ZodNumber;
|
|
928
|
+
}, z.core.$strip>], "coverage">;
|
|
929
|
+
top_signals: z.ZodArray<z.ZodObject<{
|
|
930
|
+
meddra_term: z.ZodString;
|
|
931
|
+
organ: z.ZodOptional<z.ZodString>;
|
|
932
|
+
report_count: z.ZodNumber;
|
|
933
|
+
proportional_reporting_ratio: z.ZodOptional<z.ZodNumber>;
|
|
934
|
+
}, z.core.$strip>>;
|
|
935
|
+
per_modulator: z.ZodArray<z.ZodObject<{
|
|
936
|
+
modulator: z.ZodString;
|
|
937
|
+
modulator_id: z.ZodNullable<z.ZodString>;
|
|
938
|
+
report_count: z.ZodNumber;
|
|
939
|
+
coverage: z.ZodEnum<{
|
|
940
|
+
available: "available";
|
|
941
|
+
queried_no_data: "queried_no_data";
|
|
942
|
+
not_loaded: "not_loaded";
|
|
423
943
|
}>;
|
|
424
|
-
relevance_basis: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
425
|
-
kind: z.ZodLiteral<"drug_in_class_match">;
|
|
426
|
-
drug_id: z.ZodString;
|
|
427
|
-
matched_term: z.ZodOptional<z.ZodString>;
|
|
428
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
429
|
-
kind: z.ZodLiteral<"title_keyword">;
|
|
430
|
-
matched_term: z.ZodString;
|
|
431
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
432
|
-
kind: z.ZodLiteral<"condition_match">;
|
|
433
|
-
matched_term: z.ZodOptional<z.ZodString>;
|
|
434
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
435
|
-
kind: z.ZodLiteral<"manual">;
|
|
436
|
-
}, z.core.$strip>], "kind">;
|
|
437
944
|
}, z.core.$strip>>;
|
|
438
|
-
related_target_trials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
439
|
-
nct_id: z.ZodString;
|
|
440
|
-
title: z.ZodString;
|
|
441
|
-
phase: z.ZodNullable<z.ZodString>;
|
|
442
|
-
status: z.ZodString;
|
|
443
|
-
conditions: z.ZodArray<z.ZodString>;
|
|
444
|
-
start_date: z.ZodNullable<z.ZodString>;
|
|
445
|
-
completion_date: z.ZodNullable<z.ZodString>;
|
|
446
|
-
match_confidence: z.ZodLiteral<"off_target">;
|
|
447
|
-
}, z.core.$strip>>>;
|
|
448
|
-
related_receptor: z.ZodOptional<z.ZodString>;
|
|
449
945
|
}, z.core.$strip>;
|
|
946
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
450
947
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
451
948
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
452
949
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -456,47 +953,40 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
456
953
|
source: z.ZodOptional<z.ZodString>;
|
|
457
954
|
}, z.core.$strip>>;
|
|
458
955
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
956
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
957
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
958
|
+
filter: z.ZodString;
|
|
959
|
+
dropped_count: z.ZodNumber;
|
|
960
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
459
961
|
}, z.core.$strip>, z.ZodObject<{
|
|
460
962
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
461
963
|
reason: z.ZodOptional<z.ZodString>;
|
|
462
964
|
}, z.core.$strip>], "coverage">;
|
|
463
|
-
|
|
965
|
+
trial_aes: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
464
966
|
coverage: z.ZodLiteral<"available">;
|
|
465
967
|
data: z.ZodObject<{
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
"fail-voice": "fail-voice";
|
|
486
|
-
relaxed: "relaxed";
|
|
487
|
-
}>;
|
|
488
|
-
final_coverage: z.ZodEnum<{
|
|
489
|
-
available: "available";
|
|
490
|
-
queried_no_data: "queried_no_data";
|
|
491
|
-
}>;
|
|
492
|
-
error_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
493
|
-
"synthesis-too-shallow": "synthesis-too-shallow";
|
|
494
|
-
"synthesis-unavailable": "synthesis-unavailable";
|
|
495
|
-
"voice-violation": "voice-violation";
|
|
496
|
-
}>>>;
|
|
497
|
-
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
968
|
+
serious: z.ZodArray<z.ZodObject<{
|
|
969
|
+
term: z.ZodString;
|
|
970
|
+
incidence_pct: z.ZodNumber;
|
|
971
|
+
organ: z.ZodOptional<z.ZodString>;
|
|
972
|
+
nct_ids: z.ZodArray<z.ZodString>;
|
|
973
|
+
}, z.core.$strip>>;
|
|
974
|
+
non_serious: z.ZodArray<z.ZodObject<{
|
|
975
|
+
term: z.ZodString;
|
|
976
|
+
incidence_pct: z.ZodNumber;
|
|
977
|
+
organ: z.ZodOptional<z.ZodString>;
|
|
978
|
+
nct_ids: z.ZodArray<z.ZodString>;
|
|
979
|
+
}, z.core.$strip>>;
|
|
980
|
+
non_serious_floor_pct: z.ZodDefault<z.ZodNumber>;
|
|
981
|
+
dropped_uninformative_count: z.ZodOptional<z.ZodNumber>;
|
|
982
|
+
coverage_qualifier: z.ZodOptional<z.ZodObject<{
|
|
983
|
+
trials_queried: z.ZodNumber;
|
|
984
|
+
trials_with_ae_data: z.ZodNumber;
|
|
985
|
+
serious_floor_applied: z.ZodOptional<z.ZodNumber>;
|
|
986
|
+
non_serious_floor_pct_applied: z.ZodOptional<z.ZodNumber>;
|
|
498
987
|
}, z.core.$strip>>;
|
|
499
988
|
}, z.core.$strip>;
|
|
989
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
500
990
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
501
991
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
502
992
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -506,231 +996,163 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
506
996
|
source: z.ZodOptional<z.ZodString>;
|
|
507
997
|
}, z.core.$strip>>;
|
|
508
998
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
999
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1000
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1001
|
+
filter: z.ZodString;
|
|
1002
|
+
dropped_count: z.ZodNumber;
|
|
1003
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
509
1004
|
}, z.core.$strip>, z.ZodObject<{
|
|
510
1005
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
511
1006
|
reason: z.ZodOptional<z.ZodString>;
|
|
512
1007
|
}, z.core.$strip>], "coverage">;
|
|
513
|
-
|
|
1008
|
+
off_target_panel: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
514
1009
|
coverage: z.ZodLiteral<"available">;
|
|
515
1010
|
data: z.ZodObject<{
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
excerpt: z.ZodString;
|
|
542
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
543
|
-
surface: z.ZodLiteral<"direction_mismatch">;
|
|
544
|
-
pmid: z.ZodString;
|
|
545
|
-
excerpt: z.ZodString;
|
|
546
|
-
paper_conclusion_direction: z.ZodOptional<z.ZodEnum<{
|
|
547
|
-
supports: "supports";
|
|
548
|
-
contradicts: "contradicts";
|
|
549
|
-
ambiguous: "ambiguous";
|
|
1011
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1012
|
+
off_target_id: z.ZodNullable<z.ZodString>;
|
|
1013
|
+
off_target_name: z.ZodString;
|
|
1014
|
+
target_class: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
pchembl: z.ZodNumber;
|
|
1016
|
+
is_safety_panel_target: z.ZodBoolean;
|
|
1017
|
+
organ_system: z.ZodNullable<z.ZodEnum<{
|
|
1018
|
+
hematologic: "hematologic";
|
|
1019
|
+
metabolic: "metabolic";
|
|
1020
|
+
immune: "immune";
|
|
1021
|
+
hepatic: "hepatic";
|
|
1022
|
+
musculoskeletal: "musculoskeletal";
|
|
1023
|
+
cns: "cns";
|
|
1024
|
+
renal: "renal";
|
|
1025
|
+
reproductive: "reproductive";
|
|
1026
|
+
respiratory: "respiratory";
|
|
1027
|
+
cardiac: "cardiac";
|
|
1028
|
+
vascular: "vascular";
|
|
1029
|
+
pns: "pns";
|
|
1030
|
+
gi: "gi";
|
|
1031
|
+
pancreas: "pancreas";
|
|
1032
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
1033
|
+
dermatologic: "dermatologic";
|
|
1034
|
+
ocular: "ocular";
|
|
1035
|
+
oncology: "oncology";
|
|
550
1036
|
}>>;
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
evidence_score: z.ZodNumber;
|
|
668
|
-
source_count: z.ZodNumber;
|
|
669
|
-
unique_paper_count: z.ZodNumber;
|
|
670
|
-
sources: z.ZodArray<z.ZodString>;
|
|
671
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
672
|
-
pmid: z.ZodOptional<z.ZodString>;
|
|
673
|
-
doi: z.ZodOptional<z.ZodString>;
|
|
674
|
-
source: z.ZodString;
|
|
675
|
-
predicate: z.ZodOptional<z.ZodString>;
|
|
676
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
677
|
-
strength: z.ZodOptional<z.ZodString>;
|
|
678
|
-
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
679
|
-
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
680
|
-
excerpt: z.ZodOptional<z.ZodString>;
|
|
681
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
682
|
-
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
683
|
-
document: z.ZodString;
|
|
684
|
-
section: z.ZodOptional<z.ZodString>;
|
|
685
|
-
doc_id: z.ZodOptional<z.ZodString>;
|
|
686
|
-
doc_url: z.ZodOptional<z.ZodString>;
|
|
687
|
-
}, z.core.$strip>>;
|
|
688
|
-
}, z.core.$strip>>;
|
|
689
|
-
}, z.core.$strip>>;
|
|
690
|
-
excluded_unsupported_count: z.ZodOptional<z.ZodNumber>;
|
|
691
|
-
unsupported_associations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
692
|
-
disease_id: z.ZodString;
|
|
693
|
-
disease_name: z.ZodString;
|
|
694
|
-
}, z.core.$strip>>>;
|
|
695
|
-
}, z.core.$strip>;
|
|
696
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
697
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
698
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
699
|
-
coverage: z.ZodLiteral<"queried_no_data">;
|
|
700
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
701
|
-
message: z.ZodString;
|
|
702
|
-
source: z.ZodOptional<z.ZodString>;
|
|
703
|
-
}, z.core.$strip>>;
|
|
704
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
705
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
706
|
-
coverage: z.ZodLiteral<"not_loaded">;
|
|
707
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
708
|
-
}, z.core.$strip>], "coverage">;
|
|
709
|
-
clinical_development: z.ZodObject<{
|
|
710
|
-
trials: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
711
|
-
coverage: z.ZodLiteral<"available">;
|
|
712
|
-
data: z.ZodObject<{
|
|
713
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
714
|
-
nct_id: z.ZodString;
|
|
715
|
-
title: z.ZodString;
|
|
716
|
-
phase: z.ZodNullable<z.ZodString>;
|
|
717
|
-
status: z.ZodString;
|
|
718
|
-
conditions: z.ZodArray<z.ZodString>;
|
|
719
|
-
start_date: z.ZodNullable<z.ZodString>;
|
|
720
|
-
completion_date: z.ZodNullable<z.ZodString>;
|
|
721
|
-
match_confidence: z.ZodEnum<{
|
|
722
|
-
high: "high";
|
|
723
|
-
medium: "medium";
|
|
724
|
-
low: "low";
|
|
725
|
-
off_target: "off_target";
|
|
726
|
-
}>;
|
|
727
|
-
}, z.core.$strip>>;
|
|
728
|
-
selection_criteria: z.ZodOptional<z.ZodObject<{
|
|
729
|
-
derived_from: z.ZodOptional<z.ZodString>;
|
|
730
|
-
min_confidence: z.ZodOptional<z.ZodString>;
|
|
731
|
-
excluded_off_target_count: z.ZodOptional<z.ZodNumber>;
|
|
1037
|
+
clinical_consequence: z.ZodNullable<z.ZodString>;
|
|
1038
|
+
selectivity: z.ZodUnion<readonly [z.ZodObject<{
|
|
1039
|
+
vs_primary_potency: z.ZodObject<{
|
|
1040
|
+
primary_pchembl_used: z.ZodNumber;
|
|
1041
|
+
primary_source: z.ZodEnum<{
|
|
1042
|
+
chembl_target_drug_indication: "chembl_target_drug_indication";
|
|
1043
|
+
literature_curated: "literature_curated";
|
|
1044
|
+
}>;
|
|
1045
|
+
fold: z.ZodNumber;
|
|
1046
|
+
log_units: z.ZodNumber;
|
|
1047
|
+
}, z.core.$strip>;
|
|
1048
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1049
|
+
selectivity_unknown: z.ZodLiteral<true>;
|
|
1050
|
+
reason: z.ZodString;
|
|
1051
|
+
}, z.core.$strip>]>;
|
|
1052
|
+
selectivity_window_below_threshold: z.ZodBoolean;
|
|
1053
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
1054
|
+
merged_chembl_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1055
|
+
}, z.core.$strip>>;
|
|
1056
|
+
relationship: z.ZodLiteral<"off_target">;
|
|
1057
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1058
|
+
state: z.ZodLiteral<"scored">;
|
|
1059
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1060
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
source: z.ZodString;
|
|
1064
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1066
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
1068
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
1069
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1071
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
1072
|
+
document: z.ZodString;
|
|
1073
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
}, z.core.$strip>>;
|
|
1077
|
+
}, z.core.$strip>>;
|
|
1078
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1079
|
+
state: z.ZodLiteral<"unknown">;
|
|
1080
|
+
reason: z.ZodString;
|
|
1081
|
+
}, z.core.$strip>], "state">;
|
|
1082
|
+
}, z.core.$strip>>;
|
|
1083
|
+
excluded_rows: z.ZodArray<z.ZodObject<{
|
|
1084
|
+
off_target_id: z.ZodNullable<z.ZodString>;
|
|
1085
|
+
off_target_name: z.ZodString;
|
|
1086
|
+
target_class: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
pchembl: z.ZodNumber;
|
|
1088
|
+
is_safety_panel_target: z.ZodBoolean;
|
|
1089
|
+
organ_system: z.ZodNullable<z.ZodEnum<{
|
|
1090
|
+
hematologic: "hematologic";
|
|
1091
|
+
metabolic: "metabolic";
|
|
1092
|
+
immune: "immune";
|
|
1093
|
+
hepatic: "hepatic";
|
|
1094
|
+
musculoskeletal: "musculoskeletal";
|
|
1095
|
+
cns: "cns";
|
|
1096
|
+
renal: "renal";
|
|
1097
|
+
reproductive: "reproductive";
|
|
1098
|
+
respiratory: "respiratory";
|
|
1099
|
+
cardiac: "cardiac";
|
|
1100
|
+
vascular: "vascular";
|
|
1101
|
+
pns: "pns";
|
|
1102
|
+
gi: "gi";
|
|
1103
|
+
pancreas: "pancreas";
|
|
1104
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
1105
|
+
dermatologic: "dermatologic";
|
|
1106
|
+
ocular: "ocular";
|
|
1107
|
+
oncology: "oncology";
|
|
1108
|
+
}>>;
|
|
1109
|
+
clinical_consequence: z.ZodNullable<z.ZodString>;
|
|
1110
|
+
selectivity: z.ZodUnion<readonly [z.ZodObject<{
|
|
1111
|
+
vs_primary_potency: z.ZodObject<{
|
|
1112
|
+
primary_pchembl_used: z.ZodNumber;
|
|
1113
|
+
primary_source: z.ZodEnum<{
|
|
1114
|
+
chembl_target_drug_indication: "chembl_target_drug_indication";
|
|
1115
|
+
literature_curated: "literature_curated";
|
|
1116
|
+
}>;
|
|
1117
|
+
fold: z.ZodNumber;
|
|
1118
|
+
log_units: z.ZodNumber;
|
|
1119
|
+
}, z.core.$strip>;
|
|
1120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1121
|
+
selectivity_unknown: z.ZodLiteral<true>;
|
|
1122
|
+
reason: z.ZodString;
|
|
1123
|
+
}, z.core.$strip>]>;
|
|
1124
|
+
selectivity_window_below_threshold: z.ZodBoolean;
|
|
1125
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
1126
|
+
merged_chembl_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1127
|
+
}, z.core.$strip>>;
|
|
1128
|
+
relationship: z.ZodEnum<{
|
|
1129
|
+
intended_co_target: "intended_co_target";
|
|
1130
|
+
on_target_self_hit: "on_target_self_hit";
|
|
1131
|
+
obligate_cofactor: "obligate_cofactor";
|
|
1132
|
+
}>;
|
|
1133
|
+
reason: z.ZodString;
|
|
1134
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1135
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
source: z.ZodString;
|
|
1139
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1141
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
1144
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1146
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
1147
|
+
document: z.ZodString;
|
|
1148
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
}, z.core.$strip>>;
|
|
1152
|
+
}, z.core.$strip>>;
|
|
732
1153
|
}, z.core.$strip>>;
|
|
733
1154
|
}, z.core.$strip>;
|
|
1155
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
734
1156
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
735
1157
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
736
1158
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -740,64 +1162,83 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
740
1162
|
source: z.ZodOptional<z.ZodString>;
|
|
741
1163
|
}, z.core.$strip>>;
|
|
742
1164
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1166
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1167
|
+
filter: z.ZodString;
|
|
1168
|
+
dropped_count: z.ZodNumber;
|
|
1169
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
743
1170
|
}, z.core.$strip>, z.ZodObject<{
|
|
744
1171
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
745
1172
|
reason: z.ZodOptional<z.ZodString>;
|
|
746
1173
|
}, z.core.$strip>], "coverage">;
|
|
747
|
-
|
|
1174
|
+
failed_trials_safety_lens: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
748
1175
|
coverage: z.ZodLiteral<"available">;
|
|
749
1176
|
data: z.ZodObject<{
|
|
750
1177
|
rows: z.ZodArray<z.ZodObject<{
|
|
751
1178
|
nct_id: z.ZodString;
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
1179
|
+
title: z.ZodString;
|
|
1180
|
+
why_stopped: z.ZodString;
|
|
1181
|
+
classifier: z.ZodEnum<{
|
|
1182
|
+
rules: "rules";
|
|
1183
|
+
llm: "llm";
|
|
757
1184
|
}>;
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
kind: z.ZodLiteral<"quantitative">;
|
|
762
|
-
value: z.ZodNumber;
|
|
763
|
-
ci_low: z.ZodOptional<z.ZodNumber>;
|
|
764
|
-
ci_high: z.ZodOptional<z.ZodNumber>;
|
|
765
|
-
units: z.ZodString;
|
|
1185
|
+
failure_category: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1186
|
+
category: z.ZodLiteral<"safety">;
|
|
1187
|
+
safety_evidence_excerpt: z.ZodString;
|
|
766
1188
|
}, z.core.$strip>, z.ZodObject<{
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
increase: "increase";
|
|
770
|
-
decrease: "decrease";
|
|
771
|
-
no_change: "no_change";
|
|
772
|
-
}>;
|
|
773
|
-
magnitude_label: z.ZodString;
|
|
1189
|
+
category: z.ZodLiteral<"strategic">;
|
|
1190
|
+
category_evidence_excerpt: z.ZodString;
|
|
774
1191
|
}, z.core.$strip>, z.ZodObject<{
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
1192
|
+
category: z.ZodLiteral<"operational">;
|
|
1193
|
+
category_evidence_excerpt: z.ZodString;
|
|
1194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1195
|
+
category: z.ZodLiteral<"efficacy">;
|
|
1196
|
+
category_evidence_excerpt: z.ZodString;
|
|
1197
|
+
}, z.core.$strip>], "category">;
|
|
1198
|
+
attribution: z.ZodObject<{
|
|
1199
|
+
relationship: z.ZodEnum<{
|
|
1200
|
+
unknown: "unknown";
|
|
1201
|
+
related_family_target: "related_family_target";
|
|
1202
|
+
condition_only: "condition_only";
|
|
1203
|
+
direct_modulator: "direct_modulator";
|
|
1204
|
+
class_modulator: "class_modulator";
|
|
1205
|
+
target_biomarker: "target_biomarker";
|
|
1206
|
+
pathway_biomarker: "pathway_biomarker";
|
|
1207
|
+
unrelated: "unrelated";
|
|
780
1208
|
}>;
|
|
781
|
-
|
|
1209
|
+
evidence_role: z.ZodEnum<{
|
|
1210
|
+
supports_target: "supports_target";
|
|
1211
|
+
contextual: "contextual";
|
|
1212
|
+
excluded: "excluded";
|
|
1213
|
+
}>;
|
|
1214
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
1215
|
+
kind: z.ZodEnum<{
|
|
1216
|
+
mechanism_target_match: "mechanism_target_match";
|
|
1217
|
+
known_class_drug: "known_class_drug";
|
|
1218
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
1219
|
+
related_family_target: "related_family_target";
|
|
1220
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
1221
|
+
condition_only: "condition_only";
|
|
1222
|
+
text_match: "text_match";
|
|
1223
|
+
manual: "manual";
|
|
1224
|
+
}>;
|
|
1225
|
+
source: z.ZodString;
|
|
1226
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1227
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1228
|
+
}, z.core.$strip>>;
|
|
1229
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1230
|
+
name: z.ZodString;
|
|
1231
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1232
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1233
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1234
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1235
|
+
resolver_source: z.ZodString;
|
|
1236
|
+
}, z.core.$strip>>>;
|
|
1237
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
}, z.core.$strip>;
|
|
1239
|
+
eligible_for_toxicology_aggregation: z.ZodBoolean;
|
|
782
1240
|
}, z.core.$strip>>;
|
|
783
|
-
|
|
784
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
785
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
786
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
787
|
-
coverage: z.ZodLiteral<"queried_no_data">;
|
|
788
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
789
|
-
message: z.ZodString;
|
|
790
|
-
source: z.ZodOptional<z.ZodString>;
|
|
791
|
-
}, z.core.$strip>>;
|
|
792
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
793
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
794
|
-
coverage: z.ZodLiteral<"not_loaded">;
|
|
795
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
796
|
-
}, z.core.$strip>], "coverage">;
|
|
797
|
-
failed_trials: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
798
|
-
coverage: z.ZodLiteral<"available">;
|
|
799
|
-
data: z.ZodObject<{
|
|
800
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
1241
|
+
excluded_rows: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
801
1242
|
nct_id: z.ZodString;
|
|
802
1243
|
title: z.ZodString;
|
|
803
1244
|
why_stopped: z.ZodString;
|
|
@@ -818,8 +1259,51 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
818
1259
|
category: z.ZodLiteral<"efficacy">;
|
|
819
1260
|
category_evidence_excerpt: z.ZodString;
|
|
820
1261
|
}, z.core.$strip>], "category">;
|
|
821
|
-
|
|
1262
|
+
attribution: z.ZodObject<{
|
|
1263
|
+
relationship: z.ZodEnum<{
|
|
1264
|
+
unknown: "unknown";
|
|
1265
|
+
related_family_target: "related_family_target";
|
|
1266
|
+
condition_only: "condition_only";
|
|
1267
|
+
direct_modulator: "direct_modulator";
|
|
1268
|
+
class_modulator: "class_modulator";
|
|
1269
|
+
target_biomarker: "target_biomarker";
|
|
1270
|
+
pathway_biomarker: "pathway_biomarker";
|
|
1271
|
+
unrelated: "unrelated";
|
|
1272
|
+
}>;
|
|
1273
|
+
evidence_role: z.ZodEnum<{
|
|
1274
|
+
supports_target: "supports_target";
|
|
1275
|
+
contextual: "contextual";
|
|
1276
|
+
excluded: "excluded";
|
|
1277
|
+
}>;
|
|
1278
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
1279
|
+
kind: z.ZodEnum<{
|
|
1280
|
+
mechanism_target_match: "mechanism_target_match";
|
|
1281
|
+
known_class_drug: "known_class_drug";
|
|
1282
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
1283
|
+
related_family_target: "related_family_target";
|
|
1284
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
1285
|
+
condition_only: "condition_only";
|
|
1286
|
+
text_match: "text_match";
|
|
1287
|
+
manual: "manual";
|
|
1288
|
+
}>;
|
|
1289
|
+
source: z.ZodString;
|
|
1290
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1292
|
+
}, z.core.$strip>>;
|
|
1293
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1294
|
+
name: z.ZodString;
|
|
1295
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1296
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1297
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1298
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1299
|
+
resolver_source: z.ZodString;
|
|
1300
|
+
}, z.core.$strip>>>;
|
|
1301
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
}, z.core.$strip>;
|
|
1303
|
+
eligible_for_toxicology_aggregation: z.ZodBoolean;
|
|
1304
|
+
}, z.core.$strip>>>;
|
|
822
1305
|
}, z.core.$strip>;
|
|
1306
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
823
1307
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
824
1308
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
825
1309
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -829,53 +1313,25 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
829
1313
|
source: z.ZodOptional<z.ZodString>;
|
|
830
1314
|
}, z.core.$strip>>;
|
|
831
1315
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1317
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1318
|
+
filter: z.ZodString;
|
|
1319
|
+
dropped_count: z.ZodNumber;
|
|
1320
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
832
1321
|
}, z.core.$strip>, z.ZodObject<{
|
|
833
1322
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
834
1323
|
reason: z.ZodOptional<z.ZodString>;
|
|
835
1324
|
}, z.core.$strip>], "coverage">;
|
|
836
|
-
|
|
837
|
-
therapeutic_area: z.ZodNullable<z.ZodString>;
|
|
838
|
-
fallback_to_all_areas: z.ZodBoolean;
|
|
839
|
-
phase_transitions: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
840
|
-
likelihood_of_approval: z.ZodNullable<z.ZodNumber>;
|
|
841
|
-
source_attribution: z.ZodString;
|
|
842
|
-
}, z.core.$strip>;
|
|
843
|
-
}, z.core.$strip>;
|
|
844
|
-
safety_profile: z.ZodObject<{
|
|
845
|
-
organ_rollup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1325
|
+
class_precedent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
846
1326
|
coverage: z.ZodLiteral<"available">;
|
|
847
1327
|
data: z.ZodObject<{
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
signals: z.ZodObject<{
|
|
856
|
-
chembl_polypharm_count: z.ZodNumber;
|
|
857
|
-
faers_count: z.ZodNumber;
|
|
858
|
-
trial_ae_count: z.ZodNumber;
|
|
859
|
-
class_liability_present: z.ZodBoolean;
|
|
860
|
-
}, z.core.$strip>;
|
|
861
|
-
evidence: z.ZodArray<z.ZodObject<{
|
|
862
|
-
pmid: z.ZodOptional<z.ZodString>;
|
|
863
|
-
doi: z.ZodOptional<z.ZodString>;
|
|
864
|
-
source: z.ZodString;
|
|
865
|
-
predicate: z.ZodOptional<z.ZodString>;
|
|
866
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
867
|
-
strength: z.ZodOptional<z.ZodString>;
|
|
868
|
-
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
869
|
-
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
870
|
-
excerpt: z.ZodOptional<z.ZodString>;
|
|
871
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
872
|
-
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
873
|
-
document: z.ZodString;
|
|
874
|
-
section: z.ZodOptional<z.ZodString>;
|
|
875
|
-
doc_id: z.ZodOptional<z.ZodString>;
|
|
876
|
-
doc_url: z.ZodOptional<z.ZodString>;
|
|
877
|
-
}, z.core.$strip>>;
|
|
878
|
-
}, z.core.$strip>>;
|
|
1328
|
+
drugs_in_class: z.ZodArray<z.ZodObject<{
|
|
1329
|
+
drug_id: z.ZodNullable<z.ZodString>;
|
|
1330
|
+
drug_name: z.ZodString;
|
|
1331
|
+
max_phase: z.ZodNumber;
|
|
1332
|
+
mechanism: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
}, z.core.$strip>>;
|
|
1334
|
+
per_organ: z.ZodArray<z.ZodObject<{
|
|
879
1335
|
organ: z.ZodEnum<{
|
|
880
1336
|
hematologic: "hematologic";
|
|
881
1337
|
metabolic: "metabolic";
|
|
@@ -887,14 +1343,27 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
887
1343
|
reproductive: "reproductive";
|
|
888
1344
|
respiratory: "respiratory";
|
|
889
1345
|
cardiac: "cardiac";
|
|
1346
|
+
vascular: "vascular";
|
|
1347
|
+
pns: "pns";
|
|
890
1348
|
gi: "gi";
|
|
891
1349
|
pancreas: "pancreas";
|
|
892
1350
|
endocrine_thyroid: "endocrine_thyroid";
|
|
893
1351
|
dermatologic: "dermatologic";
|
|
1352
|
+
ocular: "ocular";
|
|
894
1353
|
oncology: "oncology";
|
|
895
1354
|
}>;
|
|
1355
|
+
drug_count_in_class: z.ZodNumber;
|
|
1356
|
+
drugs_with_signal: z.ZodNumber;
|
|
1357
|
+
signal_fraction: z.ZodNumber;
|
|
1358
|
+
is_class_liability: z.ZodBoolean;
|
|
1359
|
+
suppressed_reason: z.ZodNullable<z.ZodString>;
|
|
1360
|
+
top_aes: z.ZodArray<z.ZodObject<{
|
|
1361
|
+
term: z.ZodString;
|
|
1362
|
+
report_count: z.ZodNumber;
|
|
1363
|
+
}, z.core.$strip>>;
|
|
896
1364
|
}, z.core.$strip>>;
|
|
897
1365
|
}, z.core.$strip>;
|
|
1366
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
898
1367
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
899
1368
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
900
1369
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -904,47 +1373,74 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
904
1373
|
source: z.ZodOptional<z.ZodString>;
|
|
905
1374
|
}, z.core.$strip>>;
|
|
906
1375
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1377
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1378
|
+
filter: z.ZodString;
|
|
1379
|
+
dropped_count: z.ZodNumber;
|
|
1380
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
907
1381
|
}, z.core.$strip>, z.ZodObject<{
|
|
908
1382
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
909
1383
|
reason: z.ZodOptional<z.ZodString>;
|
|
910
1384
|
}, z.core.$strip>], "coverage">;
|
|
911
|
-
|
|
1385
|
+
target_organ_liabilities: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
912
1386
|
coverage: z.ZodLiteral<"available">;
|
|
913
1387
|
data: z.ZodObject<{
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
report_count: z.ZodNumber;
|
|
935
|
-
proportional_reporting_ratio: z.ZodOptional<z.ZodNumber>;
|
|
936
|
-
}, z.core.$strip>>;
|
|
937
|
-
per_modulator: z.ZodArray<z.ZodObject<{
|
|
938
|
-
modulator: z.ZodString;
|
|
939
|
-
modulator_id: z.ZodNullable<z.ZodString>;
|
|
940
|
-
report_count: z.ZodNumber;
|
|
941
|
-
coverage: z.ZodEnum<{
|
|
942
|
-
available: "available";
|
|
943
|
-
queried_no_data: "queried_no_data";
|
|
944
|
-
not_loaded: "not_loaded";
|
|
1388
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1389
|
+
organ: z.ZodEnum<{
|
|
1390
|
+
hematologic: "hematologic";
|
|
1391
|
+
metabolic: "metabolic";
|
|
1392
|
+
immune: "immune";
|
|
1393
|
+
hepatic: "hepatic";
|
|
1394
|
+
musculoskeletal: "musculoskeletal";
|
|
1395
|
+
cns: "cns";
|
|
1396
|
+
renal: "renal";
|
|
1397
|
+
reproductive: "reproductive";
|
|
1398
|
+
respiratory: "respiratory";
|
|
1399
|
+
cardiac: "cardiac";
|
|
1400
|
+
vascular: "vascular";
|
|
1401
|
+
pns: "pns";
|
|
1402
|
+
gi: "gi";
|
|
1403
|
+
pancreas: "pancreas";
|
|
1404
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
1405
|
+
dermatologic: "dermatologic";
|
|
1406
|
+
ocular: "ocular";
|
|
1407
|
+
oncology: "oncology";
|
|
945
1408
|
}>;
|
|
1409
|
+
trail: z.ZodString;
|
|
1410
|
+
mechanism_hypothesis: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1411
|
+
severity: z.ZodEnum<{
|
|
1412
|
+
high: "high";
|
|
1413
|
+
medium: "medium";
|
|
1414
|
+
low: "low";
|
|
1415
|
+
}>;
|
|
1416
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1417
|
+
state: z.ZodLiteral<"scored">;
|
|
1418
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1419
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
1420
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
1421
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1422
|
+
source: z.ZodString;
|
|
1423
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1425
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
1426
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
1427
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
1428
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1429
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1430
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
1431
|
+
document: z.ZodString;
|
|
1432
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
1434
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
}, z.core.$strip>>;
|
|
1436
|
+
}, z.core.$strip>>;
|
|
1437
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1438
|
+
state: z.ZodLiteral<"unknown">;
|
|
1439
|
+
reason: z.ZodString;
|
|
1440
|
+
}, z.core.$strip>], "state">;
|
|
946
1441
|
}, z.core.$strip>>;
|
|
947
1442
|
}, z.core.$strip>;
|
|
1443
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
948
1444
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
949
1445
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
950
1446
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -954,34 +1450,75 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
954
1450
|
source: z.ZodOptional<z.ZodString>;
|
|
955
1451
|
}, z.core.$strip>>;
|
|
956
1452
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1453
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1454
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1455
|
+
filter: z.ZodString;
|
|
1456
|
+
dropped_count: z.ZodNumber;
|
|
1457
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
957
1458
|
}, z.core.$strip>, z.ZodObject<{
|
|
958
1459
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
959
1460
|
reason: z.ZodOptional<z.ZodString>;
|
|
960
1461
|
}, z.core.$strip>], "coverage">;
|
|
961
|
-
|
|
1462
|
+
regulatory_actions: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
962
1463
|
coverage: z.ZodLiteral<"available">;
|
|
963
1464
|
data: z.ZodObject<{
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
1465
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1466
|
+
drug_chembl_id: z.ZodString;
|
|
1467
|
+
drug_name: z.ZodString;
|
|
1468
|
+
agency: z.ZodEnum<{
|
|
1469
|
+
FDA: "FDA";
|
|
1470
|
+
EMA: "EMA";
|
|
1471
|
+
MHRA: "MHRA";
|
|
1472
|
+
PMDA: "PMDA";
|
|
1473
|
+
"Health Canada": "Health Canada";
|
|
1474
|
+
TGA: "TGA";
|
|
1475
|
+
}>;
|
|
1476
|
+
action_kind: z.ZodEnum<{
|
|
1477
|
+
referral: "referral";
|
|
1478
|
+
withdrawal: "withdrawal";
|
|
1479
|
+
indication_restriction: "indication_restriction";
|
|
1480
|
+
REMS: "REMS";
|
|
1481
|
+
black_box: "black_box";
|
|
1482
|
+
DHCP: "DHCP";
|
|
1483
|
+
safety_communication: "safety_communication";
|
|
1484
|
+
label_warning: "label_warning";
|
|
1485
|
+
}>;
|
|
1486
|
+
action_date: z.ZodString;
|
|
1487
|
+
finding: z.ZodString;
|
|
1488
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
source_kind: z.ZodEnum<{
|
|
1490
|
+
boxed_warning: "boxed_warning";
|
|
1491
|
+
rems: "rems";
|
|
1492
|
+
referral: "referral";
|
|
1493
|
+
withdrawal: "withdrawal";
|
|
1494
|
+
safety_communication: "safety_communication";
|
|
1495
|
+
label_warning: "label_warning";
|
|
1496
|
+
}>;
|
|
1497
|
+
application_number: z.ZodOptional<z.ZodString>;
|
|
1498
|
+
label_section: z.ZodOptional<z.ZodString>;
|
|
1499
|
+
source_date: z.ZodOptional<z.ZodString>;
|
|
1500
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1501
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1504
|
+
source: z.ZodString;
|
|
1505
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1507
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
1508
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
1509
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
1510
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1511
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1512
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
1513
|
+
document: z.ZodString;
|
|
1514
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
}, z.core.$strip>>;
|
|
1518
|
+
}, z.core.$strip>>;
|
|
983
1519
|
}, z.core.$strip>>;
|
|
984
1520
|
}, z.core.$strip>;
|
|
1521
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
985
1522
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
986
1523
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
987
1524
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -991,39 +1528,122 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
991
1528
|
source: z.ZodOptional<z.ZodString>;
|
|
992
1529
|
}, z.core.$strip>>;
|
|
993
1530
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1531
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1532
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1533
|
+
filter: z.ZodString;
|
|
1534
|
+
dropped_count: z.ZodNumber;
|
|
1535
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
994
1536
|
}, z.core.$strip>, z.ZodObject<{
|
|
995
1537
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
996
1538
|
reason: z.ZodOptional<z.ZodString>;
|
|
997
|
-
}, z.core.$strip>], "coverage"
|
|
998
|
-
|
|
1539
|
+
}, z.core.$strip>], "coverage">>;
|
|
1540
|
+
regulatory_organ_signals: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
999
1541
|
coverage: z.ZodLiteral<"available">;
|
|
1000
1542
|
data: z.ZodObject<{
|
|
1001
1543
|
rows: z.ZodArray<z.ZodObject<{
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1544
|
+
organ: z.ZodEnum<{
|
|
1545
|
+
hematologic: "hematologic";
|
|
1546
|
+
metabolic: "metabolic";
|
|
1547
|
+
immune: "immune";
|
|
1548
|
+
hepatic: "hepatic";
|
|
1549
|
+
musculoskeletal: "musculoskeletal";
|
|
1550
|
+
cns: "cns";
|
|
1551
|
+
renal: "renal";
|
|
1552
|
+
reproductive: "reproductive";
|
|
1553
|
+
respiratory: "respiratory";
|
|
1554
|
+
cardiac: "cardiac";
|
|
1555
|
+
vascular: "vascular";
|
|
1556
|
+
pns: "pns";
|
|
1557
|
+
gi: "gi";
|
|
1558
|
+
pancreas: "pancreas";
|
|
1559
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
1560
|
+
dermatologic: "dermatologic";
|
|
1561
|
+
ocular: "ocular";
|
|
1562
|
+
oncology: "oncology";
|
|
1563
|
+
}>;
|
|
1564
|
+
drug_name: z.ZodString;
|
|
1565
|
+
agency: z.ZodLiteral<"FDA">;
|
|
1566
|
+
application_number: z.ZodString;
|
|
1567
|
+
label_section: z.ZodString;
|
|
1568
|
+
excerpt: z.ZodString;
|
|
1569
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1570
|
+
state: z.ZodLiteral<"scored">;
|
|
1571
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1572
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
1573
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
source: z.ZodString;
|
|
1576
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1578
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
1580
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
1581
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1583
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
1584
|
+
document: z.ZodString;
|
|
1585
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
1587
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
}, z.core.$strip>>;
|
|
1589
|
+
}, z.core.$strip>>;
|
|
1019
1590
|
}, z.core.$strip>, z.ZodObject<{
|
|
1020
|
-
|
|
1591
|
+
state: z.ZodLiteral<"unknown">;
|
|
1021
1592
|
reason: z.ZodString;
|
|
1022
|
-
}, z.core.$strip>]>;
|
|
1023
|
-
|
|
1024
|
-
|
|
1593
|
+
}, z.core.$strip>], "state">;
|
|
1594
|
+
}, z.core.$strip>>;
|
|
1595
|
+
}, z.core.$strip>;
|
|
1596
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1597
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1599
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1600
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
1601
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
1602
|
+
message: z.ZodString;
|
|
1603
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
}, z.core.$strip>>;
|
|
1605
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1606
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1607
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1608
|
+
filter: z.ZodString;
|
|
1609
|
+
dropped_count: z.ZodNumber;
|
|
1610
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1611
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1612
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
1613
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
}, z.core.$strip>], "coverage">>;
|
|
1615
|
+
}, z.core.$strip>;
|
|
1616
|
+
safety_corroboration: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1617
|
+
coverage: z.ZodLiteral<"available">;
|
|
1618
|
+
data: z.ZodObject<{
|
|
1619
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1620
|
+
organ: z.ZodEnum<{
|
|
1621
|
+
hematologic: "hematologic";
|
|
1622
|
+
metabolic: "metabolic";
|
|
1623
|
+
immune: "immune";
|
|
1624
|
+
hepatic: "hepatic";
|
|
1625
|
+
musculoskeletal: "musculoskeletal";
|
|
1626
|
+
cns: "cns";
|
|
1627
|
+
renal: "renal";
|
|
1628
|
+
reproductive: "reproductive";
|
|
1629
|
+
respiratory: "respiratory";
|
|
1630
|
+
cardiac: "cardiac";
|
|
1631
|
+
vascular: "vascular";
|
|
1632
|
+
pns: "pns";
|
|
1633
|
+
gi: "gi";
|
|
1634
|
+
pancreas: "pancreas";
|
|
1635
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
1636
|
+
dermatologic: "dermatologic";
|
|
1637
|
+
ocular: "ocular";
|
|
1638
|
+
oncology: "oncology";
|
|
1639
|
+
}>;
|
|
1640
|
+
contributions: z.ZodArray<z.ZodObject<{
|
|
1641
|
+
source: z.ZodString;
|
|
1642
|
+
signal: z.ZodString;
|
|
1643
|
+
evidence: z.ZodObject<{
|
|
1025
1644
|
pmid: z.ZodOptional<z.ZodString>;
|
|
1026
1645
|
doi: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1027
1647
|
source: z.ZodString;
|
|
1028
1648
|
predicate: z.ZodOptional<z.ZodString>;
|
|
1029
1649
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1038,38 +1658,16 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1038
1658
|
doc_id: z.ZodOptional<z.ZodString>;
|
|
1039
1659
|
doc_url: z.ZodOptional<z.ZodString>;
|
|
1040
1660
|
}, z.core.$strip>>;
|
|
1041
|
-
}, z.core.$strip
|
|
1042
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
1043
|
-
merged_chembl_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1044
|
-
}, z.core.$strip>>;
|
|
1045
|
-
relationship: z.ZodLiteral<"off_target">;
|
|
1661
|
+
}, z.core.$strip>;
|
|
1046
1662
|
}, z.core.$strip>>;
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
pchembl: z.ZodNumber;
|
|
1052
|
-
is_safety_panel_target: z.ZodBoolean;
|
|
1053
|
-
organ_system: z.ZodNullable<z.ZodString>;
|
|
1054
|
-
clinical_consequence: z.ZodNullable<z.ZodString>;
|
|
1055
|
-
selectivity: z.ZodUnion<readonly [z.ZodObject<{
|
|
1056
|
-
vs_primary_potency: z.ZodObject<{
|
|
1057
|
-
primary_pchembl_used: z.ZodNumber;
|
|
1058
|
-
primary_source: z.ZodEnum<{
|
|
1059
|
-
chembl_target_drug_indication: "chembl_target_drug_indication";
|
|
1060
|
-
literature_curated: "literature_curated";
|
|
1061
|
-
}>;
|
|
1062
|
-
fold: z.ZodNumber;
|
|
1063
|
-
log_units: z.ZodNumber;
|
|
1064
|
-
}, z.core.$strip>;
|
|
1065
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1066
|
-
selectivity_unknown: z.ZodLiteral<true>;
|
|
1067
|
-
reason: z.ZodString;
|
|
1068
|
-
}, z.core.$strip>]>;
|
|
1069
|
-
selectivity_window_below_threshold: z.ZodBoolean;
|
|
1663
|
+
corroborating_sources: z.ZodArray<z.ZodString>;
|
|
1664
|
+
independent_source_count: z.ZodNumber;
|
|
1665
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1666
|
+
state: z.ZodLiteral<"scored">;
|
|
1070
1667
|
evidence: z.ZodArray<z.ZodObject<{
|
|
1071
1668
|
pmid: z.ZodOptional<z.ZodString>;
|
|
1072
1669
|
doi: z.ZodOptional<z.ZodString>;
|
|
1670
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1073
1671
|
source: z.ZodString;
|
|
1074
1672
|
predicate: z.ZodOptional<z.ZodString>;
|
|
1075
1673
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1085,150 +1683,131 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1085
1683
|
doc_url: z.ZodOptional<z.ZodString>;
|
|
1086
1684
|
}, z.core.$strip>>;
|
|
1087
1685
|
}, z.core.$strip>>;
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
}, z.core.$strip>>;
|
|
1091
|
-
relationship: z.ZodEnum<{
|
|
1092
|
-
intended_co_target: "intended_co_target";
|
|
1093
|
-
on_target_self_hit: "on_target_self_hit";
|
|
1094
|
-
obligate_cofactor: "obligate_cofactor";
|
|
1095
|
-
}>;
|
|
1686
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1687
|
+
state: z.ZodLiteral<"unknown">;
|
|
1096
1688
|
reason: z.ZodString;
|
|
1097
|
-
}, z.core.$strip
|
|
1098
|
-
}, z.core.$strip>;
|
|
1099
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
1100
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1102
|
-
coverage: z.ZodLiteral<"queried_no_data">;
|
|
1103
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1104
|
-
message: z.ZodString;
|
|
1105
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1689
|
+
}, z.core.$strip>], "state">;
|
|
1106
1690
|
}, z.core.$strip>>;
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1691
|
+
sources_considered: z.ZodArray<z.ZodString>;
|
|
1692
|
+
min_independent_sources: z.ZodNumber;
|
|
1693
|
+
}, z.core.$strip>;
|
|
1694
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1695
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1696
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1697
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1698
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
1699
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
1700
|
+
message: z.ZodString;
|
|
1701
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1702
|
+
}, z.core.$strip>>;
|
|
1703
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1705
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1706
|
+
filter: z.ZodString;
|
|
1707
|
+
dropped_count: z.ZodNumber;
|
|
1708
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1710
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
1711
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
}, z.core.$strip>], "coverage">;
|
|
1713
|
+
claim_investigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1714
|
+
coverage: z.ZodLiteral<"available">;
|
|
1715
|
+
data: z.ZodObject<{
|
|
1716
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1717
|
+
organ: z.ZodEnum<{
|
|
1718
|
+
hematologic: "hematologic";
|
|
1719
|
+
metabolic: "metabolic";
|
|
1720
|
+
immune: "immune";
|
|
1721
|
+
hepatic: "hepatic";
|
|
1722
|
+
musculoskeletal: "musculoskeletal";
|
|
1723
|
+
cns: "cns";
|
|
1724
|
+
renal: "renal";
|
|
1725
|
+
reproductive: "reproductive";
|
|
1726
|
+
respiratory: "respiratory";
|
|
1727
|
+
cardiac: "cardiac";
|
|
1728
|
+
vascular: "vascular";
|
|
1729
|
+
pns: "pns";
|
|
1730
|
+
gi: "gi";
|
|
1731
|
+
pancreas: "pancreas";
|
|
1732
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
1733
|
+
dermatologic: "dermatologic";
|
|
1734
|
+
ocular: "ocular";
|
|
1735
|
+
oncology: "oncology";
|
|
1736
|
+
}>;
|
|
1737
|
+
mechanism: z.ZodNullable<z.ZodObject<{
|
|
1738
|
+
statement: z.ZodString;
|
|
1739
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1740
|
+
state: z.ZodLiteral<"scored">;
|
|
1741
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1742
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
source: z.ZodString;
|
|
1746
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1748
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
1749
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
1750
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
1751
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1752
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1753
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
1754
|
+
document: z.ZodString;
|
|
1755
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1756
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1758
|
+
}, z.core.$strip>>;
|
|
1759
|
+
}, z.core.$strip>>;
|
|
1132
1760
|
}, z.core.$strip>, z.ZodObject<{
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
}, z.core.$strip>], "
|
|
1136
|
-
}, z.core.$strip>>;
|
|
1137
|
-
}, z.core.$strip>;
|
|
1138
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
1139
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1140
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1141
|
-
coverage: z.ZodLiteral<"queried_no_data">;
|
|
1142
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1143
|
-
message: z.ZodString;
|
|
1144
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1145
|
-
}, z.core.$strip>>;
|
|
1146
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
1147
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1148
|
-
coverage: z.ZodLiteral<"not_loaded">;
|
|
1149
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
1150
|
-
}, z.core.$strip>], "coverage">;
|
|
1151
|
-
class_precedent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1152
|
-
coverage: z.ZodLiteral<"available">;
|
|
1153
|
-
data: z.ZodObject<{
|
|
1154
|
-
drugs_in_class: z.ZodArray<z.ZodObject<{
|
|
1155
|
-
drug_id: z.ZodNullable<z.ZodString>;
|
|
1156
|
-
drug_name: z.ZodString;
|
|
1157
|
-
max_phase: z.ZodNumber;
|
|
1158
|
-
mechanism: z.ZodOptional<z.ZodString>;
|
|
1761
|
+
state: z.ZodLiteral<"unknown">;
|
|
1762
|
+
reason: z.ZodString;
|
|
1763
|
+
}, z.core.$strip>], "state">;
|
|
1159
1764
|
}, z.core.$strip>>;
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1765
|
+
critique: z.ZodNullable<z.ZodObject<{
|
|
1766
|
+
objection: z.ZodString;
|
|
1767
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1768
|
+
state: z.ZodLiteral<"scored">;
|
|
1769
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1770
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1773
|
+
source: z.ZodString;
|
|
1774
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
1775
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1776
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
1777
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
1778
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
1779
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1781
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
1782
|
+
document: z.ZodString;
|
|
1783
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
}, z.core.$strip>>;
|
|
1787
|
+
}, z.core.$strip>>;
|
|
1788
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1789
|
+
state: z.ZodLiteral<"unknown">;
|
|
1790
|
+
reason: z.ZodString;
|
|
1791
|
+
}, z.core.$strip>], "state">;
|
|
1171
1792
|
}, z.core.$strip>>;
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
target_organ_liabilities: z.ZodArray<z.ZodObject<{
|
|
1187
|
-
organ: z.ZodString;
|
|
1188
|
-
trail: z.ZodString;
|
|
1189
|
-
mechanism_hypothesis: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1190
|
-
}, z.core.$strip>>;
|
|
1191
|
-
regulatory_actions: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1192
|
-
coverage: z.ZodLiteral<"available">;
|
|
1193
|
-
data: z.ZodObject<{
|
|
1194
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
1195
|
-
drug_chembl_id: z.ZodString;
|
|
1196
|
-
drug_name: z.ZodString;
|
|
1197
|
-
agency: z.ZodEnum<{
|
|
1198
|
-
FDA: "FDA";
|
|
1199
|
-
EMA: "EMA";
|
|
1200
|
-
MHRA: "MHRA";
|
|
1201
|
-
PMDA: "PMDA";
|
|
1202
|
-
"Health Canada": "Health Canada";
|
|
1203
|
-
TGA: "TGA";
|
|
1204
|
-
}>;
|
|
1205
|
-
action_kind: z.ZodEnum<{
|
|
1206
|
-
referral: "referral";
|
|
1207
|
-
withdrawal: "withdrawal";
|
|
1208
|
-
indication_restriction: "indication_restriction";
|
|
1209
|
-
REMS: "REMS";
|
|
1210
|
-
black_box: "black_box";
|
|
1211
|
-
DHCP: "DHCP";
|
|
1212
|
-
safety_communication: "safety_communication";
|
|
1213
|
-
label_warning: "label_warning";
|
|
1214
|
-
}>;
|
|
1215
|
-
action_date: z.ZodString;
|
|
1216
|
-
finding: z.ZodString;
|
|
1217
|
-
source_url: z.ZodOptional<z.ZodString>;
|
|
1218
|
-
source_kind: z.ZodOptional<z.ZodEnum<{
|
|
1219
|
-
boxed_warning: "boxed_warning";
|
|
1220
|
-
rems: "rems";
|
|
1221
|
-
referral: "referral";
|
|
1222
|
-
withdrawal: "withdrawal";
|
|
1223
|
-
safety_communication: "safety_communication";
|
|
1224
|
-
label_warning: "label_warning";
|
|
1225
|
-
}>>;
|
|
1226
|
-
application_number: z.ZodOptional<z.ZodString>;
|
|
1227
|
-
label_section: z.ZodOptional<z.ZodString>;
|
|
1228
|
-
source_date: z.ZodOptional<z.ZodString>;
|
|
1793
|
+
verdict: z.ZodEnum<{
|
|
1794
|
+
undetermined: "undetermined";
|
|
1795
|
+
upheld: "upheld";
|
|
1796
|
+
weakened: "weakened";
|
|
1797
|
+
overturned: "overturned";
|
|
1798
|
+
}>;
|
|
1799
|
+
rounds_run: z.ZodNumber;
|
|
1800
|
+
convergence: z.ZodEnum<{
|
|
1801
|
+
verdict_terminal: "verdict_terminal";
|
|
1802
|
+
verdict_settled: "verdict_settled";
|
|
1803
|
+
round_bound_reached: "round_bound_reached";
|
|
1804
|
+
}>;
|
|
1805
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1806
|
+
state: z.ZodLiteral<"scored">;
|
|
1229
1807
|
evidence: z.ZodArray<z.ZodObject<{
|
|
1230
1808
|
pmid: z.ZodOptional<z.ZodString>;
|
|
1231
1809
|
doi: z.ZodOptional<z.ZodString>;
|
|
1810
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1232
1811
|
source: z.ZodString;
|
|
1233
1812
|
predicate: z.ZodOptional<z.ZodString>;
|
|
1234
1813
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1244,31 +1823,115 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1244
1823
|
doc_url: z.ZodOptional<z.ZodString>;
|
|
1245
1824
|
}, z.core.$strip>>;
|
|
1246
1825
|
}, z.core.$strip>>;
|
|
1247
|
-
}, z.core.$strip
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1252
|
-
coverage: z.ZodLiteral<"queried_no_data">;
|
|
1253
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1254
|
-
message: z.ZodString;
|
|
1255
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1827
|
+
state: z.ZodLiteral<"unknown">;
|
|
1828
|
+
reason: z.ZodString;
|
|
1829
|
+
}, z.core.$strip>], "state">;
|
|
1256
1830
|
}, z.core.$strip>>;
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1831
|
+
not_investigated: z.ZodArray<z.ZodObject<{
|
|
1832
|
+
organ: z.ZodEnum<{
|
|
1833
|
+
hematologic: "hematologic";
|
|
1834
|
+
metabolic: "metabolic";
|
|
1835
|
+
immune: "immune";
|
|
1836
|
+
hepatic: "hepatic";
|
|
1837
|
+
musculoskeletal: "musculoskeletal";
|
|
1838
|
+
cns: "cns";
|
|
1839
|
+
renal: "renal";
|
|
1840
|
+
reproductive: "reproductive";
|
|
1841
|
+
respiratory: "respiratory";
|
|
1842
|
+
cardiac: "cardiac";
|
|
1843
|
+
vascular: "vascular";
|
|
1844
|
+
pns: "pns";
|
|
1845
|
+
gi: "gi";
|
|
1846
|
+
pancreas: "pancreas";
|
|
1847
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
1848
|
+
dermatologic: "dermatologic";
|
|
1849
|
+
ocular: "ocular";
|
|
1850
|
+
oncology: "oncology";
|
|
1851
|
+
}>;
|
|
1852
|
+
reason: z.ZodEnum<{
|
|
1853
|
+
not_corroborated: "not_corroborated";
|
|
1854
|
+
exceeded_claim_budget: "exceeded_claim_budget";
|
|
1855
|
+
investigation_unavailable: "investigation_unavailable";
|
|
1856
|
+
}>;
|
|
1857
|
+
detail: z.ZodString;
|
|
1858
|
+
}, z.core.$strip>>;
|
|
1859
|
+
round_bound: z.ZodNumber;
|
|
1860
|
+
claim_budget: z.ZodNumber;
|
|
1861
|
+
}, z.core.$strip>;
|
|
1862
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1863
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1864
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1865
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1866
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
1867
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
1868
|
+
message: z.ZodString;
|
|
1869
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1870
|
+
}, z.core.$strip>>;
|
|
1871
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1872
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1873
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1874
|
+
filter: z.ZodString;
|
|
1875
|
+
dropped_count: z.ZodNumber;
|
|
1876
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1877
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1878
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
1879
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
}, z.core.$strip>], "coverage">;
|
|
1263
1881
|
off_tissue_risk: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1264
1882
|
coverage: z.ZodLiteral<"available">;
|
|
1265
1883
|
data: z.ZodObject<{
|
|
1266
1884
|
rows: z.ZodArray<z.ZodObject<{
|
|
1267
1885
|
tissue: z.ZodString;
|
|
1268
|
-
organ: z.
|
|
1886
|
+
organ: z.ZodEnum<{
|
|
1887
|
+
hematologic: "hematologic";
|
|
1888
|
+
metabolic: "metabolic";
|
|
1889
|
+
immune: "immune";
|
|
1890
|
+
hepatic: "hepatic";
|
|
1891
|
+
musculoskeletal: "musculoskeletal";
|
|
1892
|
+
cns: "cns";
|
|
1893
|
+
renal: "renal";
|
|
1894
|
+
reproductive: "reproductive";
|
|
1895
|
+
respiratory: "respiratory";
|
|
1896
|
+
cardiac: "cardiac";
|
|
1897
|
+
vascular: "vascular";
|
|
1898
|
+
pns: "pns";
|
|
1899
|
+
gi: "gi";
|
|
1900
|
+
pancreas: "pancreas";
|
|
1901
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
1902
|
+
dermatologic: "dermatologic";
|
|
1903
|
+
ocular: "ocular";
|
|
1904
|
+
oncology: "oncology";
|
|
1905
|
+
}>;
|
|
1269
1906
|
tpm: z.ZodNumber;
|
|
1907
|
+
support: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1908
|
+
state: z.ZodLiteral<"scored">;
|
|
1909
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1910
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
1911
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
1912
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1913
|
+
source: z.ZodString;
|
|
1914
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1916
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
1918
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
1919
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
1920
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1921
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
1922
|
+
document: z.ZodString;
|
|
1923
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1924
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
1925
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1926
|
+
}, z.core.$strip>>;
|
|
1927
|
+
}, z.core.$strip>>;
|
|
1928
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1929
|
+
state: z.ZodLiteral<"unknown">;
|
|
1930
|
+
reason: z.ZodString;
|
|
1931
|
+
}, z.core.$strip>], "state">;
|
|
1270
1932
|
}, z.core.$strip>>;
|
|
1271
1933
|
}, z.core.$strip>;
|
|
1934
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1272
1935
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1273
1936
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1274
1937
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1278,44 +1941,16 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1278
1941
|
source: z.ZodOptional<z.ZodString>;
|
|
1279
1942
|
}, z.core.$strip>>;
|
|
1280
1943
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1944
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1945
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1946
|
+
filter: z.ZodString;
|
|
1947
|
+
dropped_count: z.ZodNumber;
|
|
1948
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1281
1949
|
}, z.core.$strip>, z.ZodObject<{
|
|
1282
1950
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1283
1951
|
reason: z.ZodOptional<z.ZodString>;
|
|
1284
1952
|
}, z.core.$strip>], "coverage">;
|
|
1285
1953
|
reference_biology: z.ZodObject<{
|
|
1286
|
-
normal_tissue_expression: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1287
|
-
coverage: z.ZodLiteral<"available">;
|
|
1288
|
-
data: z.ZodObject<{
|
|
1289
|
-
source: z.ZodEnum<{
|
|
1290
|
-
gtex: "gtex";
|
|
1291
|
-
hpa_consensus: "hpa_consensus";
|
|
1292
|
-
hpa_rna_tissue: "hpa_rna_tissue";
|
|
1293
|
-
}>;
|
|
1294
|
-
unit: z.ZodEnum<{
|
|
1295
|
-
tpm: "tpm";
|
|
1296
|
-
ntpm: "ntpm";
|
|
1297
|
-
consensus_normalized: "consensus_normalized";
|
|
1298
|
-
}>;
|
|
1299
|
-
normalization_notes: z.ZodString;
|
|
1300
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
1301
|
-
tissue: z.ZodString;
|
|
1302
|
-
value: z.ZodNumber;
|
|
1303
|
-
percentile_rank: z.ZodOptional<z.ZodNumber>;
|
|
1304
|
-
}, z.core.$strip>>;
|
|
1305
|
-
}, z.core.$strip>;
|
|
1306
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
1307
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1308
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1309
|
-
coverage: z.ZodLiteral<"queried_no_data">;
|
|
1310
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1311
|
-
message: z.ZodString;
|
|
1312
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1313
|
-
}, z.core.$strip>>;
|
|
1314
|
-
inference_path: z.ZodOptional<z.ZodString>;
|
|
1315
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1316
|
-
coverage: z.ZodLiteral<"not_loaded">;
|
|
1317
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
1318
|
-
}, z.core.$strip>], "coverage">;
|
|
1319
1954
|
therapeutic_area_associations: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1320
1955
|
coverage: z.ZodLiteral<"available">;
|
|
1321
1956
|
data: z.ZodObject<{
|
|
@@ -1329,6 +1964,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1329
1964
|
evidence: z.ZodArray<z.ZodObject<{
|
|
1330
1965
|
pmid: z.ZodOptional<z.ZodString>;
|
|
1331
1966
|
doi: z.ZodOptional<z.ZodString>;
|
|
1967
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1332
1968
|
source: z.ZodString;
|
|
1333
1969
|
predicate: z.ZodOptional<z.ZodString>;
|
|
1334
1970
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1346,6 +1982,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1346
1982
|
}, z.core.$strip>>;
|
|
1347
1983
|
}, z.core.$strip>>;
|
|
1348
1984
|
}, z.core.$strip>;
|
|
1985
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1349
1986
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1350
1987
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1351
1988
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1355,6 +1992,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1355
1992
|
source: z.ZodOptional<z.ZodString>;
|
|
1356
1993
|
}, z.core.$strip>>;
|
|
1357
1994
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1995
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1996
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
1997
|
+
filter: z.ZodString;
|
|
1998
|
+
dropped_count: z.ZodNumber;
|
|
1999
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1358
2000
|
}, z.core.$strip>, z.ZodObject<{
|
|
1359
2001
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1360
2002
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1372,6 +2014,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1372
2014
|
evidence: z.ZodArray<z.ZodObject<{
|
|
1373
2015
|
pmid: z.ZodOptional<z.ZodString>;
|
|
1374
2016
|
doi: z.ZodOptional<z.ZodString>;
|
|
2017
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1375
2018
|
source: z.ZodString;
|
|
1376
2019
|
predicate: z.ZodOptional<z.ZodString>;
|
|
1377
2020
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1389,6 +2032,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1389
2032
|
}, z.core.$strip>>;
|
|
1390
2033
|
}, z.core.$strip>>;
|
|
1391
2034
|
}, z.core.$strip>;
|
|
2035
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1392
2036
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1393
2037
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1394
2038
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1398,6 +2042,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1398
2042
|
source: z.ZodOptional<z.ZodString>;
|
|
1399
2043
|
}, z.core.$strip>>;
|
|
1400
2044
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2045
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2046
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2047
|
+
filter: z.ZodString;
|
|
2048
|
+
dropped_count: z.ZodNumber;
|
|
2049
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1401
2050
|
}, z.core.$strip>, z.ZodObject<{
|
|
1402
2051
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1403
2052
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1415,6 +2064,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1415
2064
|
evidence: z.ZodArray<z.ZodObject<{
|
|
1416
2065
|
pmid: z.ZodOptional<z.ZodString>;
|
|
1417
2066
|
doi: z.ZodOptional<z.ZodString>;
|
|
2067
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1418
2068
|
source: z.ZodString;
|
|
1419
2069
|
predicate: z.ZodOptional<z.ZodString>;
|
|
1420
2070
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1438,6 +2088,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1438
2088
|
}, z.core.$strip>;
|
|
1439
2089
|
}, z.core.$strip>>;
|
|
1440
2090
|
}, z.core.$strip>;
|
|
2091
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1441
2092
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1442
2093
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1443
2094
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1447,6 +2098,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1447
2098
|
source: z.ZodOptional<z.ZodString>;
|
|
1448
2099
|
}, z.core.$strip>>;
|
|
1449
2100
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2102
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2103
|
+
filter: z.ZodString;
|
|
2104
|
+
dropped_count: z.ZodNumber;
|
|
2105
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1450
2106
|
}, z.core.$strip>, z.ZodObject<{
|
|
1451
2107
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1452
2108
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1464,6 +2120,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1464
2120
|
source: z.ZodString;
|
|
1465
2121
|
}, z.core.$strip>>;
|
|
1466
2122
|
}, z.core.$strip>;
|
|
2123
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1467
2124
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1468
2125
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1469
2126
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1473,6 +2130,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1473
2130
|
source: z.ZodOptional<z.ZodString>;
|
|
1474
2131
|
}, z.core.$strip>>;
|
|
1475
2132
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2134
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2135
|
+
filter: z.ZodString;
|
|
2136
|
+
dropped_count: z.ZodNumber;
|
|
2137
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1476
2138
|
}, z.core.$strip>, z.ZodObject<{
|
|
1477
2139
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1478
2140
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1488,6 +2150,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1488
2150
|
review_status: z.ZodString;
|
|
1489
2151
|
}, z.core.$strip>>;
|
|
1490
2152
|
}, z.core.$strip>;
|
|
2153
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1491
2154
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1492
2155
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1493
2156
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1497,6 +2160,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1497
2160
|
source: z.ZodOptional<z.ZodString>;
|
|
1498
2161
|
}, z.core.$strip>>;
|
|
1499
2162
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2164
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2165
|
+
filter: z.ZodString;
|
|
2166
|
+
dropped_count: z.ZodNumber;
|
|
2167
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1500
2168
|
}, z.core.$strip>, z.ZodObject<{
|
|
1501
2169
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1502
2170
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1515,6 +2183,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1515
2183
|
evidence: z.ZodArray<z.ZodObject<{
|
|
1516
2184
|
pmid: z.ZodOptional<z.ZodString>;
|
|
1517
2185
|
doi: z.ZodOptional<z.ZodString>;
|
|
2186
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1518
2187
|
source: z.ZodString;
|
|
1519
2188
|
predicate: z.ZodOptional<z.ZodString>;
|
|
1520
2189
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1532,6 +2201,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1532
2201
|
}, z.core.$strip>>;
|
|
1533
2202
|
}, z.core.$strip>>;
|
|
1534
2203
|
}, z.core.$strip>;
|
|
2204
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1535
2205
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1536
2206
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1537
2207
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1541,6 +2211,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1541
2211
|
source: z.ZodOptional<z.ZodString>;
|
|
1542
2212
|
}, z.core.$strip>>;
|
|
1543
2213
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2214
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2215
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2216
|
+
filter: z.ZodString;
|
|
2217
|
+
dropped_count: z.ZodNumber;
|
|
2218
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1544
2219
|
}, z.core.$strip>, z.ZodObject<{
|
|
1545
2220
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1546
2221
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1558,6 +2233,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1558
2233
|
evidence: z.ZodArray<z.ZodObject<{
|
|
1559
2234
|
pmid: z.ZodOptional<z.ZodString>;
|
|
1560
2235
|
doi: z.ZodOptional<z.ZodString>;
|
|
2236
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
1561
2237
|
source: z.ZodString;
|
|
1562
2238
|
predicate: z.ZodOptional<z.ZodString>;
|
|
1563
2239
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1575,6 +2251,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1575
2251
|
}, z.core.$strip>>;
|
|
1576
2252
|
}, z.core.$strip>>;
|
|
1577
2253
|
}, z.core.$strip>;
|
|
2254
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1578
2255
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1579
2256
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1580
2257
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1584,6 +2261,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1584
2261
|
source: z.ZodOptional<z.ZodString>;
|
|
1585
2262
|
}, z.core.$strip>>;
|
|
1586
2263
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2265
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2266
|
+
filter: z.ZodString;
|
|
2267
|
+
dropped_count: z.ZodNumber;
|
|
2268
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1587
2269
|
}, z.core.$strip>, z.ZodObject<{
|
|
1588
2270
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1589
2271
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1607,6 +2289,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1607
2289
|
databases_queried: z.ZodArray<z.ZodString>;
|
|
1608
2290
|
databases_skipped: z.ZodArray<z.ZodString>;
|
|
1609
2291
|
}, z.core.$strip>;
|
|
2292
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1610
2293
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1611
2294
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1612
2295
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1616,6 +2299,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1616
2299
|
source: z.ZodOptional<z.ZodString>;
|
|
1617
2300
|
}, z.core.$strip>>;
|
|
1618
2301
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2303
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2304
|
+
filter: z.ZodString;
|
|
2305
|
+
dropped_count: z.ZodNumber;
|
|
2306
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1619
2307
|
}, z.core.$strip>, z.ZodObject<{
|
|
1620
2308
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1621
2309
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1634,6 +2322,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1634
2322
|
has_clinical_evidence: z.ZodBoolean;
|
|
1635
2323
|
}, z.core.$strip>>;
|
|
1636
2324
|
}, z.core.$strip>;
|
|
2325
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1637
2326
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1638
2327
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1639
2328
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1643,40 +2332,105 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1643
2332
|
source: z.ZodOptional<z.ZodString>;
|
|
1644
2333
|
}, z.core.$strip>>;
|
|
1645
2334
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2335
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2336
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2337
|
+
filter: z.ZodString;
|
|
2338
|
+
dropped_count: z.ZodNumber;
|
|
2339
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1646
2340
|
}, z.core.$strip>, z.ZodObject<{
|
|
1647
2341
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1648
2342
|
reason: z.ZodOptional<z.ZodString>;
|
|
1649
2343
|
}, z.core.$strip>], "coverage">;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
2344
|
+
normal_tissue_expression: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2345
|
+
coverage: z.ZodLiteral<"available">;
|
|
2346
|
+
data: z.ZodObject<{
|
|
2347
|
+
source: z.ZodEnum<{
|
|
2348
|
+
gtex: "gtex";
|
|
2349
|
+
hpa_consensus: "hpa_consensus";
|
|
2350
|
+
hpa_rna_tissue: "hpa_rna_tissue";
|
|
2351
|
+
}>;
|
|
2352
|
+
unit: z.ZodEnum<{
|
|
2353
|
+
tpm: "tpm";
|
|
2354
|
+
ntpm: "ntpm";
|
|
2355
|
+
consensus_normalized: "consensus_normalized";
|
|
2356
|
+
}>;
|
|
2357
|
+
normalization_notes: z.ZodString;
|
|
2358
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
2359
|
+
tissue: z.ZodString;
|
|
2360
|
+
value: z.ZodNumber;
|
|
2361
|
+
percentile_rank: z.ZodOptional<z.ZodNumber>;
|
|
2362
|
+
}, z.core.$strip>>;
|
|
2363
|
+
}, z.core.$strip>;
|
|
2364
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
2365
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2366
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2368
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
2369
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2370
|
+
message: z.ZodString;
|
|
2371
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2372
|
+
}, z.core.$strip>>;
|
|
2373
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2375
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2376
|
+
filter: z.ZodString;
|
|
2377
|
+
dropped_count: z.ZodNumber;
|
|
2378
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2379
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2380
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
2381
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2382
|
+
}, z.core.$strip>], "coverage">;
|
|
2383
|
+
preclinical: z.ZodObject<{
|
|
2384
|
+
ko_phenotype: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2385
|
+
coverage: z.ZodLiteral<"available">;
|
|
2386
|
+
data: z.ZodObject<{
|
|
2387
|
+
marker_symbol: z.ZodNullable<z.ZodString>;
|
|
2388
|
+
viability: z.ZodNullable<z.ZodString>;
|
|
2389
|
+
sex_dimorphism: z.ZodBoolean;
|
|
2390
|
+
organ_systems_with_phenotype: z.ZodArray<z.ZodEnum<{
|
|
2391
|
+
hematologic: "hematologic";
|
|
2392
|
+
metabolic: "metabolic";
|
|
2393
|
+
immune: "immune";
|
|
2394
|
+
hepatic: "hepatic";
|
|
2395
|
+
musculoskeletal: "musculoskeletal";
|
|
2396
|
+
cns: "cns";
|
|
2397
|
+
renal: "renal";
|
|
2398
|
+
reproductive: "reproductive";
|
|
2399
|
+
respiratory: "respiratory";
|
|
2400
|
+
cardiac: "cardiac";
|
|
2401
|
+
vascular: "vascular";
|
|
2402
|
+
pns: "pns";
|
|
2403
|
+
gi: "gi";
|
|
2404
|
+
pancreas: "pancreas";
|
|
2405
|
+
endocrine_thyroid: "endocrine_thyroid";
|
|
2406
|
+
dermatologic: "dermatologic";
|
|
2407
|
+
ocular: "ocular";
|
|
2408
|
+
oncology: "oncology";
|
|
2409
|
+
}>>;
|
|
2410
|
+
top_mp_terms: z.ZodArray<z.ZodString>;
|
|
2411
|
+
total_phenotype_count: z.ZodNumber;
|
|
2412
|
+
pre_weaning_lethal: z.ZodBoolean;
|
|
2413
|
+
supporting_literature: z.ZodArray<z.ZodObject<{
|
|
2414
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
2415
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
2417
|
+
source: z.ZodString;
|
|
2418
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
2419
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2420
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
2421
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
2422
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
2423
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
2424
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2425
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
2426
|
+
document: z.ZodString;
|
|
2427
|
+
section: z.ZodOptional<z.ZodString>;
|
|
2428
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
2429
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
1677
2430
|
}, z.core.$strip>>;
|
|
1678
2431
|
}, z.core.$strip>>;
|
|
1679
2432
|
}, z.core.$strip>;
|
|
2433
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1680
2434
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1681
2435
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1682
2436
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1686,6 +2440,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1686
2440
|
source: z.ZodOptional<z.ZodString>;
|
|
1687
2441
|
}, z.core.$strip>>;
|
|
1688
2442
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2444
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2445
|
+
filter: z.ZodString;
|
|
2446
|
+
dropped_count: z.ZodNumber;
|
|
2447
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1689
2448
|
}, z.core.$strip>, z.ZodObject<{
|
|
1690
2449
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1691
2450
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1715,8 +2474,10 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1715
2474
|
available: "available";
|
|
1716
2475
|
queried_no_data: "queried_no_data";
|
|
1717
2476
|
not_loaded: "not_loaded";
|
|
2477
|
+
filtered: "filtered";
|
|
1718
2478
|
}>>;
|
|
1719
2479
|
}, z.core.$strip>;
|
|
2480
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1720
2481
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1721
2482
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1722
2483
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1726,6 +2487,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1726
2487
|
source: z.ZodOptional<z.ZodString>;
|
|
1727
2488
|
}, z.core.$strip>>;
|
|
1728
2489
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2490
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2491
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2492
|
+
filter: z.ZodString;
|
|
2493
|
+
dropped_count: z.ZodNumber;
|
|
2494
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1729
2495
|
}, z.core.$strip>, z.ZodObject<{
|
|
1730
2496
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1731
2497
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1744,6 +2510,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1744
2510
|
text: z.ZodString;
|
|
1745
2511
|
}, z.core.$strip>>;
|
|
1746
2512
|
}, z.core.$strip>;
|
|
2513
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1747
2514
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1748
2515
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1749
2516
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1753,6 +2520,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1753
2520
|
source: z.ZodOptional<z.ZodString>;
|
|
1754
2521
|
}, z.core.$strip>>;
|
|
1755
2522
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2524
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2525
|
+
filter: z.ZodString;
|
|
2526
|
+
dropped_count: z.ZodNumber;
|
|
2527
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1756
2528
|
}, z.core.$strip>, z.ZodObject<{
|
|
1757
2529
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1758
2530
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1770,6 +2542,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1770
2542
|
total_claim_count: z.ZodNumber;
|
|
1771
2543
|
truncated: z.ZodBoolean;
|
|
1772
2544
|
}, z.core.$strip>;
|
|
2545
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1773
2546
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1774
2547
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1775
2548
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1779,6 +2552,11 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1779
2552
|
source: z.ZodOptional<z.ZodString>;
|
|
1780
2553
|
}, z.core.$strip>>;
|
|
1781
2554
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2555
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2556
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2557
|
+
filter: z.ZodString;
|
|
2558
|
+
dropped_count: z.ZodNumber;
|
|
2559
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1782
2560
|
}, z.core.$strip>, z.ZodObject<{
|
|
1783
2561
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1784
2562
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1795,11 +2573,13 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1795
2573
|
available: "available";
|
|
1796
2574
|
queried_no_data: "queried_no_data";
|
|
1797
2575
|
not_loaded: "not_loaded";
|
|
2576
|
+
filtered: "filtered";
|
|
1798
2577
|
}>;
|
|
1799
2578
|
literature: z.ZodEnum<{
|
|
1800
2579
|
available: "available";
|
|
1801
2580
|
queried_no_data: "queried_no_data";
|
|
1802
2581
|
not_loaded: "not_loaded";
|
|
2582
|
+
filtered: "filtered";
|
|
1803
2583
|
}>;
|
|
1804
2584
|
per_species: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
1805
2585
|
}, z.core.$strip>;
|
|
@@ -1814,6 +2594,7 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1814
2594
|
year: z.ZodOptional<z.ZodNumber>;
|
|
1815
2595
|
}, z.core.$strip>>;
|
|
1816
2596
|
}, z.core.$strip>;
|
|
2597
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
1817
2598
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
1818
2599
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1819
2600
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1823,11 +2604,570 @@ export declare const Phase4OutputSchema: z.ZodObject<{
|
|
|
1823
2604
|
source: z.ZodOptional<z.ZodString>;
|
|
1824
2605
|
}, z.core.$strip>>;
|
|
1825
2606
|
inference_path: z.ZodOptional<z.ZodString>;
|
|
2607
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2608
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2609
|
+
filter: z.ZodString;
|
|
2610
|
+
dropped_count: z.ZodNumber;
|
|
2611
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
1826
2612
|
}, z.core.$strip>, z.ZodObject<{
|
|
1827
2613
|
coverage: z.ZodLiteral<"not_loaded">;
|
|
1828
2614
|
reason: z.ZodOptional<z.ZodString>;
|
|
1829
2615
|
}, z.core.$strip>], "coverage">;
|
|
1830
2616
|
}, z.core.$strip>;
|
|
2617
|
+
analytics: z.ZodObject<{
|
|
2618
|
+
evidence_conflicts: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2619
|
+
coverage: z.ZodLiteral<"available">;
|
|
2620
|
+
data: z.ZodObject<{
|
|
2621
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
2622
|
+
evidence_item_id: z.ZodString;
|
|
2623
|
+
predicate: z.ZodString;
|
|
2624
|
+
contradicting_predicates: z.ZodArray<z.ZodString>;
|
|
2625
|
+
surfaced_in_section: z.ZodString;
|
|
2626
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
2627
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
2628
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
source: z.ZodString;
|
|
2631
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
2632
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2633
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
2634
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
2635
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
2636
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
2637
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2638
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
2639
|
+
document: z.ZodString;
|
|
2640
|
+
section: z.ZodOptional<z.ZodString>;
|
|
2641
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
2642
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
2643
|
+
}, z.core.$strip>>;
|
|
2644
|
+
}, z.core.$strip>>;
|
|
2645
|
+
}, z.core.$strip>>;
|
|
2646
|
+
}, z.core.$strip>;
|
|
2647
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
2648
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2650
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2651
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
2652
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2653
|
+
message: z.ZodString;
|
|
2654
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2655
|
+
}, z.core.$strip>>;
|
|
2656
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2657
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2658
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2659
|
+
filter: z.ZodString;
|
|
2660
|
+
dropped_count: z.ZodNumber;
|
|
2661
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2662
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2663
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
2664
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2665
|
+
}, z.core.$strip>], "coverage">;
|
|
2666
|
+
evidence_timeline: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2667
|
+
coverage: z.ZodLiteral<"available">;
|
|
2668
|
+
data: z.ZodObject<{
|
|
2669
|
+
histogram: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2670
|
+
first_reported_year: z.ZodNullable<z.ZodNumber>;
|
|
2671
|
+
last_reported_year: z.ZodNullable<z.ZodNumber>;
|
|
2672
|
+
trend_labels: z.ZodArray<z.ZodString>;
|
|
2673
|
+
}, z.core.$strip>;
|
|
2674
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
2675
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2676
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2677
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2678
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
2679
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2680
|
+
message: z.ZodString;
|
|
2681
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2682
|
+
}, z.core.$strip>>;
|
|
2683
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2684
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2685
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2686
|
+
filter: z.ZodString;
|
|
2687
|
+
dropped_count: z.ZodNumber;
|
|
2688
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2689
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2690
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
2691
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
}, z.core.$strip>], "coverage">;
|
|
2693
|
+
translational_chain: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2694
|
+
coverage: z.ZodLiteral<"available">;
|
|
2695
|
+
data: z.ZodObject<{
|
|
2696
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
2697
|
+
tier: z.ZodEnum<{
|
|
2698
|
+
computational: "computational";
|
|
2699
|
+
basic_in_vitro: "basic_in_vitro";
|
|
2700
|
+
complex_in_vitro: "complex_in_vitro";
|
|
2701
|
+
in_vivo_animal: "in_vivo_animal";
|
|
2702
|
+
ex_vivo_human: "ex_vivo_human";
|
|
2703
|
+
clinical: "clinical";
|
|
2704
|
+
}>;
|
|
2705
|
+
claim_count: z.ZodNumber;
|
|
2706
|
+
paper_count: z.ZodNumber;
|
|
2707
|
+
}, z.core.$strip>>;
|
|
2708
|
+
peak_evidence_tier: z.ZodNullable<z.ZodEnum<{
|
|
2709
|
+
computational: "computational";
|
|
2710
|
+
basic_in_vitro: "basic_in_vitro";
|
|
2711
|
+
complex_in_vitro: "complex_in_vitro";
|
|
2712
|
+
in_vivo_animal: "in_vivo_animal";
|
|
2713
|
+
ex_vivo_human: "ex_vivo_human";
|
|
2714
|
+
clinical: "clinical";
|
|
2715
|
+
}>>;
|
|
2716
|
+
progression_complete: z.ZodBoolean;
|
|
2717
|
+
weakest_progression_gap: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2718
|
+
computational: "computational";
|
|
2719
|
+
basic_in_vitro: "basic_in_vitro";
|
|
2720
|
+
complex_in_vitro: "complex_in_vitro";
|
|
2721
|
+
in_vivo_animal: "in_vivo_animal";
|
|
2722
|
+
ex_vivo_human: "ex_vivo_human";
|
|
2723
|
+
clinical: "clinical";
|
|
2724
|
+
}>>>;
|
|
2725
|
+
}, z.core.$strip>;
|
|
2726
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
2727
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2728
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2729
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2730
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
2731
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2732
|
+
message: z.ZodString;
|
|
2733
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2734
|
+
}, z.core.$strip>>;
|
|
2735
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2736
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2737
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2738
|
+
filter: z.ZodString;
|
|
2739
|
+
dropped_count: z.ZodNumber;
|
|
2740
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2741
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2742
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
2743
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2744
|
+
}, z.core.$strip>], "coverage">;
|
|
2745
|
+
additional_evidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2746
|
+
coverage: z.ZodLiteral<"available">;
|
|
2747
|
+
data: z.ZodObject<{
|
|
2748
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
2749
|
+
predicate: z.ZodString;
|
|
2750
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
2751
|
+
pmid: z.ZodOptional<z.ZodString>;
|
|
2752
|
+
doi: z.ZodOptional<z.ZodString>;
|
|
2753
|
+
accession: z.ZodOptional<z.ZodString>;
|
|
2754
|
+
source: z.ZodString;
|
|
2755
|
+
predicate: z.ZodOptional<z.ZodString>;
|
|
2756
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2757
|
+
strength: z.ZodOptional<z.ZodString>;
|
|
2758
|
+
is_human: z.ZodOptional<z.ZodBoolean>;
|
|
2759
|
+
is_clinical: z.ZodOptional<z.ZodBoolean>;
|
|
2760
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
2761
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2762
|
+
regulatory_reference: z.ZodOptional<z.ZodObject<{
|
|
2763
|
+
document: z.ZodString;
|
|
2764
|
+
section: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
doc_id: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
doc_url: z.ZodOptional<z.ZodString>;
|
|
2767
|
+
}, z.core.$strip>>;
|
|
2768
|
+
}, z.core.$strip>>;
|
|
2769
|
+
}, z.core.$strip>>;
|
|
2770
|
+
score_floor: z.ZodNumber;
|
|
2771
|
+
}, z.core.$strip>;
|
|
2772
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
2773
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2774
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2775
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2776
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
2777
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2778
|
+
message: z.ZodString;
|
|
2779
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2780
|
+
}, z.core.$strip>>;
|
|
2781
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2783
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2784
|
+
filter: z.ZodString;
|
|
2785
|
+
dropped_count: z.ZodNumber;
|
|
2786
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2787
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2788
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
2789
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2790
|
+
}, z.core.$strip>], "coverage">;
|
|
2791
|
+
discovery_trials: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2792
|
+
coverage: z.ZodLiteral<"available">;
|
|
2793
|
+
data: z.ZodObject<{
|
|
2794
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
2795
|
+
nct_id: z.ZodString;
|
|
2796
|
+
title: z.ZodString;
|
|
2797
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2798
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
conditions: z.ZodArray<z.ZodString>;
|
|
2800
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
2801
|
+
completion_date: z.ZodOptional<z.ZodString>;
|
|
2802
|
+
match_confidence: z.ZodEnum<{
|
|
2803
|
+
high: "high";
|
|
2804
|
+
medium: "medium";
|
|
2805
|
+
low: "low";
|
|
2806
|
+
}>;
|
|
2807
|
+
relevance_basis: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2808
|
+
kind: z.ZodLiteral<"drug_in_class_match">;
|
|
2809
|
+
drug_id: z.ZodString;
|
|
2810
|
+
matched_term: z.ZodOptional<z.ZodString>;
|
|
2811
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2812
|
+
kind: z.ZodLiteral<"title_keyword">;
|
|
2813
|
+
matched_term: z.ZodString;
|
|
2814
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2815
|
+
kind: z.ZodLiteral<"condition_match">;
|
|
2816
|
+
matched_term: z.ZodOptional<z.ZodString>;
|
|
2817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2818
|
+
kind: z.ZodLiteral<"manual">;
|
|
2819
|
+
}, z.core.$strip>], "kind">;
|
|
2820
|
+
attribution: z.ZodObject<{
|
|
2821
|
+
relationship: z.ZodEnum<{
|
|
2822
|
+
unknown: "unknown";
|
|
2823
|
+
related_family_target: "related_family_target";
|
|
2824
|
+
condition_only: "condition_only";
|
|
2825
|
+
direct_modulator: "direct_modulator";
|
|
2826
|
+
class_modulator: "class_modulator";
|
|
2827
|
+
target_biomarker: "target_biomarker";
|
|
2828
|
+
pathway_biomarker: "pathway_biomarker";
|
|
2829
|
+
unrelated: "unrelated";
|
|
2830
|
+
}>;
|
|
2831
|
+
evidence_role: z.ZodEnum<{
|
|
2832
|
+
supports_target: "supports_target";
|
|
2833
|
+
contextual: "contextual";
|
|
2834
|
+
excluded: "excluded";
|
|
2835
|
+
}>;
|
|
2836
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
2837
|
+
kind: z.ZodEnum<{
|
|
2838
|
+
mechanism_target_match: "mechanism_target_match";
|
|
2839
|
+
known_class_drug: "known_class_drug";
|
|
2840
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
2841
|
+
related_family_target: "related_family_target";
|
|
2842
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
2843
|
+
condition_only: "condition_only";
|
|
2844
|
+
text_match: "text_match";
|
|
2845
|
+
manual: "manual";
|
|
2846
|
+
}>;
|
|
2847
|
+
source: z.ZodString;
|
|
2848
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
2849
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2850
|
+
}, z.core.$strip>>;
|
|
2851
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2852
|
+
name: z.ZodString;
|
|
2853
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2854
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2855
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2856
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2857
|
+
resolver_source: z.ZodString;
|
|
2858
|
+
}, z.core.$strip>>>;
|
|
2859
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
}, z.core.$strip>;
|
|
2861
|
+
eligible_for_toxicology_aggregation: z.ZodBoolean;
|
|
2862
|
+
}, z.core.$strip>>;
|
|
2863
|
+
excluded_rows: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2864
|
+
nct_id: z.ZodString;
|
|
2865
|
+
title: z.ZodString;
|
|
2866
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2867
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
conditions: z.ZodArray<z.ZodString>;
|
|
2869
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
completion_date: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
match_confidence: z.ZodEnum<{
|
|
2872
|
+
high: "high";
|
|
2873
|
+
medium: "medium";
|
|
2874
|
+
low: "low";
|
|
2875
|
+
}>;
|
|
2876
|
+
relevance_basis: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2877
|
+
kind: z.ZodLiteral<"drug_in_class_match">;
|
|
2878
|
+
drug_id: z.ZodString;
|
|
2879
|
+
matched_term: z.ZodOptional<z.ZodString>;
|
|
2880
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2881
|
+
kind: z.ZodLiteral<"title_keyword">;
|
|
2882
|
+
matched_term: z.ZodString;
|
|
2883
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2884
|
+
kind: z.ZodLiteral<"condition_match">;
|
|
2885
|
+
matched_term: z.ZodOptional<z.ZodString>;
|
|
2886
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2887
|
+
kind: z.ZodLiteral<"manual">;
|
|
2888
|
+
}, z.core.$strip>], "kind">;
|
|
2889
|
+
attribution: z.ZodObject<{
|
|
2890
|
+
relationship: z.ZodEnum<{
|
|
2891
|
+
unknown: "unknown";
|
|
2892
|
+
related_family_target: "related_family_target";
|
|
2893
|
+
condition_only: "condition_only";
|
|
2894
|
+
direct_modulator: "direct_modulator";
|
|
2895
|
+
class_modulator: "class_modulator";
|
|
2896
|
+
target_biomarker: "target_biomarker";
|
|
2897
|
+
pathway_biomarker: "pathway_biomarker";
|
|
2898
|
+
unrelated: "unrelated";
|
|
2899
|
+
}>;
|
|
2900
|
+
evidence_role: z.ZodEnum<{
|
|
2901
|
+
supports_target: "supports_target";
|
|
2902
|
+
contextual: "contextual";
|
|
2903
|
+
excluded: "excluded";
|
|
2904
|
+
}>;
|
|
2905
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
2906
|
+
kind: z.ZodEnum<{
|
|
2907
|
+
mechanism_target_match: "mechanism_target_match";
|
|
2908
|
+
known_class_drug: "known_class_drug";
|
|
2909
|
+
therapeutic_program_match: "therapeutic_program_match";
|
|
2910
|
+
related_family_target: "related_family_target";
|
|
2911
|
+
biomarker_endpoint: "biomarker_endpoint";
|
|
2912
|
+
condition_only: "condition_only";
|
|
2913
|
+
text_match: "text_match";
|
|
2914
|
+
manual: "manual";
|
|
2915
|
+
}>;
|
|
2916
|
+
source: z.ZodString;
|
|
2917
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2919
|
+
}, z.core.$strip>>;
|
|
2920
|
+
resolved_interventions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2921
|
+
name: z.ZodString;
|
|
2922
|
+
intervention_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2923
|
+
chembl_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2924
|
+
therapeutic_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2925
|
+
target_uniprots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2926
|
+
resolver_source: z.ZodString;
|
|
2927
|
+
}, z.core.$strip>>>;
|
|
2928
|
+
exclusion_reason: z.ZodOptional<z.ZodString>;
|
|
2929
|
+
}, z.core.$strip>;
|
|
2930
|
+
eligible_for_toxicology_aggregation: z.ZodBoolean;
|
|
2931
|
+
}, z.core.$strip>>>;
|
|
2932
|
+
}, z.core.$strip>;
|
|
2933
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
2934
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2935
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2937
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
2938
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2939
|
+
message: z.ZodString;
|
|
2940
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2941
|
+
}, z.core.$strip>>;
|
|
2942
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2943
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2944
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
2945
|
+
filter: z.ZodString;
|
|
2946
|
+
dropped_count: z.ZodNumber;
|
|
2947
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2948
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2949
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
2950
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2951
|
+
}, z.core.$strip>], "coverage">;
|
|
2952
|
+
synthesis_diagnostics: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2953
|
+
coverage: z.ZodLiteral<"available">;
|
|
2954
|
+
data: z.ZodObject<{
|
|
2955
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
2956
|
+
step_id: z.ZodEnum<{
|
|
2957
|
+
"liability-bullets": "liability-bullets";
|
|
2958
|
+
"safety-flags-trail": "safety-flags-trail";
|
|
2959
|
+
"translational-commentary": "translational-commentary";
|
|
2960
|
+
"dossier-recommendation": "dossier-recommendation";
|
|
2961
|
+
}>;
|
|
2962
|
+
model_id: z.ZodString;
|
|
2963
|
+
attempt_count: z.ZodNumber;
|
|
2964
|
+
retry_critique: z.ZodNullable<z.ZodString>;
|
|
2965
|
+
output_chars: z.ZodNumber;
|
|
2966
|
+
probe_verdict: z.ZodEnum<{
|
|
2967
|
+
skipped: "skipped";
|
|
2968
|
+
pass: "pass";
|
|
2969
|
+
"fail-length": "fail-length";
|
|
2970
|
+
"fail-section-references": "fail-section-references";
|
|
2971
|
+
"fail-key-strengths-risks": "fail-key-strengths-risks";
|
|
2972
|
+
"fail-source-references": "fail-source-references";
|
|
2973
|
+
"fail-numeric-claim": "fail-numeric-claim";
|
|
2974
|
+
"fail-voice": "fail-voice";
|
|
2975
|
+
relaxed: "relaxed";
|
|
2976
|
+
}>;
|
|
2977
|
+
final_coverage: z.ZodEnum<{
|
|
2978
|
+
available: "available";
|
|
2979
|
+
queried_no_data: "queried_no_data";
|
|
2980
|
+
}>;
|
|
2981
|
+
error_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2982
|
+
"synthesis-too-shallow": "synthesis-too-shallow";
|
|
2983
|
+
"synthesis-unavailable": "synthesis-unavailable";
|
|
2984
|
+
"voice-violation": "voice-violation";
|
|
2985
|
+
}>>>;
|
|
2986
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2987
|
+
}, z.core.$strip>>;
|
|
2988
|
+
}, z.core.$strip>;
|
|
2989
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
2990
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2991
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2992
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2993
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
2994
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2995
|
+
message: z.ZodString;
|
|
2996
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2997
|
+
}, z.core.$strip>>;
|
|
2998
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
2999
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3000
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
3001
|
+
filter: z.ZodString;
|
|
3002
|
+
dropped_count: z.ZodNumber;
|
|
3003
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3005
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
3006
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3007
|
+
}, z.core.$strip>], "coverage">;
|
|
3008
|
+
quality_gates: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3009
|
+
coverage: z.ZodLiteral<"available">;
|
|
3010
|
+
data: z.ZodObject<{
|
|
3011
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
3012
|
+
gate_id: z.ZodString;
|
|
3013
|
+
status: z.ZodEnum<{
|
|
3014
|
+
blocked: "blocked";
|
|
3015
|
+
warning: "warning";
|
|
3016
|
+
pass: "pass";
|
|
3017
|
+
}>;
|
|
3018
|
+
message: z.ZodString;
|
|
3019
|
+
affected_sections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3020
|
+
unresolved_count: z.ZodOptional<z.ZodNumber>;
|
|
3021
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3022
|
+
}, z.core.$strip>>;
|
|
3023
|
+
}, z.core.$strip>;
|
|
3024
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
3025
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3026
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
3027
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3028
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
3029
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
3030
|
+
message: z.ZodString;
|
|
3031
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3032
|
+
}, z.core.$strip>>;
|
|
3033
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3035
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
3036
|
+
filter: z.ZodString;
|
|
3037
|
+
dropped_count: z.ZodNumber;
|
|
3038
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3039
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3040
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
3041
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3042
|
+
}, z.core.$strip>], "coverage">;
|
|
3043
|
+
recommendation_audit: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3044
|
+
coverage: z.ZodLiteral<"available">;
|
|
3045
|
+
data: z.ZodObject<{
|
|
3046
|
+
citations_total: z.ZodNumber;
|
|
3047
|
+
citations_unresolved: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3048
|
+
surface: z.ZodEnum<{
|
|
3049
|
+
rationale: "rationale";
|
|
3050
|
+
key_strengths: "key_strengths";
|
|
3051
|
+
key_risks: "key_risks";
|
|
3052
|
+
modality_choice: "modality_choice";
|
|
3053
|
+
}>;
|
|
3054
|
+
path: z.ZodString;
|
|
3055
|
+
excerpt: z.ZodString;
|
|
3056
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3057
|
+
surface: z.ZodLiteral<"external_missing">;
|
|
3058
|
+
id: z.ZodString;
|
|
3059
|
+
excerpt: z.ZodString;
|
|
3060
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3061
|
+
surface: z.ZodLiteral<"organ_claim_without_probe_pass">;
|
|
3062
|
+
excerpt: z.ZodString;
|
|
3063
|
+
bullet_category: z.ZodString;
|
|
3064
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3065
|
+
surface: z.ZodLiteral<"nct_wrong_class">;
|
|
3066
|
+
id: z.ZodString;
|
|
3067
|
+
excerpt: z.ZodString;
|
|
3068
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3069
|
+
surface: z.ZodLiteral<"pmid_not_in_key_papers">;
|
|
3070
|
+
id: z.ZodString;
|
|
3071
|
+
excerpt: z.ZodString;
|
|
3072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3073
|
+
surface: z.ZodLiteral<"direction_mismatch">;
|
|
3074
|
+
pmid: z.ZodString;
|
|
3075
|
+
excerpt: z.ZodString;
|
|
3076
|
+
paper_conclusion_direction: z.ZodOptional<z.ZodEnum<{
|
|
3077
|
+
supports: "supports";
|
|
3078
|
+
contradicts: "contradicts";
|
|
3079
|
+
ambiguous: "ambiguous";
|
|
3080
|
+
}>>;
|
|
3081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3082
|
+
surface: z.ZodLiteral<"abstract_unavailable">;
|
|
3083
|
+
pmid: z.ZodString;
|
|
3084
|
+
excerpt: z.ZodString;
|
|
3085
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3086
|
+
surface: z.ZodLiteral<"off_topic_citation">;
|
|
3087
|
+
pmid: z.ZodString;
|
|
3088
|
+
excerpt: z.ZodString;
|
|
3089
|
+
}, z.core.$strip>]>>;
|
|
3090
|
+
non_dossier_citations: z.ZodArray<z.ZodObject<{
|
|
3091
|
+
token: z.ZodString;
|
|
3092
|
+
source: z.ZodString;
|
|
3093
|
+
}, z.core.$strip>>;
|
|
3094
|
+
}, z.core.$strip>;
|
|
3095
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
3096
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3097
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
3098
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3099
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
3100
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
3101
|
+
message: z.ZodString;
|
|
3102
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3103
|
+
}, z.core.$strip>>;
|
|
3104
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3106
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
3107
|
+
filter: z.ZodString;
|
|
3108
|
+
dropped_count: z.ZodNumber;
|
|
3109
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3111
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
3112
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3113
|
+
}, z.core.$strip>], "coverage">>;
|
|
3114
|
+
}, z.core.$strip>;
|
|
3115
|
+
executive_recommendation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3116
|
+
coverage: z.ZodLiteral<"available">;
|
|
3117
|
+
data: z.ZodObject<{
|
|
3118
|
+
disposition: z.ZodEnum<{
|
|
3119
|
+
pursue: "pursue";
|
|
3120
|
+
conditional: "conditional";
|
|
3121
|
+
de_prioritize: "de_prioritize";
|
|
3122
|
+
insufficient_evidence: "insufficient_evidence";
|
|
3123
|
+
}>;
|
|
3124
|
+
confidence: z.ZodEnum<{
|
|
3125
|
+
high: "high";
|
|
3126
|
+
medium: "medium";
|
|
3127
|
+
low: "low";
|
|
3128
|
+
}>;
|
|
3129
|
+
rationale: z.ZodString;
|
|
3130
|
+
key_strengths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3131
|
+
key_risks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3132
|
+
key_risks_dropped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3133
|
+
text: z.ZodString;
|
|
3134
|
+
reason: z.ZodString;
|
|
3135
|
+
cited_pmid: z.ZodOptional<z.ZodString>;
|
|
3136
|
+
}, z.core.$strip>>>;
|
|
3137
|
+
modality_choice: z.ZodObject<{
|
|
3138
|
+
modality: z.ZodString;
|
|
3139
|
+
rationale: z.ZodString;
|
|
3140
|
+
}, z.core.$strip>;
|
|
3141
|
+
coverage_qualifier: z.ZodObject<{
|
|
3142
|
+
sections_consulted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3143
|
+
sections_unavailable: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3144
|
+
note: z.ZodString;
|
|
3145
|
+
unverified_bullets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3146
|
+
text: z.ZodString;
|
|
3147
|
+
bullet_category: z.ZodString;
|
|
3148
|
+
surface: z.ZodLiteral<"organ_claim_without_probe_pass">;
|
|
3149
|
+
}, z.core.$strip>>>;
|
|
3150
|
+
}, z.core.$strip>;
|
|
3151
|
+
}, z.core.$strip>;
|
|
3152
|
+
dropped_count: z.ZodOptional<z.ZodNumber>;
|
|
3153
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3154
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
3155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3156
|
+
coverage: z.ZodLiteral<"queried_no_data">;
|
|
3157
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
3158
|
+
message: z.ZodString;
|
|
3159
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3160
|
+
}, z.core.$strip>>;
|
|
3161
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3163
|
+
coverage: z.ZodLiteral<"filtered">;
|
|
3164
|
+
filter: z.ZodString;
|
|
3165
|
+
dropped_count: z.ZodNumber;
|
|
3166
|
+
inference_path: z.ZodOptional<z.ZodString>;
|
|
3167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3168
|
+
coverage: z.ZodLiteral<"not_loaded">;
|
|
3169
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3170
|
+
}, z.core.$strip>], "coverage">;
|
|
1831
3171
|
generated_at: z.ZodString;
|
|
1832
3172
|
}, z.core.$strip>;
|
|
1833
3173
|
}, z.core.$strip>;
|
|
@@ -1835,7 +3175,7 @@ export type Phase4Output = z.infer<typeof Phase4OutputSchema>;
|
|
|
1835
3175
|
export { Phase3BundleSchema };
|
|
1836
3176
|
export type { Phase3Bundle };
|
|
1837
3177
|
/**
|
|
1838
|
-
* Run Phase 4 — assemble the
|
|
1839
|
-
*
|
|
3178
|
+
* Run Phase 4 — assemble the dossier body from the Phase-3 bundle.
|
|
3179
|
+
* Safely cached on DBOS replay; the caller supplies the annotator seam.
|
|
1840
3180
|
*/
|
|
1841
|
-
export declare function phase4Assemble(pool: Pool, phase3: Phase3Bundle): Promise<Phase4Output>;
|
|
3181
|
+
export declare function phase4Assemble(pool: Pool, phase3: Phase3Bundle, annotatorDeps?: ClinicalConsequenceAnnotatorDeps): Promise<Phase4Output>;
|