@withpica/mcp-sdk 4.1.0 → 4.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/CHANGELOG.md +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [4.2.0] - 2026-10-31
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `statements.removeImport(importBatchId)`: removes an imported statement — its royalty lines and
|
|
19
|
+
payment total go in one transaction; an uploaded statement document it came from stays. Returns
|
|
20
|
+
`{ paymentsDeleted, royaltyPaymentsDeleted }`. Refused (409 `IMPORT_RUNNING`) while the statement
|
|
21
|
+
is still importing. Backs `pica_statement_import_remove` in `@withpica/mcp-server` 2.113.0.
|
|
22
|
+
|
|
14
23
|
## [4.1.0] - 2026-10-29
|
|
15
24
|
|
|
16
25
|
### Changed
|
package/dist/index.d.ts
CHANGED
|
@@ -5923,6 +5923,15 @@ declare class StatementsResource extends BaseResource {
|
|
|
5923
5923
|
document_id?: string;
|
|
5924
5924
|
}): Promise<Record<string, unknown>>;
|
|
5925
5925
|
getImport(id: string): Promise<Record<string, unknown>>;
|
|
5926
|
+
/**
|
|
5927
|
+
* Remove an imported statement: its royalty lines and payment total go
|
|
5928
|
+
* (one transaction); an uploaded statement document it came from stays.
|
|
5929
|
+
* Refused (409 IMPORT_RUNNING) while it is still importing.
|
|
5930
|
+
*/
|
|
5931
|
+
removeImport(importBatchId: string): Promise<{
|
|
5932
|
+
paymentsDeleted: number;
|
|
5933
|
+
royaltyPaymentsDeleted: number;
|
|
5934
|
+
}>;
|
|
5926
5935
|
}
|
|
5927
5936
|
/**
|
|
5928
5937
|
* ADR-319 — saved catalog selections. `mcp-sdk` is a standalone published
|