@pegasimed.com/pegasi-sail-connect-shared 0.2.0-dev.32 → 0.2.0-dev.33
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/README.md +276 -0
- package/dist/capabilities/catalog-data.d.ts +21 -1
- package/dist/capabilities/catalog-data.d.ts.map +1 -1
- package/dist/capabilities/catalog-data.js +22 -1
- package/dist/capabilities/catalog-data.js.map +1 -1
- package/dist/consent/index.d.ts +45 -0
- package/dist/consent/index.d.ts.map +1 -0
- package/dist/consent/index.js +121 -0
- package/dist/consent/index.js.map +1 -0
- package/dist/consent/schema.d.ts +169 -0
- package/dist/consent/schema.d.ts.map +1 -0
- package/dist/consent/schema.js +74 -0
- package/dist/consent/schema.js.map +1 -0
- package/dist/consent/vectors.d.ts +1709 -0
- package/dist/consent/vectors.d.ts.map +1 -0
- package/dist/consent/vectors.js +144 -0
- package/dist/consent/vectors.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,1709 @@
|
|
|
1
|
+
export declare const CONSENT_DECISION_V1_VALID_VECTORS: readonly [{
|
|
2
|
+
readonly name: "candidate-granted";
|
|
3
|
+
readonly input: {
|
|
4
|
+
schemaVersion: string;
|
|
5
|
+
tenant: string;
|
|
6
|
+
subject: {
|
|
7
|
+
type: string;
|
|
8
|
+
ref: string;
|
|
9
|
+
};
|
|
10
|
+
itemCode: string;
|
|
11
|
+
scope: string;
|
|
12
|
+
templateRef: {
|
|
13
|
+
code: string;
|
|
14
|
+
revision: number;
|
|
15
|
+
};
|
|
16
|
+
textVersion: string;
|
|
17
|
+
textHash: string;
|
|
18
|
+
decision: string;
|
|
19
|
+
decidedAt: string;
|
|
20
|
+
source: {
|
|
21
|
+
system: string;
|
|
22
|
+
kind: string;
|
|
23
|
+
evidenceRef: string;
|
|
24
|
+
flowRef: string;
|
|
25
|
+
flowDigest: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
readonly name: "patient-declined";
|
|
30
|
+
readonly input: {
|
|
31
|
+
readonly subject: {
|
|
32
|
+
readonly type: "patient";
|
|
33
|
+
readonly ref: "ZyXwVuTsRqPoNmLkJiHg02";
|
|
34
|
+
};
|
|
35
|
+
readonly decision: "declined";
|
|
36
|
+
readonly schemaVersion: string;
|
|
37
|
+
readonly tenant: string;
|
|
38
|
+
readonly itemCode: string;
|
|
39
|
+
readonly scope: string;
|
|
40
|
+
readonly templateRef: {
|
|
41
|
+
code: string;
|
|
42
|
+
revision: number;
|
|
43
|
+
};
|
|
44
|
+
readonly textVersion: string;
|
|
45
|
+
readonly textHash: string;
|
|
46
|
+
readonly decidedAt: string;
|
|
47
|
+
readonly source: {
|
|
48
|
+
system: string;
|
|
49
|
+
kind: string;
|
|
50
|
+
evidenceRef: string;
|
|
51
|
+
flowRef: string;
|
|
52
|
+
flowDigest: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "patient-revoked";
|
|
57
|
+
readonly input: {
|
|
58
|
+
readonly subject: {
|
|
59
|
+
readonly type: "patient";
|
|
60
|
+
readonly ref: "ZyXwVuTsRqPoNmLkJiHg02";
|
|
61
|
+
};
|
|
62
|
+
readonly decision: "revoked";
|
|
63
|
+
readonly revokedAt: "2026-11-10T12:00:01.000Z";
|
|
64
|
+
readonly schemaVersion: string;
|
|
65
|
+
readonly tenant: string;
|
|
66
|
+
readonly itemCode: string;
|
|
67
|
+
readonly scope: string;
|
|
68
|
+
readonly templateRef: {
|
|
69
|
+
code: string;
|
|
70
|
+
revision: number;
|
|
71
|
+
};
|
|
72
|
+
readonly textVersion: string;
|
|
73
|
+
readonly textHash: string;
|
|
74
|
+
readonly decidedAt: string;
|
|
75
|
+
readonly source: {
|
|
76
|
+
system: string;
|
|
77
|
+
kind: string;
|
|
78
|
+
evidenceRef: string;
|
|
79
|
+
flowRef: string;
|
|
80
|
+
flowDigest: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}, {
|
|
84
|
+
readonly name: "candidate-revoked-equal";
|
|
85
|
+
readonly input: {
|
|
86
|
+
readonly decision: "revoked";
|
|
87
|
+
readonly revokedAt: string;
|
|
88
|
+
readonly schemaVersion: string;
|
|
89
|
+
readonly tenant: string;
|
|
90
|
+
readonly subject: {
|
|
91
|
+
type: string;
|
|
92
|
+
ref: string;
|
|
93
|
+
};
|
|
94
|
+
readonly itemCode: string;
|
|
95
|
+
readonly scope: string;
|
|
96
|
+
readonly templateRef: {
|
|
97
|
+
code: string;
|
|
98
|
+
revision: number;
|
|
99
|
+
};
|
|
100
|
+
readonly textVersion: string;
|
|
101
|
+
readonly textHash: string;
|
|
102
|
+
readonly decidedAt: string;
|
|
103
|
+
readonly source: {
|
|
104
|
+
system: string;
|
|
105
|
+
kind: string;
|
|
106
|
+
evidenceRef: string;
|
|
107
|
+
flowRef: string;
|
|
108
|
+
flowDigest: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}, ...({
|
|
112
|
+
name: string;
|
|
113
|
+
input: {
|
|
114
|
+
itemCode: string;
|
|
115
|
+
scope: string;
|
|
116
|
+
channel: "whatsapp" | "sms" | "email" | "voice";
|
|
117
|
+
schemaVersion: string;
|
|
118
|
+
tenant: string;
|
|
119
|
+
subject: {
|
|
120
|
+
type: string;
|
|
121
|
+
ref: string;
|
|
122
|
+
};
|
|
123
|
+
templateRef: {
|
|
124
|
+
code: string;
|
|
125
|
+
revision: number;
|
|
126
|
+
};
|
|
127
|
+
textVersion: string;
|
|
128
|
+
textHash: string;
|
|
129
|
+
decision: string;
|
|
130
|
+
decidedAt: string;
|
|
131
|
+
source: {
|
|
132
|
+
system: string;
|
|
133
|
+
kind: string;
|
|
134
|
+
evidenceRef: string;
|
|
135
|
+
flowRef: string;
|
|
136
|
+
flowDigest: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
} | {
|
|
140
|
+
name: string;
|
|
141
|
+
input: {
|
|
142
|
+
scope: "treatment" | "adr" | "research";
|
|
143
|
+
schemaVersion: string;
|
|
144
|
+
tenant: string;
|
|
145
|
+
subject: {
|
|
146
|
+
type: string;
|
|
147
|
+
ref: string;
|
|
148
|
+
};
|
|
149
|
+
itemCode: string;
|
|
150
|
+
templateRef: {
|
|
151
|
+
code: string;
|
|
152
|
+
revision: number;
|
|
153
|
+
};
|
|
154
|
+
textVersion: string;
|
|
155
|
+
textHash: string;
|
|
156
|
+
decision: string;
|
|
157
|
+
decidedAt: string;
|
|
158
|
+
source: {
|
|
159
|
+
system: string;
|
|
160
|
+
kind: string;
|
|
161
|
+
evidenceRef: string;
|
|
162
|
+
flowRef: string;
|
|
163
|
+
flowDigest: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
} | {
|
|
167
|
+
name: string;
|
|
168
|
+
input: {
|
|
169
|
+
textVersion: string;
|
|
170
|
+
schemaVersion: string;
|
|
171
|
+
tenant: string;
|
|
172
|
+
subject: {
|
|
173
|
+
type: string;
|
|
174
|
+
ref: string;
|
|
175
|
+
};
|
|
176
|
+
itemCode: string;
|
|
177
|
+
scope: string;
|
|
178
|
+
templateRef: {
|
|
179
|
+
code: string;
|
|
180
|
+
revision: number;
|
|
181
|
+
};
|
|
182
|
+
textHash: string;
|
|
183
|
+
decision: string;
|
|
184
|
+
decidedAt: string;
|
|
185
|
+
source: {
|
|
186
|
+
system: string;
|
|
187
|
+
kind: string;
|
|
188
|
+
evidenceRef: string;
|
|
189
|
+
flowRef: string;
|
|
190
|
+
flowDigest: string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
} | {
|
|
194
|
+
readonly name: "contact-without-channel";
|
|
195
|
+
readonly input: {
|
|
196
|
+
readonly itemCode: "contact-followup";
|
|
197
|
+
readonly scope: "contact";
|
|
198
|
+
readonly schemaVersion: string;
|
|
199
|
+
readonly tenant: string;
|
|
200
|
+
readonly subject: {
|
|
201
|
+
type: string;
|
|
202
|
+
ref: string;
|
|
203
|
+
};
|
|
204
|
+
readonly templateRef: {
|
|
205
|
+
code: string;
|
|
206
|
+
revision: number;
|
|
207
|
+
};
|
|
208
|
+
readonly textVersion: string;
|
|
209
|
+
readonly textHash: string;
|
|
210
|
+
readonly decision: string;
|
|
211
|
+
readonly decidedAt: string;
|
|
212
|
+
readonly source: {
|
|
213
|
+
system: string;
|
|
214
|
+
kind: string;
|
|
215
|
+
evidenceRef: string;
|
|
216
|
+
flowRef: string;
|
|
217
|
+
flowDigest: string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
} | {
|
|
221
|
+
readonly name: "utc-without-fraction";
|
|
222
|
+
readonly input: {
|
|
223
|
+
readonly decidedAt: "2026-11-10T12:00:00Z";
|
|
224
|
+
readonly schemaVersion: string;
|
|
225
|
+
readonly tenant: string;
|
|
226
|
+
readonly subject: {
|
|
227
|
+
type: string;
|
|
228
|
+
ref: string;
|
|
229
|
+
};
|
|
230
|
+
readonly itemCode: string;
|
|
231
|
+
readonly scope: string;
|
|
232
|
+
readonly templateRef: {
|
|
233
|
+
code: string;
|
|
234
|
+
revision: number;
|
|
235
|
+
};
|
|
236
|
+
readonly textVersion: string;
|
|
237
|
+
readonly textHash: string;
|
|
238
|
+
readonly decision: string;
|
|
239
|
+
readonly source: {
|
|
240
|
+
system: string;
|
|
241
|
+
kind: string;
|
|
242
|
+
evidenceRef: string;
|
|
243
|
+
flowRef: string;
|
|
244
|
+
flowDigest: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
} | {
|
|
248
|
+
readonly name: "opaque-uuid-all-fields";
|
|
249
|
+
readonly input: {
|
|
250
|
+
readonly source: {
|
|
251
|
+
readonly evidenceRef: "00000000-0000-1000-8000-000000000003";
|
|
252
|
+
readonly system: string;
|
|
253
|
+
readonly kind: string;
|
|
254
|
+
readonly flowRef: string;
|
|
255
|
+
readonly flowDigest: string;
|
|
256
|
+
};
|
|
257
|
+
readonly schemaVersion: string;
|
|
258
|
+
readonly tenant: string;
|
|
259
|
+
readonly subject: {
|
|
260
|
+
type: string;
|
|
261
|
+
ref: string;
|
|
262
|
+
};
|
|
263
|
+
readonly itemCode: string;
|
|
264
|
+
readonly scope: string;
|
|
265
|
+
readonly templateRef: {
|
|
266
|
+
code: string;
|
|
267
|
+
revision: number;
|
|
268
|
+
};
|
|
269
|
+
readonly textVersion: string;
|
|
270
|
+
readonly textHash: string;
|
|
271
|
+
readonly decision: string;
|
|
272
|
+
readonly decidedAt: string;
|
|
273
|
+
};
|
|
274
|
+
} | {
|
|
275
|
+
readonly name: "opaque-token-all-fields";
|
|
276
|
+
readonly input: {
|
|
277
|
+
readonly subject: {
|
|
278
|
+
readonly ref: "ZyXwVuTsRqPoNmLkJiHg02";
|
|
279
|
+
readonly type: string;
|
|
280
|
+
};
|
|
281
|
+
readonly source: {
|
|
282
|
+
readonly flowRef: "QrStUvWxYzAbCdEfGhIj03";
|
|
283
|
+
readonly system: string;
|
|
284
|
+
readonly kind: string;
|
|
285
|
+
readonly evidenceRef: string;
|
|
286
|
+
readonly flowDigest: string;
|
|
287
|
+
};
|
|
288
|
+
readonly schemaVersion: string;
|
|
289
|
+
readonly tenant: string;
|
|
290
|
+
readonly itemCode: string;
|
|
291
|
+
readonly scope: string;
|
|
292
|
+
readonly templateRef: {
|
|
293
|
+
code: string;
|
|
294
|
+
revision: number;
|
|
295
|
+
};
|
|
296
|
+
readonly textVersion: string;
|
|
297
|
+
readonly textHash: string;
|
|
298
|
+
readonly decision: string;
|
|
299
|
+
readonly decidedAt: string;
|
|
300
|
+
};
|
|
301
|
+
} | {
|
|
302
|
+
readonly name: "opaque-token-max-length";
|
|
303
|
+
readonly input: {
|
|
304
|
+
readonly subject: {
|
|
305
|
+
readonly ref: string;
|
|
306
|
+
readonly type: string;
|
|
307
|
+
};
|
|
308
|
+
readonly source: {
|
|
309
|
+
readonly evidenceRef: string;
|
|
310
|
+
readonly flowRef: string;
|
|
311
|
+
readonly system: string;
|
|
312
|
+
readonly kind: string;
|
|
313
|
+
readonly flowDigest: string;
|
|
314
|
+
};
|
|
315
|
+
readonly schemaVersion: string;
|
|
316
|
+
readonly tenant: string;
|
|
317
|
+
readonly itemCode: string;
|
|
318
|
+
readonly scope: string;
|
|
319
|
+
readonly templateRef: {
|
|
320
|
+
code: string;
|
|
321
|
+
revision: number;
|
|
322
|
+
};
|
|
323
|
+
readonly textVersion: string;
|
|
324
|
+
readonly textHash: string;
|
|
325
|
+
readonly decision: string;
|
|
326
|
+
readonly decidedAt: string;
|
|
327
|
+
};
|
|
328
|
+
} | {
|
|
329
|
+
readonly name: "text-version-v1";
|
|
330
|
+
readonly input: {
|
|
331
|
+
readonly textVersion: "v1";
|
|
332
|
+
readonly schemaVersion: string;
|
|
333
|
+
readonly tenant: string;
|
|
334
|
+
readonly subject: {
|
|
335
|
+
type: string;
|
|
336
|
+
ref: string;
|
|
337
|
+
};
|
|
338
|
+
readonly itemCode: string;
|
|
339
|
+
readonly scope: string;
|
|
340
|
+
readonly templateRef: {
|
|
341
|
+
code: string;
|
|
342
|
+
revision: number;
|
|
343
|
+
};
|
|
344
|
+
readonly textHash: string;
|
|
345
|
+
readonly decision: string;
|
|
346
|
+
readonly decidedAt: string;
|
|
347
|
+
readonly source: {
|
|
348
|
+
system: string;
|
|
349
|
+
kind: string;
|
|
350
|
+
evidenceRef: string;
|
|
351
|
+
flowRef: string;
|
|
352
|
+
flowDigest: string;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
} | {
|
|
356
|
+
readonly name: "text-version-onco-contact-auth-v1";
|
|
357
|
+
readonly input: {
|
|
358
|
+
readonly textVersion: "onco-contact-auth-v1";
|
|
359
|
+
readonly schemaVersion: string;
|
|
360
|
+
readonly tenant: string;
|
|
361
|
+
readonly subject: {
|
|
362
|
+
type: string;
|
|
363
|
+
ref: string;
|
|
364
|
+
};
|
|
365
|
+
readonly itemCode: string;
|
|
366
|
+
readonly scope: string;
|
|
367
|
+
readonly templateRef: {
|
|
368
|
+
code: string;
|
|
369
|
+
revision: number;
|
|
370
|
+
};
|
|
371
|
+
readonly textHash: string;
|
|
372
|
+
readonly decision: string;
|
|
373
|
+
readonly decidedAt: string;
|
|
374
|
+
readonly source: {
|
|
375
|
+
system: string;
|
|
376
|
+
kind: string;
|
|
377
|
+
evidenceRef: string;
|
|
378
|
+
flowRef: string;
|
|
379
|
+
flowDigest: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
} | {
|
|
383
|
+
readonly name: "text-version-date-label";
|
|
384
|
+
readonly input: {
|
|
385
|
+
readonly textVersion: "2026-11-10.1";
|
|
386
|
+
readonly schemaVersion: string;
|
|
387
|
+
readonly tenant: string;
|
|
388
|
+
readonly subject: {
|
|
389
|
+
type: string;
|
|
390
|
+
ref: string;
|
|
391
|
+
};
|
|
392
|
+
readonly itemCode: string;
|
|
393
|
+
readonly scope: string;
|
|
394
|
+
readonly templateRef: {
|
|
395
|
+
code: string;
|
|
396
|
+
revision: number;
|
|
397
|
+
};
|
|
398
|
+
readonly textHash: string;
|
|
399
|
+
readonly decision: string;
|
|
400
|
+
readonly decidedAt: string;
|
|
401
|
+
readonly source: {
|
|
402
|
+
system: string;
|
|
403
|
+
kind: string;
|
|
404
|
+
evidenceRef: string;
|
|
405
|
+
flowRef: string;
|
|
406
|
+
flowDigest: string;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
} | {
|
|
410
|
+
readonly name: "text-version-max-length";
|
|
411
|
+
readonly input: {
|
|
412
|
+
readonly textVersion: string;
|
|
413
|
+
readonly schemaVersion: string;
|
|
414
|
+
readonly tenant: string;
|
|
415
|
+
readonly subject: {
|
|
416
|
+
type: string;
|
|
417
|
+
ref: string;
|
|
418
|
+
};
|
|
419
|
+
readonly itemCode: string;
|
|
420
|
+
readonly scope: string;
|
|
421
|
+
readonly templateRef: {
|
|
422
|
+
code: string;
|
|
423
|
+
revision: number;
|
|
424
|
+
};
|
|
425
|
+
readonly textHash: string;
|
|
426
|
+
readonly decision: string;
|
|
427
|
+
readonly decidedAt: string;
|
|
428
|
+
readonly source: {
|
|
429
|
+
system: string;
|
|
430
|
+
kind: string;
|
|
431
|
+
evidenceRef: string;
|
|
432
|
+
flowRef: string;
|
|
433
|
+
flowDigest: string;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
} | {
|
|
437
|
+
readonly name: "text-version-six-digit-run";
|
|
438
|
+
readonly input: {
|
|
439
|
+
readonly textVersion: "release-123456";
|
|
440
|
+
readonly schemaVersion: string;
|
|
441
|
+
readonly tenant: string;
|
|
442
|
+
readonly subject: {
|
|
443
|
+
type: string;
|
|
444
|
+
ref: string;
|
|
445
|
+
};
|
|
446
|
+
readonly itemCode: string;
|
|
447
|
+
readonly scope: string;
|
|
448
|
+
readonly templateRef: {
|
|
449
|
+
code: string;
|
|
450
|
+
revision: number;
|
|
451
|
+
};
|
|
452
|
+
readonly textHash: string;
|
|
453
|
+
readonly decision: string;
|
|
454
|
+
readonly decidedAt: string;
|
|
455
|
+
readonly source: {
|
|
456
|
+
system: string;
|
|
457
|
+
kind: string;
|
|
458
|
+
evidenceRef: string;
|
|
459
|
+
flowRef: string;
|
|
460
|
+
flowDigest: string;
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
} | {
|
|
464
|
+
readonly name: "text-version-dotted";
|
|
465
|
+
readonly input: {
|
|
466
|
+
readonly textVersion: "1.2.3";
|
|
467
|
+
readonly schemaVersion: string;
|
|
468
|
+
readonly tenant: string;
|
|
469
|
+
readonly subject: {
|
|
470
|
+
type: string;
|
|
471
|
+
ref: string;
|
|
472
|
+
};
|
|
473
|
+
readonly itemCode: string;
|
|
474
|
+
readonly scope: string;
|
|
475
|
+
readonly templateRef: {
|
|
476
|
+
code: string;
|
|
477
|
+
revision: number;
|
|
478
|
+
};
|
|
479
|
+
readonly textHash: string;
|
|
480
|
+
readonly decision: string;
|
|
481
|
+
readonly decidedAt: string;
|
|
482
|
+
readonly source: {
|
|
483
|
+
system: string;
|
|
484
|
+
kind: string;
|
|
485
|
+
evidenceRef: string;
|
|
486
|
+
flowRef: string;
|
|
487
|
+
flowDigest: string;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
})[]];
|
|
491
|
+
export declare const CONSENT_DECISION_V1_INVALID_VECTORS: readonly [...({
|
|
492
|
+
name: string;
|
|
493
|
+
input: {
|
|
494
|
+
subject: {
|
|
495
|
+
ref: string;
|
|
496
|
+
type: string;
|
|
497
|
+
};
|
|
498
|
+
schemaVersion: string;
|
|
499
|
+
tenant: string;
|
|
500
|
+
itemCode: string;
|
|
501
|
+
scope: string;
|
|
502
|
+
templateRef: {
|
|
503
|
+
code: string;
|
|
504
|
+
revision: number;
|
|
505
|
+
};
|
|
506
|
+
textVersion: string;
|
|
507
|
+
textHash: string;
|
|
508
|
+
decision: string;
|
|
509
|
+
decidedAt: string;
|
|
510
|
+
source: {
|
|
511
|
+
system: string;
|
|
512
|
+
kind: string;
|
|
513
|
+
evidenceRef: string;
|
|
514
|
+
flowRef: string;
|
|
515
|
+
flowDigest: string;
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
} | {
|
|
519
|
+
name: string;
|
|
520
|
+
input: {
|
|
521
|
+
textVersion: string;
|
|
522
|
+
schemaVersion: string;
|
|
523
|
+
tenant: string;
|
|
524
|
+
subject: {
|
|
525
|
+
type: string;
|
|
526
|
+
ref: string;
|
|
527
|
+
};
|
|
528
|
+
itemCode: string;
|
|
529
|
+
scope: string;
|
|
530
|
+
templateRef: {
|
|
531
|
+
code: string;
|
|
532
|
+
revision: number;
|
|
533
|
+
};
|
|
534
|
+
textHash: string;
|
|
535
|
+
decision: string;
|
|
536
|
+
decidedAt: string;
|
|
537
|
+
source: {
|
|
538
|
+
system: string;
|
|
539
|
+
kind: string;
|
|
540
|
+
evidenceRef: string;
|
|
541
|
+
flowRef: string;
|
|
542
|
+
flowDigest: string;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
} | {
|
|
546
|
+
name: string;
|
|
547
|
+
input: {
|
|
548
|
+
templateRef: {
|
|
549
|
+
revision: number;
|
|
550
|
+
code: string;
|
|
551
|
+
};
|
|
552
|
+
schemaVersion: string;
|
|
553
|
+
tenant: string;
|
|
554
|
+
subject: {
|
|
555
|
+
type: string;
|
|
556
|
+
ref: string;
|
|
557
|
+
};
|
|
558
|
+
itemCode: string;
|
|
559
|
+
scope: string;
|
|
560
|
+
textVersion: string;
|
|
561
|
+
textHash: string;
|
|
562
|
+
decision: string;
|
|
563
|
+
decidedAt: string;
|
|
564
|
+
source: {
|
|
565
|
+
system: string;
|
|
566
|
+
kind: string;
|
|
567
|
+
evidenceRef: string;
|
|
568
|
+
flowRef: string;
|
|
569
|
+
flowDigest: string;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
} | {
|
|
573
|
+
name: string;
|
|
574
|
+
input: {
|
|
575
|
+
itemCode: string;
|
|
576
|
+
schemaVersion: string;
|
|
577
|
+
tenant: string;
|
|
578
|
+
subject: {
|
|
579
|
+
type: string;
|
|
580
|
+
ref: string;
|
|
581
|
+
};
|
|
582
|
+
scope: string;
|
|
583
|
+
templateRef: {
|
|
584
|
+
code: string;
|
|
585
|
+
revision: number;
|
|
586
|
+
};
|
|
587
|
+
textVersion: string;
|
|
588
|
+
textHash: string;
|
|
589
|
+
decision: string;
|
|
590
|
+
decidedAt: string;
|
|
591
|
+
source: {
|
|
592
|
+
system: string;
|
|
593
|
+
kind: string;
|
|
594
|
+
evidenceRef: string;
|
|
595
|
+
flowRef: string;
|
|
596
|
+
flowDigest: string;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
} | {
|
|
600
|
+
name: string;
|
|
601
|
+
input: {
|
|
602
|
+
textHash: string | number;
|
|
603
|
+
schemaVersion: string;
|
|
604
|
+
tenant: string;
|
|
605
|
+
subject: {
|
|
606
|
+
type: string;
|
|
607
|
+
ref: string;
|
|
608
|
+
};
|
|
609
|
+
itemCode: string;
|
|
610
|
+
scope: string;
|
|
611
|
+
templateRef: {
|
|
612
|
+
code: string;
|
|
613
|
+
revision: number;
|
|
614
|
+
};
|
|
615
|
+
textVersion: string;
|
|
616
|
+
decision: string;
|
|
617
|
+
decidedAt: string;
|
|
618
|
+
source: {
|
|
619
|
+
system: string;
|
|
620
|
+
kind: string;
|
|
621
|
+
evidenceRef: string;
|
|
622
|
+
flowRef: string;
|
|
623
|
+
flowDigest: string;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
} | {
|
|
627
|
+
name: string;
|
|
628
|
+
input: {
|
|
629
|
+
decidedAt: string;
|
|
630
|
+
schemaVersion: string;
|
|
631
|
+
tenant: string;
|
|
632
|
+
subject: {
|
|
633
|
+
type: string;
|
|
634
|
+
ref: string;
|
|
635
|
+
};
|
|
636
|
+
itemCode: string;
|
|
637
|
+
scope: string;
|
|
638
|
+
templateRef: {
|
|
639
|
+
code: string;
|
|
640
|
+
revision: number;
|
|
641
|
+
};
|
|
642
|
+
textVersion: string;
|
|
643
|
+
textHash: string;
|
|
644
|
+
decision: string;
|
|
645
|
+
source: {
|
|
646
|
+
system: string;
|
|
647
|
+
kind: string;
|
|
648
|
+
evidenceRef: string;
|
|
649
|
+
flowRef: string;
|
|
650
|
+
flowDigest: string;
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
} | {
|
|
654
|
+
readonly name: "uppercase-text-hash";
|
|
655
|
+
readonly input: {
|
|
656
|
+
readonly textHash: string;
|
|
657
|
+
readonly schemaVersion: string;
|
|
658
|
+
readonly tenant: string;
|
|
659
|
+
readonly subject: {
|
|
660
|
+
type: string;
|
|
661
|
+
ref: string;
|
|
662
|
+
};
|
|
663
|
+
readonly itemCode: string;
|
|
664
|
+
readonly scope: string;
|
|
665
|
+
readonly templateRef: {
|
|
666
|
+
code: string;
|
|
667
|
+
revision: number;
|
|
668
|
+
};
|
|
669
|
+
readonly textVersion: string;
|
|
670
|
+
readonly decision: string;
|
|
671
|
+
readonly decidedAt: string;
|
|
672
|
+
readonly source: {
|
|
673
|
+
system: string;
|
|
674
|
+
kind: string;
|
|
675
|
+
evidenceRef: string;
|
|
676
|
+
flowRef: string;
|
|
677
|
+
flowDigest: string;
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
} | {
|
|
681
|
+
readonly name: "mixed-case-text-hash";
|
|
682
|
+
readonly input: {
|
|
683
|
+
readonly textHash: string;
|
|
684
|
+
readonly schemaVersion: string;
|
|
685
|
+
readonly tenant: string;
|
|
686
|
+
readonly subject: {
|
|
687
|
+
type: string;
|
|
688
|
+
ref: string;
|
|
689
|
+
};
|
|
690
|
+
readonly itemCode: string;
|
|
691
|
+
readonly scope: string;
|
|
692
|
+
readonly templateRef: {
|
|
693
|
+
code: string;
|
|
694
|
+
revision: number;
|
|
695
|
+
};
|
|
696
|
+
readonly textVersion: string;
|
|
697
|
+
readonly decision: string;
|
|
698
|
+
readonly decidedAt: string;
|
|
699
|
+
readonly source: {
|
|
700
|
+
system: string;
|
|
701
|
+
kind: string;
|
|
702
|
+
evidenceRef: string;
|
|
703
|
+
flowRef: string;
|
|
704
|
+
flowDigest: string;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
} | {
|
|
708
|
+
readonly name: "uppercase-flow-digest";
|
|
709
|
+
readonly input: {
|
|
710
|
+
readonly source: {
|
|
711
|
+
readonly flowDigest: string;
|
|
712
|
+
readonly system: string;
|
|
713
|
+
readonly kind: string;
|
|
714
|
+
readonly evidenceRef: string;
|
|
715
|
+
readonly flowRef: string;
|
|
716
|
+
};
|
|
717
|
+
readonly schemaVersion: string;
|
|
718
|
+
readonly tenant: string;
|
|
719
|
+
readonly subject: {
|
|
720
|
+
type: string;
|
|
721
|
+
ref: string;
|
|
722
|
+
};
|
|
723
|
+
readonly itemCode: string;
|
|
724
|
+
readonly scope: string;
|
|
725
|
+
readonly templateRef: {
|
|
726
|
+
code: string;
|
|
727
|
+
revision: number;
|
|
728
|
+
};
|
|
729
|
+
readonly textVersion: string;
|
|
730
|
+
readonly textHash: string;
|
|
731
|
+
readonly decision: string;
|
|
732
|
+
readonly decidedAt: string;
|
|
733
|
+
};
|
|
734
|
+
} | {
|
|
735
|
+
readonly name: "mixed-case-flow-digest";
|
|
736
|
+
readonly input: {
|
|
737
|
+
readonly source: {
|
|
738
|
+
readonly flowDigest: string;
|
|
739
|
+
readonly system: string;
|
|
740
|
+
readonly kind: string;
|
|
741
|
+
readonly evidenceRef: string;
|
|
742
|
+
readonly flowRef: string;
|
|
743
|
+
};
|
|
744
|
+
readonly schemaVersion: string;
|
|
745
|
+
readonly tenant: string;
|
|
746
|
+
readonly subject: {
|
|
747
|
+
type: string;
|
|
748
|
+
ref: string;
|
|
749
|
+
};
|
|
750
|
+
readonly itemCode: string;
|
|
751
|
+
readonly scope: string;
|
|
752
|
+
readonly templateRef: {
|
|
753
|
+
code: string;
|
|
754
|
+
revision: number;
|
|
755
|
+
};
|
|
756
|
+
readonly textVersion: string;
|
|
757
|
+
readonly textHash: string;
|
|
758
|
+
readonly decision: string;
|
|
759
|
+
readonly decidedAt: string;
|
|
760
|
+
};
|
|
761
|
+
} | {
|
|
762
|
+
readonly name: "extra-property";
|
|
763
|
+
readonly input: {
|
|
764
|
+
readonly unexpected: true;
|
|
765
|
+
readonly schemaVersion: string;
|
|
766
|
+
readonly tenant: string;
|
|
767
|
+
readonly subject: {
|
|
768
|
+
type: string;
|
|
769
|
+
ref: string;
|
|
770
|
+
};
|
|
771
|
+
readonly itemCode: string;
|
|
772
|
+
readonly scope: string;
|
|
773
|
+
readonly templateRef: {
|
|
774
|
+
code: string;
|
|
775
|
+
revision: number;
|
|
776
|
+
};
|
|
777
|
+
readonly textVersion: string;
|
|
778
|
+
readonly textHash: string;
|
|
779
|
+
readonly decision: string;
|
|
780
|
+
readonly decidedAt: string;
|
|
781
|
+
readonly source: {
|
|
782
|
+
system: string;
|
|
783
|
+
kind: string;
|
|
784
|
+
evidenceRef: string;
|
|
785
|
+
flowRef: string;
|
|
786
|
+
flowDigest: string;
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
} | {
|
|
790
|
+
readonly name: "consent-text";
|
|
791
|
+
readonly input: {
|
|
792
|
+
readonly text: "SYNTHETIC CONSENT TEXT";
|
|
793
|
+
readonly schemaVersion: string;
|
|
794
|
+
readonly tenant: string;
|
|
795
|
+
readonly subject: {
|
|
796
|
+
type: string;
|
|
797
|
+
ref: string;
|
|
798
|
+
};
|
|
799
|
+
readonly itemCode: string;
|
|
800
|
+
readonly scope: string;
|
|
801
|
+
readonly templateRef: {
|
|
802
|
+
code: string;
|
|
803
|
+
revision: number;
|
|
804
|
+
};
|
|
805
|
+
readonly textVersion: string;
|
|
806
|
+
readonly textHash: string;
|
|
807
|
+
readonly decision: string;
|
|
808
|
+
readonly decidedAt: string;
|
|
809
|
+
readonly source: {
|
|
810
|
+
system: string;
|
|
811
|
+
kind: string;
|
|
812
|
+
evidenceRef: string;
|
|
813
|
+
flowRef: string;
|
|
814
|
+
flowDigest: string;
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
} | {
|
|
818
|
+
readonly name: "phone-property";
|
|
819
|
+
readonly input: {
|
|
820
|
+
readonly phone: "+12025550123";
|
|
821
|
+
readonly schemaVersion: string;
|
|
822
|
+
readonly tenant: string;
|
|
823
|
+
readonly subject: {
|
|
824
|
+
type: string;
|
|
825
|
+
ref: string;
|
|
826
|
+
};
|
|
827
|
+
readonly itemCode: string;
|
|
828
|
+
readonly scope: string;
|
|
829
|
+
readonly templateRef: {
|
|
830
|
+
code: string;
|
|
831
|
+
revision: number;
|
|
832
|
+
};
|
|
833
|
+
readonly textVersion: string;
|
|
834
|
+
readonly textHash: string;
|
|
835
|
+
readonly decision: string;
|
|
836
|
+
readonly decidedAt: string;
|
|
837
|
+
readonly source: {
|
|
838
|
+
system: string;
|
|
839
|
+
kind: string;
|
|
840
|
+
evidenceRef: string;
|
|
841
|
+
flowRef: string;
|
|
842
|
+
flowDigest: string;
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
} | {
|
|
846
|
+
readonly name: "email-property";
|
|
847
|
+
readonly input: {
|
|
848
|
+
readonly email: "synthetic@example.invalid";
|
|
849
|
+
readonly schemaVersion: string;
|
|
850
|
+
readonly tenant: string;
|
|
851
|
+
readonly subject: {
|
|
852
|
+
type: string;
|
|
853
|
+
ref: string;
|
|
854
|
+
};
|
|
855
|
+
readonly itemCode: string;
|
|
856
|
+
readonly scope: string;
|
|
857
|
+
readonly templateRef: {
|
|
858
|
+
code: string;
|
|
859
|
+
revision: number;
|
|
860
|
+
};
|
|
861
|
+
readonly textVersion: string;
|
|
862
|
+
readonly textHash: string;
|
|
863
|
+
readonly decision: string;
|
|
864
|
+
readonly decidedAt: string;
|
|
865
|
+
readonly source: {
|
|
866
|
+
system: string;
|
|
867
|
+
kind: string;
|
|
868
|
+
evidenceRef: string;
|
|
869
|
+
flowRef: string;
|
|
870
|
+
flowDigest: string;
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
} | {
|
|
874
|
+
readonly name: "document-property";
|
|
875
|
+
readonly input: {
|
|
876
|
+
readonly document: "SYNTHETIC-DOCUMENT";
|
|
877
|
+
readonly schemaVersion: string;
|
|
878
|
+
readonly tenant: string;
|
|
879
|
+
readonly subject: {
|
|
880
|
+
type: string;
|
|
881
|
+
ref: string;
|
|
882
|
+
};
|
|
883
|
+
readonly itemCode: string;
|
|
884
|
+
readonly scope: string;
|
|
885
|
+
readonly templateRef: {
|
|
886
|
+
code: string;
|
|
887
|
+
revision: number;
|
|
888
|
+
};
|
|
889
|
+
readonly textVersion: string;
|
|
890
|
+
readonly textHash: string;
|
|
891
|
+
readonly decision: string;
|
|
892
|
+
readonly decidedAt: string;
|
|
893
|
+
readonly source: {
|
|
894
|
+
system: string;
|
|
895
|
+
kind: string;
|
|
896
|
+
evidenceRef: string;
|
|
897
|
+
flowRef: string;
|
|
898
|
+
flowDigest: string;
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
} | {
|
|
902
|
+
readonly name: "name-property";
|
|
903
|
+
readonly input: {
|
|
904
|
+
readonly name: "Synthetic Person";
|
|
905
|
+
readonly schemaVersion: string;
|
|
906
|
+
readonly tenant: string;
|
|
907
|
+
readonly subject: {
|
|
908
|
+
type: string;
|
|
909
|
+
ref: string;
|
|
910
|
+
};
|
|
911
|
+
readonly itemCode: string;
|
|
912
|
+
readonly scope: string;
|
|
913
|
+
readonly templateRef: {
|
|
914
|
+
code: string;
|
|
915
|
+
revision: number;
|
|
916
|
+
};
|
|
917
|
+
readonly textVersion: string;
|
|
918
|
+
readonly textHash: string;
|
|
919
|
+
readonly decision: string;
|
|
920
|
+
readonly decidedAt: string;
|
|
921
|
+
readonly source: {
|
|
922
|
+
system: string;
|
|
923
|
+
kind: string;
|
|
924
|
+
evidenceRef: string;
|
|
925
|
+
flowRef: string;
|
|
926
|
+
flowDigest: string;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
} | {
|
|
930
|
+
readonly name: "subject-name";
|
|
931
|
+
readonly input: {
|
|
932
|
+
readonly subject: {
|
|
933
|
+
readonly name: "Synthetic Person";
|
|
934
|
+
readonly type: string;
|
|
935
|
+
readonly ref: string;
|
|
936
|
+
};
|
|
937
|
+
readonly schemaVersion: string;
|
|
938
|
+
readonly tenant: string;
|
|
939
|
+
readonly itemCode: string;
|
|
940
|
+
readonly scope: string;
|
|
941
|
+
readonly templateRef: {
|
|
942
|
+
code: string;
|
|
943
|
+
revision: number;
|
|
944
|
+
};
|
|
945
|
+
readonly textVersion: string;
|
|
946
|
+
readonly textHash: string;
|
|
947
|
+
readonly decision: string;
|
|
948
|
+
readonly decidedAt: string;
|
|
949
|
+
readonly source: {
|
|
950
|
+
system: string;
|
|
951
|
+
kind: string;
|
|
952
|
+
evidenceRef: string;
|
|
953
|
+
flowRef: string;
|
|
954
|
+
flowDigest: string;
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
} | {
|
|
958
|
+
readonly name: "template-text";
|
|
959
|
+
readonly input: {
|
|
960
|
+
readonly templateRef: {
|
|
961
|
+
readonly text: "SYNTHETIC TEXT";
|
|
962
|
+
readonly code: string;
|
|
963
|
+
readonly revision: number;
|
|
964
|
+
};
|
|
965
|
+
readonly schemaVersion: string;
|
|
966
|
+
readonly tenant: string;
|
|
967
|
+
readonly subject: {
|
|
968
|
+
type: string;
|
|
969
|
+
ref: string;
|
|
970
|
+
};
|
|
971
|
+
readonly itemCode: string;
|
|
972
|
+
readonly scope: string;
|
|
973
|
+
readonly textVersion: string;
|
|
974
|
+
readonly textHash: string;
|
|
975
|
+
readonly decision: string;
|
|
976
|
+
readonly decidedAt: string;
|
|
977
|
+
readonly source: {
|
|
978
|
+
system: string;
|
|
979
|
+
kind: string;
|
|
980
|
+
evidenceRef: string;
|
|
981
|
+
flowRef: string;
|
|
982
|
+
flowDigest: string;
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
} | {
|
|
986
|
+
readonly name: "source-email";
|
|
987
|
+
readonly input: {
|
|
988
|
+
readonly source: {
|
|
989
|
+
readonly email: "synthetic@example.invalid";
|
|
990
|
+
readonly system: string;
|
|
991
|
+
readonly kind: string;
|
|
992
|
+
readonly evidenceRef: string;
|
|
993
|
+
readonly flowRef: string;
|
|
994
|
+
readonly flowDigest: string;
|
|
995
|
+
};
|
|
996
|
+
readonly schemaVersion: string;
|
|
997
|
+
readonly tenant: string;
|
|
998
|
+
readonly subject: {
|
|
999
|
+
type: string;
|
|
1000
|
+
ref: string;
|
|
1001
|
+
};
|
|
1002
|
+
readonly itemCode: string;
|
|
1003
|
+
readonly scope: string;
|
|
1004
|
+
readonly templateRef: {
|
|
1005
|
+
code: string;
|
|
1006
|
+
revision: number;
|
|
1007
|
+
};
|
|
1008
|
+
readonly textVersion: string;
|
|
1009
|
+
readonly textHash: string;
|
|
1010
|
+
readonly decision: string;
|
|
1011
|
+
readonly decidedAt: string;
|
|
1012
|
+
};
|
|
1013
|
+
} | {
|
|
1014
|
+
readonly name: "undefined-required";
|
|
1015
|
+
readonly input: {
|
|
1016
|
+
readonly tenant: undefined;
|
|
1017
|
+
readonly schemaVersion: string;
|
|
1018
|
+
readonly subject: {
|
|
1019
|
+
type: string;
|
|
1020
|
+
ref: string;
|
|
1021
|
+
};
|
|
1022
|
+
readonly itemCode: string;
|
|
1023
|
+
readonly scope: string;
|
|
1024
|
+
readonly templateRef: {
|
|
1025
|
+
code: string;
|
|
1026
|
+
revision: number;
|
|
1027
|
+
};
|
|
1028
|
+
readonly textVersion: string;
|
|
1029
|
+
readonly textHash: string;
|
|
1030
|
+
readonly decision: string;
|
|
1031
|
+
readonly decidedAt: string;
|
|
1032
|
+
readonly source: {
|
|
1033
|
+
system: string;
|
|
1034
|
+
kind: string;
|
|
1035
|
+
evidenceRef: string;
|
|
1036
|
+
flowRef: string;
|
|
1037
|
+
flowDigest: string;
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
} | {
|
|
1041
|
+
readonly name: "undefined-optional";
|
|
1042
|
+
readonly input: {
|
|
1043
|
+
readonly channel: undefined;
|
|
1044
|
+
readonly schemaVersion: string;
|
|
1045
|
+
readonly tenant: string;
|
|
1046
|
+
readonly subject: {
|
|
1047
|
+
type: string;
|
|
1048
|
+
ref: string;
|
|
1049
|
+
};
|
|
1050
|
+
readonly itemCode: string;
|
|
1051
|
+
readonly scope: string;
|
|
1052
|
+
readonly templateRef: {
|
|
1053
|
+
code: string;
|
|
1054
|
+
revision: number;
|
|
1055
|
+
};
|
|
1056
|
+
readonly textVersion: string;
|
|
1057
|
+
readonly textHash: string;
|
|
1058
|
+
readonly decision: string;
|
|
1059
|
+
readonly decidedAt: string;
|
|
1060
|
+
readonly source: {
|
|
1061
|
+
system: string;
|
|
1062
|
+
kind: string;
|
|
1063
|
+
evidenceRef: string;
|
|
1064
|
+
flowRef: string;
|
|
1065
|
+
flowDigest: string;
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
} | {
|
|
1069
|
+
readonly name: "undefined-extra";
|
|
1070
|
+
readonly input: {
|
|
1071
|
+
readonly extra: undefined;
|
|
1072
|
+
readonly schemaVersion: string;
|
|
1073
|
+
readonly tenant: string;
|
|
1074
|
+
readonly subject: {
|
|
1075
|
+
type: string;
|
|
1076
|
+
ref: string;
|
|
1077
|
+
};
|
|
1078
|
+
readonly itemCode: string;
|
|
1079
|
+
readonly scope: string;
|
|
1080
|
+
readonly templateRef: {
|
|
1081
|
+
code: string;
|
|
1082
|
+
revision: number;
|
|
1083
|
+
};
|
|
1084
|
+
readonly textVersion: string;
|
|
1085
|
+
readonly textHash: string;
|
|
1086
|
+
readonly decision: string;
|
|
1087
|
+
readonly decidedAt: string;
|
|
1088
|
+
readonly source: {
|
|
1089
|
+
system: string;
|
|
1090
|
+
kind: string;
|
|
1091
|
+
evidenceRef: string;
|
|
1092
|
+
flowRef: string;
|
|
1093
|
+
flowDigest: string;
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
} | {
|
|
1097
|
+
readonly name: "undefined-nested";
|
|
1098
|
+
readonly input: {
|
|
1099
|
+
readonly subject: {
|
|
1100
|
+
readonly ref: undefined;
|
|
1101
|
+
readonly type: string;
|
|
1102
|
+
};
|
|
1103
|
+
readonly schemaVersion: string;
|
|
1104
|
+
readonly tenant: string;
|
|
1105
|
+
readonly itemCode: string;
|
|
1106
|
+
readonly scope: string;
|
|
1107
|
+
readonly templateRef: {
|
|
1108
|
+
code: string;
|
|
1109
|
+
revision: number;
|
|
1110
|
+
};
|
|
1111
|
+
readonly textVersion: string;
|
|
1112
|
+
readonly textHash: string;
|
|
1113
|
+
readonly decision: string;
|
|
1114
|
+
readonly decidedAt: string;
|
|
1115
|
+
readonly source: {
|
|
1116
|
+
system: string;
|
|
1117
|
+
kind: string;
|
|
1118
|
+
evidenceRef: string;
|
|
1119
|
+
flowRef: string;
|
|
1120
|
+
flowDigest: string;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
} | {
|
|
1124
|
+
readonly name: "wrong-version";
|
|
1125
|
+
readonly input: {
|
|
1126
|
+
readonly schemaVersion: "consent-decision.v2";
|
|
1127
|
+
readonly tenant: string;
|
|
1128
|
+
readonly subject: {
|
|
1129
|
+
type: string;
|
|
1130
|
+
ref: string;
|
|
1131
|
+
};
|
|
1132
|
+
readonly itemCode: string;
|
|
1133
|
+
readonly scope: string;
|
|
1134
|
+
readonly templateRef: {
|
|
1135
|
+
code: string;
|
|
1136
|
+
revision: number;
|
|
1137
|
+
};
|
|
1138
|
+
readonly textVersion: string;
|
|
1139
|
+
readonly textHash: string;
|
|
1140
|
+
readonly decision: string;
|
|
1141
|
+
readonly decidedAt: string;
|
|
1142
|
+
readonly source: {
|
|
1143
|
+
system: string;
|
|
1144
|
+
kind: string;
|
|
1145
|
+
evidenceRef: string;
|
|
1146
|
+
flowRef: string;
|
|
1147
|
+
flowDigest: string;
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
} | {
|
|
1151
|
+
readonly name: "wrong-subject-type";
|
|
1152
|
+
readonly input: {
|
|
1153
|
+
readonly subject: {
|
|
1154
|
+
readonly type: "contact";
|
|
1155
|
+
readonly ref: string;
|
|
1156
|
+
};
|
|
1157
|
+
readonly schemaVersion: string;
|
|
1158
|
+
readonly tenant: string;
|
|
1159
|
+
readonly itemCode: string;
|
|
1160
|
+
readonly scope: string;
|
|
1161
|
+
readonly templateRef: {
|
|
1162
|
+
code: string;
|
|
1163
|
+
revision: number;
|
|
1164
|
+
};
|
|
1165
|
+
readonly textVersion: string;
|
|
1166
|
+
readonly textHash: string;
|
|
1167
|
+
readonly decision: string;
|
|
1168
|
+
readonly decidedAt: string;
|
|
1169
|
+
readonly source: {
|
|
1170
|
+
system: string;
|
|
1171
|
+
kind: string;
|
|
1172
|
+
evidenceRef: string;
|
|
1173
|
+
flowRef: string;
|
|
1174
|
+
flowDigest: string;
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
} | {
|
|
1178
|
+
readonly name: "coercible-tenant";
|
|
1179
|
+
readonly input: {
|
|
1180
|
+
readonly tenant: 1;
|
|
1181
|
+
readonly schemaVersion: string;
|
|
1182
|
+
readonly subject: {
|
|
1183
|
+
type: string;
|
|
1184
|
+
ref: string;
|
|
1185
|
+
};
|
|
1186
|
+
readonly itemCode: string;
|
|
1187
|
+
readonly scope: string;
|
|
1188
|
+
readonly templateRef: {
|
|
1189
|
+
code: string;
|
|
1190
|
+
revision: number;
|
|
1191
|
+
};
|
|
1192
|
+
readonly textVersion: string;
|
|
1193
|
+
readonly textHash: string;
|
|
1194
|
+
readonly decision: string;
|
|
1195
|
+
readonly decidedAt: string;
|
|
1196
|
+
readonly source: {
|
|
1197
|
+
system: string;
|
|
1198
|
+
kind: string;
|
|
1199
|
+
evidenceRef: string;
|
|
1200
|
+
flowRef: string;
|
|
1201
|
+
flowDigest: string;
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
} | {
|
|
1205
|
+
readonly name: "coercible-revision";
|
|
1206
|
+
readonly input: {
|
|
1207
|
+
readonly templateRef: {
|
|
1208
|
+
readonly revision: "1";
|
|
1209
|
+
readonly code: string;
|
|
1210
|
+
};
|
|
1211
|
+
readonly schemaVersion: string;
|
|
1212
|
+
readonly tenant: string;
|
|
1213
|
+
readonly subject: {
|
|
1214
|
+
type: string;
|
|
1215
|
+
ref: string;
|
|
1216
|
+
};
|
|
1217
|
+
readonly itemCode: string;
|
|
1218
|
+
readonly scope: string;
|
|
1219
|
+
readonly textVersion: string;
|
|
1220
|
+
readonly textHash: string;
|
|
1221
|
+
readonly decision: string;
|
|
1222
|
+
readonly decidedAt: string;
|
|
1223
|
+
readonly source: {
|
|
1224
|
+
system: string;
|
|
1225
|
+
kind: string;
|
|
1226
|
+
evidenceRef: string;
|
|
1227
|
+
flowRef: string;
|
|
1228
|
+
flowDigest: string;
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
} | {
|
|
1232
|
+
readonly name: "invalid-scope";
|
|
1233
|
+
readonly input: {
|
|
1234
|
+
readonly scope: "privacy";
|
|
1235
|
+
readonly schemaVersion: string;
|
|
1236
|
+
readonly tenant: string;
|
|
1237
|
+
readonly subject: {
|
|
1238
|
+
type: string;
|
|
1239
|
+
ref: string;
|
|
1240
|
+
};
|
|
1241
|
+
readonly itemCode: string;
|
|
1242
|
+
readonly templateRef: {
|
|
1243
|
+
code: string;
|
|
1244
|
+
revision: number;
|
|
1245
|
+
};
|
|
1246
|
+
readonly textVersion: string;
|
|
1247
|
+
readonly textHash: string;
|
|
1248
|
+
readonly decision: string;
|
|
1249
|
+
readonly decidedAt: string;
|
|
1250
|
+
readonly source: {
|
|
1251
|
+
system: string;
|
|
1252
|
+
kind: string;
|
|
1253
|
+
evidenceRef: string;
|
|
1254
|
+
flowRef: string;
|
|
1255
|
+
flowDigest: string;
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
} | {
|
|
1259
|
+
readonly name: "invalid-decision";
|
|
1260
|
+
readonly input: {
|
|
1261
|
+
readonly decision: "accepted";
|
|
1262
|
+
readonly schemaVersion: string;
|
|
1263
|
+
readonly tenant: string;
|
|
1264
|
+
readonly subject: {
|
|
1265
|
+
type: string;
|
|
1266
|
+
ref: string;
|
|
1267
|
+
};
|
|
1268
|
+
readonly itemCode: string;
|
|
1269
|
+
readonly scope: string;
|
|
1270
|
+
readonly templateRef: {
|
|
1271
|
+
code: string;
|
|
1272
|
+
revision: number;
|
|
1273
|
+
};
|
|
1274
|
+
readonly textVersion: string;
|
|
1275
|
+
readonly textHash: string;
|
|
1276
|
+
readonly decidedAt: string;
|
|
1277
|
+
readonly source: {
|
|
1278
|
+
system: string;
|
|
1279
|
+
kind: string;
|
|
1280
|
+
evidenceRef: string;
|
|
1281
|
+
flowRef: string;
|
|
1282
|
+
flowDigest: string;
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
} | {
|
|
1286
|
+
readonly name: "invalid-channel";
|
|
1287
|
+
readonly input: {
|
|
1288
|
+
readonly itemCode: "contact-campaign";
|
|
1289
|
+
readonly scope: "contact";
|
|
1290
|
+
readonly channel: "fax";
|
|
1291
|
+
readonly schemaVersion: string;
|
|
1292
|
+
readonly tenant: string;
|
|
1293
|
+
readonly subject: {
|
|
1294
|
+
type: string;
|
|
1295
|
+
ref: string;
|
|
1296
|
+
};
|
|
1297
|
+
readonly templateRef: {
|
|
1298
|
+
code: string;
|
|
1299
|
+
revision: number;
|
|
1300
|
+
};
|
|
1301
|
+
readonly textVersion: string;
|
|
1302
|
+
readonly textHash: string;
|
|
1303
|
+
readonly decision: string;
|
|
1304
|
+
readonly decidedAt: string;
|
|
1305
|
+
readonly source: {
|
|
1306
|
+
system: string;
|
|
1307
|
+
kind: string;
|
|
1308
|
+
evidenceRef: string;
|
|
1309
|
+
flowRef: string;
|
|
1310
|
+
flowDigest: string;
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
} | {
|
|
1314
|
+
readonly name: "channel-non-contact-item";
|
|
1315
|
+
readonly input: {
|
|
1316
|
+
readonly scope: "contact";
|
|
1317
|
+
readonly channel: "email";
|
|
1318
|
+
readonly schemaVersion: string;
|
|
1319
|
+
readonly tenant: string;
|
|
1320
|
+
readonly subject: {
|
|
1321
|
+
type: string;
|
|
1322
|
+
ref: string;
|
|
1323
|
+
};
|
|
1324
|
+
readonly itemCode: string;
|
|
1325
|
+
readonly templateRef: {
|
|
1326
|
+
code: string;
|
|
1327
|
+
revision: number;
|
|
1328
|
+
};
|
|
1329
|
+
readonly textVersion: string;
|
|
1330
|
+
readonly textHash: string;
|
|
1331
|
+
readonly decision: string;
|
|
1332
|
+
readonly decidedAt: string;
|
|
1333
|
+
readonly source: {
|
|
1334
|
+
system: string;
|
|
1335
|
+
kind: string;
|
|
1336
|
+
evidenceRef: string;
|
|
1337
|
+
flowRef: string;
|
|
1338
|
+
flowDigest: string;
|
|
1339
|
+
};
|
|
1340
|
+
};
|
|
1341
|
+
} | {
|
|
1342
|
+
readonly name: "channel-non-contact-scope";
|
|
1343
|
+
readonly input: {
|
|
1344
|
+
readonly itemCode: "contact-campaign";
|
|
1345
|
+
readonly channel: "email";
|
|
1346
|
+
readonly schemaVersion: string;
|
|
1347
|
+
readonly tenant: string;
|
|
1348
|
+
readonly subject: {
|
|
1349
|
+
type: string;
|
|
1350
|
+
ref: string;
|
|
1351
|
+
};
|
|
1352
|
+
readonly scope: string;
|
|
1353
|
+
readonly templateRef: {
|
|
1354
|
+
code: string;
|
|
1355
|
+
revision: number;
|
|
1356
|
+
};
|
|
1357
|
+
readonly textVersion: string;
|
|
1358
|
+
readonly textHash: string;
|
|
1359
|
+
readonly decision: string;
|
|
1360
|
+
readonly decidedAt: string;
|
|
1361
|
+
readonly source: {
|
|
1362
|
+
system: string;
|
|
1363
|
+
kind: string;
|
|
1364
|
+
evidenceRef: string;
|
|
1365
|
+
flowRef: string;
|
|
1366
|
+
flowDigest: string;
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1369
|
+
})[], {
|
|
1370
|
+
readonly name: "revoked-missing-time";
|
|
1371
|
+
readonly input: {
|
|
1372
|
+
readonly decision: "revoked";
|
|
1373
|
+
readonly schemaVersion: string;
|
|
1374
|
+
readonly tenant: string;
|
|
1375
|
+
readonly subject: {
|
|
1376
|
+
type: string;
|
|
1377
|
+
ref: string;
|
|
1378
|
+
};
|
|
1379
|
+
readonly itemCode: string;
|
|
1380
|
+
readonly scope: string;
|
|
1381
|
+
readonly templateRef: {
|
|
1382
|
+
code: string;
|
|
1383
|
+
revision: number;
|
|
1384
|
+
};
|
|
1385
|
+
readonly textVersion: string;
|
|
1386
|
+
readonly textHash: string;
|
|
1387
|
+
readonly decidedAt: string;
|
|
1388
|
+
readonly source: {
|
|
1389
|
+
system: string;
|
|
1390
|
+
kind: string;
|
|
1391
|
+
evidenceRef: string;
|
|
1392
|
+
flowRef: string;
|
|
1393
|
+
flowDigest: string;
|
|
1394
|
+
};
|
|
1395
|
+
};
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly name: "revoked-before-decision";
|
|
1398
|
+
readonly input: {
|
|
1399
|
+
readonly decision: "revoked";
|
|
1400
|
+
readonly revokedAt: "2026-11-10T11:59:59.999Z";
|
|
1401
|
+
readonly schemaVersion: string;
|
|
1402
|
+
readonly tenant: string;
|
|
1403
|
+
readonly subject: {
|
|
1404
|
+
type: string;
|
|
1405
|
+
ref: string;
|
|
1406
|
+
};
|
|
1407
|
+
readonly itemCode: string;
|
|
1408
|
+
readonly scope: string;
|
|
1409
|
+
readonly templateRef: {
|
|
1410
|
+
code: string;
|
|
1411
|
+
revision: number;
|
|
1412
|
+
};
|
|
1413
|
+
readonly textVersion: string;
|
|
1414
|
+
readonly textHash: string;
|
|
1415
|
+
readonly decidedAt: string;
|
|
1416
|
+
readonly source: {
|
|
1417
|
+
system: string;
|
|
1418
|
+
kind: string;
|
|
1419
|
+
evidenceRef: string;
|
|
1420
|
+
flowRef: string;
|
|
1421
|
+
flowDigest: string;
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
}, {
|
|
1425
|
+
readonly name: "revoked-invalid-time";
|
|
1426
|
+
readonly input: {
|
|
1427
|
+
readonly decision: "revoked";
|
|
1428
|
+
readonly revokedAt: "yesterday";
|
|
1429
|
+
readonly schemaVersion: string;
|
|
1430
|
+
readonly tenant: string;
|
|
1431
|
+
readonly subject: {
|
|
1432
|
+
type: string;
|
|
1433
|
+
ref: string;
|
|
1434
|
+
};
|
|
1435
|
+
readonly itemCode: string;
|
|
1436
|
+
readonly scope: string;
|
|
1437
|
+
readonly templateRef: {
|
|
1438
|
+
code: string;
|
|
1439
|
+
revision: number;
|
|
1440
|
+
};
|
|
1441
|
+
readonly textVersion: string;
|
|
1442
|
+
readonly textHash: string;
|
|
1443
|
+
readonly decidedAt: string;
|
|
1444
|
+
readonly source: {
|
|
1445
|
+
system: string;
|
|
1446
|
+
kind: string;
|
|
1447
|
+
evidenceRef: string;
|
|
1448
|
+
flowRef: string;
|
|
1449
|
+
flowDigest: string;
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
}, {
|
|
1453
|
+
readonly name: "granted-with-revoked-time";
|
|
1454
|
+
readonly input: {
|
|
1455
|
+
readonly revokedAt: string;
|
|
1456
|
+
readonly schemaVersion: string;
|
|
1457
|
+
readonly tenant: string;
|
|
1458
|
+
readonly subject: {
|
|
1459
|
+
type: string;
|
|
1460
|
+
ref: string;
|
|
1461
|
+
};
|
|
1462
|
+
readonly itemCode: string;
|
|
1463
|
+
readonly scope: string;
|
|
1464
|
+
readonly templateRef: {
|
|
1465
|
+
code: string;
|
|
1466
|
+
revision: number;
|
|
1467
|
+
};
|
|
1468
|
+
readonly textVersion: string;
|
|
1469
|
+
readonly textHash: string;
|
|
1470
|
+
readonly decision: string;
|
|
1471
|
+
readonly decidedAt: string;
|
|
1472
|
+
readonly source: {
|
|
1473
|
+
system: string;
|
|
1474
|
+
kind: string;
|
|
1475
|
+
evidenceRef: string;
|
|
1476
|
+
flowRef: string;
|
|
1477
|
+
flowDigest: string;
|
|
1478
|
+
};
|
|
1479
|
+
};
|
|
1480
|
+
}, {
|
|
1481
|
+
readonly name: "declined-with-revoked-time";
|
|
1482
|
+
readonly input: {
|
|
1483
|
+
readonly decision: "declined";
|
|
1484
|
+
readonly revokedAt: string;
|
|
1485
|
+
readonly schemaVersion: string;
|
|
1486
|
+
readonly tenant: string;
|
|
1487
|
+
readonly subject: {
|
|
1488
|
+
type: string;
|
|
1489
|
+
ref: string;
|
|
1490
|
+
};
|
|
1491
|
+
readonly itemCode: string;
|
|
1492
|
+
readonly scope: string;
|
|
1493
|
+
readonly templateRef: {
|
|
1494
|
+
code: string;
|
|
1495
|
+
revision: number;
|
|
1496
|
+
};
|
|
1497
|
+
readonly textVersion: string;
|
|
1498
|
+
readonly textHash: string;
|
|
1499
|
+
readonly decidedAt: string;
|
|
1500
|
+
readonly source: {
|
|
1501
|
+
system: string;
|
|
1502
|
+
kind: string;
|
|
1503
|
+
evidenceRef: string;
|
|
1504
|
+
flowRef: string;
|
|
1505
|
+
flowDigest: string;
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
}, {
|
|
1509
|
+
readonly name: "email-in-ref";
|
|
1510
|
+
readonly input: {
|
|
1511
|
+
readonly subject: {
|
|
1512
|
+
readonly ref: "synthetic@example.invalid";
|
|
1513
|
+
readonly type: string;
|
|
1514
|
+
};
|
|
1515
|
+
readonly schemaVersion: string;
|
|
1516
|
+
readonly tenant: string;
|
|
1517
|
+
readonly itemCode: string;
|
|
1518
|
+
readonly scope: string;
|
|
1519
|
+
readonly templateRef: {
|
|
1520
|
+
code: string;
|
|
1521
|
+
revision: number;
|
|
1522
|
+
};
|
|
1523
|
+
readonly textVersion: string;
|
|
1524
|
+
readonly textHash: string;
|
|
1525
|
+
readonly decision: string;
|
|
1526
|
+
readonly decidedAt: string;
|
|
1527
|
+
readonly source: {
|
|
1528
|
+
system: string;
|
|
1529
|
+
kind: string;
|
|
1530
|
+
evidenceRef: string;
|
|
1531
|
+
flowRef: string;
|
|
1532
|
+
flowDigest: string;
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly name: "phone-in-ref";
|
|
1537
|
+
readonly input: {
|
|
1538
|
+
readonly subject: {
|
|
1539
|
+
readonly ref: "+12025550123";
|
|
1540
|
+
readonly type: string;
|
|
1541
|
+
};
|
|
1542
|
+
readonly schemaVersion: string;
|
|
1543
|
+
readonly tenant: string;
|
|
1544
|
+
readonly itemCode: string;
|
|
1545
|
+
readonly scope: string;
|
|
1546
|
+
readonly templateRef: {
|
|
1547
|
+
code: string;
|
|
1548
|
+
revision: number;
|
|
1549
|
+
};
|
|
1550
|
+
readonly textVersion: string;
|
|
1551
|
+
readonly textHash: string;
|
|
1552
|
+
readonly decision: string;
|
|
1553
|
+
readonly decidedAt: string;
|
|
1554
|
+
readonly source: {
|
|
1555
|
+
system: string;
|
|
1556
|
+
kind: string;
|
|
1557
|
+
evidenceRef: string;
|
|
1558
|
+
flowRef: string;
|
|
1559
|
+
flowDigest: string;
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
}, {
|
|
1563
|
+
readonly name: "name-in-ref";
|
|
1564
|
+
readonly input: {
|
|
1565
|
+
readonly subject: {
|
|
1566
|
+
readonly ref: "Synthetic Person";
|
|
1567
|
+
readonly type: string;
|
|
1568
|
+
};
|
|
1569
|
+
readonly schemaVersion: string;
|
|
1570
|
+
readonly tenant: string;
|
|
1571
|
+
readonly itemCode: string;
|
|
1572
|
+
readonly scope: string;
|
|
1573
|
+
readonly templateRef: {
|
|
1574
|
+
code: string;
|
|
1575
|
+
revision: number;
|
|
1576
|
+
};
|
|
1577
|
+
readonly textVersion: string;
|
|
1578
|
+
readonly textHash: string;
|
|
1579
|
+
readonly decision: string;
|
|
1580
|
+
readonly decidedAt: string;
|
|
1581
|
+
readonly source: {
|
|
1582
|
+
system: string;
|
|
1583
|
+
kind: string;
|
|
1584
|
+
evidenceRef: string;
|
|
1585
|
+
flowRef: string;
|
|
1586
|
+
flowDigest: string;
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
}, {
|
|
1590
|
+
readonly name: "free-text-version";
|
|
1591
|
+
readonly input: {
|
|
1592
|
+
readonly textVersion: "I accept this synthetic consent";
|
|
1593
|
+
readonly schemaVersion: string;
|
|
1594
|
+
readonly tenant: string;
|
|
1595
|
+
readonly subject: {
|
|
1596
|
+
type: string;
|
|
1597
|
+
ref: string;
|
|
1598
|
+
};
|
|
1599
|
+
readonly itemCode: string;
|
|
1600
|
+
readonly scope: string;
|
|
1601
|
+
readonly templateRef: {
|
|
1602
|
+
code: string;
|
|
1603
|
+
revision: number;
|
|
1604
|
+
};
|
|
1605
|
+
readonly textHash: string;
|
|
1606
|
+
readonly decision: string;
|
|
1607
|
+
readonly decidedAt: string;
|
|
1608
|
+
readonly source: {
|
|
1609
|
+
system: string;
|
|
1610
|
+
kind: string;
|
|
1611
|
+
evidenceRef: string;
|
|
1612
|
+
flowRef: string;
|
|
1613
|
+
flowDigest: string;
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
}, {
|
|
1617
|
+
readonly name: "invalid-flow-digest";
|
|
1618
|
+
readonly input: {
|
|
1619
|
+
readonly source: {
|
|
1620
|
+
readonly flowDigest: "invalid";
|
|
1621
|
+
readonly system: string;
|
|
1622
|
+
readonly kind: string;
|
|
1623
|
+
readonly evidenceRef: string;
|
|
1624
|
+
readonly flowRef: string;
|
|
1625
|
+
};
|
|
1626
|
+
readonly schemaVersion: string;
|
|
1627
|
+
readonly tenant: string;
|
|
1628
|
+
readonly subject: {
|
|
1629
|
+
type: string;
|
|
1630
|
+
ref: string;
|
|
1631
|
+
};
|
|
1632
|
+
readonly itemCode: string;
|
|
1633
|
+
readonly scope: string;
|
|
1634
|
+
readonly templateRef: {
|
|
1635
|
+
code: string;
|
|
1636
|
+
revision: number;
|
|
1637
|
+
};
|
|
1638
|
+
readonly textVersion: string;
|
|
1639
|
+
readonly textHash: string;
|
|
1640
|
+
readonly decision: string;
|
|
1641
|
+
readonly decidedAt: string;
|
|
1642
|
+
};
|
|
1643
|
+
}, {
|
|
1644
|
+
readonly name: "missing-flow-ref";
|
|
1645
|
+
readonly input: {
|
|
1646
|
+
readonly source: {
|
|
1647
|
+
readonly system: "engagement";
|
|
1648
|
+
readonly kind: "web";
|
|
1649
|
+
readonly evidenceRef: "AbCdEfGhIjKlMnOpQrSt01";
|
|
1650
|
+
readonly flowDigest: string;
|
|
1651
|
+
};
|
|
1652
|
+
readonly schemaVersion: string;
|
|
1653
|
+
readonly tenant: string;
|
|
1654
|
+
readonly subject: {
|
|
1655
|
+
type: string;
|
|
1656
|
+
ref: string;
|
|
1657
|
+
};
|
|
1658
|
+
readonly itemCode: string;
|
|
1659
|
+
readonly scope: string;
|
|
1660
|
+
readonly templateRef: {
|
|
1661
|
+
code: string;
|
|
1662
|
+
revision: number;
|
|
1663
|
+
};
|
|
1664
|
+
readonly textVersion: string;
|
|
1665
|
+
readonly textHash: string;
|
|
1666
|
+
readonly decision: string;
|
|
1667
|
+
readonly decidedAt: string;
|
|
1668
|
+
};
|
|
1669
|
+
}, {
|
|
1670
|
+
readonly name: "null";
|
|
1671
|
+
readonly input: null;
|
|
1672
|
+
}, {
|
|
1673
|
+
readonly name: "array";
|
|
1674
|
+
readonly input: readonly [];
|
|
1675
|
+
}, {
|
|
1676
|
+
readonly name: "string";
|
|
1677
|
+
readonly input: "synthetic";
|
|
1678
|
+
}];
|
|
1679
|
+
/** Independent byte-for-byte oracle for consumer canonicalization tests. */
|
|
1680
|
+
export declare const CONSENT_DECISION_V1_CANONICAL_VECTOR: {
|
|
1681
|
+
readonly name: "candidate-granted-canonical";
|
|
1682
|
+
readonly input: {
|
|
1683
|
+
schemaVersion: string;
|
|
1684
|
+
tenant: string;
|
|
1685
|
+
subject: {
|
|
1686
|
+
type: string;
|
|
1687
|
+
ref: string;
|
|
1688
|
+
};
|
|
1689
|
+
itemCode: string;
|
|
1690
|
+
scope: string;
|
|
1691
|
+
templateRef: {
|
|
1692
|
+
code: string;
|
|
1693
|
+
revision: number;
|
|
1694
|
+
};
|
|
1695
|
+
textVersion: string;
|
|
1696
|
+
textHash: string;
|
|
1697
|
+
decision: string;
|
|
1698
|
+
decidedAt: string;
|
|
1699
|
+
source: {
|
|
1700
|
+
system: string;
|
|
1701
|
+
kind: string;
|
|
1702
|
+
evidenceRef: string;
|
|
1703
|
+
flowRef: string;
|
|
1704
|
+
flowDigest: string;
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
readonly canonical: "{\"schemaVersion\":\"consent-decision.v1\",\"tenant\":\"synthetic-tenant\",\"subject\":{\"type\":\"candidate\",\"ref\":\"00000000-0000-4000-8000-000000000001\"},\"itemCode\":\"health-data-management\",\"scope\":\"patient-privacy\",\"templateRef\":{\"code\":\"health-data-management\",\"revision\":1},\"textVersion\":\"v1\",\"textHash\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"decision\":\"granted\",\"decidedAt\":\"2026-11-10T12:00:00.000Z\",\"source\":{\"system\":\"engagement\",\"kind\":\"web\",\"evidenceRef\":\"AbCdEfGhIjKlMnOpQrSt01\",\"flowRef\":\"00000000-0000-7000-8000-000000000002\",\"flowDigest\":\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"}}";
|
|
1708
|
+
};
|
|
1709
|
+
//# sourceMappingURL=vectors.d.ts.map
|