@withpica/mcp-sdk 3.27.0 → 3.28.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/CHANGELOG.md +13 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2428,6 +2428,21 @@ class FeedbackResource extends BaseResource {
|
|
|
2428
2428
|
async submit(params) {
|
|
2429
2429
|
return this.request("POST", "/feedback", params);
|
|
2430
2430
|
}
|
|
2431
|
+
/**
|
|
2432
|
+
* The caller's own reports in their organisation, newest first, with
|
|
2433
|
+
* what the PICA team did about each (status + the note written for
|
|
2434
|
+
* them), plus counts for the briefing. GET /api/feedback; never another
|
|
2435
|
+
* account's or organisation's reports.
|
|
2436
|
+
*/
|
|
2437
|
+
async list(params) {
|
|
2438
|
+
const qs = new URLSearchParams();
|
|
2439
|
+
if (params?.status)
|
|
2440
|
+
qs.set("status", params.status);
|
|
2441
|
+
if (params?.limit !== undefined)
|
|
2442
|
+
qs.set("limit", String(params.limit));
|
|
2443
|
+
const query = qs.toString();
|
|
2444
|
+
return this.request("GET", `/feedback${query ? `?${query}` : ""}`);
|
|
2445
|
+
}
|
|
2431
2446
|
}
|
|
2432
2447
|
class BillingResource extends BaseResource {
|
|
2433
2448
|
/**
|