@withpica/mcp-sdk 3.17.0 → 3.19.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 +21 -0
- package/dist/index.d.ts +25 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [3.19.0] - 2026-09-18
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- **`exports.songDossiers({ work_ids })`** — `POST /admin/exports/song-dossiers`.
|
|
19
|
+
One ZIP of the song dossier (PDF + JSON) for each work named, returned as the
|
|
20
|
+
signed-URL JSON envelope plus a per-work `works[]` account. 1 to 60 ids; a
|
|
21
|
+
malformed id or a longer list is a 400.
|
|
22
|
+
|
|
23
|
+
## [3.18.0] - 2026-09-17
|
|
24
|
+
|
|
25
|
+
### Removed
|
|
26
|
+
|
|
27
|
+
- **`exports.catalogAssetReport()` no longer takes `attestation`.** The
|
|
28
|
+
report's declaration goes to lenders and insurers, and only a person signed
|
|
29
|
+
in to PICA may make it (the export panel). The API now refuses an
|
|
30
|
+
attestation sent with an API key, agent grant or OAuth token (400) and
|
|
31
|
+
builds those callers an unsigned report, so the parameter could only ever
|
|
32
|
+
fail. Callers that passed it: drop it.
|
|
33
|
+
- **`sections.audio` on the same method.** The report never read it.
|
|
34
|
+
|
|
14
35
|
## [3.17.0] - 2026-09-13
|
|
15
36
|
|
|
16
37
|
### Fixed
|
package/dist/index.d.ts
CHANGED
|
@@ -2476,11 +2476,11 @@ declare class SettingsResource extends BaseResource {
|
|
|
2476
2476
|
* the auth context — `user_id` is never accepted (ADR-184 rule 2).
|
|
2477
2477
|
*
|
|
2478
2478
|
* The route lazy-creates the backing `people` row if the user's
|
|
2479
|
-
* `user_profiles.person_id` is null
|
|
2480
|
-
*
|
|
2481
|
-
*
|
|
2482
|
-
* count of
|
|
2483
|
-
*
|
|
2479
|
+
* `user_profiles.person_id` is null. Identifiers are saved on that record
|
|
2480
|
+
* only; this call triggers no cross-org linking (a typed IPI is not
|
|
2481
|
+
* evidence).
|
|
2482
|
+
* Response includes the count of discoveries written in each of the 3
|
|
2483
|
+
* typed tables in the last 10 seconds.
|
|
2484
2484
|
* ADR-189 Phase 3.
|
|
2485
2485
|
*/
|
|
2486
2486
|
updateMyIdentity(params: {
|
|
@@ -2510,20 +2510,18 @@ declare class SettingsResource extends BaseResource {
|
|
|
2510
2510
|
}
|
|
2511
2511
|
declare class GdprResource extends BaseResource {
|
|
2512
2512
|
/**
|
|
2513
|
-
* Create a
|
|
2513
|
+
* Create a pending deletion request for the authenticated user's account.
|
|
2514
2514
|
* Never accepts a user_id — the subject is derived from the bearer token
|
|
2515
|
-
* (ADR-184 rule 2). Returns the deletion_request_id immediately;
|
|
2516
|
-
*
|
|
2517
|
-
* the web UI's 30-day reversal window.
|
|
2515
|
+
* (ADR-184 rule 2). Returns the deletion_request_id immediately; nothing
|
|
2516
|
+
* is erased until an org owner/admin or the PICA team confirms the request.
|
|
2518
2517
|
*/
|
|
2519
2518
|
deleteMyAccount(params?: {
|
|
2520
2519
|
reason?: string;
|
|
2521
2520
|
}): Promise<any>;
|
|
2522
2521
|
/**
|
|
2523
2522
|
* Queue a GDPR Article 15 / 20 data export for the authenticated user.
|
|
2524
|
-
* Returns a job_id immediately;
|
|
2525
|
-
*
|
|
2526
|
-
* negotiation to a future parameter).
|
|
2523
|
+
* Returns a job_id immediately; a download link is emailed when the job
|
|
2524
|
+
* completes. Sends `{}`, so the route's defaults apply (JSON, no files).
|
|
2527
2525
|
*/
|
|
2528
2526
|
exportMyData(): Promise<any>;
|
|
2529
2527
|
}
|
|
@@ -3258,6 +3256,11 @@ declare class ExportResource extends BaseResource {
|
|
|
3258
3256
|
*/
|
|
3259
3257
|
format?: "zip" | "json";
|
|
3260
3258
|
}): Promise<any>;
|
|
3259
|
+
/**
|
|
3260
|
+
* Builds an UNSIGNED catalog asset report. Its declaration can only be
|
|
3261
|
+
* attested by a person signed in to PICA (the export panel), so the API
|
|
3262
|
+
* refuses an attestation sent with an API key, agent grant or OAuth token.
|
|
3263
|
+
*/
|
|
3261
3264
|
catalogAssetReport(params: {
|
|
3262
3265
|
sections: {
|
|
3263
3266
|
ownership: true;
|
|
@@ -3265,14 +3268,19 @@ declare class ExportResource extends BaseResource {
|
|
|
3265
3268
|
assets?: boolean;
|
|
3266
3269
|
agreements?: boolean;
|
|
3267
3270
|
intelligence?: boolean;
|
|
3268
|
-
audio?: boolean;
|
|
3269
|
-
};
|
|
3270
|
-
attestation: {
|
|
3271
|
-
signer_name: string;
|
|
3272
|
-
declaration_accepted: boolean;
|
|
3273
3271
|
};
|
|
3274
3272
|
work_ids?: string[];
|
|
3275
3273
|
}): Promise<any>;
|
|
3274
|
+
/**
|
|
3275
|
+
* One ZIP holding the song dossier (PDF + JSON) of each work named — the
|
|
3276
|
+
* work, its recordings, the releases they appear on, people, provenance and
|
|
3277
|
+
* consent — plus a manifest and README. Returns a signed-URL JSON envelope
|
|
3278
|
+
* with a per-work `works[]` account of what was included. 1–60 work ids;
|
|
3279
|
+
* a malformed id or a longer list is refused with a 400.
|
|
3280
|
+
*/
|
|
3281
|
+
songDossiers(params: {
|
|
3282
|
+
work_ids: string[];
|
|
3283
|
+
}): Promise<any>;
|
|
3276
3284
|
aiConsent(params?: {
|
|
3277
3285
|
work_ids?: string[];
|
|
3278
3286
|
}): Promise<any>;
|