@cliwant/mcp-sam-gov 0.3.0 → 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.
Files changed (228) hide show
  1. package/LICENSE +21 -21
  2. package/README.ja.md +48 -16
  3. package/README.ko.md +48 -16
  4. package/README.md +226 -64
  5. package/dist/attachments.d.ts +63 -0
  6. package/dist/attachments.d.ts.map +1 -0
  7. package/dist/attachments.js +576 -0
  8. package/dist/attachments.js.map +1 -0
  9. package/dist/bls.d.ts +267 -0
  10. package/dist/bls.d.ts.map +1 -0
  11. package/dist/bls.js +1549 -0
  12. package/dist/bls.js.map +1 -0
  13. package/dist/cache.d.ts +2 -0
  14. package/dist/cache.d.ts.map +1 -1
  15. package/dist/cache.js +4 -0
  16. package/dist/cache.js.map +1 -1
  17. package/dist/census.d.ts +182 -0
  18. package/dist/census.d.ts.map +1 -0
  19. package/dist/census.js +576 -0
  20. package/dist/census.js.map +1 -0
  21. package/dist/ckan.d.ts +141 -0
  22. package/dist/ckan.d.ts.map +1 -0
  23. package/dist/ckan.js +393 -0
  24. package/dist/ckan.js.map +1 -0
  25. package/dist/clinicaltrials.d.ts +180 -0
  26. package/dist/clinicaltrials.d.ts.map +1 -0
  27. package/dist/clinicaltrials.js +730 -0
  28. package/dist/clinicaltrials.js.map +1 -0
  29. package/dist/cms.d.ts +140 -0
  30. package/dist/cms.d.ts.map +1 -0
  31. package/dist/cms.js +482 -0
  32. package/dist/cms.js.map +1 -0
  33. package/dist/coerce.d.ts +32 -0
  34. package/dist/coerce.d.ts.map +1 -0
  35. package/dist/coerce.js +50 -0
  36. package/dist/coerce.js.map +1 -0
  37. package/dist/datagov-catalog.d.ts +84 -0
  38. package/dist/datagov-catalog.d.ts.map +1 -0
  39. package/dist/datagov-catalog.js +233 -0
  40. package/dist/datagov-catalog.js.map +1 -0
  41. package/dist/datagov.d.ts +146 -0
  42. package/dist/datagov.d.ts.map +1 -0
  43. package/dist/datagov.js +689 -0
  44. package/dist/datagov.js.map +1 -0
  45. package/dist/datagovKey.d.ts +36 -0
  46. package/dist/datagovKey.d.ts.map +1 -0
  47. package/dist/datagovKey.js +60 -0
  48. package/dist/datagovKey.js.map +1 -0
  49. package/dist/datasource.d.ts +313 -0
  50. package/dist/datasource.d.ts.map +1 -0
  51. package/dist/datasource.js +551 -0
  52. package/dist/datasource.js.map +1 -0
  53. package/dist/disclosure.d.ts +55 -0
  54. package/dist/disclosure.d.ts.map +1 -0
  55. package/dist/disclosure.js +57 -0
  56. package/dist/disclosure.js.map +1 -0
  57. package/dist/ecfr.d.ts +4 -2
  58. package/dist/ecfr.d.ts.map +1 -1
  59. package/dist/ecfr.js +74 -1
  60. package/dist/ecfr.js.map +1 -1
  61. package/dist/echo.d.ts +143 -0
  62. package/dist/echo.d.ts.map +1 -0
  63. package/dist/echo.js +424 -0
  64. package/dist/echo.js.map +1 -0
  65. package/dist/edgar.d.ts +377 -0
  66. package/dist/edgar.d.ts.map +1 -0
  67. package/dist/edgar.js +2418 -0
  68. package/dist/edgar.js.map +1 -0
  69. package/dist/errors.d.ts +26 -0
  70. package/dist/errors.d.ts.map +1 -1
  71. package/dist/errors.js +69 -1
  72. package/dist/errors.js.map +1 -1
  73. package/dist/fac.d.ts +180 -0
  74. package/dist/fac.d.ts.map +1 -0
  75. package/dist/fac.js +416 -0
  76. package/dist/fac.js.map +1 -0
  77. package/dist/far.d.ts +170 -0
  78. package/dist/far.d.ts.map +1 -0
  79. package/dist/far.js +804 -0
  80. package/dist/far.js.map +1 -0
  81. package/dist/fdic.d.ts +599 -0
  82. package/dist/fdic.d.ts.map +1 -0
  83. package/dist/fdic.js +1624 -0
  84. package/dist/fdic.js.map +1 -0
  85. package/dist/federal-register.d.ts +139 -2
  86. package/dist/federal-register.d.ts.map +1 -1
  87. package/dist/federal-register.js +419 -3
  88. package/dist/federal-register.js.map +1 -1
  89. package/dist/fema.d.ts +181 -0
  90. package/dist/fema.d.ts.map +1 -0
  91. package/dist/fema.js +436 -0
  92. package/dist/fema.js.map +1 -0
  93. package/dist/fpds.d.ts +108 -0
  94. package/dist/fpds.d.ts.map +1 -0
  95. package/dist/fpds.js +519 -0
  96. package/dist/fpds.js.map +1 -0
  97. package/dist/gao.d.ts +64 -0
  98. package/dist/gao.d.ts.map +1 -0
  99. package/dist/gao.js +640 -0
  100. package/dist/gao.js.map +1 -0
  101. package/dist/govinfo.d.ts +111 -0
  102. package/dist/govinfo.d.ts.map +1 -0
  103. package/dist/govinfo.js +422 -0
  104. package/dist/govinfo.js.map +1 -0
  105. package/dist/grants.d.ts +27 -4
  106. package/dist/grants.d.ts.map +1 -1
  107. package/dist/grants.js +111 -6
  108. package/dist/grants.js.map +1 -1
  109. package/dist/gsa-csv.d.ts +249 -0
  110. package/dist/gsa-csv.d.ts.map +1 -0
  111. package/dist/gsa-csv.js +784 -0
  112. package/dist/gsa-csv.js.map +1 -0
  113. package/dist/integrity.d.ts +212 -0
  114. package/dist/integrity.d.ts.map +1 -0
  115. package/dist/integrity.js +707 -0
  116. package/dist/integrity.js.map +1 -0
  117. package/dist/meta.d.ts +165 -0
  118. package/dist/meta.d.ts.map +1 -0
  119. package/dist/meta.js +162 -0
  120. package/dist/meta.js.map +1 -0
  121. package/dist/nih.d.ts +117 -0
  122. package/dist/nih.d.ts.map +1 -0
  123. package/dist/nih.js +291 -0
  124. package/dist/nih.js.map +1 -0
  125. package/dist/nppes.d.ts +157 -0
  126. package/dist/nppes.d.ts.map +1 -0
  127. package/dist/nppes.js +648 -0
  128. package/dist/nppes.js.map +1 -0
  129. package/dist/nsf.d.ts +176 -0
  130. package/dist/nsf.d.ts.map +1 -0
  131. package/dist/nsf.js +554 -0
  132. package/dist/nsf.js.map +1 -0
  133. package/dist/nvd.d.ts +176 -0
  134. package/dist/nvd.d.ts.map +1 -0
  135. package/dist/nvd.js +912 -0
  136. package/dist/nvd.js.map +1 -0
  137. package/dist/ofac.d.ts +205 -0
  138. package/dist/ofac.d.ts.map +1 -0
  139. package/dist/ofac.js +919 -0
  140. package/dist/ofac.js.map +1 -0
  141. package/dist/pricing.d.ts +110 -0
  142. package/dist/pricing.d.ts.map +1 -0
  143. package/dist/pricing.js +843 -0
  144. package/dist/pricing.js.map +1 -0
  145. package/dist/sam-gov/client.d.ts +60 -2
  146. package/dist/sam-gov/client.d.ts.map +1 -1
  147. package/dist/sam-gov/client.js +320 -54
  148. package/dist/sam-gov/client.js.map +1 -1
  149. package/dist/sam-gov/index.d.ts +1 -1
  150. package/dist/sam-gov/index.d.ts.map +1 -1
  151. package/dist/sam-gov/index.js +1 -1
  152. package/dist/sam-gov/index.js.map +1 -1
  153. package/dist/sam-gov/types.d.ts +24 -0
  154. package/dist/sam-gov/types.d.ts.map +1 -1
  155. package/dist/sba.d.ts +72 -0
  156. package/dist/sba.d.ts.map +1 -0
  157. package/dist/sba.js +281 -0
  158. package/dist/sba.js.map +1 -0
  159. package/dist/server.d.ts +14 -2
  160. package/dist/server.d.ts.map +1 -1
  161. package/dist/server.js +3889 -296
  162. package/dist/server.js.map +1 -1
  163. package/dist/snapshot.d.ts +98 -0
  164. package/dist/snapshot.d.ts.map +1 -0
  165. package/dist/snapshot.js +146 -0
  166. package/dist/snapshot.js.map +1 -0
  167. package/dist/socrata.d.ts +157 -0
  168. package/dist/socrata.d.ts.map +1 -0
  169. package/dist/socrata.js +448 -0
  170. package/dist/socrata.js.map +1 -0
  171. package/dist/treasury.d.ts +143 -0
  172. package/dist/treasury.d.ts.map +1 -0
  173. package/dist/treasury.js +436 -0
  174. package/dist/treasury.js.map +1 -0
  175. package/dist/usaspending.d.ts +260 -65
  176. package/dist/usaspending.d.ts.map +1 -1
  177. package/dist/usaspending.js +1629 -201
  178. package/dist/usaspending.js.map +1 -1
  179. package/dist/usitc.d.ts +142 -0
  180. package/dist/usitc.d.ts.map +1 -0
  181. package/dist/usitc.js +339 -0
  182. package/dist/usitc.js.map +1 -0
  183. package/package.json +24 -2
  184. package/src/attachments.ts +652 -0
  185. package/src/bls.ts +1943 -0
  186. package/src/cache.ts +5 -0
  187. package/src/census.ts +735 -0
  188. package/src/ckan.ts +495 -0
  189. package/src/clinicaltrials.ts +923 -0
  190. package/src/cms.ts +634 -0
  191. package/src/coerce.ts +47 -0
  192. package/src/datagov-catalog.ts +296 -0
  193. package/src/datagov.ts +907 -0
  194. package/src/datagovKey.ts +68 -0
  195. package/src/datasource.ts +721 -0
  196. package/src/disclosure.ts +61 -0
  197. package/src/ecfr.ts +98 -1
  198. package/src/echo.ts +496 -0
  199. package/src/edgar.ts +3014 -0
  200. package/src/errors.ts +84 -1
  201. package/src/fac.ts +529 -0
  202. package/src/far.ts +1007 -0
  203. package/src/fdic.ts +2052 -0
  204. package/src/federal-register.ts +512 -3
  205. package/src/fema.ts +541 -0
  206. package/src/fpds.ts +620 -0
  207. package/src/gao.ts +744 -0
  208. package/src/govinfo.ts +497 -0
  209. package/src/grants.ts +139 -7
  210. package/src/gsa-csv.ts +992 -0
  211. package/src/integrity.ts +928 -0
  212. package/src/meta.ts +292 -0
  213. package/src/nih.ts +375 -0
  214. package/src/nppes.ts +834 -0
  215. package/src/nsf.ts +706 -0
  216. package/src/nvd.ts +1124 -0
  217. package/src/ofac.ts +1166 -0
  218. package/src/pricing.ts +1075 -0
  219. package/src/sam-gov/client.ts +345 -63
  220. package/src/sam-gov/index.ts +5 -1
  221. package/src/sam-gov/types.ts +22 -0
  222. package/src/sba.ts +357 -0
  223. package/src/server.ts +4551 -328
  224. package/src/snapshot.ts +192 -0
  225. package/src/socrata.ts +532 -0
  226. package/src/treasury.ts +575 -0
  227. package/src/usaspending.ts +1946 -214
  228. package/src/usitc.ts +420 -0
