@fedpulse/sdk 1.0.1 → 1.0.3
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/README.md +3 -26
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -151,30 +151,8 @@ await client.intelligence.entityProfile('ABCDEF123456');
|
|
|
151
151
|
// Market analysis for a NAICS code
|
|
152
152
|
await client.intelligence.marketAnalysis('541512');
|
|
153
153
|
|
|
154
|
-
//
|
|
155
|
-
await client.intelligence.complianceCheck({
|
|
156
|
-
entities: [{ uei: 'ABCDEF123456' }, { name: 'Bad Actor LLC' }],
|
|
157
|
-
});
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### `client.assistance`
|
|
161
|
-
|
|
162
|
-
Federal grants and assistance listings.
|
|
163
|
-
|
|
164
|
-
```ts
|
|
165
|
-
await client.assistance.list({ keyword: 'broadband', agency: 'USDA' });
|
|
166
|
-
await client.assistance.get('listing-id');
|
|
167
|
-
await client.assistance.getByProgram('10.001');
|
|
168
|
-
await client.assistance.stats();
|
|
169
|
-
for await (const page of client.assistance.paginate()) { … }
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
### `client.analytics`
|
|
173
|
-
|
|
174
|
-
```ts
|
|
175
|
-
await client.analytics.overview({ period: '30d' });
|
|
176
|
-
await client.analytics.usageSummary();
|
|
177
|
-
await client.analytics.topKeywords({ limit: 20 });
|
|
154
|
+
// Single-entity compliance check
|
|
155
|
+
await client.intelligence.complianceCheck({ uei: 'ABCDEF123456' });
|
|
178
156
|
```
|
|
179
157
|
|
|
180
158
|
### `client.webhooks`
|
|
@@ -184,7 +162,7 @@ await client.analytics.topKeywords({ limit: 20 });
|
|
|
184
162
|
await client.webhooks.list();
|
|
185
163
|
|
|
186
164
|
// Create
|
|
187
|
-
await client.webhooks.create({ url: 'https://example.com/hook', events: ['opportunity.
|
|
165
|
+
await client.webhooks.create({ url: 'https://example.com/hook', events: ['opportunity.new'] });
|
|
188
166
|
|
|
189
167
|
// Update / delete
|
|
190
168
|
await client.webhooks.update('wh_id', { active: false });
|
|
@@ -193,7 +171,6 @@ await client.webhooks.delete('wh_id');
|
|
|
193
171
|
// Deliveries log
|
|
194
172
|
await client.webhooks.listDeliveries('wh_id');
|
|
195
173
|
await client.webhooks.getDelivery('wh_id', 'delivery-id');
|
|
196
|
-
await client.webhooks.redeliver('wh_id', 'delivery-id');
|
|
197
174
|
```
|
|
198
175
|
|
|
199
176
|
---
|
package/package.json
CHANGED