openfda-mcp-server 1.1.0 → 1.2.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/defineProperty-BEGP2H1W.js +1 -0
- package/dist/handlers/bulk-data-handlers.d.ts +108 -0
- package/dist/handlers/bulk-data-handlers.js +2 -0
- package/dist/handlers/bulk-data-handlers.js.map +1 -0
- package/dist/handlers/device-handlers.d.ts +0 -1
- package/dist/handlers/device-handlers.js +2 -1
- package/dist/handlers/device-handlers.js.map +1 -0
- package/dist/handlers/drug-handlers.d.ts +0 -1
- package/dist/handlers/drug-handlers.js +2 -1
- package/dist/handlers/drug-handlers.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lib.d.ts +4 -2
- package/dist/lib.js +1 -1
- package/dist/server.d.ts +1 -2
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/tools/index.d.ts +205 -382
- package/dist/tools/index.js +2 -1
- package/dist/tools/index.js.map +1 -0
- package/dist/types/fda.d.ts +58 -1
- package/dist/utils/api-client.d.ts +0 -1
- package/dist/utils/api-client.js +2 -1
- package/dist/utils/api-client.js.map +1 -0
- package/dist/utils/bulk-data-client.d.ts +24 -0
- package/dist/utils/bulk-data-client.js +4 -0
- package/dist/utils/bulk-data-client.js.map +1 -0
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/logger.js.map +1 -1
- package/package.json +27 -23
- package/dist/api-client-BGnUXMwX.js +0 -2
- package/dist/api-client-BGnUXMwX.js.map +0 -1
- package/dist/device-handlers-D8AD5oIk.js +0 -2
- package/dist/device-handlers-D8AD5oIk.js.map +0 -1
- package/dist/drug-handlers-D5VxbBCL.js +0 -2
- package/dist/drug-handlers-D5VxbBCL.js.map +0 -1
- package/dist/tools-3M3lSxQv.js +0 -2
- package/dist/tools-3M3lSxQv.js.map +0 -1
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/tools/index.d.ts
|
|
4
|
-
|
|
5
4
|
declare const searchDrugAdverseEventsSchema: z.ZodObject<{
|
|
6
5
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
6
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -12,27 +11,7 @@ declare const searchDrugAdverseEventsSchema: z.ZodObject<{
|
|
|
12
11
|
reaction: z.ZodOptional<z.ZodString>;
|
|
13
12
|
manufacturer: z.ZodOptional<z.ZodString>;
|
|
14
13
|
serious: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
-
},
|
|
16
|
-
safetyReportId?: string | undefined;
|
|
17
|
-
drugName?: string | undefined;
|
|
18
|
-
reaction?: string | undefined;
|
|
19
|
-
manufacturer?: string | undefined;
|
|
20
|
-
serious?: boolean | undefined;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
skip?: number | undefined;
|
|
23
|
-
dateFrom?: string | undefined;
|
|
24
|
-
dateTo?: string | undefined;
|
|
25
|
-
}, {
|
|
26
|
-
safetyReportId?: string | undefined;
|
|
27
|
-
drugName?: string | undefined;
|
|
28
|
-
reaction?: string | undefined;
|
|
29
|
-
manufacturer?: string | undefined;
|
|
30
|
-
serious?: boolean | undefined;
|
|
31
|
-
limit?: number | undefined;
|
|
32
|
-
skip?: number | undefined;
|
|
33
|
-
dateFrom?: string | undefined;
|
|
34
|
-
dateTo?: string | undefined;
|
|
35
|
-
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
36
15
|
declare const labelSections: readonly ["indications_and_usage", "dosage_and_administration", "contraindications", "warnings", "warnings_and_cautions", "adverse_reactions", "drug_interactions", "clinical_pharmacology", "mechanism_of_action", "pharmacokinetics", "overdosage", "description", "how_supplied", "storage_and_handling", "boxed_warning"];
|
|
37
16
|
declare const searchDrugLabelsSchema: z.ZodObject<{
|
|
38
17
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -43,28 +22,24 @@ declare const searchDrugLabelsSchema: z.ZodObject<{
|
|
|
43
22
|
activeIngredient: z.ZodOptional<z.ZodString>;
|
|
44
23
|
route: z.ZodOptional<z.ZodString>;
|
|
45
24
|
hasBoxedWarning: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
sections: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
route?: string | undefined;
|
|
65
|
-
hasBoxedWarning?: boolean | undefined;
|
|
66
|
-
sections?: ("indications_and_usage" | "dosage_and_administration" | "contraindications" | "warnings" | "warnings_and_cautions" | "adverse_reactions" | "drug_interactions" | "clinical_pharmacology" | "mechanism_of_action" | "pharmacokinetics" | "overdosage" | "description" | "how_supplied" | "storage_and_handling" | "boxed_warning")[] | undefined;
|
|
67
|
-
}>;
|
|
25
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
26
|
+
indications_and_usage: "indications_and_usage";
|
|
27
|
+
dosage_and_administration: "dosage_and_administration";
|
|
28
|
+
contraindications: "contraindications";
|
|
29
|
+
warnings: "warnings";
|
|
30
|
+
warnings_and_cautions: "warnings_and_cautions";
|
|
31
|
+
adverse_reactions: "adverse_reactions";
|
|
32
|
+
drug_interactions: "drug_interactions";
|
|
33
|
+
clinical_pharmacology: "clinical_pharmacology";
|
|
34
|
+
mechanism_of_action: "mechanism_of_action";
|
|
35
|
+
pharmacokinetics: "pharmacokinetics";
|
|
36
|
+
overdosage: "overdosage";
|
|
37
|
+
description: "description";
|
|
38
|
+
how_supplied: "how_supplied";
|
|
39
|
+
storage_and_handling: "storage_and_handling";
|
|
40
|
+
boxed_warning: "boxed_warning";
|
|
41
|
+
}>>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
68
43
|
declare const searchDrugNDCSchema: z.ZodObject<{
|
|
69
44
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
70
45
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -74,53 +49,26 @@ declare const searchDrugNDCSchema: z.ZodObject<{
|
|
|
74
49
|
labelerName: z.ZodOptional<z.ZodString>;
|
|
75
50
|
dosageForm: z.ZodOptional<z.ZodString>;
|
|
76
51
|
route: z.ZodOptional<z.ZodString>;
|
|
77
|
-
},
|
|
78
|
-
limit?: number | undefined;
|
|
79
|
-
skip?: number | undefined;
|
|
80
|
-
route?: string | undefined;
|
|
81
|
-
productNdc?: string | undefined;
|
|
82
|
-
brandName?: string | undefined;
|
|
83
|
-
genericName?: string | undefined;
|
|
84
|
-
labelerName?: string | undefined;
|
|
85
|
-
dosageForm?: string | undefined;
|
|
86
|
-
}, {
|
|
87
|
-
limit?: number | undefined;
|
|
88
|
-
skip?: number | undefined;
|
|
89
|
-
route?: string | undefined;
|
|
90
|
-
productNdc?: string | undefined;
|
|
91
|
-
brandName?: string | undefined;
|
|
92
|
-
genericName?: string | undefined;
|
|
93
|
-
labelerName?: string | undefined;
|
|
94
|
-
dosageForm?: string | undefined;
|
|
95
|
-
}>;
|
|
52
|
+
}, z.core.$strip>;
|
|
96
53
|
declare const searchDrugEnforcementSchema: z.ZodObject<{
|
|
97
54
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
98
55
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
99
56
|
dateFrom: z.ZodOptional<z.ZodString>;
|
|
100
57
|
dateTo: z.ZodOptional<z.ZodString>;
|
|
101
58
|
recallingFirm: z.ZodOptional<z.ZodString>;
|
|
102
|
-
classification: z.ZodOptional<z.ZodEnum<
|
|
103
|
-
|
|
59
|
+
classification: z.ZodOptional<z.ZodEnum<{
|
|
60
|
+
"Class I": "Class I";
|
|
61
|
+
"Class II": "Class II";
|
|
62
|
+
"Class III": "Class III";
|
|
63
|
+
}>>;
|
|
64
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
Ongoing: "Ongoing";
|
|
66
|
+
Completed: "Completed";
|
|
67
|
+
Terminated: "Terminated";
|
|
68
|
+
Pending: "Pending";
|
|
69
|
+
}>>;
|
|
104
70
|
state: z.ZodOptional<z.ZodString>;
|
|
105
|
-
},
|
|
106
|
-
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
107
|
-
limit?: number | undefined;
|
|
108
|
-
skip?: number | undefined;
|
|
109
|
-
dateFrom?: string | undefined;
|
|
110
|
-
dateTo?: string | undefined;
|
|
111
|
-
recallingFirm?: string | undefined;
|
|
112
|
-
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
113
|
-
state?: string | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
116
|
-
limit?: number | undefined;
|
|
117
|
-
skip?: number | undefined;
|
|
118
|
-
dateFrom?: string | undefined;
|
|
119
|
-
dateTo?: string | undefined;
|
|
120
|
-
recallingFirm?: string | undefined;
|
|
121
|
-
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
122
|
-
state?: string | undefined;
|
|
123
|
-
}>;
|
|
71
|
+
}, z.core.$strip>;
|
|
124
72
|
declare const searchDrugsFDASchema: z.ZodObject<{
|
|
125
73
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
126
74
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -128,37 +76,16 @@ declare const searchDrugsFDASchema: z.ZodObject<{
|
|
|
128
76
|
applicationNumber: z.ZodOptional<z.ZodString>;
|
|
129
77
|
brandName: z.ZodOptional<z.ZodString>;
|
|
130
78
|
marketingStatus: z.ZodOptional<z.ZodString>;
|
|
131
|
-
},
|
|
132
|
-
limit?: number | undefined;
|
|
133
|
-
skip?: number | undefined;
|
|
134
|
-
brandName?: string | undefined;
|
|
135
|
-
sponsorName?: string | undefined;
|
|
136
|
-
applicationNumber?: string | undefined;
|
|
137
|
-
marketingStatus?: string | undefined;
|
|
138
|
-
}, {
|
|
139
|
-
limit?: number | undefined;
|
|
140
|
-
skip?: number | undefined;
|
|
141
|
-
brandName?: string | undefined;
|
|
142
|
-
sponsorName?: string | undefined;
|
|
143
|
-
applicationNumber?: string | undefined;
|
|
144
|
-
marketingStatus?: string | undefined;
|
|
145
|
-
}>;
|
|
79
|
+
}, z.core.$strip>;
|
|
146
80
|
declare const searchDrugShortagesSchema: z.ZodObject<{
|
|
147
81
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
148
82
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
149
83
|
genericName: z.ZodOptional<z.ZodString>;
|
|
150
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
genericName?: string | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
status?: "Current" | "Resolved" | undefined;
|
|
158
|
-
limit?: number | undefined;
|
|
159
|
-
skip?: number | undefined;
|
|
160
|
-
genericName?: string | undefined;
|
|
161
|
-
}>;
|
|
84
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
85
|
+
Current: "Current";
|
|
86
|
+
Resolved: "Resolved";
|
|
87
|
+
}>>;
|
|
88
|
+
}, z.core.$strip>;
|
|
162
89
|
declare const searchDevice510KSchema: z.ZodObject<{
|
|
163
90
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
164
91
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -168,50 +95,20 @@ declare const searchDevice510KSchema: z.ZodObject<{
|
|
|
168
95
|
clearanceType: z.ZodOptional<z.ZodString>;
|
|
169
96
|
decisionDateFrom: z.ZodOptional<z.ZodString>;
|
|
170
97
|
decisionDateTo: z.ZodOptional<z.ZodString>;
|
|
171
|
-
},
|
|
172
|
-
limit?: number | undefined;
|
|
173
|
-
skip?: number | undefined;
|
|
174
|
-
deviceName?: string | undefined;
|
|
175
|
-
applicant?: string | undefined;
|
|
176
|
-
productCode?: string | undefined;
|
|
177
|
-
clearanceType?: string | undefined;
|
|
178
|
-
decisionDateFrom?: string | undefined;
|
|
179
|
-
decisionDateTo?: string | undefined;
|
|
180
|
-
}, {
|
|
181
|
-
limit?: number | undefined;
|
|
182
|
-
skip?: number | undefined;
|
|
183
|
-
deviceName?: string | undefined;
|
|
184
|
-
applicant?: string | undefined;
|
|
185
|
-
productCode?: string | undefined;
|
|
186
|
-
clearanceType?: string | undefined;
|
|
187
|
-
decisionDateFrom?: string | undefined;
|
|
188
|
-
decisionDateTo?: string | undefined;
|
|
189
|
-
}>;
|
|
98
|
+
}, z.core.$strip>;
|
|
190
99
|
declare const searchDeviceClassificationsSchema: z.ZodObject<{
|
|
191
100
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
192
101
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
193
102
|
deviceName: z.ZodOptional<z.ZodString>;
|
|
194
|
-
deviceClass: z.ZodOptional<z.ZodEnum<
|
|
103
|
+
deviceClass: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
1: "1";
|
|
105
|
+
2: "2";
|
|
106
|
+
3: "3";
|
|
107
|
+
}>>;
|
|
195
108
|
medicalSpecialty: z.ZodOptional<z.ZodString>;
|
|
196
109
|
productCode: z.ZodOptional<z.ZodString>;
|
|
197
110
|
regulationNumber: z.ZodOptional<z.ZodString>;
|
|
198
|
-
},
|
|
199
|
-
limit?: number | undefined;
|
|
200
|
-
skip?: number | undefined;
|
|
201
|
-
deviceName?: string | undefined;
|
|
202
|
-
productCode?: string | undefined;
|
|
203
|
-
deviceClass?: "1" | "2" | "3" | undefined;
|
|
204
|
-
medicalSpecialty?: string | undefined;
|
|
205
|
-
regulationNumber?: string | undefined;
|
|
206
|
-
}, {
|
|
207
|
-
limit?: number | undefined;
|
|
208
|
-
skip?: number | undefined;
|
|
209
|
-
deviceName?: string | undefined;
|
|
210
|
-
productCode?: string | undefined;
|
|
211
|
-
deviceClass?: "1" | "2" | "3" | undefined;
|
|
212
|
-
medicalSpecialty?: string | undefined;
|
|
213
|
-
regulationNumber?: string | undefined;
|
|
214
|
-
}>;
|
|
111
|
+
}, z.core.$strip>;
|
|
215
112
|
declare const searchDeviceAdverseEventsSchema: z.ZodObject<{
|
|
216
113
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
217
114
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -221,28 +118,13 @@ declare const searchDeviceAdverseEventsSchema: z.ZodObject<{
|
|
|
221
118
|
deviceName: z.ZodOptional<z.ZodString>;
|
|
222
119
|
brandName: z.ZodOptional<z.ZodString>;
|
|
223
120
|
manufacturerName: z.ZodOptional<z.ZodString>;
|
|
224
|
-
eventType: z.ZodOptional<z.ZodEnum<
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
deviceName?: string | undefined;
|
|
232
|
-
reportNumber?: string | undefined;
|
|
233
|
-
manufacturerName?: string | undefined;
|
|
234
|
-
eventType?: "Injury" | "Malfunction" | "Death" | "Other" | undefined;
|
|
235
|
-
}, {
|
|
236
|
-
limit?: number | undefined;
|
|
237
|
-
skip?: number | undefined;
|
|
238
|
-
dateFrom?: string | undefined;
|
|
239
|
-
dateTo?: string | undefined;
|
|
240
|
-
brandName?: string | undefined;
|
|
241
|
-
deviceName?: string | undefined;
|
|
242
|
-
reportNumber?: string | undefined;
|
|
243
|
-
manufacturerName?: string | undefined;
|
|
244
|
-
eventType?: "Injury" | "Malfunction" | "Death" | "Other" | undefined;
|
|
245
|
-
}>;
|
|
121
|
+
eventType: z.ZodOptional<z.ZodEnum<{
|
|
122
|
+
Injury: "Injury";
|
|
123
|
+
Malfunction: "Malfunction";
|
|
124
|
+
Death: "Death";
|
|
125
|
+
Other: "Other";
|
|
126
|
+
}>>;
|
|
127
|
+
}, z.core.$strip>;
|
|
246
128
|
declare const searchDeviceEnforcementSchema: z.ZodObject<{
|
|
247
129
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
248
130
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -250,27 +132,54 @@ declare const searchDeviceEnforcementSchema: z.ZodObject<{
|
|
|
250
132
|
dateTo: z.ZodOptional<z.ZodString>;
|
|
251
133
|
recallingFirm: z.ZodOptional<z.ZodString>;
|
|
252
134
|
productDescription: z.ZodOptional<z.ZodString>;
|
|
253
|
-
classification: z.ZodOptional<z.ZodEnum<
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
},
|
|
265
|
-
|
|
266
|
-
limit
|
|
267
|
-
skip
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
135
|
+
classification: z.ZodOptional<z.ZodEnum<{
|
|
136
|
+
"Class I": "Class I";
|
|
137
|
+
"Class II": "Class II";
|
|
138
|
+
"Class III": "Class III";
|
|
139
|
+
}>>;
|
|
140
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
Ongoing: "Ongoing";
|
|
142
|
+
Completed: "Completed";
|
|
143
|
+
Terminated: "Terminated";
|
|
144
|
+
Pending: "Pending";
|
|
145
|
+
}>>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
declare const searchOrangeBookSchema: z.ZodObject<{
|
|
148
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
149
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
151
|
+
applicant: z.ZodOptional<z.ZodString>;
|
|
152
|
+
applNo: z.ZodOptional<z.ZodString>;
|
|
153
|
+
teCode: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, z.core.$strip>;
|
|
155
|
+
declare const searchOrangeBookPatentsSchema: z.ZodObject<{
|
|
156
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
157
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
158
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
159
|
+
applNo: z.ZodOptional<z.ZodString>;
|
|
160
|
+
patentNo: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
declare const searchPurpleBookSchema: z.ZodObject<{
|
|
163
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
164
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
166
|
+
applicant: z.ZodOptional<z.ZodString>;
|
|
167
|
+
blaNumber: z.ZodOptional<z.ZodString>;
|
|
168
|
+
licenseType: z.ZodOptional<z.ZodEnum<{
|
|
169
|
+
"351(a)": "351(a)";
|
|
170
|
+
"351(k)": "351(k)";
|
|
171
|
+
}>>;
|
|
172
|
+
biosimilar: z.ZodOptional<z.ZodBoolean>;
|
|
173
|
+
interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
declare const searchDrugPatentExpirySchema: z.ZodObject<{
|
|
176
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
179
|
+
applNo: z.ZodOptional<z.ZodString>;
|
|
180
|
+
includeExclusivity: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
181
|
+
includePurpleBook: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
182
|
+
}, z.core.$strip>;
|
|
274
183
|
declare const toolSchemas: {
|
|
275
184
|
searchDrugAdverseEvents: z.ZodObject<{
|
|
276
185
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -282,27 +191,7 @@ declare const toolSchemas: {
|
|
|
282
191
|
reaction: z.ZodOptional<z.ZodString>;
|
|
283
192
|
manufacturer: z.ZodOptional<z.ZodString>;
|
|
284
193
|
serious: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
-
},
|
|
286
|
-
safetyReportId?: string | undefined;
|
|
287
|
-
drugName?: string | undefined;
|
|
288
|
-
reaction?: string | undefined;
|
|
289
|
-
manufacturer?: string | undefined;
|
|
290
|
-
serious?: boolean | undefined;
|
|
291
|
-
limit?: number | undefined;
|
|
292
|
-
skip?: number | undefined;
|
|
293
|
-
dateFrom?: string | undefined;
|
|
294
|
-
dateTo?: string | undefined;
|
|
295
|
-
}, {
|
|
296
|
-
safetyReportId?: string | undefined;
|
|
297
|
-
drugName?: string | undefined;
|
|
298
|
-
reaction?: string | undefined;
|
|
299
|
-
manufacturer?: string | undefined;
|
|
300
|
-
serious?: boolean | undefined;
|
|
301
|
-
limit?: number | undefined;
|
|
302
|
-
skip?: number | undefined;
|
|
303
|
-
dateFrom?: string | undefined;
|
|
304
|
-
dateTo?: string | undefined;
|
|
305
|
-
}>;
|
|
194
|
+
}, z.core.$strip>;
|
|
306
195
|
searchDrugLabels: z.ZodObject<{
|
|
307
196
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
308
197
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -312,28 +201,24 @@ declare const toolSchemas: {
|
|
|
312
201
|
activeIngredient: z.ZodOptional<z.ZodString>;
|
|
313
202
|
route: z.ZodOptional<z.ZodString>;
|
|
314
203
|
hasBoxedWarning: z.ZodOptional<z.ZodBoolean>;
|
|
315
|
-
sections: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
route?: string | undefined;
|
|
334
|
-
hasBoxedWarning?: boolean | undefined;
|
|
335
|
-
sections?: ("indications_and_usage" | "dosage_and_administration" | "contraindications" | "warnings" | "warnings_and_cautions" | "adverse_reactions" | "drug_interactions" | "clinical_pharmacology" | "mechanism_of_action" | "pharmacokinetics" | "overdosage" | "description" | "how_supplied" | "storage_and_handling" | "boxed_warning")[] | undefined;
|
|
336
|
-
}>;
|
|
204
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
205
|
+
indications_and_usage: "indications_and_usage";
|
|
206
|
+
dosage_and_administration: "dosage_and_administration";
|
|
207
|
+
contraindications: "contraindications";
|
|
208
|
+
warnings: "warnings";
|
|
209
|
+
warnings_and_cautions: "warnings_and_cautions";
|
|
210
|
+
adverse_reactions: "adverse_reactions";
|
|
211
|
+
drug_interactions: "drug_interactions";
|
|
212
|
+
clinical_pharmacology: "clinical_pharmacology";
|
|
213
|
+
mechanism_of_action: "mechanism_of_action";
|
|
214
|
+
pharmacokinetics: "pharmacokinetics";
|
|
215
|
+
overdosage: "overdosage";
|
|
216
|
+
description: "description";
|
|
217
|
+
how_supplied: "how_supplied";
|
|
218
|
+
storage_and_handling: "storage_and_handling";
|
|
219
|
+
boxed_warning: "boxed_warning";
|
|
220
|
+
}>>>;
|
|
221
|
+
}, z.core.$strip>;
|
|
337
222
|
searchDrugNDC: z.ZodObject<{
|
|
338
223
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
339
224
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -343,53 +228,26 @@ declare const toolSchemas: {
|
|
|
343
228
|
labelerName: z.ZodOptional<z.ZodString>;
|
|
344
229
|
dosageForm: z.ZodOptional<z.ZodString>;
|
|
345
230
|
route: z.ZodOptional<z.ZodString>;
|
|
346
|
-
},
|
|
347
|
-
limit?: number | undefined;
|
|
348
|
-
skip?: number | undefined;
|
|
349
|
-
route?: string | undefined;
|
|
350
|
-
productNdc?: string | undefined;
|
|
351
|
-
brandName?: string | undefined;
|
|
352
|
-
genericName?: string | undefined;
|
|
353
|
-
labelerName?: string | undefined;
|
|
354
|
-
dosageForm?: string | undefined;
|
|
355
|
-
}, {
|
|
356
|
-
limit?: number | undefined;
|
|
357
|
-
skip?: number | undefined;
|
|
358
|
-
route?: string | undefined;
|
|
359
|
-
productNdc?: string | undefined;
|
|
360
|
-
brandName?: string | undefined;
|
|
361
|
-
genericName?: string | undefined;
|
|
362
|
-
labelerName?: string | undefined;
|
|
363
|
-
dosageForm?: string | undefined;
|
|
364
|
-
}>;
|
|
231
|
+
}, z.core.$strip>;
|
|
365
232
|
searchDrugEnforcement: z.ZodObject<{
|
|
366
233
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
367
234
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
368
235
|
dateFrom: z.ZodOptional<z.ZodString>;
|
|
369
236
|
dateTo: z.ZodOptional<z.ZodString>;
|
|
370
237
|
recallingFirm: z.ZodOptional<z.ZodString>;
|
|
371
|
-
classification: z.ZodOptional<z.ZodEnum<
|
|
372
|
-
|
|
238
|
+
classification: z.ZodOptional<z.ZodEnum<{
|
|
239
|
+
"Class I": "Class I";
|
|
240
|
+
"Class II": "Class II";
|
|
241
|
+
"Class III": "Class III";
|
|
242
|
+
}>>;
|
|
243
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
244
|
+
Ongoing: "Ongoing";
|
|
245
|
+
Completed: "Completed";
|
|
246
|
+
Terminated: "Terminated";
|
|
247
|
+
Pending: "Pending";
|
|
248
|
+
}>>;
|
|
373
249
|
state: z.ZodOptional<z.ZodString>;
|
|
374
|
-
},
|
|
375
|
-
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
376
|
-
limit?: number | undefined;
|
|
377
|
-
skip?: number | undefined;
|
|
378
|
-
dateFrom?: string | undefined;
|
|
379
|
-
dateTo?: string | undefined;
|
|
380
|
-
recallingFirm?: string | undefined;
|
|
381
|
-
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
382
|
-
state?: string | undefined;
|
|
383
|
-
}, {
|
|
384
|
-
status?: "Ongoing" | "Completed" | "Terminated" | "Pending" | undefined;
|
|
385
|
-
limit?: number | undefined;
|
|
386
|
-
skip?: number | undefined;
|
|
387
|
-
dateFrom?: string | undefined;
|
|
388
|
-
dateTo?: string | undefined;
|
|
389
|
-
recallingFirm?: string | undefined;
|
|
390
|
-
classification?: "Class I" | "Class II" | "Class III" | undefined;
|
|
391
|
-
state?: string | undefined;
|
|
392
|
-
}>;
|
|
250
|
+
}, z.core.$strip>;
|
|
393
251
|
searchDrugsFDA: z.ZodObject<{
|
|
394
252
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
395
253
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -397,37 +255,16 @@ declare const toolSchemas: {
|
|
|
397
255
|
applicationNumber: z.ZodOptional<z.ZodString>;
|
|
398
256
|
brandName: z.ZodOptional<z.ZodString>;
|
|
399
257
|
marketingStatus: z.ZodOptional<z.ZodString>;
|
|
400
|
-
},
|
|
401
|
-
limit?: number | undefined;
|
|
402
|
-
skip?: number | undefined;
|
|
403
|
-
brandName?: string | undefined;
|
|
404
|
-
sponsorName?: string | undefined;
|
|
405
|
-
applicationNumber?: string | undefined;
|
|
406
|
-
marketingStatus?: string | undefined;
|
|
407
|
-
}, {
|
|
408
|
-
limit?: number | undefined;
|
|
409
|
-
skip?: number | undefined;
|
|
410
|
-
brandName?: string | undefined;
|
|
411
|
-
sponsorName?: string | undefined;
|
|
412
|
-
applicationNumber?: string | undefined;
|
|
413
|
-
marketingStatus?: string | undefined;
|
|
414
|
-
}>;
|
|
258
|
+
}, z.core.$strip>;
|
|
415
259
|
searchDrugShortages: z.ZodObject<{
|
|
416
260
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
417
261
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
418
262
|
genericName: z.ZodOptional<z.ZodString>;
|
|
419
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
genericName?: string | undefined;
|
|
425
|
-
}, {
|
|
426
|
-
status?: "Current" | "Resolved" | undefined;
|
|
427
|
-
limit?: number | undefined;
|
|
428
|
-
skip?: number | undefined;
|
|
429
|
-
genericName?: string | undefined;
|
|
430
|
-
}>;
|
|
263
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
264
|
+
Current: "Current";
|
|
265
|
+
Resolved: "Resolved";
|
|
266
|
+
}>>;
|
|
267
|
+
}, z.core.$strip>;
|
|
431
268
|
searchDevice510K: z.ZodObject<{
|
|
432
269
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
433
270
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -437,50 +274,20 @@ declare const toolSchemas: {
|
|
|
437
274
|
clearanceType: z.ZodOptional<z.ZodString>;
|
|
438
275
|
decisionDateFrom: z.ZodOptional<z.ZodString>;
|
|
439
276
|
decisionDateTo: z.ZodOptional<z.ZodString>;
|
|
440
|
-
},
|
|
441
|
-
limit?: number | undefined;
|
|
442
|
-
skip?: number | undefined;
|
|
443
|
-
deviceName?: string | undefined;
|
|
444
|
-
applicant?: string | undefined;
|
|
445
|
-
productCode?: string | undefined;
|
|
446
|
-
clearanceType?: string | undefined;
|
|
447
|
-
decisionDateFrom?: string | undefined;
|
|
448
|
-
decisionDateTo?: string | undefined;
|
|
449
|
-
}, {
|
|
450
|
-
limit?: number | undefined;
|
|
451
|
-
skip?: number | undefined;
|
|
452
|
-
deviceName?: string | undefined;
|
|
453
|
-
applicant?: string | undefined;
|
|
454
|
-
productCode?: string | undefined;
|
|
455
|
-
clearanceType?: string | undefined;
|
|
456
|
-
decisionDateFrom?: string | undefined;
|
|
457
|
-
decisionDateTo?: string | undefined;
|
|
458
|
-
}>;
|
|
277
|
+
}, z.core.$strip>;
|
|
459
278
|
searchDeviceClassifications: z.ZodObject<{
|
|
460
279
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
461
280
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
462
281
|
deviceName: z.ZodOptional<z.ZodString>;
|
|
463
|
-
deviceClass: z.ZodOptional<z.ZodEnum<
|
|
282
|
+
deviceClass: z.ZodOptional<z.ZodEnum<{
|
|
283
|
+
1: "1";
|
|
284
|
+
2: "2";
|
|
285
|
+
3: "3";
|
|
286
|
+
}>>;
|
|
464
287
|
medicalSpecialty: z.ZodOptional<z.ZodString>;
|
|
465
288
|
productCode: z.ZodOptional<z.ZodString>;
|
|
466
289
|
regulationNumber: z.ZodOptional<z.ZodString>;
|
|
467
|
-
},
|
|
468
|
-
limit?: number | undefined;
|
|
469
|
-
skip?: number | undefined;
|
|
470
|
-
deviceName?: string | undefined;
|
|
471
|
-
productCode?: string | undefined;
|
|
472
|
-
deviceClass?: "1" | "2" | "3" | undefined;
|
|
473
|
-
medicalSpecialty?: string | undefined;
|
|
474
|
-
regulationNumber?: string | undefined;
|
|
475
|
-
}, {
|
|
476
|
-
limit?: number | undefined;
|
|
477
|
-
skip?: number | undefined;
|
|
478
|
-
deviceName?: string | undefined;
|
|
479
|
-
productCode?: string | undefined;
|
|
480
|
-
deviceClass?: "1" | "2" | "3" | undefined;
|
|
481
|
-
medicalSpecialty?: string | undefined;
|
|
482
|
-
regulationNumber?: string | undefined;
|
|
483
|
-
}>;
|
|
290
|
+
}, z.core.$strip>;
|
|
484
291
|
searchDeviceAdverseEvents: z.ZodObject<{
|
|
485
292
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
486
293
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -490,28 +297,13 @@ declare const toolSchemas: {
|
|
|
490
297
|
deviceName: z.ZodOptional<z.ZodString>;
|
|
491
298
|
brandName: z.ZodOptional<z.ZodString>;
|
|
492
299
|
manufacturerName: z.ZodOptional<z.ZodString>;
|
|
493
|
-
eventType: z.ZodOptional<z.ZodEnum<
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
deviceName?: string | undefined;
|
|
501
|
-
reportNumber?: string | undefined;
|
|
502
|
-
manufacturerName?: string | undefined;
|
|
503
|
-
eventType?: "Injury" | "Malfunction" | "Death" | "Other" | undefined;
|
|
504
|
-
}, {
|
|
505
|
-
limit?: number | undefined;
|
|
506
|
-
skip?: number | undefined;
|
|
507
|
-
dateFrom?: string | undefined;
|
|
508
|
-
dateTo?: string | undefined;
|
|
509
|
-
brandName?: string | undefined;
|
|
510
|
-
deviceName?: string | undefined;
|
|
511
|
-
reportNumber?: string | undefined;
|
|
512
|
-
manufacturerName?: string | undefined;
|
|
513
|
-
eventType?: "Injury" | "Malfunction" | "Death" | "Other" | undefined;
|
|
514
|
-
}>;
|
|
300
|
+
eventType: z.ZodOptional<z.ZodEnum<{
|
|
301
|
+
Injury: "Injury";
|
|
302
|
+
Malfunction: "Malfunction";
|
|
303
|
+
Death: "Death";
|
|
304
|
+
Other: "Other";
|
|
305
|
+
}>>;
|
|
306
|
+
}, z.core.$strip>;
|
|
515
307
|
searchDeviceEnforcement: z.ZodObject<{
|
|
516
308
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
517
309
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -519,27 +311,54 @@ declare const toolSchemas: {
|
|
|
519
311
|
dateTo: z.ZodOptional<z.ZodString>;
|
|
520
312
|
recallingFirm: z.ZodOptional<z.ZodString>;
|
|
521
313
|
productDescription: z.ZodOptional<z.ZodString>;
|
|
522
|
-
classification: z.ZodOptional<z.ZodEnum<
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
},
|
|
534
|
-
|
|
535
|
-
limit
|
|
536
|
-
skip
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
314
|
+
classification: z.ZodOptional<z.ZodEnum<{
|
|
315
|
+
"Class I": "Class I";
|
|
316
|
+
"Class II": "Class II";
|
|
317
|
+
"Class III": "Class III";
|
|
318
|
+
}>>;
|
|
319
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
320
|
+
Ongoing: "Ongoing";
|
|
321
|
+
Completed: "Completed";
|
|
322
|
+
Terminated: "Terminated";
|
|
323
|
+
Pending: "Pending";
|
|
324
|
+
}>>;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
searchOrangeBook: z.ZodObject<{
|
|
327
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
329
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
330
|
+
applicant: z.ZodOptional<z.ZodString>;
|
|
331
|
+
applNo: z.ZodOptional<z.ZodString>;
|
|
332
|
+
teCode: z.ZodOptional<z.ZodString>;
|
|
333
|
+
}, z.core.$strip>;
|
|
334
|
+
searchOrangeBookPatents: z.ZodObject<{
|
|
335
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
336
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
337
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
338
|
+
applNo: z.ZodOptional<z.ZodString>;
|
|
339
|
+
patentNo: z.ZodOptional<z.ZodString>;
|
|
340
|
+
}, z.core.$strip>;
|
|
341
|
+
searchPurpleBook: z.ZodObject<{
|
|
342
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
345
|
+
applicant: z.ZodOptional<z.ZodString>;
|
|
346
|
+
blaNumber: z.ZodOptional<z.ZodString>;
|
|
347
|
+
licenseType: z.ZodOptional<z.ZodEnum<{
|
|
348
|
+
"351(a)": "351(a)";
|
|
349
|
+
"351(k)": "351(k)";
|
|
350
|
+
}>>;
|
|
351
|
+
biosimilar: z.ZodOptional<z.ZodBoolean>;
|
|
352
|
+
interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
searchDrugPatentExpiry: z.ZodObject<{
|
|
355
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
356
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
drugName: z.ZodOptional<z.ZodString>;
|
|
358
|
+
applNo: z.ZodOptional<z.ZodString>;
|
|
359
|
+
includeExclusivity: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
360
|
+
includePurpleBook: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
361
|
+
}, z.core.$strip>;
|
|
543
362
|
};
|
|
544
363
|
type SearchDrugAdverseEventsParams = z.infer<typeof searchDrugAdverseEventsSchema>;
|
|
545
364
|
type SearchDrugLabelsParams = z.infer<typeof searchDrugLabelsSchema>;
|
|
@@ -551,7 +370,11 @@ type SearchDevice510KParams = z.infer<typeof searchDevice510KSchema>;
|
|
|
551
370
|
type SearchDeviceClassificationsParams = z.infer<typeof searchDeviceClassificationsSchema>;
|
|
552
371
|
type SearchDeviceAdverseEventsParams = z.infer<typeof searchDeviceAdverseEventsSchema>;
|
|
553
372
|
type SearchDeviceEnforcementParams = z.infer<typeof searchDeviceEnforcementSchema>;
|
|
373
|
+
type SearchOrangeBookParams = z.infer<typeof searchOrangeBookSchema>;
|
|
374
|
+
type SearchOrangeBookPatentsParams = z.infer<typeof searchOrangeBookPatentsSchema>;
|
|
375
|
+
type SearchPurpleBookParams = z.infer<typeof searchPurpleBookSchema>;
|
|
376
|
+
type SearchDrugPatentExpiryParams = z.infer<typeof searchDrugPatentExpirySchema>;
|
|
554
377
|
type LabelSection = (typeof labelSections)[number];
|
|
555
378
|
//#endregion
|
|
556
|
-
export { LabelSection, SearchDevice510KParams, SearchDeviceAdverseEventsParams, SearchDeviceClassificationsParams, SearchDeviceEnforcementParams, SearchDrugAdverseEventsParams, SearchDrugEnforcementParams, SearchDrugLabelsParams, SearchDrugNDCParams, SearchDrugShortagesParams, SearchDrugsFDAParams, labelSections, searchDevice510KSchema, searchDeviceAdverseEventsSchema, searchDeviceClassificationsSchema, searchDeviceEnforcementSchema, searchDrugAdverseEventsSchema, searchDrugEnforcementSchema, searchDrugLabelsSchema, searchDrugNDCSchema, searchDrugShortagesSchema, searchDrugsFDASchema, toolSchemas };
|
|
379
|
+
export { LabelSection, SearchDevice510KParams, SearchDeviceAdverseEventsParams, SearchDeviceClassificationsParams, SearchDeviceEnforcementParams, SearchDrugAdverseEventsParams, SearchDrugEnforcementParams, SearchDrugLabelsParams, SearchDrugNDCParams, SearchDrugPatentExpiryParams, SearchDrugShortagesParams, SearchDrugsFDAParams, SearchOrangeBookParams, SearchOrangeBookPatentsParams, SearchPurpleBookParams, labelSections, searchDevice510KSchema, searchDeviceAdverseEventsSchema, searchDeviceClassificationsSchema, searchDeviceEnforcementSchema, searchDrugAdverseEventsSchema, searchDrugEnforcementSchema, searchDrugLabelsSchema, searchDrugNDCSchema, searchDrugPatentExpirySchema, searchDrugShortagesSchema, searchDrugsFDASchema, searchOrangeBookPatentsSchema, searchOrangeBookSchema, searchPurpleBookSchema, toolSchemas };
|
|
557
380
|
//# sourceMappingURL=index.d.ts.map
|