@@ -35,78 +35,106 @@
35
35
  * Total: 22 endpoints across the USAspending surface, all keyless.
36
36
  */
37
37
  export type UsasFilters = Record<string, unknown>;
38
+ import { type MetaBundle } from "./meta.js";
39
+ /**
40
+ * Test-only: reset the resilience circuit breaker between OFFLINE fixtures (the
41
+ * breaker is module-level process state; a fresh instance isolates cases).
42
+ * Mirrors treasury.ts's `_resetTreasuryBreakerForTests`.
43
+ */
44
+ export declare function _resetUsasBreakerForTests(): void;
38
45
  export declare function searchAwards(args: {
39
46
  agency?: string;
40
47
  naics?: string;
41
48
  fiscalYear?: number;
42
49
  setAside?: string;
43
- }): Promise<{
44
- totalAwards: number;
50
+ }): Promise<MetaBundle<{
51
+ totalAwards: number | null;
45
52
  totalValue: number;
46
53
  topRecipients: {
47
54
  name: string;
48
55
  value: number;
49
- awards: number;
56
+ awards: number | null;
50
57
  }[];
51
- }>;
58
+ }>>;
52
59
  export declare function searchIndividualAwards(args: {
53
60
  agency?: string;
54
61
  naics?: string;
55
62
  fiscalYear?: number;
56
63
  setAside?: string;
57
64
  limit?: number;
58
- }): Promise<{
65
+ }): Promise<MetaBundle<{
59
66
  awards: {
60
67
  awardId: string;
61
- recipient: string;
62
- amount: number;
63
- awardingAgency: string;
68
+ recipient: string | null;
69
+ amount: number | null;
70
+ awardingAgency: string | null;
64
71
  awardingSubAgency: string | undefined;
72
+ naicsCode: string | undefined;
73
+ naicsDescription: string | undefined;
65
74
  placeOfPerformanceState: string | undefined;
75
+ placeOfPerformanceCity: string | undefined;
76
+ placeOfPerformanceCountry: string | undefined;
77
+ placeOfPerformanceZip: string | undefined;
66
78
  description: string | undefined;
67
79
  generatedInternalId: string;
68
80
  }[];
69
- }>;
81
+ }>>;
70
82
  export declare function searchAwardsByRecipient(args: {
71
83
  recipientName: string;
72
84
  agency?: string;
73
85
  naics?: string;
74
86
  fiscalYear?: number;
75
87
  limit?: number;
76
- }): Promise<{
88
+ }): Promise<MetaBundle<{
77
89
  awards: {
78
90
  awardId: string;
79
- recipient: string;
80
- amount: number;
81
- awardingAgency: string;
91
+ recipient: string | null;
92
+ amount: number | null;
93
+ awardingAgency: string | null;
82
94
  awardingSubAgency: string | undefined;
83
95
  naicsCode: string | undefined;
84
96
  naicsDescription: string | undefined;
97
+ placeOfPerformanceState: string | undefined;
98
+ placeOfPerformanceCity: string | undefined;
99
+ placeOfPerformanceCountry: string | undefined;
100
+ placeOfPerformanceZip: string | undefined;
85
101
  description: string | undefined;
86
102
  generatedInternalId: string;
87
103
  }[];
88
- totalRecords: number;
89
- }>;
104
+ totalRecords: number | null;
105
+ }>>;
90
106
  export declare function searchSubawards(args: {
91
107
  primeRecipientName?: string;
92
108
  agency?: string;
93
109
  naics?: string;
94
110
  fiscalYear?: number;
95
111
  limit?: number;
96
- }): Promise<{
112
+ }): Promise<MetaBundle<{
97
113
  subawards: {
98
114
  subAwardId: string;
99
- subRecipient: string;
100
- amount: number;
115
+ subRecipient: string | null;
116
+ amount: number | null;
101
117
  actionDate: string;
118
+ naicsCode: string | undefined;
119
+ naicsDescription: string | undefined;
102
120
  primeAwardId: string;
103
121
  }[];
104
- }>;
122
+ }>>;
123
+ /** A parent-award / IDV linkage as returned on awards/{id} (all optional). */
124
+ export type AwardParentIdv = {
125
+ piid: string | null;
126
+ generatedUniqueAwardId: string | null;
127
+ idvTypeDescription: string | null;
128
+ multipleOrSingleAwardDescription: string | null;
129
+ };
105
130
  export declare function getAwardDetail(generatedInternalId: string): Promise<{
106
131
  awardId: string;
107
- recipient: string;
108
- totalObligation: number;
109
- baseAndAllOptions: number;
132
+ recipient: string | null;
133
+ totalObligation: number | null;
134
+ baseAndAllOptions: number | null;
135
+ baseExercisedOptions: number | null;
136
+ subawardCount: number | null;
137
+ contractAwardType: string | null;
110
138
  periodOfPerformance: {
111
139
  startDate: string | null;
112
140
  endDate: string | null;
@@ -116,20 +144,179 @@ export declare function getAwardDetail(generatedInternalId: string): Promise<{
116
144
  setAsideType: string | undefined;
117
145
  setAsideDescription: string | undefined;
118
146
  competitionExtent: string | undefined;
119
- numberOfOffers: string | undefined;
147
+ competitionExtentDescription: string | null;
148
+ numberOfOffers: number | null;
120
149
  awardingAgency: string | undefined;
121
150
  awardingSubAgency: string | undefined;
122
151
  naicsCode: string | undefined;
123
152
  naicsDescription: string | undefined;
153
+ pscCode: string | null;
154
+ pscDescription: string | null;
155
+ parentIdv: AwardParentIdv | null;
124
156
  } | null>;
157
+ /**
158
+ * Per-award incumbent + PUBLIC recompete-pressure analysis (design doc 04
159
+ * §5.2). Given ONE award (`generatedInternalId`) it assembles, from keyless
160
+ * data only:
161
+ * - the incumbent identity + the award's agency/NAICS/PSC/vehicle,
162
+ * - PUBLIC recompete-pressure SIGNALS (obligated-vs-ceiling consumption, mod
163
+ * count, competition extent + number of offers, set-aside, days to the
164
+ * current PoP end, and option-extendable days), and
165
+ * - (optionally) the incumbent's other awards in the same agency.
166
+ *
167
+ * DESIGN — bounded & keyless, NO N+1 fan-out:
168
+ * 1 `awards/{id}` detail + 1 `transactions/` page (mod count, capped at
169
+ * 100 → lower bound) + (optional) 1 `searchAwardsByRecipient` call. That is
170
+ * at most 3 upstream calls regardless of award size.
171
+ *
172
+ * HONEST CEILING (mandatory): it emits INDIVIDUAL public signals + `pressureHints`
173
+ * (e.g. "single_offer", "ceiling_nearly_exhausted", "hard_stop_no_options") that
174
+ * are HINTS, never a score. It NEVER emits a composite "vulnerability score" —
175
+ * the most decision-relevant input (past performance / CPARS), protest history,
176
+ * and the incumbent's option-exercise intent are not public, and are declared
177
+ * in `_meta.fieldsUnavailable`. A not-found award raises a structured not_found
178
+ * error (never `{ok:true, data:null}`).
179
+ */
180
+ export declare function analyzeIncumbent(args: {
181
+ generatedInternalId: string;
182
+ includeOtherAwards?: boolean;
183
+ otherAwardsLimit?: number;
184
+ }): Promise<MetaBundle<{
185
+ incumbentOtherAwards?: {
186
+ awardId: string;
187
+ recipient: string | null;
188
+ amount: number | null;
189
+ awardingAgency: string | null;
190
+ awardingSubAgency: string | undefined;
191
+ naicsCode: string | undefined;
192
+ naicsDescription: string | undefined;
193
+ placeOfPerformanceState: string | undefined;
194
+ placeOfPerformanceCity: string | undefined;
195
+ placeOfPerformanceCountry: string | undefined;
196
+ placeOfPerformanceZip: string | undefined;
197
+ description: string | undefined;
198
+ generatedInternalId: string;
199
+ }[] | undefined;
200
+ award: {
201
+ awardId: string;
202
+ incumbent: string | null;
203
+ awardingAgency: string | null;
204
+ awardingSubAgency: string | null;
205
+ naicsCode: string | null;
206
+ pscCode: string | null;
207
+ contractAwardType: string | null;
208
+ startDate: string | null;
209
+ currentEndDate: string | null;
210
+ potentialEndDate: string | null;
211
+ };
212
+ signals: {
213
+ obligatedVsCeiling: {
214
+ obligated: number | null;
215
+ baseAndAllOptions: number | null;
216
+ baseExercisedOptions: number | null;
217
+ pctConsumed: number | null;
218
+ };
219
+ modCount: number | null;
220
+ modCountAtLeast: boolean;
221
+ setAside: string | null;
222
+ setAsideDescription: string | null;
223
+ extentCompeted: string | null;
224
+ extentCompetedDescription: string | null;
225
+ numberOfOffers: number | null;
226
+ currentEndDate: string | null;
227
+ potentialEndDate: string | null;
228
+ extendableDays: number | null;
229
+ daysUntilCurrentEnd: number | null;
230
+ vehicle: {
231
+ contractAwardType: string | null;
232
+ parentIdvPiid: string | null;
233
+ idvType: string | null;
234
+ singleOrMultiple: string | null;
235
+ };
236
+ };
237
+ pressureHints: string[];
238
+ }>>;
239
+ /**
240
+ * Recompete radar — federal contracts whose current period of performance
241
+ * ends inside a window around today, so you can see what's coming up for
242
+ * recompete. Replaces the broken `searchExpiringContracts` internals.
243
+ *
244
+ * MECHANISM (LIVE-VERIFIED 2026-07-03 across VA×541512 and DoD×541330):
245
+ * `spending_by_award` returns the current PoP end date directly under the
246
+ * field ALIAS `"End Date"` (the canonical string
247
+ * "Period of Performance Current End Date" is NOT a recognized field — it
248
+ * comes back always null, and is not in the sort mappings → HTTP 400 if you
249
+ * sort by it). Gold-standard confirmed: search `"End Date"` ===
250
+ * `awards/{generated_internal_id}`.period_of_performance.end_date.
251
+ *
252
+ * We CANNOT filter by PoP end date server-side (`time_period.date_type` only
253
+ * supports action_date/date_signed/last_modified_date/new_awards_only). So:
254
+ * 1. server-side SORT by `"End Date"` DESC (the alias — the only PoP-end
255
+ * value in the sort mappings),
256
+ * 2. an action_date `time_period` lower bound (LOAD-BEARING: prunes inactive
257
+ * records and much of the far-future data-entry garbage so DESC reaches
258
+ * the window sooner),
259
+ * 3. a CLIENT-SIDE window filter with pagination + a safe early-stop (DESC ⇒
260
+ * once a row is earlier than the window start, every later row is earlier
261
+ * too), bounded by `scanBudgetPages`.
262
+ *
263
+ * TRUTHFULNESS: rows with a null `"End Date"` are COUNTED (`missingEndDate`),
264
+ * never silently dropped. If the scan budget is exhausted before the early-stop
265
+ * fires, `scanTruncated` is set and `totalAvailable` becomes null (the returned
266
+ * set is a lower bound, not the complete window). This tool emits PUBLIC
267
+ * signals only — it never fabricates a composite "vulnerability" score;
268
+ * past-performance/CPARS, protest history, and option-exercise intent are not
269
+ * public and are declared in `_meta.fieldsUnavailable`.
270
+ */
271
+ export declare function searchRecompetes(args: {
272
+ agency?: string;
273
+ naics?: string;
274
+ pscCodes?: string[];
275
+ setAside?: string;
276
+ windowStartDays?: number;
277
+ windowEndDays?: number;
278
+ minAwardValue?: number;
279
+ includePotentialEnd?: boolean;
280
+ actionDateLookbackYears?: number;
281
+ page?: number;
282
+ pageSize?: number;
283
+ scanBudgetPages?: number;
284
+ }): Promise<MetaBundle<{
285
+ recompetes: {
286
+ awardId: string;
287
+ generatedInternalId: string;
288
+ incumbent: string;
289
+ amount: number;
290
+ currentEndDate: string;
291
+ daysUntilCurrentEnd: number;
292
+ potentialEndDate?: string | null;
293
+ extendableDays?: number | null;
294
+ awardingAgency: string;
295
+ awardingSubAgency: string | null;
296
+ naicsCode: string | null;
297
+ pscCode: string | null;
298
+ contractAwardType: string | null;
299
+ setAsideDescription: string | null;
300
+ startDate: string | null;
301
+ description: string | null;
302
+ }[];
303
+ page: number;
304
+ pageSize: number;
305
+ }>>;
306
+ /**
307
+ * DEPRECATED alias — kept working so existing callers of
308
+ * `usas_search_expiring_contracts` don't break. Maps the old params onto
309
+ * `searchRecompetes` and re-shapes the output to the legacy `{ contracts,
310
+ * searchedCount }` keys the smoke/edge tests assert on. Prefer
311
+ * `usas_search_recompetes`.
312
+ */
125
313
  export declare function searchExpiringContracts(args: {
126
314
  agency?: string;
127
315
  naics?: string;
128
- fiscalYear?: number;
129
316
  monthsUntilExpiry?: number;
130
317
  minAwardValue?: number;
131
318
  limit?: number;
132
- }): Promise<{
319
+ }): Promise<MetaBundle<{
133
320
  contracts: {
134
321
  awardId: string;
135
322
  recipient: string;
@@ -140,18 +327,19 @@ export declare function searchExpiringContracts(args: {
140
327
  awardingSubAgency: string | undefined;
141
328
  naicsCode: string | undefined;
142
329
  setAsideDescription: string | undefined;
143
- description: string;
330
+ description: string | undefined;
144
331
  daysUntilExpiry: number;
332
+ generatedInternalId: string;
145
333
  }[];
146
334
  searchedCount: number;
147
- }>;
335
+ }>>;
148
336
  export declare function spendingOverTime(args: {
149
337
  group?: "fiscal_year" | "quarter" | "month";
150
338
  agency?: string;
151
339
  naics?: string;
152
340
  setAside?: string;
153
- }): Promise<{
154
- group: string | undefined;
341
+ }): Promise<MetaBundle<{
342
+ group: string;
155
343
  timeline: {
156
344
  timePeriod: {
157
345
  fiscal_year?: string;
@@ -160,80 +348,80 @@ export declare function spendingOverTime(args: {
160
348
  };
161
349
  total: number;
162
350
  contractObligations: number;
163
- grantObligations: number;
164
- idvObligations: number;
351
+ grantObligations: number | null;
352
+ idvObligations: number | null;
165
353
  }[];
166
- }>;
354
+ }>>;
167
355
  export declare function searchPscSpending(args: {
168
356
  agency?: string;
169
357
  naics?: string;
170
358
  fiscalYear?: number;
171
359
  limit?: number;
172
- }): Promise<{
360
+ }): Promise<MetaBundle<{
173
361
  psc: {
174
362
  pscCode: string;
175
363
  pscName: string;
176
364
  amount: number;
177
365
  }[];
178
- }>;
366
+ }>>;
179
367
  export declare function searchStateSpending(args: {
180
368
  agency?: string;
181
369
  naics?: string;
182
370
  fiscalYear?: number;
183
371
  limit?: number;
184
- }): Promise<{
372
+ }): Promise<MetaBundle<{
185
373
  states: {
186
374
  stateCode: string;
187
375
  stateName: string;
188
376
  amount: number;
189
377
  }[];
190
- }>;
378
+ }>>;
191
379
  export declare function searchCfdaSpending(args: {
192
380
  agency?: string;
193
381
  fiscalYear?: number;
194
382
  limit?: number;
195
- }): Promise<{
383
+ }): Promise<MetaBundle<{
196
384
  programs: {
197
385
  cfdaCode: string;
198
386
  programName: string;
199
387
  amount: number;
200
388
  }[];
201
- }>;
389
+ }>>;
202
390
  export declare function searchFederalAccountSpending(args: {
203
391
  agency?: string;
204
392
  naics?: string;
205
393
  fiscalYear?: number;
206
394
  limit?: number;
207
- }): Promise<{
395
+ }): Promise<MetaBundle<{
208
396
  accounts: {
209
397
  tasCode: string;
210
398
  accountName: string;
211
399
  amount: number;
212
400
  }[];
213
- }>;
401
+ }>>;
214
402
  export declare function searchAgencySpending(args: {
215
403
  naics?: string;
216
404
  fiscalYear?: number;
217
405
  setAside?: string;
218
406
  limit?: number;
219
- }): Promise<{
407
+ }): Promise<MetaBundle<{
220
408
  agencies: {
221
409
  name: string;
222
410
  code: string;
223
411
  slug: string;
224
412
  amount: number;
225
413
  }[];
226
- }>;
414
+ }>>;
227
415
  export declare function searchSubAgencySpending(args: {
228
416
  agency: string;
229
417
  fiscalYear?: number;
230
- }): Promise<{
418
+ }): Promise<MetaBundle<{
231
419
  subAgencies: {
232
420
  name: string;
233
421
  amount: number;
234
- awards: number;
422
+ awards: number | null;
235
423
  }[];
236
- }>;
424
+ }>>;
237
425
  export declare function getAgencyProfile(toptierCode: string): Promise<{
238
426
  fiscalYear: number | undefined;
239
427
  toptierCode: string | undefined;
@@ -247,18 +435,18 @@ export declare function getAgencyProfile(toptierCode: string): Promise<{
247
435
  export declare function getAgencyAwardsSummary(args: {
248
436
  toptierCode: string;
249
437
  fiscalYear?: number;
250
- }): Promise<{
438
+ }): Promise<MetaBundle<{
251
439
  fiscalYear: number | undefined;
252
440
  toptierCode: string | undefined;
253
- transactionCount: number;
254
- obligations: number;
441
+ transactionCount: number | null;
442
+ obligations: number | null;
255
443
  latestActionDate: string | undefined;
256
- }>;
444
+ }>>;
257
445
  export declare function getAgencyBudgetFunction(args: {
258
446
  toptierCode: string;
259
447
  fiscalYear?: number;
260
448
  limit?: number;
261
- }): Promise<{
449
+ }): Promise<MetaBundle<{
262
450
  toptierCode: string | undefined;
263
451
  fiscalYear: number | undefined;
264
452
  functions: {
@@ -269,13 +457,13 @@ export declare function getAgencyBudgetFunction(args: {
269
457
  outlays: number;
270
458
  }[];
271
459
  }[];
272
- }>;
460
+ }>>;
273
461
  export declare function searchRecipients(args: {
274
462
  keyword: string;
275
463
  recipientLevel?: "P" | "C" | "R";
276
464
  limit?: number;
277
- }): Promise<{
278
- totalRecords: number;
465
+ }): Promise<MetaBundle<{
466
+ totalRecords: number | null;
279
467
  recipients: {
280
468
  id: string;
281
469
  duns: string | undefined;
@@ -284,7 +472,7 @@ export declare function searchRecipients(args: {
284
472
  level: string | undefined;
285
473
  totalAmount: number;
286
474
  }[];
287
- }>;
475
+ }>>;
288
476
  export declare function getRecipientProfile(recipientId: string): Promise<{
289
477
  name: string;
290
478
  alternateNames: string[];
@@ -316,47 +504,54 @@ export declare function lookupAgency(searchText: string): Promise<{
316
504
  export declare function autocompleteNaics(args: {
317
505
  searchText: string;
318
506
  limit?: number;
319
- }): Promise<{
507
+ }): Promise<MetaBundle<{
320
508
  naics: {
321
509
  code: string;
322
510
  description: string;
323
511
  retired: boolean;
324
512
  }[];
325
- }>;
513
+ }>>;
326
514
  export declare function autocompleteRecipient(args: {
327
515
  searchText: string;
328
516
  limit?: number;
329
- }): Promise<{
517
+ }): Promise<MetaBundle<{
330
518
  recipients: {
331
519
  name: string;
332
520
  uei: string | undefined;
333
521
  duns: string | undefined;
334
522
  }[];
335
- }>;
523
+ }>>;
336
524
  export declare function naicsHierarchy(args: {
337
525
  naicsFilter?: string;
338
- }): Promise<{
526
+ }): Promise<MetaBundle<{
527
+ filter: string | null;
528
+ found: boolean | null;
529
+ parent: {
530
+ code: string;
531
+ description: string;
532
+ count: number;
533
+ } | null;
339
534
  hierarchy: {
340
535
  code: string;
341
536
  description: string;
342
537
  count: number;
343
538
  hasChildren: boolean;
344
539
  }[];
345
- }>;
540
+ }>>;
346
541
  export declare function glossary(args: {
347
542
  limit?: number;
348
543
  search?: string;
349
- }): Promise<{
350
- totalRecords: number;
544
+ }): Promise<MetaBundle<{
545
+ totalRecords: number | null;
351
546
  terms: {
352
547
  term: string;
353
548
  slug: string;
354
549
  definition: string;
355
550
  }[];
356
- }>;
551
+ }>>;
357
552
  export declare function listToptierAgencies(args: {
358
553
  limit?: number;
359
- }): Promise<{
554
+ }): Promise<MetaBundle<{
360
555
  agencies: {
361
556
  name: string;
362
557
  abbreviation: string | undefined;
@@ -365,5 +560,5 @@ export declare function listToptierAgencies(args: {
365
560
  activeFiscalYear: string | undefined;
366
561
  obligatedAmount: number;
367
562
  }[];
368
- }>;
563
+ }>>;
369
564
  //# sourceMappingURL=usaspending.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usaspending.d.ts","sourceRoot":"","sources":["../src/usaspending.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAIH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AA4DlD,wBAAsB,YAAY,CAAC,IAAI,EAAE;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;GAmBA;AAID,wBAAsB,sBAAsB,CAAC,IAAI,EAAE;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;;;;;;;;;GAyCA;AAID,wBAAsB,uBAAuB,CAAC,IAAI,EA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