@withpica/mcp-sdk 3.26.0 → 3.27.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/index.js CHANGED
@@ -4413,6 +4413,24 @@ class StatementsResource extends BaseResource {
4413
4413
  async ingestDocument(payload) {
4414
4414
  return this.request("POST", "/admin/statements/ingest-agent", payload);
4415
4415
  }
4416
+ /**
4417
+ * ADR-340: statement imports through the large-file path, as the owner's
4418
+ * statements page shows them (same view object).
4419
+ */
4420
+ async listImports(q = {}) {
4421
+ const sp = new URLSearchParams();
4422
+ if (q.limit != null)
4423
+ sp.set("limit", String(q.limit));
4424
+ if (q.offset != null)
4425
+ sp.set("offset", String(q.offset));
4426
+ if (q.document_id)
4427
+ sp.set("document_id", q.document_id);
4428
+ const qs = sp.toString();
4429
+ return this.request("GET", `/admin/statements/imports${qs ? `?${qs}` : ""}`);
4430
+ }
4431
+ async getImport(id) {
4432
+ return this.request("GET", `/admin/statements/imports/${encodeURIComponent(id)}`);
4433
+ }
4416
4434
  }
4417
4435
  class SelectionsResource extends BaseResource {
4418
4436
  async list(params) {