openfda-mcp-server 1.0.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/LICENSE +21 -0
- package/README.md +198 -0
- package/dist/api-client-BGnUXMwX.js +2 -0
- package/dist/api-client-BGnUXMwX.js.map +1 -0
- package/dist/device-handlers-D01LfIJk.js +2 -0
- package/dist/device-handlers-D01LfIJk.js.map +1 -0
- package/dist/drug-handlers-Fz_6NLl5.js +2 -0
- package/dist/drug-handlers-Fz_6NLl5.js.map +1 -0
- package/dist/handlers/device-handlers.d.ts +110 -0
- package/dist/handlers/device-handlers.js +1 -0
- package/dist/handlers/drug-handlers.d.ts +147 -0
- package/dist/handlers/drug-handlers.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/lib.d.ts +8 -0
- package/dist/lib.js +1 -0
- package/dist/server.d.ts +15 -0
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -0
- package/dist/tools/index.d.ts +525 -0
- package/dist/tools/index.js +1 -0
- package/dist/tools-Bh3wjIRH.js +2 -0
- package/dist/tools-Bh3wjIRH.js.map +1 -0
- package/dist/types/fda.d.ts +422 -0
- package/dist/types/fda.js +1 -0
- package/dist/utils/api-client.d.ts +38 -0
- package/dist/utils/api-client.js +1 -0
- package/dist/utils/logger.d.ts +14 -0
- package/dist/utils/logger.js +2 -0
- package/dist/utils/logger.js.map +1 -0
- package/package.json +71 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\n/**\n * OpenFDA MCP Server CLI\n * Command-line interface for starting the MCP server\n */\n\nimport { Command } from \"commander\"\n\nimport { createOpenFDAServer } from \"./server.js\"\nimport { loggers } from \"./utils/logger.js\"\n\nconst program = new Command()\n\nprogram\n .name(\"openfda-mcp-server\")\n .description(\"MCP server for querying U.S. FDA public datasets\")\n .version(\"0.1.0\")\n .option(\"-t, --transport <type>\", \"Transport type (stdio or http)\", \"stdio\")\n .option(\"-p, --port <number>\", \"Port for HTTP transport\", \"3000\")\n .option(\"--host <host>\", \"Host for HTTP transport\", \"localhost\")\n .action(async (options) => {\n const { transport, port, host } = options\n\n loggers.main(`Starting OpenFDA MCP server with transport: ${transport}`)\n\n const server = createOpenFDAServer({\n name: \"openfda-mcp-server\",\n version: \"0.1.0\" as `${number}.${number}.${number}`,\n })\n\n try {\n if (transport === \"http\") {\n const portNum = parseInt(port, 10)\n loggers.main(`Starting HTTP server on ${host}:${portNum}`)\n\n await server.start({\n transportType: \"httpStream\",\n httpStream: {\n endpoint: \"/mcp\" as `/${string}`,\n port: portNum,\n },\n })\n\n console.error(`OpenFDA MCP server running at http://${host}:${portNum}/mcp`)\n } else {\n loggers.main(\"Starting stdio server\")\n\n await server.start({\n transportType: \"stdio\",\n })\n }\n } catch (error) {\n console.error(\"Failed to start server:\", error)\n process.exit(1)\n }\n })\n\nprogram.parse()\n"],"mappings":";yQAWA,MAAM,EAAU,IAAI,EAEpB,EACG,KAAK,qBAAqB,CAC1B,YAAY,mDAAmD,CAC/D,QAAQ,QAAQ,CAChB,OAAO,yBAA0B,iCAAkC,QAAQ,CAC3E,OAAO,sBAAuB,0BAA2B,OAAO,CAChE,OAAO,gBAAiB,0BAA2B,YAAY,CAC/D,OAAO,KAAO,IAAY,CACzB,GAAM,CAAE,YAAW,OAAM,QAAS,EAElC,EAAQ,KAAK,+CAA+C,IAAY,CAExE,IAAM,EAAS,EAAoB,CACjC,KAAM,qBACN,QAAS,QACV,CAAC,CAEF,GAAI,CACF,GAAI,IAAc,OAAQ,CACxB,IAAM,EAAU,SAAS,EAAM,GAAG,CAClC,EAAQ,KAAK,2BAA2B,EAAK,GAAG,IAAU,CAE1D,MAAM,EAAO,MAAM,CACjB,cAAe,aACf,WAAY,CACV,SAAU,OACV,KAAM,EACP,CACF,CAAC,CAEF,QAAQ,MAAM,wCAAwC,EAAK,GAAG,EAAQ,MAAM,MAE5E,EAAQ,KAAK,wBAAwB,CAErC,MAAM,EAAO,MAAM,CACjB,cAAe,QAChB,CAAC,OAEG,EAAO,CACd,QAAQ,MAAM,0BAA2B,EAAM,CAC/C,QAAQ,KAAK,EAAE,GAEjB,CAEJ,EAAQ,OAAO"}
|
package/dist/lib.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Device510K, DeviceAdverseEvent, DeviceClassification, DeviceEnforcement, DrugAdverseEvent, DrugEnforcement, DrugLabel, DrugNDC, DrugShortage, DrugsFDA, FDAResponse, FDAToolResponse, OpenFDAFields, SearchParams } from "./types/fda.js";
|
|
2
|
+
import { Device510KParams, DeviceAdverseEventsParams, DeviceClassificationParams, DeviceEnforcementParams, handleSearchDevice510K, handleSearchDeviceAdverseEvents, handleSearchDeviceClassifications, handleSearchDeviceEnforcement } from "./handlers/device-handlers.js";
|
|
3
|
+
import { DrugAdverseEventsParams, DrugEnforcementParams, DrugLabelsParams, DrugNDCParams, DrugShortagesParams, DrugsFDAParams, handleSearchDrugAdverseEvents, handleSearchDrugEnforcement, handleSearchDrugLabels, handleSearchDrugNDC, handleSearchDrugShortages, handleSearchDrugsFDA } from "./handlers/drug-handlers.js";
|
|
4
|
+
import { ServerOptions, createOpenFDAServer } from "./server.js";
|
|
5
|
+
import { toolSchemas } from "./tools/index.js";
|
|
6
|
+
import { FDAAPIClient, fdaAPIClient } from "./utils/api-client.js";
|
|
7
|
+
import { loggers } from "./utils/logger.js";
|
|
8
|
+
export { type Device510K, type Device510KParams, type DeviceAdverseEvent, type DeviceAdverseEventsParams, type DeviceClassification, type DeviceClassificationParams, type DeviceEnforcement, type DeviceEnforcementParams, type DrugAdverseEvent, type DrugAdverseEventsParams, type DrugEnforcement, type DrugEnforcementParams, type DrugLabel, type DrugLabelsParams, type DrugNDC, type DrugNDCParams, type DrugShortage, type DrugShortagesParams, type DrugsFDA, type DrugsFDAParams, FDAAPIClient, type FDAResponse, type FDAToolResponse, type OpenFDAFields, type SearchParams, type ServerOptions, createOpenFDAServer, fdaAPIClient, handleSearchDevice510K, handleSearchDeviceAdverseEvents, handleSearchDeviceClassifications, handleSearchDeviceEnforcement, handleSearchDrugAdverseEvents, handleSearchDrugEnforcement, handleSearchDrugLabels, handleSearchDrugNDC, handleSearchDrugShortages, handleSearchDrugsFDA, loggers, toolSchemas };
|
package/dist/lib.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{loggers as e}from"./utils/logger.js";import{n as t,t as n}from"./api-client-BGnUXMwX.js";import{i as r,n as i,r as a,t as o}from"./device-handlers-D01LfIJk.js";import{a as s,i as c,n as l,o as u,r as d,t as f}from"./drug-handlers-Fz_6NLl5.js";import{d as p}from"./tools-Bh3wjIRH.js";import{createOpenFDAServer as m}from"./server.js";export{n as FDAAPIClient,m as createOpenFDAServer,t as fdaAPIClient,o as handleSearchDevice510K,i as handleSearchDeviceAdverseEvents,a as handleSearchDeviceClassifications,r as handleSearchDeviceEnforcement,f as handleSearchDrugAdverseEvents,l as handleSearchDrugEnforcement,d as handleSearchDrugLabels,c as handleSearchDrugNDC,s as handleSearchDrugShortages,u as handleSearchDrugsFDA,e as loggers,p as toolSchemas};
|
package/dist/server.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FastMCP } from "@jordanburke/fastmcp";
|
|
2
|
+
|
|
3
|
+
//#region src/server.d.ts
|
|
4
|
+
|
|
5
|
+
type ServerOptions = {
|
|
6
|
+
name?: string;
|
|
7
|
+
version?: `${number}.${number}.${number}`;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Create and configure the OpenFDA MCP server
|
|
11
|
+
*/
|
|
12
|
+
declare function createOpenFDAServer(options?: ServerOptions): FastMCP;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ServerOptions, createOpenFDAServer };
|
|
15
|
+
//# sourceMappingURL=server.d.ts.map
|
package/dist/server.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{loggers as e}from"./utils/logger.js";import"./api-client-BGnUXMwX.js";import{i as t,n,r,t as i}from"./device-handlers-D01LfIJk.js";import{a,i as o,n as s,o as c,r as l,t as u}from"./drug-handlers-Fz_6NLl5.js";import{a as d,c as f,i as p,l as m,n as h,o as g,r as _,s as v,t as y,u as b}from"./tools-Bh3wjIRH.js";import{FastMCP as x}from"@jordanburke/fastmcp";function S(S={}){let{name:C=`openfda-mcp-server`,version:w=`0.1.0`}=S;e.core(`Creating OpenFDA MCP server: ${C} v${w}`);let T=new x({name:C,version:w});return T.addTool({name:`search_drug_adverse_events`,description:`Search FDA Adverse Event Reporting System (FAERS) for drug safety reports. Find adverse events by drug name, reaction type, manufacturer, date range, and seriousness. Returns patient demographics, drug details, and reported reactions.`,parameters:d,execute:async t=>{e.tools(`Executing search_drug_adverse_events`,t);let n=await u(t);return JSON.stringify(n,null,2)}}),T.addTool({name:`search_drug_labels`,description:`Search FDA drug labeling (SPL) information including prescribing information, indications, warnings, dosage, and active ingredients. Find label information by drug name, indication, ingredient, or route.`,parameters:v,execute:async t=>{e.tools(`Executing search_drug_labels`,t);let n=await l(t);return JSON.stringify(n,null,2)}}),T.addTool({name:`search_drug_ndc`,description:`Search the National Drug Code (NDC) Directory for drug product identification. Find drugs by NDC, brand name, generic name, labeler, dosage form, or route. Returns product details, active ingredients, and packaging information.`,parameters:f,execute:async t=>{e.tools(`Executing search_drug_ndc`,t);let n=await o(t);return JSON.stringify(n,null,2)}}),T.addTool({name:`search_drug_recalls`,description:`Search FDA drug recall and enforcement reports. Find recalls by company, classification (I-III), status, state, and date range. Class I is most serious (may cause death), Class III is least serious.`,parameters:g,execute:async t=>{e.tools(`Executing search_drug_recalls`,t);let n=await s(t);return JSON.stringify(n,null,2)}}),T.addTool({name:`search_drugs_at_fda`,description:`Search the Drugs@FDA database for approved drug applications. Find approved drugs by sponsor, application number, brand name, or marketing status. Returns application details, products, and submission history.`,parameters:b,execute:async t=>{e.tools(`Executing search_drugs_at_fda`,t);let n=await c(t);return JSON.stringify(n,null,2)}}),T.addTool({name:`search_drug_shortages`,description:`Search the FDA Drug Shortage Database for current and resolved drug shortages. Find shortages by generic drug name or status (Current/Resolved). Returns shortage details, posting dates, and resolution information.`,parameters:m,execute:async t=>{e.tools(`Executing search_drug_shortages`,t);let n=await a(t);return JSON.stringify(n,null,2)}}),T.addTool({name:`search_device_510k`,description:`Search FDA 510(k) premarket notification database for medical device clearances. Find device clearances by device name, applicant, product code, clearance type, or decision date. Returns clearance decisions and device classification details.`,parameters:y,execute:async t=>{e.tools(`Executing search_device_510k`,t);let n=await i(t);return JSON.stringify(n,null,2)}}),T.addTool({name:`search_device_classifications`,description:`Search FDA medical device classification database. Find devices by name, class (1-3), medical specialty, product code, or regulation number. Class 1 is lowest risk, Class 3 is highest risk (implants, life-sustaining).`,parameters:_,execute:async t=>{e.tools(`Executing search_device_classifications`,t);let n=await r(t);return JSON.stringify(n,null,2)}}),T.addTool({name:`search_device_adverse_events`,description:`Search FDA Medical Device Report (MDR) database for device adverse events. Find adverse events by device name, brand, manufacturer, event type (Injury/Death/Malfunction), and date. Returns device details, event descriptions, and patient outcomes.`,parameters:h,execute:async t=>{e.tools(`Executing search_device_adverse_events`,t);let r=await n(t);return JSON.stringify(r,null,2)}}),T.addTool({name:`search_device_recalls`,description:`Search FDA medical device recall and enforcement reports. Find recalls by company, product description, classification (I-III), status, and date. Class I is most serious (may cause death), Class III is least serious.`,parameters:p,execute:async n=>{e.tools(`Executing search_device_recalls`,n);let r=await t(n);return JSON.stringify(r,null,2)}}),e.core(`OpenFDA MCP server configured with 10 tools`),T}export{S as createOpenFDAServer};
|
|
2
|
+
//# sourceMappingURL=server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.js","names":[],"sources":["../src/server.ts"],"sourcesContent":["/**\n * OpenFDA MCP Server\n * FastMCP server implementation with FDA tools\n */\n\nimport { FastMCP } from \"@jordanburke/fastmcp\"\n\nimport {\n handleSearchDevice510K,\n handleSearchDeviceAdverseEvents,\n handleSearchDeviceClassifications,\n handleSearchDeviceEnforcement,\n} from \"./handlers/device-handlers.js\"\nimport {\n handleSearchDrugAdverseEvents,\n handleSearchDrugEnforcement,\n handleSearchDrugLabels,\n handleSearchDrugNDC,\n handleSearchDrugsFDA,\n handleSearchDrugShortages,\n} from \"./handlers/drug-handlers.js\"\nimport {\n searchDevice510KSchema,\n searchDeviceAdverseEventsSchema,\n searchDeviceClassificationsSchema,\n searchDeviceEnforcementSchema,\n searchDrugAdverseEventsSchema,\n searchDrugEnforcementSchema,\n searchDrugLabelsSchema,\n searchDrugNDCSchema,\n searchDrugsFDASchema,\n searchDrugShortagesSchema,\n} from \"./tools/index.js\"\nimport { loggers } from \"./utils/logger.js\"\n\nexport type ServerOptions = {\n name?: string\n version?: `${number}.${number}.${number}`\n}\n\n/**\n * Create and configure the OpenFDA MCP server\n */\nexport function createOpenFDAServer(options: ServerOptions = {}): FastMCP {\n const { name = \"openfda-mcp-server\", version = \"0.1.0\" as `${number}.${number}.${number}` } = options\n\n loggers.core(`Creating OpenFDA MCP server: ${name} v${version}`)\n\n const server = new FastMCP({\n name,\n version,\n })\n\n // Register Drug Tools\n\n server.addTool({\n name: \"search_drug_adverse_events\",\n description:\n \"Search FDA Adverse Event Reporting System (FAERS) for drug safety reports. \" +\n \"Find adverse events by drug name, reaction type, manufacturer, date range, and seriousness. \" +\n \"Returns patient demographics, drug details, and reported reactions.\",\n parameters: searchDrugAdverseEventsSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_drug_adverse_events\", args)\n const result = await handleSearchDrugAdverseEvents(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n server.addTool({\n name: \"search_drug_labels\",\n description:\n \"Search FDA drug labeling (SPL) information including prescribing information, \" +\n \"indications, warnings, dosage, and active ingredients. \" +\n \"Find label information by drug name, indication, ingredient, or route.\",\n parameters: searchDrugLabelsSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_drug_labels\", args)\n const result = await handleSearchDrugLabels(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n server.addTool({\n name: \"search_drug_ndc\",\n description:\n \"Search the National Drug Code (NDC) Directory for drug product identification. \" +\n \"Find drugs by NDC, brand name, generic name, labeler, dosage form, or route. \" +\n \"Returns product details, active ingredients, and packaging information.\",\n parameters: searchDrugNDCSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_drug_ndc\", args)\n const result = await handleSearchDrugNDC(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n server.addTool({\n name: \"search_drug_recalls\",\n description:\n \"Search FDA drug recall and enforcement reports. \" +\n \"Find recalls by company, classification (I-III), status, state, and date range. \" +\n \"Class I is most serious (may cause death), Class III is least serious.\",\n parameters: searchDrugEnforcementSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_drug_recalls\", args)\n const result = await handleSearchDrugEnforcement(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n server.addTool({\n name: \"search_drugs_at_fda\",\n description:\n \"Search the Drugs@FDA database for approved drug applications. \" +\n \"Find approved drugs by sponsor, application number, brand name, or marketing status. \" +\n \"Returns application details, products, and submission history.\",\n parameters: searchDrugsFDASchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_drugs_at_fda\", args)\n const result = await handleSearchDrugsFDA(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n server.addTool({\n name: \"search_drug_shortages\",\n description:\n \"Search the FDA Drug Shortage Database for current and resolved drug shortages. \" +\n \"Find shortages by generic drug name or status (Current/Resolved). \" +\n \"Returns shortage details, posting dates, and resolution information.\",\n parameters: searchDrugShortagesSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_drug_shortages\", args)\n const result = await handleSearchDrugShortages(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n // Register Device Tools\n\n server.addTool({\n name: \"search_device_510k\",\n description:\n \"Search FDA 510(k) premarket notification database for medical device clearances. \" +\n \"Find device clearances by device name, applicant, product code, clearance type, or decision date. \" +\n \"Returns clearance decisions and device classification details.\",\n parameters: searchDevice510KSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_device_510k\", args)\n const result = await handleSearchDevice510K(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n server.addTool({\n name: \"search_device_classifications\",\n description:\n \"Search FDA medical device classification database. \" +\n \"Find devices by name, class (1-3), medical specialty, product code, or regulation number. \" +\n \"Class 1 is lowest risk, Class 3 is highest risk (implants, life-sustaining).\",\n parameters: searchDeviceClassificationsSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_device_classifications\", args)\n const result = await handleSearchDeviceClassifications(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n server.addTool({\n name: \"search_device_adverse_events\",\n description:\n \"Search FDA Medical Device Report (MDR) database for device adverse events. \" +\n \"Find adverse events by device name, brand, manufacturer, event type (Injury/Death/Malfunction), and date. \" +\n \"Returns device details, event descriptions, and patient outcomes.\",\n parameters: searchDeviceAdverseEventsSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_device_adverse_events\", args)\n const result = await handleSearchDeviceAdverseEvents(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n server.addTool({\n name: \"search_device_recalls\",\n description:\n \"Search FDA medical device recall and enforcement reports. \" +\n \"Find recalls by company, product description, classification (I-III), status, and date. \" +\n \"Class I is most serious (may cause death), Class III is least serious.\",\n parameters: searchDeviceEnforcementSchema,\n execute: async (args) => {\n loggers.tools(\"Executing search_device_recalls\", args)\n const result = await handleSearchDeviceEnforcement(args)\n return JSON.stringify(result, null, 2)\n },\n })\n\n loggers.core(\"OpenFDA MCP server configured with 10 tools\")\n\n return server\n}\n"],"mappings":"8WA2CA,SAAgB,EAAoB,EAAyB,EAAE,CAAW,CACxE,GAAM,CAAE,OAAO,qBAAsB,UAAU,SAA+C,EAE9F,EAAQ,KAAK,gCAAgC,EAAK,IAAI,IAAU,CAEhE,IAAM,EAAS,IAAI,EAAQ,CACzB,OACA,UACD,CAAC,CAoJF,OAhJA,EAAO,QAAQ,CACb,KAAM,6BACN,YACE,6OAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,uCAAwC,EAAK,CAC3D,IAAM,EAAS,MAAM,EAA8B,EAAK,CACxD,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAO,QAAQ,CACb,KAAM,qBACN,YACE,8MAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,+BAAgC,EAAK,CACnD,IAAM,EAAS,MAAM,EAAuB,EAAK,CACjD,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAO,QAAQ,CACb,KAAM,kBACN,YACE,sOAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,4BAA6B,EAAK,CAChD,IAAM,EAAS,MAAM,EAAoB,EAAK,CAC9C,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAO,QAAQ,CACb,KAAM,sBACN,YACE,yMAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,gCAAiC,EAAK,CACpD,IAAM,EAAS,MAAM,EAA4B,EAAK,CACtD,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAO,QAAQ,CACb,KAAM,sBACN,YACE,oNAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,gCAAiC,EAAK,CACpD,IAAM,EAAS,MAAM,EAAqB,EAAK,CAC/C,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAO,QAAQ,CACb,KAAM,wBACN,YACE,wNAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,kCAAmC,EAAK,CACtD,IAAM,EAAS,MAAM,EAA0B,EAAK,CACpD,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAIF,EAAO,QAAQ,CACb,KAAM,qBACN,YACE,oPAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,+BAAgC,EAAK,CACnD,IAAM,EAAS,MAAM,EAAuB,EAAK,CACjD,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAO,QAAQ,CACb,KAAM,gCACN,YACE,4NAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,0CAA2C,EAAK,CAC9D,IAAM,EAAS,MAAM,EAAkC,EAAK,CAC5D,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAO,QAAQ,CACb,KAAM,+BACN,YACE,yPAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,yCAA0C,EAAK,CAC7D,IAAM,EAAS,MAAM,EAAgC,EAAK,CAC1D,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAO,QAAQ,CACb,KAAM,wBACN,YACE,2NAGF,WAAY,EACZ,QAAS,KAAO,IAAS,CACvB,EAAQ,MAAM,kCAAmC,EAAK,CACtD,IAAM,EAAS,MAAM,EAA8B,EAAK,CACxD,OAAO,KAAK,UAAU,EAAQ,KAAM,EAAE,EAEzC,CAAC,CAEF,EAAQ,KAAK,8CAA8C,CAEpD"}
|
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/tools/index.d.ts
|
|
4
|
+
|
|
5
|
+
declare const searchDrugAdverseEventsSchema: z.ZodObject<{
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
9
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
10
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
11
|
+
reaction: z.ZodOptional<z.ZodString>;
|
|
12
|
+
manufacturer: z.ZodOptional<z.ZodString>;
|
|
13
|
+
serious: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
drugName?: string | undefined;
|
|
16
|
+
reaction?: string | undefined;
|
|
17
|
+
manufacturer?: string | undefined;
|
|
18
|
+
serious?: boolean | undefined;
|
|
19
|
+
limit?: number | undefined;
|
|
20
|
+
skip?: number | undefined;
|
|
21
|
+
dateFrom?: string | undefined;
|
|
22
|
+
dateTo?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
drugName?: string | undefined;
|
|
25
|
+
reaction?: string | undefined;
|
|
26
|
+
manufacturer?: string | undefined;
|
|
27
|
+
serious?: boolean | undefined;
|
|
28
|
+
limit?: number | undefined;
|
|
29
|
+
skip?: number | undefined;
|
|
30
|
+
dateFrom?: string | undefined;
|
|
31
|
+
dateTo?: string | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
declare const searchDrugLabelsSchema: z.ZodObject<{
|
|
34
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
37
|
+
indication: z.ZodOptional<z.ZodString>;
|
|
38
|
+
activeIngredient: z.ZodOptional<z.ZodString>;
|
|
39
|
+
route: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
drugName?: string | undefined;
|
|
42
|
+
limit?: number | undefined;
|
|
43
|
+
skip?: number | undefined;
|
|
44
|
+
indication?: string | undefined;
|
|
45
|
+
activeIngredient?: string | undefined;
|
|
46
|
+
route?: string | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
drugName?: string | undefined;
|
|
49
|
+
limit?: number | undefined;
|
|
50
|
+
skip?: number | undefined;
|
|
51
|
+
indication?: string | undefined;
|
|
52
|
+
activeIngredient?: string | undefined;
|
|
53
|
+
route?: string | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
declare const searchDrugNDCSchema: z.ZodObject<{
|
|
56
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
productNdc: z.ZodOptional<z.ZodString>;
|
|
59
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
60
|
+
genericName: z.ZodOptional<z.ZodString>;
|
|
61
|
+
labelerName: z.ZodOptional<z.ZodString>;
|
|
62
|
+
dosageForm: z.ZodOptional<z.ZodString>;
|
|
63
|
+
route: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
limit?: number | undefined;
|
|
66
|
+
skip?: number | undefined;
|
|
67
|
+
route?: string | undefined;
|
|
68
|
+
productNdc?: string | undefined;
|
|
69
|
+
brandName?: string | undefined;
|
|
70
|
+
genericName?: string | undefined;
|
|
71
|
+
labelerName?: string | undefined;
|
|
72
|
+
dosageForm?: string | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
limit?: number | undefined;
|
|
75
|
+
skip?: number | undefined;
|
|
76
|
+
route?: string | undefined;
|
|
77
|
+
productNdc?: string | undefined;
|
|
78
|
+
brandName?: string | undefined;
|
|
79
|
+
genericName?: string | undefined;
|
|
80
|
+
labelerName?: string | undefined;
|
|
81
|
+
dosageForm?: string | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
declare const searchDrugEnforcementSchema: z.ZodObject<{
|
|
84
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
87
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
88
|
+
recallingFirm: z.ZodOptional<z.ZodString>;
|
|
89
|
+
classification: z.ZodOptional<z.ZodEnum<["Class I", "Class II", "Class III"]>>;
|
|
90
|
+
status: z.ZodOptional<z.ZodEnum<["Ongoing", "Completed", "Terminated", "Pending"]>>;
|
|
91
|
+
state: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
94
|
+
limit?: number | undefined;
|
|
95
|
+
skip?: number | undefined;
|
|
96
|
+
dateFrom?: string | undefined;
|
|
97
|
+
dateTo?: string | undefined;
|
|
98
|
+
recallingFirm?: string | undefined;
|
|
99
|
+
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
100
|
+
state?: string | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
103
|
+
limit?: number | undefined;
|
|
104
|
+
skip?: number | undefined;
|
|
105
|
+
dateFrom?: string | undefined;
|
|
106
|
+
dateTo?: string | undefined;
|
|
107
|
+
recallingFirm?: string | undefined;
|
|
108
|
+
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
109
|
+
state?: string | undefined;
|
|
110
|
+
}>;
|
|
111
|
+
declare const searchDrugsFDASchema: z.ZodObject<{
|
|
112
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
sponsorName: z.ZodOptional<z.ZodString>;
|
|
115
|
+
applicationNumber: z.ZodOptional<z.ZodString>;
|
|
116
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
117
|
+
marketingStatus: z.ZodOptional<z.ZodString>;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
limit?: number | undefined;
|
|
120
|
+
skip?: number | undefined;
|
|
121
|
+
brandName?: string | undefined;
|
|
122
|
+
sponsorName?: string | undefined;
|
|
123
|
+
applicationNumber?: string | undefined;
|
|
124
|
+
marketingStatus?: string | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
limit?: number | undefined;
|
|
127
|
+
skip?: number | undefined;
|
|
128
|
+
brandName?: string | undefined;
|
|
129
|
+
sponsorName?: string | undefined;
|
|
130
|
+
applicationNumber?: string | undefined;
|
|
131
|
+
marketingStatus?: string | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
declare const searchDrugShortagesSchema: z.ZodObject<{
|
|
134
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
genericName: z.ZodOptional<z.ZodString>;
|
|
137
|
+
status: z.ZodOptional<z.ZodEnum<["Current", "Resolved"]>>;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
status?: "Current" | "Resolved" | undefined;
|
|
140
|
+
limit?: number | undefined;
|
|
141
|
+
skip?: number | undefined;
|
|
142
|
+
genericName?: string | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
status?: "Current" | "Resolved" | undefined;
|
|
145
|
+
limit?: number | undefined;
|
|
146
|
+
skip?: number | undefined;
|
|
147
|
+
genericName?: string | undefined;
|
|
148
|
+
}>;
|
|
149
|
+
declare const searchDevice510KSchema: z.ZodObject<{
|
|
150
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
deviceName: z.ZodOptional<z.ZodString>;
|
|
153
|
+
applicant: z.ZodOptional<z.ZodString>;
|
|
154
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
155
|
+
clearanceType: z.ZodOptional<z.ZodString>;
|
|
156
|
+
decisionDateFrom: z.ZodOptional<z.ZodString>;
|
|
157
|
+
decisionDateTo: z.ZodOptional<z.ZodString>;
|
|
158
|
+
}, "strip", z.ZodTypeAny, {
|
|
159
|
+
limit?: number | undefined;
|
|
160
|
+
skip?: number | undefined;
|
|
161
|
+
deviceName?: string | undefined;
|
|
162
|
+
applicant?: string | undefined;
|
|
163
|
+
productCode?: string | undefined;
|
|
164
|
+
clearanceType?: string | undefined;
|
|
165
|
+
decisionDateFrom?: string | undefined;
|
|
166
|
+
decisionDateTo?: string | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
limit?: number | undefined;
|
|
169
|
+
skip?: number | undefined;
|
|
170
|
+
deviceName?: string | undefined;
|
|
171
|
+
applicant?: string | undefined;
|
|
172
|
+
productCode?: string | undefined;
|
|
173
|
+
clearanceType?: string | undefined;
|
|
174
|
+
decisionDateFrom?: string | undefined;
|
|
175
|
+
decisionDateTo?: string | undefined;
|
|
176
|
+
}>;
|
|
177
|
+
declare const searchDeviceClassificationsSchema: z.ZodObject<{
|
|
178
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
deviceName: z.ZodOptional<z.ZodString>;
|
|
181
|
+
deviceClass: z.ZodOptional<z.ZodEnum<["1", "2", "3"]>>;
|
|
182
|
+
medicalSpecialty: z.ZodOptional<z.ZodString>;
|
|
183
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
184
|
+
regulationNumber: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
limit?: number | undefined;
|
|
187
|
+
skip?: number | undefined;
|
|
188
|
+
deviceName?: string | undefined;
|
|
189
|
+
productCode?: string | undefined;
|
|
190
|
+
deviceClass?: "1" | "2" | "3" | undefined;
|
|
191
|
+
medicalSpecialty?: string | undefined;
|
|
192
|
+
regulationNumber?: string | undefined;
|
|
193
|
+
}, {
|
|
194
|
+
limit?: number | undefined;
|
|
195
|
+
skip?: number | undefined;
|
|
196
|
+
deviceName?: string | undefined;
|
|
197
|
+
productCode?: string | undefined;
|
|
198
|
+
deviceClass?: "1" | "2" | "3" | undefined;
|
|
199
|
+
medicalSpecialty?: string | undefined;
|
|
200
|
+
regulationNumber?: string | undefined;
|
|
201
|
+
}>;
|
|
202
|
+
declare const searchDeviceAdverseEventsSchema: z.ZodObject<{
|
|
203
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
206
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
207
|
+
deviceName: z.ZodOptional<z.ZodString>;
|
|
208
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
209
|
+
manufacturerName: z.ZodOptional<z.ZodString>;
|
|
210
|
+
eventType: z.ZodOptional<z.ZodEnum<["Injury", "Malfunction", "Death", "Other"]>>;
|
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
limit?: number | undefined;
|
|
213
|
+
skip?: number | undefined;
|
|
214
|
+
dateFrom?: string | undefined;
|
|
215
|
+
dateTo?: string | undefined;
|
|
216
|
+
brandName?: string | undefined;
|
|
217
|
+
deviceName?: string | undefined;
|
|
218
|
+
manufacturerName?: string | undefined;
|
|
219
|
+
eventType?: "Injury" | "Malfunction" | "Death" | "Other" | undefined;
|
|
220
|
+
}, {
|
|
221
|
+
limit?: number | undefined;
|
|
222
|
+
skip?: number | undefined;
|
|
223
|
+
dateFrom?: string | undefined;
|
|
224
|
+
dateTo?: string | undefined;
|
|
225
|
+
brandName?: string | undefined;
|
|
226
|
+
deviceName?: string | undefined;
|
|
227
|
+
manufacturerName?: string | undefined;
|
|
228
|
+
eventType?: "Injury" | "Malfunction" | "Death" | "Other" | undefined;
|
|
229
|
+
}>;
|
|
230
|
+
declare const searchDeviceEnforcementSchema: z.ZodObject<{
|
|
231
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
234
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
235
|
+
recallingFirm: z.ZodOptional<z.ZodString>;
|
|
236
|
+
productDescription: z.ZodOptional<z.ZodString>;
|
|
237
|
+
classification: z.ZodOptional<z.ZodEnum<["Class I", "Class II", "Class III"]>>;
|
|
238
|
+
status: z.ZodOptional<z.ZodEnum<["Ongoing", "Completed", "Terminated", "Pending"]>>;
|
|
239
|
+
}, "strip", z.ZodTypeAny, {
|
|
240
|
+
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
241
|
+
limit?: number | undefined;
|
|
242
|
+
skip?: number | undefined;
|
|
243
|
+
dateFrom?: string | undefined;
|
|
244
|
+
dateTo?: string | undefined;
|
|
245
|
+
recallingFirm?: string | undefined;
|
|
246
|
+
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
247
|
+
productDescription?: string | undefined;
|
|
248
|
+
}, {
|
|
249
|
+
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
250
|
+
limit?: number | undefined;
|
|
251
|
+
skip?: number | undefined;
|
|
252
|
+
dateFrom?: string | undefined;
|
|
253
|
+
dateTo?: string | undefined;
|
|
254
|
+
recallingFirm?: string | undefined;
|
|
255
|
+
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
256
|
+
productDescription?: string | undefined;
|
|
257
|
+
}>;
|
|
258
|
+
declare const toolSchemas: {
|
|
259
|
+
searchDrugAdverseEvents: z.ZodObject<{
|
|
260
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
263
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
264
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
265
|
+
reaction: z.ZodOptional<z.ZodString>;
|
|
266
|
+
manufacturer: z.ZodOptional<z.ZodString>;
|
|
267
|
+
serious: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
}, "strip", z.ZodTypeAny, {
|
|
269
|
+
drugName?: string | undefined;
|
|
270
|
+
reaction?: string | undefined;
|
|
271
|
+
manufacturer?: string | undefined;
|
|
272
|
+
serious?: boolean | undefined;
|
|
273
|
+
limit?: number | undefined;
|
|
274
|
+
skip?: number | undefined;
|
|
275
|
+
dateFrom?: string | undefined;
|
|
276
|
+
dateTo?: string | undefined;
|
|
277
|
+
}, {
|
|
278
|
+
drugName?: string | undefined;
|
|
279
|
+
reaction?: string | undefined;
|
|
280
|
+
manufacturer?: string | undefined;
|
|
281
|
+
serious?: boolean | undefined;
|
|
282
|
+
limit?: number | undefined;
|
|
283
|
+
skip?: number | undefined;
|
|
284
|
+
dateFrom?: string | undefined;
|
|
285
|
+
dateTo?: string | undefined;
|
|
286
|
+
}>;
|
|
287
|
+
searchDrugLabels: z.ZodObject<{
|
|
288
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
291
|
+
indication: z.ZodOptional<z.ZodString>;
|
|
292
|
+
activeIngredient: z.ZodOptional<z.ZodString>;
|
|
293
|
+
route: z.ZodOptional<z.ZodString>;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
drugName?: string | undefined;
|
|
296
|
+
limit?: number | undefined;
|
|
297
|
+
skip?: number | undefined;
|
|
298
|
+
indication?: string | undefined;
|
|
299
|
+
activeIngredient?: string | undefined;
|
|
300
|
+
route?: string | undefined;
|
|
301
|
+
}, {
|
|
302
|
+
drugName?: string | undefined;
|
|
303
|
+
limit?: number | undefined;
|
|
304
|
+
skip?: number | undefined;
|
|
305
|
+
indication?: string | undefined;
|
|
306
|
+
activeIngredient?: string | undefined;
|
|
307
|
+
route?: string | undefined;
|
|
308
|
+
}>;
|
|
309
|
+
searchDrugNDC: z.ZodObject<{
|
|
310
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
311
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
312
|
+
productNdc: z.ZodOptional<z.ZodString>;
|
|
313
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
314
|
+
genericName: z.ZodOptional<z.ZodString>;
|
|
315
|
+
labelerName: z.ZodOptional<z.ZodString>;
|
|
316
|
+
dosageForm: z.ZodOptional<z.ZodString>;
|
|
317
|
+
route: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, "strip", z.ZodTypeAny, {
|
|
319
|
+
limit?: number | undefined;
|
|
320
|
+
skip?: number | undefined;
|
|
321
|
+
route?: string | undefined;
|
|
322
|
+
productNdc?: string | undefined;
|
|
323
|
+
brandName?: string | undefined;
|
|
324
|
+
genericName?: string | undefined;
|
|
325
|
+
labelerName?: string | undefined;
|
|
326
|
+
dosageForm?: string | undefined;
|
|
327
|
+
}, {
|
|
328
|
+
limit?: number | undefined;
|
|
329
|
+
skip?: number | undefined;
|
|
330
|
+
route?: string | undefined;
|
|
331
|
+
productNdc?: string | undefined;
|
|
332
|
+
brandName?: string | undefined;
|
|
333
|
+
genericName?: string | undefined;
|
|
334
|
+
labelerName?: string | undefined;
|
|
335
|
+
dosageForm?: string | undefined;
|
|
336
|
+
}>;
|
|
337
|
+
searchDrugEnforcement: z.ZodObject<{
|
|
338
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
339
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
341
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
342
|
+
recallingFirm: z.ZodOptional<z.ZodString>;
|
|
343
|
+
classification: z.ZodOptional<z.ZodEnum<["Class I", "Class II", "Class III"]>>;
|
|
344
|
+
status: z.ZodOptional<z.ZodEnum<["Ongoing", "Completed", "Terminated", "Pending"]>>;
|
|
345
|
+
state: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
347
|
+
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
348
|
+
limit?: number | undefined;
|
|
349
|
+
skip?: number | undefined;
|
|
350
|
+
dateFrom?: string | undefined;
|
|
351
|
+
dateTo?: string | undefined;
|
|
352
|
+
recallingFirm?: string | undefined;
|
|
353
|
+
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
354
|
+
state?: string | undefined;
|
|
355
|
+
}, {
|
|
356
|
+
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
357
|
+
limit?: number | undefined;
|
|
358
|
+
skip?: number | undefined;
|
|
359
|
+
dateFrom?: string | undefined;
|
|
360
|
+
dateTo?: string | undefined;
|
|
361
|
+
recallingFirm?: string | undefined;
|
|
362
|
+
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
363
|
+
state?: string | undefined;
|
|
364
|
+
}>;
|
|
365
|
+
searchDrugsFDA: z.ZodObject<{
|
|
366
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
367
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
368
|
+
sponsorName: z.ZodOptional<z.ZodString>;
|
|
369
|
+
applicationNumber: z.ZodOptional<z.ZodString>;
|
|
370
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
371
|
+
marketingStatus: z.ZodOptional<z.ZodString>;
|
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
limit?: number | undefined;
|
|
374
|
+
skip?: number | undefined;
|
|
375
|
+
brandName?: string | undefined;
|
|
376
|
+
sponsorName?: string | undefined;
|
|
377
|
+
applicationNumber?: string | undefined;
|
|
378
|
+
marketingStatus?: string | undefined;
|
|
379
|
+
}, {
|
|
380
|
+
limit?: number | undefined;
|
|
381
|
+
skip?: number | undefined;
|
|
382
|
+
brandName?: string | undefined;
|
|
383
|
+
sponsorName?: string | undefined;
|
|
384
|
+
applicationNumber?: string | undefined;
|
|
385
|
+
marketingStatus?: string | undefined;
|
|
386
|
+
}>;
|
|
387
|
+
searchDrugShortages: z.ZodObject<{
|
|
388
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
390
|
+
genericName: z.ZodOptional<z.ZodString>;
|
|
391
|
+
status: z.ZodOptional<z.ZodEnum<["Current", "Resolved"]>>;
|
|
392
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
|
+
status?: "Current" | "Resolved" | undefined;
|
|
394
|
+
limit?: number | undefined;
|
|
395
|
+
skip?: number | undefined;
|
|
396
|
+
genericName?: string | undefined;
|
|
397
|
+
}, {
|
|
398
|
+
status?: "Current" | "Resolved" | undefined;
|
|
399
|
+
limit?: number | undefined;
|
|
400
|
+
skip?: number | undefined;
|
|
401
|
+
genericName?: string | undefined;
|
|
402
|
+
}>;
|
|
403
|
+
searchDevice510K: z.ZodObject<{
|
|
404
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
405
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
406
|
+
deviceName: z.ZodOptional<z.ZodString>;
|
|
407
|
+
applicant: z.ZodOptional<z.ZodString>;
|
|
408
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
409
|
+
clearanceType: z.ZodOptional<z.ZodString>;
|
|
410
|
+
decisionDateFrom: z.ZodOptional<z.ZodString>;
|
|
411
|
+
decisionDateTo: z.ZodOptional<z.ZodString>;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
limit?: number | undefined;
|
|
414
|
+
skip?: number | undefined;
|
|
415
|
+
deviceName?: string | undefined;
|
|
416
|
+
applicant?: string | undefined;
|
|
417
|
+
productCode?: string | undefined;
|
|
418
|
+
clearanceType?: string | undefined;
|
|
419
|
+
decisionDateFrom?: string | undefined;
|
|
420
|
+
decisionDateTo?: string | undefined;
|
|
421
|
+
}, {
|
|
422
|
+
limit?: number | undefined;
|
|
423
|
+
skip?: number | undefined;
|
|
424
|
+
deviceName?: string | undefined;
|
|
425
|
+
applicant?: string | undefined;
|
|
426
|
+
productCode?: string | undefined;
|
|
427
|
+
clearanceType?: string | undefined;
|
|
428
|
+
decisionDateFrom?: string | undefined;
|
|
429
|
+
decisionDateTo?: string | undefined;
|
|
430
|
+
}>;
|
|
431
|
+
searchDeviceClassifications: z.ZodObject<{
|
|
432
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
433
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
deviceName: z.ZodOptional<z.ZodString>;
|
|
435
|
+
deviceClass: z.ZodOptional<z.ZodEnum<["1", "2", "3"]>>;
|
|
436
|
+
medicalSpecialty: z.ZodOptional<z.ZodString>;
|
|
437
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
438
|
+
regulationNumber: z.ZodOptional<z.ZodString>;
|
|
439
|
+
}, "strip", z.ZodTypeAny, {
|
|
440
|
+
limit?: number | undefined;
|
|
441
|
+
skip?: number | undefined;
|
|
442
|
+
deviceName?: string | undefined;
|
|
443
|
+
productCode?: string | undefined;
|
|
444
|
+
deviceClass?: "1" | "2" | "3" | undefined;
|
|
445
|
+
medicalSpecialty?: string | undefined;
|
|
446
|
+
regulationNumber?: string | undefined;
|
|
447
|
+
}, {
|
|
448
|
+
limit?: number | undefined;
|
|
449
|
+
skip?: number | undefined;
|
|
450
|
+
deviceName?: string | undefined;
|
|
451
|
+
productCode?: string | undefined;
|
|
452
|
+
deviceClass?: "1" | "2" | "3" | undefined;
|
|
453
|
+
medicalSpecialty?: string | undefined;
|
|
454
|
+
regulationNumber?: string | undefined;
|
|
455
|
+
}>;
|
|
456
|
+
searchDeviceAdverseEvents: z.ZodObject<{
|
|
457
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
458
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
459
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
460
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
461
|
+
deviceName: z.ZodOptional<z.ZodString>;
|
|
462
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
463
|
+
manufacturerName: z.ZodOptional<z.ZodString>;
|
|
464
|
+
eventType: z.ZodOptional<z.ZodEnum<["Injury", "Malfunction", "Death", "Other"]>>;
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
limit?: number | undefined;
|
|
467
|
+
skip?: number | undefined;
|
|
468
|
+
dateFrom?: string | undefined;
|
|
469
|
+
dateTo?: string | undefined;
|
|
470
|
+
brandName?: string | undefined;
|
|
471
|
+
deviceName?: string | undefined;
|
|
472
|
+
manufacturerName?: string | undefined;
|
|
473
|
+
eventType?: "Injury" | "Malfunction" | "Death" | "Other" | undefined;
|
|
474
|
+
}, {
|
|
475
|
+
limit?: number | undefined;
|
|
476
|
+
skip?: number | undefined;
|
|
477
|
+
dateFrom?: string | undefined;
|
|
478
|
+
dateTo?: string | undefined;
|
|
479
|
+
brandName?: string | undefined;
|
|
480
|
+
deviceName?: string | undefined;
|
|
481
|
+
manufacturerName?: string | undefined;
|
|
482
|
+
eventType?: "Injury" | "Malfunction" | "Death" | "Other" | undefined;
|
|
483
|
+
}>;
|
|
484
|
+
searchDeviceEnforcement: z.ZodObject<{
|
|
485
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
486
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
487
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
488
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
489
|
+
recallingFirm: z.ZodOptional<z.ZodString>;
|
|
490
|
+
productDescription: z.ZodOptional<z.ZodString>;
|
|
491
|
+
classification: z.ZodOptional<z.ZodEnum<["Class I", "Class II", "Class III"]>>;
|
|
492
|
+
status: z.ZodOptional<z.ZodEnum<["Ongoing", "Completed", "Terminated", "Pending"]>>;
|
|
493
|
+
}, "strip", z.ZodTypeAny, {
|
|
494
|
+
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
495
|
+
limit?: number | undefined;
|
|
496
|
+
skip?: number | undefined;
|
|
497
|
+
dateFrom?: string | undefined;
|
|
498
|
+
dateTo?: string | undefined;
|
|
499
|
+
recallingFirm?: string | undefined;
|
|
500
|
+
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
501
|
+
productDescription?: string | undefined;
|
|
502
|
+
}, {
|
|
503
|
+
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
504
|
+
limit?: number | undefined;
|
|
505
|
+
skip?: number | undefined;
|
|
506
|
+
dateFrom?: string | undefined;
|
|
507
|
+
dateTo?: string | undefined;
|
|
508
|
+
recallingFirm?: string | undefined;
|
|
509
|
+
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
510
|
+
productDescription?: string | undefined;
|
|
511
|
+
}>;
|
|
512
|
+
};
|
|
513
|
+
type SearchDrugAdverseEventsParams = z.infer<typeof searchDrugAdverseEventsSchema>;
|
|
514
|
+
type SearchDrugLabelsParams = z.infer<typeof searchDrugLabelsSchema>;
|
|
515
|
+
type SearchDrugNDCParams = z.infer<typeof searchDrugNDCSchema>;
|
|
516
|
+
type SearchDrugEnforcementParams = z.infer<typeof searchDrugEnforcementSchema>;
|
|
517
|
+
type SearchDrugsFDAParams = z.infer<typeof searchDrugsFDASchema>;
|
|
518
|
+
type SearchDrugShortagesParams = z.infer<typeof searchDrugShortagesSchema>;
|
|
519
|
+
type SearchDevice510KParams = z.infer<typeof searchDevice510KSchema>;
|
|
520
|
+
type SearchDeviceClassificationsParams = z.infer<typeof searchDeviceClassificationsSchema>;
|
|
521
|
+
type SearchDeviceAdverseEventsParams = z.infer<typeof searchDeviceAdverseEventsSchema>;
|
|
522
|
+
type SearchDeviceEnforcementParams = z.infer<typeof searchDeviceEnforcementSchema>;
|
|
523
|
+
//#endregion
|
|
524
|
+
export { SearchDevice510KParams, SearchDeviceAdverseEventsParams, SearchDeviceClassificationsParams, SearchDeviceEnforcementParams, SearchDrugAdverseEventsParams, SearchDrugEnforcementParams, SearchDrugLabelsParams, SearchDrugNDCParams, SearchDrugShortagesParams, SearchDrugsFDAParams, searchDevice510KSchema, searchDeviceAdverseEventsSchema, searchDeviceClassificationsSchema, searchDeviceEnforcementSchema, searchDrugAdverseEventsSchema, searchDrugEnforcementSchema, searchDrugLabelsSchema, searchDrugNDCSchema, searchDrugShortagesSchema, searchDrugsFDASchema, toolSchemas };
|
|
525
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,c as t,d as n,i as r,l as i,n as a,o,r as s,s as c,t as l,u}from"../tools-Bh3wjIRH.js";export{l as searchDevice510KSchema,a as searchDeviceAdverseEventsSchema,s as searchDeviceClassificationsSchema,r as searchDeviceEnforcementSchema,e as searchDrugAdverseEventsSchema,o as searchDrugEnforcementSchema,c as searchDrugLabelsSchema,t as searchDrugNDCSchema,i as searchDrugShortagesSchema,u as searchDrugsFDASchema,n as toolSchemas};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{z as e}from"zod";const t={limit:e.number().int().min(1).max(100).optional().describe(`Maximum results to return (1-100, default 10)`),skip:e.number().int().min(0).optional().describe(`Number of results to skip for pagination`)},n={dateFrom:e.string().optional().describe(`Start date (YYYY-MM-DD or YYYYMMDD format)`),dateTo:e.string().optional().describe(`End date (YYYY-MM-DD or YYYYMMDD format)`)},r=e.object({drugName:e.string().optional().describe(`Drug or product name to search`),reaction:e.string().optional().describe(`Adverse reaction to search (e.g., 'headache', 'nausea')`),manufacturer:e.string().optional().describe(`Drug manufacturer name`),serious:e.boolean().optional().describe(`Filter for serious adverse events only`),...n,...t}),i=e.object({drugName:e.string().optional().describe(`Drug brand or generic name`),indication:e.string().optional().describe(`Medical indication or use case`),activeIngredient:e.string().optional().describe(`Active ingredient/substance name`),route:e.string().optional().describe(`Route of administration (e.g., 'oral', 'intravenous')`),...t}),a=e.object({productNdc:e.string().optional().describe(`National Drug Code (NDC)`),brandName:e.string().optional().describe(`Drug brand name`),genericName:e.string().optional().describe(`Drug generic name`),labelerName:e.string().optional().describe(`Drug labeler/manufacturer name`),dosageForm:e.string().optional().describe(`Dosage form (e.g., 'tablet', 'capsule', 'injection')`),route:e.string().optional().describe(`Route of administration`),...t}),o=e.object({recallingFirm:e.string().optional().describe(`Name of the recalling company`),classification:e.enum([`Class I`,`Class II`,`Class III`]).optional().describe(`Recall classification (I=most serious, III=least)`),status:e.enum([`Ongoing`,`Completed`,`Terminated`,`Pending`]).optional().describe(`Recall status`),state:e.string().optional().describe(`US state code (e.g., 'CA', 'NY')`),...n,...t}),s=e.object({sponsorName:e.string().optional().describe(`Drug sponsor/company name`),applicationNumber:e.string().optional().describe(`FDA application number (e.g., 'NDA012345')`),brandName:e.string().optional().describe(`Drug brand name`),marketingStatus:e.string().optional().describe(`Marketing status (e.g., 'Prescription', 'OTC')`),...t}),c=e.object({genericName:e.string().optional().describe(`Generic drug name`),status:e.enum([`Current`,`Resolved`]).optional().describe(`Shortage status`),...t}),l=e.object({deviceName:e.string().optional().describe(`Device name to search`),applicant:e.string().optional().describe(`Applicant/company name`),productCode:e.string().optional().describe(`FDA product code`),clearanceType:e.string().optional().describe(`Clearance type (e.g., 'Traditional', 'Special')`),decisionDateFrom:e.string().optional().describe(`Decision date range start (YYYY-MM-DD)`),decisionDateTo:e.string().optional().describe(`Decision date range end (YYYY-MM-DD)`),...t}),u=e.object({deviceName:e.string().optional().describe(`Device name to search`),deviceClass:e.enum([`1`,`2`,`3`]).optional().describe(`Device class (1=lowest risk, 3=highest)`),medicalSpecialty:e.string().optional().describe(`Medical specialty code`),productCode:e.string().optional().describe(`FDA product code`),regulationNumber:e.string().optional().describe(`CFR regulation number`),...t}),d=e.object({deviceName:e.string().optional().describe(`Device generic name`),brandName:e.string().optional().describe(`Device brand name`),manufacturerName:e.string().optional().describe(`Device manufacturer name`),eventType:e.enum([`Injury`,`Malfunction`,`Death`,`Other`]).optional().describe(`Type of adverse event`),...n,...t}),f=e.object({recallingFirm:e.string().optional().describe(`Name of the recalling company`),productDescription:e.string().optional().describe(`Product description keywords`),classification:e.enum([`Class I`,`Class II`,`Class III`]).optional().describe(`Recall classification (I=most serious)`),status:e.enum([`Ongoing`,`Completed`,`Terminated`,`Pending`]).optional().describe(`Recall status`),...n,...t}),p={searchDrugAdverseEvents:r,searchDrugLabels:i,searchDrugNDC:a,searchDrugEnforcement:o,searchDrugsFDA:s,searchDrugShortages:c,searchDevice510K:l,searchDeviceClassifications:u,searchDeviceAdverseEvents:d,searchDeviceEnforcement:f};export{r as a,a as c,p as d,f as i,c as l,d as n,o,u as r,i as s,l as t,s as u};
|
|
2
|
+
//# sourceMappingURL=tools-Bh3wjIRH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools-Bh3wjIRH.js","names":[],"sources":["../src/tools/index.ts"],"sourcesContent":["/**\n * MCP Tool Definitions\n * Zod schemas for all FDA MCP tools\n */\n\nimport { z } from \"zod\"\n\n// Common pagination schema\nconst paginationSchema = {\n limit: z.number().int().min(1).max(100).optional().describe(\"Maximum results to return (1-100, default 10)\"),\n skip: z.number().int().min(0).optional().describe(\"Number of results to skip for pagination\"),\n}\n\n// Date range schema\nconst dateRangeSchema = {\n dateFrom: z.string().optional().describe(\"Start date (YYYY-MM-DD or YYYYMMDD format)\"),\n dateTo: z.string().optional().describe(\"End date (YYYY-MM-DD or YYYYMMDD format)\"),\n}\n\n// Drug Tool Schemas\n\nexport const searchDrugAdverseEventsSchema = z.object({\n drugName: z.string().optional().describe(\"Drug or product name to search\"),\n reaction: z.string().optional().describe(\"Adverse reaction to search (e.g., 'headache', 'nausea')\"),\n manufacturer: z.string().optional().describe(\"Drug manufacturer name\"),\n serious: z.boolean().optional().describe(\"Filter for serious adverse events only\"),\n ...dateRangeSchema,\n ...paginationSchema,\n})\n\nexport const searchDrugLabelsSchema = z.object({\n drugName: z.string().optional().describe(\"Drug brand or generic name\"),\n indication: z.string().optional().describe(\"Medical indication or use case\"),\n activeIngredient: z.string().optional().describe(\"Active ingredient/substance name\"),\n route: z.string().optional().describe(\"Route of administration (e.g., 'oral', 'intravenous')\"),\n ...paginationSchema,\n})\n\nexport const searchDrugNDCSchema = z.object({\n productNdc: z.string().optional().describe(\"National Drug Code (NDC)\"),\n brandName: z.string().optional().describe(\"Drug brand name\"),\n genericName: z.string().optional().describe(\"Drug generic name\"),\n labelerName: z.string().optional().describe(\"Drug labeler/manufacturer name\"),\n dosageForm: z.string().optional().describe(\"Dosage form (e.g., 'tablet', 'capsule', 'injection')\"),\n route: z.string().optional().describe(\"Route of administration\"),\n ...paginationSchema,\n})\n\nexport const searchDrugEnforcementSchema = z.object({\n recallingFirm: z.string().optional().describe(\"Name of the recalling company\"),\n classification: z\n .enum([\"Class I\", \"Class II\", \"Class III\"])\n .optional()\n .describe(\"Recall classification (I=most serious, III=least)\"),\n status: z.enum([\"Ongoing\", \"Completed\", \"Terminated\", \"Pending\"]).optional().describe(\"Recall status\"),\n state: z.string().optional().describe(\"US state code (e.g., 'CA', 'NY')\"),\n ...dateRangeSchema,\n ...paginationSchema,\n})\n\nexport const searchDrugsFDASchema = z.object({\n sponsorName: z.string().optional().describe(\"Drug sponsor/company name\"),\n applicationNumber: z.string().optional().describe(\"FDA application number (e.g., 'NDA012345')\"),\n brandName: z.string().optional().describe(\"Drug brand name\"),\n marketingStatus: z.string().optional().describe(\"Marketing status (e.g., 'Prescription', 'OTC')\"),\n ...paginationSchema,\n})\n\nexport const searchDrugShortagesSchema = z.object({\n genericName: z.string().optional().describe(\"Generic drug name\"),\n status: z.enum([\"Current\", \"Resolved\"]).optional().describe(\"Shortage status\"),\n ...paginationSchema,\n})\n\n// Device Tool Schemas\n\nexport const searchDevice510KSchema = z.object({\n deviceName: z.string().optional().describe(\"Device name to search\"),\n applicant: z.string().optional().describe(\"Applicant/company name\"),\n productCode: z.string().optional().describe(\"FDA product code\"),\n clearanceType: z.string().optional().describe(\"Clearance type (e.g., 'Traditional', 'Special')\"),\n decisionDateFrom: z.string().optional().describe(\"Decision date range start (YYYY-MM-DD)\"),\n decisionDateTo: z.string().optional().describe(\"Decision date range end (YYYY-MM-DD)\"),\n ...paginationSchema,\n})\n\nexport const searchDeviceClassificationsSchema = z.object({\n deviceName: z.string().optional().describe(\"Device name to search\"),\n deviceClass: z.enum([\"1\", \"2\", \"3\"]).optional().describe(\"Device class (1=lowest risk, 3=highest)\"),\n medicalSpecialty: z.string().optional().describe(\"Medical specialty code\"),\n productCode: z.string().optional().describe(\"FDA product code\"),\n regulationNumber: z.string().optional().describe(\"CFR regulation number\"),\n ...paginationSchema,\n})\n\nexport const searchDeviceAdverseEventsSchema = z.object({\n deviceName: z.string().optional().describe(\"Device generic name\"),\n brandName: z.string().optional().describe(\"Device brand name\"),\n manufacturerName: z.string().optional().describe(\"Device manufacturer name\"),\n eventType: z.enum([\"Injury\", \"Malfunction\", \"Death\", \"Other\"]).optional().describe(\"Type of adverse event\"),\n ...dateRangeSchema,\n ...paginationSchema,\n})\n\nexport const searchDeviceEnforcementSchema = z.object({\n recallingFirm: z.string().optional().describe(\"Name of the recalling company\"),\n productDescription: z.string().optional().describe(\"Product description keywords\"),\n classification: z\n .enum([\"Class I\", \"Class II\", \"Class III\"])\n .optional()\n .describe(\"Recall classification (I=most serious)\"),\n status: z.enum([\"Ongoing\", \"Completed\", \"Terminated\", \"Pending\"]).optional().describe(\"Recall status\"),\n ...dateRangeSchema,\n ...paginationSchema,\n})\n\n// Export all schemas for use in tool registration\nexport const toolSchemas = {\n searchDrugAdverseEvents: searchDrugAdverseEventsSchema,\n searchDrugLabels: searchDrugLabelsSchema,\n searchDrugNDC: searchDrugNDCSchema,\n searchDrugEnforcement: searchDrugEnforcementSchema,\n searchDrugsFDA: searchDrugsFDASchema,\n searchDrugShortages: searchDrugShortagesSchema,\n searchDevice510K: searchDevice510KSchema,\n searchDeviceClassifications: searchDeviceClassificationsSchema,\n searchDeviceAdverseEvents: searchDeviceAdverseEventsSchema,\n searchDeviceEnforcement: searchDeviceEnforcementSchema,\n}\n\n// Export inferred types\nexport type SearchDrugAdverseEventsParams = z.infer<typeof searchDrugAdverseEventsSchema>\nexport type SearchDrugLabelsParams = z.infer<typeof searchDrugLabelsSchema>\nexport type SearchDrugNDCParams = z.infer<typeof searchDrugNDCSchema>\nexport type SearchDrugEnforcementParams = z.infer<typeof searchDrugEnforcementSchema>\nexport type SearchDrugsFDAParams = z.infer<typeof searchDrugsFDASchema>\nexport type SearchDrugShortagesParams = z.infer<typeof searchDrugShortagesSchema>\nexport type SearchDevice510KParams = z.infer<typeof searchDevice510KSchema>\nexport type SearchDeviceClassificationsParams = z.infer<typeof searchDeviceClassificationsSchema>\nexport type SearchDeviceAdverseEventsParams = z.infer<typeof searchDeviceAdverseEventsSchema>\nexport type SearchDeviceEnforcementParams = z.infer<typeof searchDeviceEnforcementSchema>\n"],"mappings":"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"}
|