@nodii/dsar 0.20.0 → 0.23.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/bind-pattern-a.d.ts +127 -13
- package/dist/bind-pattern-a.d.ts.map +1 -1
- package/dist/bind-pattern-a.js +553 -32
- package/dist/bind-pattern-a.js.map +1 -1
- package/dist/bind-pattern-b.d.ts.map +1 -1
- package/dist/bind-pattern-b.js +58 -3
- package/dist/bind-pattern-b.js.map +1 -1
- package/dist/grpc/dsar-service.d.ts +29 -0
- package/dist/grpc/dsar-service.d.ts.map +1 -1
- package/dist/grpc/dsar-service.js +34 -0
- package/dist/grpc/dsar-service.js.map +1 -1
- package/dist/grpc/proto-path.d.ts +33 -0
- package/dist/grpc/proto-path.d.ts.map +1 -0
- package/dist/grpc/proto-path.js +87 -0
- package/dist/grpc/proto-path.js.map +1 -0
- package/dist/hold-failure-mode.d.ts +24 -0
- package/dist/hold-failure-mode.d.ts.map +1 -1
- package/dist/hold-failure-mode.js +24 -0
- package/dist/hold-failure-mode.js.map +1 -1
- package/dist/hold-gate-probe.d.ts +61 -0
- package/dist/hold-gate-probe.d.ts.map +1 -0
- package/dist/hold-gate-probe.js +146 -0
- package/dist/hold-gate-probe.js.map +1 -0
- package/dist/holds.d.ts +60 -1
- package/dist/holds.d.ts.map +1 -1
- package/dist/holds.js +60 -3
- package/dist/holds.js.map +1 -1
- package/dist/index.d.ts +16 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -5
- package/dist/index.js.map +1 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +10 -0
- package/dist/migrations/index.js.map +1 -1
- package/dist/orchestrator.d.ts +48 -0
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +297 -20
- package/dist/orchestrator.js.map +1 -1
- package/dist/register.d.ts +35 -1
- package/dist/register.d.ts.map +1 -1
- package/dist/register.js +26 -0
- package/dist/register.js.map +1 -1
- package/dist/retention-sweeper.d.ts +252 -0
- package/dist/retention-sweeper.d.ts.map +1 -0
- package/dist/retention-sweeper.js +356 -0
- package/dist/retention-sweeper.js.map +1 -0
- package/dist/retention.d.ts +109 -1
- package/dist/retention.d.ts.map +1 -1
- package/dist/retention.js +216 -3
- package/dist/retention.js.map +1 -1
- package/dist/subject-kinds.d.ts +74 -0
- package/dist/subject-kinds.d.ts.map +1 -0
- package/dist/subject-kinds.js +141 -0
- package/dist/subject-kinds.js.map +1 -0
- package/dist/types.d.ts +423 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +164 -0
- package/dist/types.js.map +1 -1
- package/package.json +7 -4
- package/proto/nodii/dsar/v1/dsar.proto +202 -0
- package/src/migrations/001-lifecycle-requests.sql +422 -0
package/dist/types.d.ts
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
|
+
import type { SubjectKind } from "./subject-kinds.js";
|
|
1
2
|
/** GDPR request type accepted at BeginDsar. */
|
|
2
3
|
export type DsarRequestType = "access" | "erasure" | "portability" | "rectification";
|
|
3
4
|
/**
|
|
4
|
-
* Subject classification
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Subject classification.
|
|
6
|
+
*
|
|
7
|
+
* D719 (LOCKED 2026-08-13, supersedes D341's enum): this is now an ALIAS of
|
|
8
|
+
* the single closed vocabulary in `./subject-kinds.js` —
|
|
9
|
+
* `user | employee | customer | vendor | third_party | tenant`. It previously
|
|
10
|
+
* declared its own 4-value list (`user | employee | customer | platform_admin`)
|
|
11
|
+
* that disagreed with {@link SubjectKindStr}'s 5-value list in the same file;
|
|
12
|
+
* `platform_admin` is gone (audit ACTOR kind, not a subject kind) and
|
|
13
|
+
* `vendor` / `third_party` / `tenant` are in.
|
|
14
|
+
*
|
|
15
|
+
* @see SUBJECT_KINDS
|
|
7
16
|
*/
|
|
8
|
-
export type DsarSubjectKind =
|
|
17
|
+
export type DsarSubjectKind = SubjectKind;
|
|
9
18
|
/** DSAR state machine — terminal states are `completed`, `rejected_final`. */
|
|
10
19
|
export type DsarStatus = "open" | "in_progress" | "completed" | "rejected" | "under_review";
|
|
11
20
|
/** Format for the portability export. v0.1.0 only handles `json`. */
|
|
@@ -104,19 +113,123 @@ export type RectifyHandlerFn = (args: {
|
|
|
104
113
|
}) => Promise<{
|
|
105
114
|
artifactId: string;
|
|
106
115
|
}>;
|
|
116
|
+
/** The closed D720 bucket set. Twin of `@nodii/pii`'s `PII_BUCKETS`. */
|
|
117
|
+
export declare const PII_BUCKETS: readonly ["statutory", "operational", "free_text"];
|
|
118
|
+
/** One of the three D720 buckets. */
|
|
119
|
+
export type PiiBucket = (typeof PII_BUCKETS)[number];
|
|
120
|
+
/** The bucket a data class with no explicit declaration lands in. */
|
|
121
|
+
export declare const DEFAULT_PII_BUCKET: PiiBucket;
|
|
122
|
+
/** Narrowing predicate for {@link PiiBucket}. */
|
|
123
|
+
export declare function isPiiBucket(value: unknown): value is PiiBucket;
|
|
124
|
+
/**
|
|
125
|
+
* D720 — one statutory data class that an erase RETAINED rather than destroyed,
|
|
126
|
+
* with the legal basis for keeping it.
|
|
127
|
+
*
|
|
128
|
+
* This is the "reasoned partial refusal" the erase response owes the subject: a
|
|
129
|
+
* bare `PARTIAL` tells them something survived; these rows tell them WHAT, under
|
|
130
|
+
* WHICH statute, and until WHEN.
|
|
131
|
+
*/
|
|
132
|
+
export interface RetainedClass {
|
|
133
|
+
/** The retained data class, as registered with the orchestrator. */
|
|
134
|
+
data_class: string;
|
|
135
|
+
/**
|
|
136
|
+
* The statute that mandates retention (e.g. `"CGST Act 2017 s.36"`). Absent
|
|
137
|
+
* when the service declared the class statutory without a citation — the
|
|
138
|
+
* class is still reported, because omitting it would understate what
|
|
139
|
+
* survived.
|
|
140
|
+
*/
|
|
141
|
+
statute_citation?: string;
|
|
142
|
+
/**
|
|
143
|
+
* ISO-8601 UTC instant the retention window expires and the purpose-spent
|
|
144
|
+
* sweeper may hard-delete the record. Absent when no schedule resolved.
|
|
145
|
+
*/
|
|
146
|
+
retained_until?: string;
|
|
147
|
+
}
|
|
107
148
|
/**
|
|
108
149
|
* Retention policy shape. Mirrors `retention_policies` rows in
|
|
109
150
|
* nodii-tenant-service per spec § 5.11.5 — the library ships the types +
|
|
110
151
|
* helpers; the orchestrator-side server lands in v0.1.x.
|
|
152
|
+
*
|
|
153
|
+
* D720 RECONCILIATION. The type and the shipped registry had drifted: the
|
|
154
|
+
* registry row carries only `(service_id, data_class, subject_kind,
|
|
155
|
+
* retention_days, pattern)`, while D720's schedule is effective-dated and
|
|
156
|
+
* jurisdictional. The window fields below are added as OPTIONAL so every
|
|
157
|
+
* existing row keeps parsing, and the D720-shaped ones carry their full window.
|
|
158
|
+
* `retention_days` stays REQUIRED — it is what `applyRetention` computes on and
|
|
159
|
+
* what every registered row already has.
|
|
111
160
|
*/
|
|
112
161
|
export interface RetentionPolicy {
|
|
113
162
|
/** Service identifier — `nodii-billing-service`, `obs-interface-service`, ... */
|
|
114
163
|
service_id: string;
|
|
115
164
|
/** Free-form bucket — `PII`, `financial`, `audit`, ... */
|
|
116
165
|
data_class: string;
|
|
117
|
-
|
|
166
|
+
/**
|
|
167
|
+
* D719 — one of the six closed data-subject kinds. `| "tenant"` used to be
|
|
168
|
+
* appended here because the old `DsarSubjectKind` omitted it; `tenant` is now
|
|
169
|
+
* a member of the union itself.
|
|
170
|
+
*/
|
|
171
|
+
subject_kind: DsarSubjectKind;
|
|
118
172
|
/** Days the data may be retained after the last legitimate-use timestamp. */
|
|
119
173
|
retention_days: number;
|
|
174
|
+
/** D720 — which of the three buckets this class belongs to. Default operational. */
|
|
175
|
+
bucket?: PiiBucket;
|
|
176
|
+
/** D720 — ISO-3166 / regulator jurisdiction the window comes from (`IN`, `DE`, `UK`). */
|
|
177
|
+
jurisdiction?: string;
|
|
178
|
+
/** D720 — the schedule's document class, when it differs from `data_class`. */
|
|
179
|
+
document_class?: string;
|
|
180
|
+
/** D720 — the entity the record belongs to (`invoice`, `payslip`, `filing`, ...). */
|
|
181
|
+
entity_kind?: string;
|
|
182
|
+
/** D720 — ISO-8601 duration (`P8Y`, `P10Y`, `P90D`). Preferred over `retention_days` when set. */
|
|
183
|
+
retention_period?: string;
|
|
184
|
+
/** D720 — which timestamp the window counts from. */
|
|
185
|
+
anchor?: RetentionAnchor;
|
|
186
|
+
/** D720 — whether an open legal proceeding extends the window indefinitely. */
|
|
187
|
+
extended_by_proceeding?: boolean;
|
|
188
|
+
/** D720 — ISO-8601 instant this schedule row takes effect. */
|
|
189
|
+
effective_from?: string;
|
|
190
|
+
/** D720 — ISO-8601 instant it stops applying; null/absent = still in force. */
|
|
191
|
+
effective_to?: string | null;
|
|
192
|
+
/** D720 — the statute the window comes from, surfaced in `retained_classes`. */
|
|
193
|
+
statute_citation?: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* D720 — which timestamp a retention window counts from. CLOSED set: an
|
|
197
|
+
* unrecognised anchor cannot be defaulted, because picking the wrong one moves
|
|
198
|
+
* a hard-delete date by years in either direction.
|
|
199
|
+
*/
|
|
200
|
+
export declare const RETENTION_ANCHORS: readonly ["creation", "last_activity", "relationship_end", "filing"];
|
|
201
|
+
export type RetentionAnchor = (typeof RETENTION_ANCHORS)[number];
|
|
202
|
+
/** Narrowing predicate for {@link RetentionAnchor}. */
|
|
203
|
+
export declare function isRetentionAnchor(value: unknown): value is RetentionAnchor;
|
|
204
|
+
/**
|
|
205
|
+
* D720 — one effective-dated row of the platform-global `retention_schedules`
|
|
206
|
+
* table.
|
|
207
|
+
*
|
|
208
|
+
* SCHEDULE CONTENT IS DATA, NOT CODE. Nodii ships jurisdiction packs and this
|
|
209
|
+
* library ships the ARCHITECTURE; the actual periods are operator/counsel-owned
|
|
210
|
+
* rows subject to counsel review before any production reliance. Nothing in
|
|
211
|
+
* this package hard-codes a jurisdiction's period — the tests seed their own.
|
|
212
|
+
*
|
|
213
|
+
* Effective-dating is not decoration: Germany keeps invoices 8 years and
|
|
214
|
+
* ledgers 10, and both numbers have changed within living memory. A row that
|
|
215
|
+
* was correct when the record was written must stay resolvable after the law
|
|
216
|
+
* moves on, which is what `effective_from` / `effective_to` are for.
|
|
217
|
+
*/
|
|
218
|
+
export interface RetentionSchedule {
|
|
219
|
+
jurisdiction: string;
|
|
220
|
+
document_class: string;
|
|
221
|
+
entity_kind: string;
|
|
222
|
+
/** ISO-8601 duration — `P8Y`, `P10Y`, `P6M`, `P90D`, `P1Y6M`. */
|
|
223
|
+
retention_period: string;
|
|
224
|
+
anchor: RetentionAnchor;
|
|
225
|
+
/** An open proceeding suspends expiry — the sweeper must not purge. */
|
|
226
|
+
extended_by_proceeding: boolean;
|
|
227
|
+
/** ISO-8601 instant this row takes effect. */
|
|
228
|
+
effective_from: string;
|
|
229
|
+
/** ISO-8601 instant it stops applying; `null` = still in force. */
|
|
230
|
+
effective_to?: string | null;
|
|
231
|
+
/** The statute behind the window, surfaced to the subject in `retained_classes`. */
|
|
232
|
+
statute_citation?: string;
|
|
120
233
|
}
|
|
121
234
|
export declare class DsarError extends Error {
|
|
122
235
|
constructor(message: string);
|
|
@@ -229,6 +342,56 @@ export interface LifecycleResponse {
|
|
|
229
342
|
* go/python stubs); this field is the non-breaking half.
|
|
230
343
|
*/
|
|
231
344
|
hold_gate_error?: string;
|
|
345
|
+
/**
|
|
346
|
+
* D720 — the statutory data classes an EraseData RETAINED rather than
|
|
347
|
+
* destroyed, each with its statute + expiry. Present (and non-empty) exactly
|
|
348
|
+
* when the erase was a reasoned partial refusal; absent on a total erase.
|
|
349
|
+
*
|
|
350
|
+
* The response `status` is `PARTIAL` whenever this is non-empty, so the
|
|
351
|
+
* three-value compliance vocabulary still classifies it (`PARTIAL` →
|
|
352
|
+
* `completed` per `complianceStatusFor`): the participant DID discharge the
|
|
353
|
+
* obligation, to the extent the law permits. The detail of what survived
|
|
354
|
+
* lives here rather than in `reason`, which stays a short stable token.
|
|
355
|
+
*
|
|
356
|
+
* NOT A PROTO FIELD yet (`LifecycleResponse` declares 6) — same status as
|
|
357
|
+
* `hold_gate_error`: visible to IN-PROCESS callers of a bind* impl, dropped
|
|
358
|
+
* at the gRPC boundary. Its durable cross-process home is the terminal audit
|
|
359
|
+
* row + the compliance event payload, which both carry it.
|
|
360
|
+
*/
|
|
361
|
+
retained_classes?: RetainedClass[];
|
|
362
|
+
/**
|
|
363
|
+
* D720 DIAGNOSTIC — the detail behind a
|
|
364
|
+
* `statutory_bucket_not_retention_keyed` refusal: which classes were
|
|
365
|
+
* declared statutory and why the library could not prove they are keyed to
|
|
366
|
+
* the tenant retention DEK. Absent on every other outcome.
|
|
367
|
+
*
|
|
368
|
+
* Deliberately NOT `hold_gate_error`. That field means one specific thing —
|
|
369
|
+
* the holds table could not be read — and reusing it for a different refusal
|
|
370
|
+
* would make every dashboard and runbook keyed on it lie about which gate
|
|
371
|
+
* fired. Same rationale that moved the text off `statute_citation` in the
|
|
372
|
+
* first place: a diagnostic field with two meanings has none.
|
|
373
|
+
*
|
|
374
|
+
* NOT A PROTO FIELD — in-process callers only, exactly like
|
|
375
|
+
* `hold_gate_error`. The durable home is the refusal audit row.
|
|
376
|
+
*/
|
|
377
|
+
retention_gate_error?: string;
|
|
378
|
+
/**
|
|
379
|
+
* D720 — statutory classes whose ciphertext was ALREADY destroyed before this
|
|
380
|
+
* erase ran, because the tenant's retention DEK has been shredded (D105
|
|
381
|
+
* whole-tenant close).
|
|
382
|
+
*
|
|
383
|
+
* Distinct from `retained_classes` on purpose. `retained_classes` says "this
|
|
384
|
+
* survives, readable, under statute, until <date>" — a promise. These classes
|
|
385
|
+
* are the opposite: nothing survives, so promising retention would be a lie,
|
|
386
|
+
* and reporting a misconfiguration would be a different lie. The erase is a
|
|
387
|
+
* total `COMPLETED`; this field is the honest note about what was already
|
|
388
|
+
* gone when it arrived.
|
|
389
|
+
*
|
|
390
|
+
* The handler is still told not to row-delete them (they are `retained` in
|
|
391
|
+
* the handler env): a subject erase is not a tenant teardown, and the rows'
|
|
392
|
+
* disposal belongs to the tenant-close path that shredded their key.
|
|
393
|
+
*/
|
|
394
|
+
statutory_already_erased?: string[];
|
|
232
395
|
}
|
|
233
396
|
/**
|
|
234
397
|
* Lowercase overall + per-sibling status set for the LOCKED 11-dsar § 6.2
|
|
@@ -266,8 +429,16 @@ export interface PlatformLifecycleRequestRow {
|
|
|
266
429
|
started_at: string;
|
|
267
430
|
completed_at: string | null;
|
|
268
431
|
}
|
|
269
|
-
/**
|
|
270
|
-
|
|
432
|
+
/**
|
|
433
|
+
* The wire-form subject kind carried on the `DataLifecycleService` RPCs.
|
|
434
|
+
*
|
|
435
|
+
* D719 — an ALIAS of the one closed vocabulary in `./subject-kinds.js`. It used
|
|
436
|
+
* to be a hand-maintained 5-value list that included `platform_admin` (removed
|
|
437
|
+
* by D719) and omitted `vendor` / `third_party`.
|
|
438
|
+
*
|
|
439
|
+
* @see SUBJECT_KINDS
|
|
440
|
+
*/
|
|
441
|
+
export type SubjectKindStr = SubjectKind;
|
|
271
442
|
/** Pattern A request envelope passed to consumer handlers. */
|
|
272
443
|
export interface PatternAEnvelope {
|
|
273
444
|
request_id: string;
|
|
@@ -316,8 +487,44 @@ export interface PatternAHandlers {
|
|
|
316
487
|
payload?: Record<string, unknown>;
|
|
317
488
|
result_artifact_uri?: string;
|
|
318
489
|
}>;
|
|
490
|
+
/**
|
|
491
|
+
* Destroy the subject's data.
|
|
492
|
+
*
|
|
493
|
+
* ## D720 — THE HANDLER IS TOLD WHAT TO DESTROY AND WHAT TO SPARE
|
|
494
|
+
*
|
|
495
|
+
* The library's crypto-shred kills the operational + free_text buckets by
|
|
496
|
+
* destroying the subject DEK. It CANNOT stop a handler from row-deleting a
|
|
497
|
+
* statutory record, and a handler that deletes "everything for this subject"
|
|
498
|
+
* destroys exactly the rows the response is about to report as retained. So
|
|
499
|
+
* the partition is carried into the handler rather than stopping at the
|
|
500
|
+
* crypto layer:
|
|
501
|
+
*
|
|
502
|
+
* - `data_classes` — the classes this erase MUST destroy. Statutory classes
|
|
503
|
+
* have already been REMOVED.
|
|
504
|
+
* - `retained_classes` — the classes the handler MUST NOT touch. Their rows
|
|
505
|
+
* survive readable under the tenant retention DEK (or are already
|
|
506
|
+
* unreadable after a D105 tenant shred); either way this erase does not
|
|
507
|
+
* delete them.
|
|
508
|
+
* - `class_selection` — how to read `data_classes`, because an empty list is
|
|
509
|
+
* ambiguous on its own:
|
|
510
|
+
* - `"explicit"` ⇒ destroy EXACTLY the listed classes. An EMPTY list means
|
|
511
|
+
* destroy NOTHING (every class the request named turned out to be
|
|
512
|
+
* statutory). Deleting "everything" here would be the precise bug this
|
|
513
|
+
* field exists to prevent.
|
|
514
|
+
* - `"all"` ⇒ the request named no classes: destroy everything the
|
|
515
|
+
* service holds for the subject EXCEPT `retained_classes`.
|
|
516
|
+
*
|
|
517
|
+
* On a `scope: "tenant"` erase (the D105 close) nothing is spared:
|
|
518
|
+
* `retained_classes` is empty and `data_classes` carries the full scope.
|
|
519
|
+
*
|
|
520
|
+
* A participant that binds without `retention` sees the request's classes
|
|
521
|
+
* verbatim with `retained_classes: []` — the pre-D720 behaviour.
|
|
522
|
+
*/
|
|
319
523
|
erase(env: PatternAEnvelope & {
|
|
320
524
|
scope: "subject" | "tenant";
|
|
525
|
+
data_classes: string[];
|
|
526
|
+
retained_classes: RetainedClass[];
|
|
527
|
+
class_selection: "explicit" | "all";
|
|
321
528
|
}): Promise<{
|
|
322
529
|
status: string;
|
|
323
530
|
artifactId?: string;
|
|
@@ -369,6 +576,61 @@ export interface RetentionHoldHandlers {
|
|
|
369
576
|
subject_id: string;
|
|
370
577
|
justification: string;
|
|
371
578
|
requested_by: string;
|
|
579
|
+
/**
|
|
580
|
+
* SCOPE PASSTHROUGH (drift `f65c3930`). `true` when the LiftRetentionHold
|
|
581
|
+
* request carried NO subject (absent / null / empty `subject_id`) — i.e. the
|
|
582
|
+
* caller is lifting the TENANT-LEVEL hold row
|
|
583
|
+
* (`data_residency_holds.subject_id IS NULL`), not one subject's hold.
|
|
584
|
+
*
|
|
585
|
+
* WHY IT EXISTS: `subject_id` is normalized by the scalar bind rule
|
|
586
|
+
* (`String(x ?? "")`), so an absent subject arrives at the handler as the
|
|
587
|
+
* EMPTY STRING, indistinguishable from a subject literally named `""`. The
|
|
588
|
+
* handler therefore could not tell a tenant-level lift from a subject lift
|
|
589
|
+
* and had to guess. Always present (never `undefined`), so a handler branches
|
|
590
|
+
* on it without a nullish dance.
|
|
591
|
+
*
|
|
592
|
+
* ## It is NOT {@link liftHold}'s `sweepAllSubjects`. Do not forward it.
|
|
593
|
+
*
|
|
594
|
+
* These two booleans mean OPPOSITE things and the names used to invite
|
|
595
|
+
* exactly the confusion that produces the 4a72cce1 bug:
|
|
596
|
+
*
|
|
597
|
+
* - `tenant_level: true` — lift ONE row: the tenant-level one. Every
|
|
598
|
+
* subject-scoped row SURVIVES.
|
|
599
|
+
* - `sweepAllSubjects: true` — lift EVERY row in the tenant, including every
|
|
600
|
+
* subject's.
|
|
601
|
+
*
|
|
602
|
+
* A handler that did `liftHold({ sweepAllSubjects: args.tenant_level })`
|
|
603
|
+
* would turn "release the tenant's hold" into "release every hold in the
|
|
604
|
+
* tenant" — the exact collateral release drift 4a72cce1 exists to kill,
|
|
605
|
+
* reintroduced one layer up. `sweepAllSubjects` is an OPERATOR action and is
|
|
606
|
+
* never derivable from a lift request; nothing on this args object maps onto
|
|
607
|
+
* it.
|
|
608
|
+
*
|
|
609
|
+
* The correct forward is through `subjectId`, not through a flag:
|
|
610
|
+
*
|
|
611
|
+
* ```ts
|
|
612
|
+
* await liftHold({
|
|
613
|
+
* sql,
|
|
614
|
+
* tenantId: args.tenant_id,
|
|
615
|
+
* // tenant_level ⇒ null ⇒ the subject_id IS NULL row, and only it.
|
|
616
|
+
* subjectId: args.tenant_level ? null : args.subject_id,
|
|
617
|
+
* holdKind: args.hold_kind ?? DEFAULT_ERASE_BLOCKING_HOLD_KINDS,
|
|
618
|
+
* liftedBy: args.requested_by,
|
|
619
|
+
* });
|
|
620
|
+
* ```
|
|
621
|
+
*/
|
|
622
|
+
tenant_level: boolean;
|
|
623
|
+
/**
|
|
624
|
+
* SCOPE PASSTHROUGH (drift `f65c3930`) — the hold kind(s) the lift targets,
|
|
625
|
+
* mirroring `place`. Omitted (key ABSENT) when the request carried none, per
|
|
626
|
+
* the nullish-omit rule; absence means "every blocking kind", exactly as
|
|
627
|
+
* {@link liftHold}'s `holdKind` default does.
|
|
628
|
+
*/
|
|
629
|
+
hold_kind?: HoldKind;
|
|
630
|
+
/** SCOPE PASSTHROUGH — data-class narrowing; absent = every class. */
|
|
631
|
+
data_class?: string;
|
|
632
|
+
/** SCOPE PASSTHROUGH — lift one specific auto-hold by its dedupe key. */
|
|
633
|
+
hold_request_id?: string;
|
|
372
634
|
}): Promise<{
|
|
373
635
|
status: string;
|
|
374
636
|
}>;
|
|
@@ -555,6 +817,18 @@ export interface DsarComplianceEvent {
|
|
|
555
817
|
failureReason?: string;
|
|
556
818
|
/** Populated when `status === 'held'`. */
|
|
557
819
|
statuteHoldCitation?: string;
|
|
820
|
+
/**
|
|
821
|
+
* D720 — the statutory data classes the erase RETAINED. Populated when the
|
|
822
|
+
* participant answered `PARTIAL` with a non-empty
|
|
823
|
+
* `LifecycleResponse.retained_classes`.
|
|
824
|
+
*
|
|
825
|
+
* It rides the EVENT because the wire `LifecycleResponse` has no field for it
|
|
826
|
+
* yet (a 7th proto field is a separate cross-repo change). Without it the
|
|
827
|
+
* orchestrator's aggregate would record "erase completed" with no trace that
|
|
828
|
+
* anything was lawfully kept — and the subject's own copy of the answer is
|
|
829
|
+
* the one place that must not lose it.
|
|
830
|
+
*/
|
|
831
|
+
retainedClasses?: RetainedClass[];
|
|
558
832
|
}
|
|
559
833
|
/**
|
|
560
834
|
* D239 — the consumer-supplied outbox adapter. The library NEVER writes the
|
|
@@ -575,6 +849,119 @@ export declare class MissingOutboxEmitterError extends Error {
|
|
|
575
849
|
readonly code = "MISSING_OUTBOX_EMITTER";
|
|
576
850
|
constructor(serviceName: string);
|
|
577
851
|
}
|
|
852
|
+
/**
|
|
853
|
+
* Raised at BIND time when `bindPatternA` is called WITHOUT a `sqlClient`.
|
|
854
|
+
*
|
|
855
|
+
* A Pattern A participant always binds the `erase` + `restrict` handlers (both
|
|
856
|
+
* are REQUIRED members of {@link PatternAHandlers}), and both are gated on the
|
|
857
|
+
* `data_residency_holds` consult. With no SQL client there is no holds table to
|
|
858
|
+
* consult, so the gate cannot run — and per the operator ruling of 2026-07-30
|
|
859
|
+
* ("If holds is inaccessible - we deny the write. ... Fail CLOSED.") every such
|
|
860
|
+
* request must be refused. A service in that shape can serve NOTHING on its two
|
|
861
|
+
* most compliance-sensitive RPCs; it is a boot misconfiguration, not a runtime
|
|
862
|
+
* condition, so it fails at BOOT rather than once per request.
|
|
863
|
+
*
|
|
864
|
+
* HISTORY (libs#612 → this release). `checkHold` used to open with
|
|
865
|
+
* `if (!opts.sqlClient) return null` — PROCEED. That made the fleet's
|
|
866
|
+
* "unconditionally fail-closed" docstrings literally false whenever the pool was
|
|
867
|
+
* absent: a participant bound without `sqlClient` performed crypto-shred erases
|
|
868
|
+
* with NO hold consultation and answered `COMPLETED`. libs#612 closed the
|
|
869
|
+
* data-loss half by routing the absent pool through the branded, audited,
|
|
870
|
+
* non-memoizable refusal path (`hold_consult_failed_fail_closed`), which is
|
|
871
|
+
* correct but SILENT until the first erase — the misconfiguration surfaced as a
|
|
872
|
+
* production DSAR failure rather than a failed deploy. THIS release moves the
|
|
873
|
+
* detection to bind time.
|
|
874
|
+
*
|
|
875
|
+
* NO ESCAPE HATCH — there is no flag, no `allowNoHoldsClient`, no dev mode. A
|
|
876
|
+
* CI / dev boot with no holds table applies the holds migration
|
|
877
|
+
* (`applyDsarMigrations`) against a real pool; it does not bypass the gate.
|
|
878
|
+
*
|
|
879
|
+
* Mirrors {@link MissingOutboxEmitterError}: same bind-time position, same
|
|
880
|
+
* `code`-carrying shape, and the message names the gRPC `serviceName` (wire
|
|
881
|
+
* identity), NEVER the short audit token.
|
|
882
|
+
*
|
|
883
|
+
* Twins: python `MissingSqlClientForHoldGateError`, go
|
|
884
|
+
* `MissingSQLClientForHoldGateError`.
|
|
885
|
+
*/
|
|
886
|
+
export declare class MissingSqlClientForHoldGateError extends Error {
|
|
887
|
+
readonly code = "MISSING_SQL_CLIENT_FOR_HOLD_GATE";
|
|
888
|
+
constructor(serviceName: string);
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* D720 — raised when an erase is about to run against a subject whose scope
|
|
892
|
+
* includes a `statutory` data class, but the service cannot prove that class is
|
|
893
|
+
* keyed to the tenant RETENTION DEK.
|
|
894
|
+
*
|
|
895
|
+
* Two ways to get here, both misconfigurations, both silent without this check:
|
|
896
|
+
* 1. the `PiiAdapter` has no `hasRetentionDek` at all — the service declared
|
|
897
|
+
* a statutory class and never adopted the retention-DEK path; or
|
|
898
|
+
* 2. it returned `false` — the tenant has no retention DEK row, so whatever
|
|
899
|
+
* statutory data exists was written under the per-subject DEK.
|
|
900
|
+
*
|
|
901
|
+
* In both cases the statutory records are under the key `erasePerSubject` is
|
|
902
|
+
* about to NULL. The library REFUSES (FAILED) rather than proceeding: an erase
|
|
903
|
+
* that destroys a statutory-bucket record is a defect (D720), and the one thing
|
|
904
|
+
* worse than refusing an erase is performing an irreversible one that the
|
|
905
|
+
* regulator will later ask about. `reason` is the stable
|
|
906
|
+
* `statutory_bucket_not_retention_keyed` token.
|
|
907
|
+
*
|
|
908
|
+
* FIX, not a flag: mint the retention DEK by writing the statutory columns
|
|
909
|
+
* through `bucket: "statutory"` (see `@nodii/pii`), or correct the declaration
|
|
910
|
+
* if the class was never statutory. There is no opt-out.
|
|
911
|
+
*/
|
|
912
|
+
export declare class StatutoryBucketNotRetentionKeyed extends DsarError {
|
|
913
|
+
readonly code = "STATUTORY_BUCKET_NOT_RETENTION_KEYED";
|
|
914
|
+
readonly dataClasses: readonly string[];
|
|
915
|
+
constructor(serviceName: string, tenantId: string, dataClasses: readonly string[], detail: "adapter_missing_probe" | "no_retention_dek");
|
|
916
|
+
}
|
|
917
|
+
/** Stable `reason` token for a {@link StatutoryBucketNotRetentionKeyed} refusal. */
|
|
918
|
+
export declare const STATUTORY_NOT_RETENTION_KEYED_REASON = "statutory_bucket_not_retention_keyed";
|
|
919
|
+
/**
|
|
920
|
+
* D720 — stable `reason` token for an erase that completed for the operational
|
|
921
|
+
* + free_text buckets and RETAINED one or more statutory classes. Pairs with
|
|
922
|
+
* `status: "PARTIAL"` + a non-empty `retained_classes`.
|
|
923
|
+
*/
|
|
924
|
+
export declare const STATUTORY_RETENTION_PARTIAL_REASON = "statutory_retention_partial";
|
|
925
|
+
/**
|
|
926
|
+
* D720 — stable `reason` token for an erase that found the tenant's retention
|
|
927
|
+
* DEK already SHREDDED (D105). Pairs with `status: "COMPLETED"` + a non-empty
|
|
928
|
+
* `statutory_already_erased`: nothing survived, so nothing was retained, and
|
|
929
|
+
* the erase is total.
|
|
930
|
+
*/
|
|
931
|
+
export declare const STATUTORY_ALREADY_TENANT_SHREDDED_REASON = "statutory_already_tenant_shredded";
|
|
932
|
+
/**
|
|
933
|
+
* D720 — raised when the RESTRICTED marker write affected no row.
|
|
934
|
+
*
|
|
935
|
+
* `restricted_at` is the only durable evidence that a subject was erased as far
|
|
936
|
+
* as the law allows. A `PARTIAL` response that promises retention while its
|
|
937
|
+
* marker silently wrote nothing is exactly the class of lie D720 exists to
|
|
938
|
+
* remove — on the next audit the subject reads as never-erased while the
|
|
939
|
+
* response claims a lawful partial erase.
|
|
940
|
+
*
|
|
941
|
+
* The marker is an UPSERT, so "no row" cannot mean "this subject had no
|
|
942
|
+
* data_subjects row" (a statutory-ONLY subject never gets one: nothing ever
|
|
943
|
+
* minted a subject DEK for it). It means the write did not land, and the erase
|
|
944
|
+
* fails loud rather than reporting a marker that does not exist.
|
|
945
|
+
*/
|
|
946
|
+
export declare class RestrictedMarkerNotWritten extends DsarError {
|
|
947
|
+
readonly code = "RESTRICTED_MARKER_NOT_WRITTEN";
|
|
948
|
+
constructor(serviceName: string, tableName: string, rowsAffected: number);
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* Raised by {@link liftHold} when the lift scope is AMBIGUOUS — a concrete
|
|
952
|
+
* `subjectId` together with `sweepAllSubjects: true`.
|
|
953
|
+
*
|
|
954
|
+
* Those two say opposite things ("lift this subject's holds" vs "lift every hold
|
|
955
|
+
* in the tenant") and the library will not pick one. Drop `sweepAllSubjects` for
|
|
956
|
+
* a per-subject lift; pass `subjectId: null` with it for the sweep.
|
|
957
|
+
*
|
|
958
|
+
* The commonest way to reach this error is forwarding a lift handler's
|
|
959
|
+
* `tenant_level` flag into `sweepAllSubjects`. They are OPPOSITES — see
|
|
960
|
+
* `RetentionHoldHandlers.lift` — and the message says so.
|
|
961
|
+
*/
|
|
962
|
+
export declare class AmbiguousLiftScope extends DsarError {
|
|
963
|
+
constructor(subjectId: string);
|
|
964
|
+
}
|
|
578
965
|
/**
|
|
579
966
|
* D239 Rule 3 — RPC method → compliance-topic verb segment. Distinct from
|
|
580
967
|
* {@link RPC_TO_VERB} (the audit-action verbs): the compliance topic verbs are
|
|
@@ -606,7 +993,36 @@ export interface PiiAdapter {
|
|
|
606
993
|
}>;
|
|
607
994
|
erasePerSubject(tenantId: string, subjectId: string, subjectKind: SubjectKindStr): Promise<void>;
|
|
608
995
|
erasePerTenant(tenantId: string): Promise<void>;
|
|
996
|
+
/**
|
|
997
|
+
* D720 — THE ANTI-SILENT-SHRED PROBE, in three states.
|
|
998
|
+
*
|
|
999
|
+
* A service that declares a `statutory` data class but has never minted a
|
|
1000
|
+
* retention DEK has its statutory data under the PER-SUBJECT DEK — so the
|
|
1001
|
+
* `erasePerSubject` about to run would destroy a record the law requires the
|
|
1002
|
+
* tenant to keep, and would report `COMPLETED` while doing it. That is the
|
|
1003
|
+
* defect D720 closes, and it is invisible from both ends without this check.
|
|
1004
|
+
*
|
|
1005
|
+
* It is THREE-state and not a boolean, because the two negative answers
|
|
1006
|
+
* demand OPPOSITE behaviour and collapsing them produces a permanently
|
|
1007
|
+
* blocked erase path:
|
|
1008
|
+
*
|
|
1009
|
+
* | state | `bindPatternA` |
|
|
1010
|
+
* |---|---|
|
|
1011
|
+
* | `present` | proceed; statutory retained; `PARTIAL` + `retained_classes` |
|
|
1012
|
+
* | `erased` | PROCEED. The D105 tenant shred already destroyed the statutory ciphertext, so nothing is at risk — report the classes as `statutory_already_erased`. Refusing here would block every Art. 17 request for a closed tenant, forever, blaming a misconfiguration that does not exist. |
|
|
1013
|
+
* | `absent` | `FAILED` / `statutory_bucket_not_retention_keyed` — real misconfiguration, nothing shredded |
|
|
1014
|
+
*
|
|
1015
|
+
* Wire it to `@nodii/pii`'s `retentionDekState`. OPTIONAL so a participant
|
|
1016
|
+
* with no statutory classes needs no adapter change; a participant that DOES
|
|
1017
|
+
* declare one and omits this gets the same loud refusal as `absent`.
|
|
1018
|
+
*/
|
|
1019
|
+
retentionDekState?(tenantId: string): Promise<RetentionDekState>;
|
|
609
1020
|
}
|
|
1021
|
+
/**
|
|
1022
|
+
* D720 — the three states of a tenant's retention DEK. Twin of `@nodii/pii`'s
|
|
1023
|
+
* `RetentionDekState`.
|
|
1024
|
+
*/
|
|
1025
|
+
export type RetentionDekState = "present" | "erased" | "absent";
|
|
610
1026
|
/**
|
|
611
1027
|
* A resolved per-tenant CMK reference. `kmsKeyId` is the SSE-KMS key
|
|
612
1028
|
* identifier consumed directly by `createArtifact({ kmsKeyId })` /
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAuBA,+CAA+C;AAC/C,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,SAAS,GACT,aAAa,GACb,eAAe,CAAC;AAEpB;;;;GAIG;AACH,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,UAAU,GACV,UAAU,GACV,gBAAgB,CAAC;AAErB,8EAA8E;AAC9E,MAAM,MAAM,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