@openvtc/trust-tasks 0.17.5 → 0.17.7

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +141 -0
  2. package/dist/_shared/components.d.ts +4 -0
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/auth/step-up/approve-response/0.3/payload.d.ts +887 -0
  5. package/dist/auth/step-up/approve-response/0.3/payload.d.ts.map +1 -0
  6. package/dist/auth/step-up/approve-response/0.3/payload.js +505 -0
  7. package/dist/auth/step-up/approve-response/0.3/payload.js.map +1 -0
  8. package/dist/index.d.ts +8 -0
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +8 -0
  11. package/dist/index.js.map +1 -1
  12. package/dist/persona/claim-types/list/1.0/payload.d.ts +772 -0
  13. package/dist/persona/claim-types/list/1.0/payload.d.ts.map +1 -0
  14. package/dist/persona/claim-types/list/1.0/payload.js +389 -0
  15. package/dist/persona/claim-types/list/1.0/payload.js.map +1 -0
  16. package/dist/rooms/_shared/0.1/room.d.ts +1 -1
  17. package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
  18. package/dist/rooms/create/0.1/payload.d.ts +42 -2
  19. package/dist/rooms/create/0.1/payload.d.ts.map +1 -1
  20. package/dist/rooms/create/0.1/payload.js +24 -0
  21. package/dist/rooms/create/0.1/payload.js.map +1 -1
  22. package/dist/rooms/keys/chain/0.1/payload.d.ts +382 -0
  23. package/dist/rooms/keys/chain/0.1/payload.d.ts.map +1 -0
  24. package/dist/rooms/keys/chain/0.1/payload.js +213 -0
  25. package/dist/rooms/keys/chain/0.1/payload.js.map +1 -0
  26. package/dist/rooms/keys/list/0.1/payload.d.ts +314 -0
  27. package/dist/rooms/keys/list/0.1/payload.d.ts.map +1 -0
  28. package/dist/rooms/keys/list/0.1/payload.js +175 -0
  29. package/dist/rooms/keys/list/0.1/payload.js.map +1 -0
  30. package/dist/rooms/keys/seal/0.1/payload.d.ts +352 -0
  31. package/dist/rooms/keys/seal/0.1/payload.d.ts.map +1 -0
  32. package/dist/rooms/keys/seal/0.1/payload.js +199 -0
  33. package/dist/rooms/keys/seal/0.1/payload.js.map +1 -0
  34. package/dist/rooms/owner/invite/0.1/payload.d.ts +291 -0
  35. package/dist/rooms/owner/invite/0.1/payload.d.ts.map +1 -0
  36. package/dist/rooms/owner/invite/0.1/payload.js +158 -0
  37. package/dist/rooms/owner/invite/0.1/payload.js.map +1 -0
  38. package/dist/rooms/owner/issue-authority/0.1/payload.d.ts +315 -0
  39. package/dist/rooms/owner/issue-authority/0.1/payload.d.ts.map +1 -0
  40. package/dist/rooms/owner/issue-authority/0.1/payload.js +173 -0
  41. package/dist/rooms/owner/issue-authority/0.1/payload.js.map +1 -0
  42. package/dist/rooms/owner/issue-membership/0.1/payload.d.ts +291 -0
  43. package/dist/rooms/owner/issue-membership/0.1/payload.d.ts.map +1 -0
  44. package/dist/rooms/owner/issue-membership/0.1/payload.js +158 -0
  45. package/dist/rooms/owner/issue-membership/0.1/payload.js.map +1 -0
  46. package/package.json +1 -1
  47. package/src/_shared/components.ts +4 -0
  48. package/src/auth/step-up/approve-response/0.3/payload.ts +594 -0
  49. package/src/index.ts +8 -0
  50. package/src/persona/claim-types/list/1.0/payload.ts +590 -0
  51. package/src/rooms/_shared/0.1/room.ts +1 -1
  52. package/src/rooms/create/0.1/payload.ts +30 -2
  53. package/src/rooms/keys/chain/0.1/payload.ts +262 -0
  54. package/src/rooms/keys/list/0.1/payload.ts +222 -0
  55. package/src/rooms/keys/seal/0.1/payload.ts +246 -0
  56. package/src/rooms/owner/invite/0.1/payload.ts +212 -0
  57. package/src/rooms/owner/issue-authority/0.1/payload.ts +233 -0
  58. package/src/rooms/owner/issue-membership/0.1/payload.ts +212 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/claim-types/list/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsK1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,389 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/persona/claim-types/list/1.0/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/persona/claim-types/list/1.0";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/persona/claim-types/list/1.0#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/persona/claim-types/list/1.0",
21
+ "title": "Persona Claim Types List — payload",
22
+ "description": "Serve the claim-type registry this agent resolves against. A client that cannot read the table has to ship a copy of it, and a copy is a re-sync obligation on every change.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "properties": {
26
+ "ext": {
27
+ "$ref": "#/$defs/Ext"
28
+ }
29
+ },
30
+ "$defs": {
31
+ "Response": {
32
+ "$anchor": "response",
33
+ "title": "Persona Claim Types List — response payload",
34
+ "description": "Success response to persona/claim-types/list. Type https://trusttasks.org/spec/persona/claim-types/list/1.0#response.",
35
+ "type": "object",
36
+ "additionalProperties": false,
37
+ "required": [
38
+ "registryVersion",
39
+ "entries",
40
+ "unregistered",
41
+ "strictness"
42
+ ],
43
+ "properties": {
44
+ "registryVersion": {
45
+ "type": "string",
46
+ "maxLength": 32,
47
+ "description": "Version of the core registry this agent implements — the version of _shared/claim-types.json, not of this task. A client caching the table keys the cache on this."
48
+ },
49
+ "entries": {
50
+ "type": "array",
51
+ "maxItems": 512,
52
+ "description": "The registered tokens. Both exact tokens and family prefixes appear here, undistinguished: which one an entry is follows from whether a given token equals it or descends from it, and marking them would invite a client to walk only one kind.",
53
+ "items": {
54
+ "type": "object",
55
+ "additionalProperties": false,
56
+ "required": [
57
+ "type",
58
+ "sensitivity",
59
+ "release",
60
+ "mask"
61
+ ],
62
+ "properties": {
63
+ "type": {
64
+ "$ref": "#/$defs/ClaimType"
65
+ },
66
+ "sensitivity": {
67
+ "$ref": "#/$defs/Sensitivity"
68
+ },
69
+ "release": {
70
+ "$ref": "#/$defs/ReleaseRequirement"
71
+ },
72
+ "mask": {
73
+ "type": "string",
74
+ "maxLength": 32,
75
+ "description": "Mask style, independent of sensitivity: any style that is not `none` is masked on screen whatever the sensitivity. Named rather than enumerated inline so a maintainer may serve a style this version does not list; a client that does not recognise a style MUST treat it as `full` rather than as `none`."
76
+ },
77
+ "minimumSet": {
78
+ "type": "boolean",
79
+ "description": "Marks a type a community may ask for without it being remarkable. The minimum set contains only normal-sensitivity, consent-release types; that is a rule rather than a coincidence."
80
+ },
81
+ "oidc": {
82
+ "type": "array",
83
+ "maxItems": 16,
84
+ "items": {
85
+ "type": "string",
86
+ "maxLength": 64
87
+ },
88
+ "description": "OIDC standard claims this type answers. A recorded mapping, applied at presentation — the token stays the maintainer's own and no external vocabulary is primary."
89
+ }
90
+ }
91
+ }
92
+ },
93
+ "unregistered": {
94
+ "type": "object",
95
+ "additionalProperties": false,
96
+ "required": [
97
+ "sensitivity",
98
+ "release",
99
+ "mask"
100
+ ],
101
+ "description": "The floor: what a token with no entry and no registered prefix resolves to. Served rather than assumed, because a client that hard-codes it cannot be tightened by a maintainer that raises it.",
102
+ "properties": {
103
+ "sensitivity": {
104
+ "$ref": "#/$defs/Sensitivity"
105
+ },
106
+ "release": {
107
+ "$ref": "#/$defs/ReleaseRequirement"
108
+ },
109
+ "mask": {
110
+ "type": "string",
111
+ "maxLength": 32
112
+ }
113
+ }
114
+ },
115
+ "strictness": {
116
+ "type": "object",
117
+ "additionalProperties": false,
118
+ "required": [
119
+ "sensitivity",
120
+ "release",
121
+ "mask"
122
+ ],
123
+ "description": "Each axis ordered MOST PROTECTIVE FIRST. This is what makes rule 3 computable by a client: resolution takes the longest registered prefix and the unregistered floor and keeps whichever is more protective, which requires an ordering the client did not invent.",
124
+ "properties": {
125
+ "sensitivity": {
126
+ "type": "array",
127
+ "maxItems": 8,
128
+ "items": {
129
+ "type": "string",
130
+ "maxLength": 32
131
+ }
132
+ },
133
+ "release": {
134
+ "type": "array",
135
+ "maxItems": 8,
136
+ "items": {
137
+ "type": "string",
138
+ "maxLength": 32
139
+ }
140
+ },
141
+ "mask": {
142
+ "type": "array",
143
+ "maxItems": 16,
144
+ "items": {
145
+ "type": "string",
146
+ "maxLength": 32
147
+ }
148
+ }
149
+ }
150
+ },
151
+ "ext": {
152
+ "$ref": "#/$defs/Ext"
153
+ }
154
+ }
155
+ },
156
+ "Ext": {
157
+ "title": "Ext",
158
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
159
+ "type": "object",
160
+ "minProperties": 1,
161
+ "additionalProperties": true,
162
+ "propertyNames": {
163
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
164
+ }
165
+ },
166
+ "ReleaseRequirement": {
167
+ "title": "ReleaseRequirement",
168
+ "description": "What it takes to let a value LEAVE. Distinct from `Sensitivity`, which governs showing it to the holder.\n\n`consent` is the ordinary gate: `persona/disclosure/preview` renders what would leave and `persona/disclosure/present` releases it, so a human sees it once.\n\n`stepUp` additionally requires a fresh authentication bound to THAT preview — not to the session. Without the binding, \"each time\" degrades into \"once per login\", which is the failure the requirement exists to prevent; the single-use `previewId` the preview already mints is what an implementation binds to. A maintainer MUST refuse `persona/disclosure/present` for a `stepUp` attribute when no such approval accompanies it.\n\nAbsent means *not decided by the holder* and resolves from the claim-type registry, which defaults `payment.*` and `gov.*` to `stepUp`.",
169
+ "type": "string",
170
+ "enum": [
171
+ "consent",
172
+ "stepUp"
173
+ ]
174
+ },
175
+ "Sensitivity": {
176
+ "title": "Sensitivity",
177
+ "description": "How carefully a value is shown TO ITS OWN HOLDER. `high` means a consumer masks it by default, reveals it one attribute at a time on a deliberate act, and — the half that is not cosmetic — omits it from a listing that did not ask for sensitive values.\n\nAbsent means *not decided by the holder*, not `normal`: a consumer resolves it from the claim-type registry (see CLAIM-TYPES.md §4), which is why this member is optional and why an unregistered token resolves conservatively rather than permissively.\n\nDistinct from how linkable the value is. A payment card is highly sensitive and barely linkable — every card number is unique, so knowing one tells a second verifier nothing about the first. Reading either as a proxy for the other produces a consumer that hides the wrong things.",
178
+ "type": "string",
179
+ "enum": [
180
+ "normal",
181
+ "high"
182
+ ]
183
+ },
184
+ "ClaimType": {
185
+ "title": "ClaimType",
186
+ "description": "The vocabulary token naming what a value IS — `name.legal`, `phone.mobile`, `address.postal`, `person.birthDate`. Dotted, most-general segment first, so that a consumer with no knowledge of the specific token can still group by its prefix.\n\nThe token is the maintainer's own; no external vocabulary is primary. External vocabularies (vCard/jCard, OIDC standard claims, schema.org) are mappings applied at PRESENTATION by a renderer, not at rest, so that a query written in any of them can be matched without the store having to live inside any one of them.\n\nThe `x:` prefix is an open extension namespace and is not decoration. The closest prior art — Windows CardSpace's self-issued card — supported exactly fifteen predefined claim types with no extensibility, and that is the specific way it failed the requirement a holder actually has. An `x:` attribute stores, composes, binds and discloses exactly like a known one; it renders generically and matches only an explicit query.",
187
+ "type": "string",
188
+ "minLength": 1,
189
+ "maxLength": 128,
190
+ "pattern": "^(x:)?[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"
191
+ }
192
+ }
193
+ };
194
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
195
+ export const RESPONSE_PAYLOAD_SCHEMA = {
196
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
197
+ "$ref": "#/$defs/Response",
198
+ "$defs": {
199
+ "Response": {
200
+ "$anchor": "response",
201
+ "title": "Persona Claim Types List — response payload",
202
+ "description": "Success response to persona/claim-types/list. Type https://trusttasks.org/spec/persona/claim-types/list/1.0#response.",
203
+ "type": "object",
204
+ "additionalProperties": false,
205
+ "required": [
206
+ "registryVersion",
207
+ "entries",
208
+ "unregistered",
209
+ "strictness"
210
+ ],
211
+ "properties": {
212
+ "registryVersion": {
213
+ "type": "string",
214
+ "maxLength": 32,
215
+ "description": "Version of the core registry this agent implements — the version of _shared/claim-types.json, not of this task. A client caching the table keys the cache on this."
216
+ },
217
+ "entries": {
218
+ "type": "array",
219
+ "maxItems": 512,
220
+ "description": "The registered tokens. Both exact tokens and family prefixes appear here, undistinguished: which one an entry is follows from whether a given token equals it or descends from it, and marking them would invite a client to walk only one kind.",
221
+ "items": {
222
+ "type": "object",
223
+ "additionalProperties": false,
224
+ "required": [
225
+ "type",
226
+ "sensitivity",
227
+ "release",
228
+ "mask"
229
+ ],
230
+ "properties": {
231
+ "type": {
232
+ "$ref": "#/$defs/ClaimType"
233
+ },
234
+ "sensitivity": {
235
+ "$ref": "#/$defs/Sensitivity"
236
+ },
237
+ "release": {
238
+ "$ref": "#/$defs/ReleaseRequirement"
239
+ },
240
+ "mask": {
241
+ "type": "string",
242
+ "maxLength": 32,
243
+ "description": "Mask style, independent of sensitivity: any style that is not `none` is masked on screen whatever the sensitivity. Named rather than enumerated inline so a maintainer may serve a style this version does not list; a client that does not recognise a style MUST treat it as `full` rather than as `none`."
244
+ },
245
+ "minimumSet": {
246
+ "type": "boolean",
247
+ "description": "Marks a type a community may ask for without it being remarkable. The minimum set contains only normal-sensitivity, consent-release types; that is a rule rather than a coincidence."
248
+ },
249
+ "oidc": {
250
+ "type": "array",
251
+ "maxItems": 16,
252
+ "items": {
253
+ "type": "string",
254
+ "maxLength": 64
255
+ },
256
+ "description": "OIDC standard claims this type answers. A recorded mapping, applied at presentation — the token stays the maintainer's own and no external vocabulary is primary."
257
+ }
258
+ }
259
+ }
260
+ },
261
+ "unregistered": {
262
+ "type": "object",
263
+ "additionalProperties": false,
264
+ "required": [
265
+ "sensitivity",
266
+ "release",
267
+ "mask"
268
+ ],
269
+ "description": "The floor: what a token with no entry and no registered prefix resolves to. Served rather than assumed, because a client that hard-codes it cannot be tightened by a maintainer that raises it.",
270
+ "properties": {
271
+ "sensitivity": {
272
+ "$ref": "#/$defs/Sensitivity"
273
+ },
274
+ "release": {
275
+ "$ref": "#/$defs/ReleaseRequirement"
276
+ },
277
+ "mask": {
278
+ "type": "string",
279
+ "maxLength": 32
280
+ }
281
+ }
282
+ },
283
+ "strictness": {
284
+ "type": "object",
285
+ "additionalProperties": false,
286
+ "required": [
287
+ "sensitivity",
288
+ "release",
289
+ "mask"
290
+ ],
291
+ "description": "Each axis ordered MOST PROTECTIVE FIRST. This is what makes rule 3 computable by a client: resolution takes the longest registered prefix and the unregistered floor and keeps whichever is more protective, which requires an ordering the client did not invent.",
292
+ "properties": {
293
+ "sensitivity": {
294
+ "type": "array",
295
+ "maxItems": 8,
296
+ "items": {
297
+ "type": "string",
298
+ "maxLength": 32
299
+ }
300
+ },
301
+ "release": {
302
+ "type": "array",
303
+ "maxItems": 8,
304
+ "items": {
305
+ "type": "string",
306
+ "maxLength": 32
307
+ }
308
+ },
309
+ "mask": {
310
+ "type": "array",
311
+ "maxItems": 16,
312
+ "items": {
313
+ "type": "string",
314
+ "maxLength": 32
315
+ }
316
+ }
317
+ }
318
+ },
319
+ "ext": {
320
+ "$ref": "#/$defs/Ext"
321
+ }
322
+ }
323
+ },
324
+ "Ext": {
325
+ "title": "Ext",
326
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
327
+ "type": "object",
328
+ "minProperties": 1,
329
+ "additionalProperties": true,
330
+ "propertyNames": {
331
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
332
+ }
333
+ },
334
+ "ReleaseRequirement": {
335
+ "title": "ReleaseRequirement",
336
+ "description": "What it takes to let a value LEAVE. Distinct from `Sensitivity`, which governs showing it to the holder.\n\n`consent` is the ordinary gate: `persona/disclosure/preview` renders what would leave and `persona/disclosure/present` releases it, so a human sees it once.\n\n`stepUp` additionally requires a fresh authentication bound to THAT preview — not to the session. Without the binding, \"each time\" degrades into \"once per login\", which is the failure the requirement exists to prevent; the single-use `previewId` the preview already mints is what an implementation binds to. A maintainer MUST refuse `persona/disclosure/present` for a `stepUp` attribute when no such approval accompanies it.\n\nAbsent means *not decided by the holder* and resolves from the claim-type registry, which defaults `payment.*` and `gov.*` to `stepUp`.",
337
+ "type": "string",
338
+ "enum": [
339
+ "consent",
340
+ "stepUp"
341
+ ]
342
+ },
343
+ "Sensitivity": {
344
+ "title": "Sensitivity",
345
+ "description": "How carefully a value is shown TO ITS OWN HOLDER. `high` means a consumer masks it by default, reveals it one attribute at a time on a deliberate act, and — the half that is not cosmetic — omits it from a listing that did not ask for sensitive values.\n\nAbsent means *not decided by the holder*, not `normal`: a consumer resolves it from the claim-type registry (see CLAIM-TYPES.md §4), which is why this member is optional and why an unregistered token resolves conservatively rather than permissively.\n\nDistinct from how linkable the value is. A payment card is highly sensitive and barely linkable — every card number is unique, so knowing one tells a second verifier nothing about the first. Reading either as a proxy for the other produces a consumer that hides the wrong things.",
346
+ "type": "string",
347
+ "enum": [
348
+ "normal",
349
+ "high"
350
+ ]
351
+ },
352
+ "ClaimType": {
353
+ "title": "ClaimType",
354
+ "description": "The vocabulary token naming what a value IS — `name.legal`, `phone.mobile`, `address.postal`, `person.birthDate`. Dotted, most-general segment first, so that a consumer with no knowledge of the specific token can still group by its prefix.\n\nThe token is the maintainer's own; no external vocabulary is primary. External vocabularies (vCard/jCard, OIDC standard claims, schema.org) are mappings applied at PRESENTATION by a renderer, not at rest, so that a query written in any of them can be matched without the store having to live inside any one of them.\n\nThe `x:` prefix is an open extension namespace and is not decoration. The closest prior art — Windows CardSpace's self-issued card — supported exactly fifteen predefined claim types with no extensibility, and that is the specific way it failed the requirement a holder actually has. An `x:` attribute stores, composes, binds and discloses exactly like a known one; it renders generically and matches only an explicit query.",
355
+ "type": "string",
356
+ "minLength": 1,
357
+ "maxLength": 128,
358
+ "pattern": "^(x:)?[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"
359
+ }
360
+ }
361
+ };
362
+ /**
363
+ * SPEC.md §7.2 policy for the request variant, from this specification's
364
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
365
+ * per-specification and cannot be derived from the document alone, and
366
+ * item 2 needs the schema this carries.
367
+ */
368
+ export const SPEC = {
369
+ typeUri: TYPE_URI,
370
+ isBearer: false,
371
+ isProofRequired: true,
372
+ isRecipientRequired: true,
373
+ isIssuedAtRequired: false,
374
+ payloadSchema: PAYLOAD_SCHEMA,
375
+ };
376
+ /**
377
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
378
+ * tracks the *issuer* party's requirement because a response swaps the
379
+ * parties (§7.3 item 5).
380
+ */
381
+ export const RESPONSE_SPEC = {
382
+ typeUri: RESPONSE_TYPE_URI,
383
+ isBearer: false,
384
+ isProofRequired: true,
385
+ isRecipientRequired: true,
386
+ isIssuedAtRequired: false,
387
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
388
+ };
389
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/claim-types/list/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAgMH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,0DAAmE,CAAC;AAK5F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mEAA4E,CAAC;AAK9G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,0DAA0D;IACjE,OAAO,EAAE,oCAAoC;IAC7C,aAAa,EAAE,8KAA8K;IAC7L,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,6CAA6C;YACtD,aAAa,EAAE,uHAAuH;YACtI,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,iBAAiB;gBACjB,SAAS;gBACT,cAAc;gBACd,YAAY;aACb;YACD,YAAY,EAAE;gBACZ,iBAAiB,EAAE;oBACjB,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,EAAE;oBACf,aAAa,EAAE,oKAAoK;iBACpL;gBACD,SAAS,EAAE;oBACT,MAAM,EAAE,OAAO;oBACf,UAAU,EAAE,GAAG;oBACf,aAAa,EAAE,kPAAkP;oBACjQ,OAAO,EAAE;wBACP,MAAM,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,SAAS,EAAE,mCAAmC;aAC/C;SACF;QACD,oBAAoB,EAAE;YACpB,OAAO,EAAE,oBAAoB;YAC7B,aAAa,EAAE,q0BAAq0B;YACp1B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,SAAS;gBACT,QAAQ;aACT;SACF;QACD,aAAa,EAAE;YACb,OAAO,EAAE,aAAa;YACtB,aAAa,EAAE,qxBAAqxB;YACpyB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,QAAQ;gBACR,MAAM;aACP;SACF;QACD,WAAW,EAAE;YACX,OAAO,EAAE,WAAW;YACpB,aAAa,EAAE,29BAA29B;YAC1+B,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,SAAS,EAAE,iDAAiD;SAC7D;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -12,5 +12,5 @@ export interface RoomsSharedTypes {
12
12
  * The definitions this shared schema publishes, hoisted to one declaration each.
13
13
  * See "../../../_shared/components.js".
14
14
  */
15
- export type { AuthorityPresentation, EpochLink, RecordMetadata, SealedRecord, Visibility } from "../../../_shared/components.js";
15
+ export type { AuthorityPresentation, EpochLink, RecordMetadata, RetentionPolicy, SealedRecord, Visibility } from "../../../_shared/components.js";
16
16
  //# sourceMappingURL=room.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"room.d.ts","sourceRoot":"","sources":["../../../../src/rooms/_shared/0.1/room.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,qBAAqB,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
1
+ {"version":3,"file":"room.d.ts","sourceRoot":"","sources":["../../../../src/rooms/_shared/0.1/room.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,qBAAqB,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
3
  * Source: specs/rooms/create/0.1/payload.schema.json
4
4
  */
5
- import type { Ext, Visibility } from "../../../_shared/components.js";
5
+ import type { Ext, RetentionPolicy, Visibility } from "../../../_shared/components.js";
6
6
  export interface RoomsCreatePayload {
7
7
  /**
8
8
  * The room's identifier, minted by its owner before this call. A host is told the identifier; it does not assign one, because a room whose identity the host chose could not move to another host.
@@ -13,6 +13,10 @@ export interface RoomsCreatePayload {
13
13
  * The room's accountable party: the controller of the room's identifier, the issuer of every credential in it, and the party a host addresses about quota, abuse, or lifecycle. Visible at every visibility, including `private` — a room has someone answerable for it.
14
14
  */
15
15
  ownerDid: string;
16
+ /**
17
+ * Whether this room keeps its history readable across a membership change. Absent means `chained`, which is the choice a room wants unless it has a reason not to: joining a room should mean being able to read it. A host MUST reject an epoch link for a room whose policy is `fromJoin` rather than storing one it declared it would not have.
18
+ */
19
+ retentionPolicy?: RetentionPolicy;
16
20
  /**
17
21
  * How long the host will hold the room after its epoch lapses without renewal, before storage may be reclaimed. Stated at creation rather than discovered: reclamation that surprises a member is a failure of the design, not of the member.
18
22
  */
@@ -34,7 +38,7 @@ export interface RoomsCreateResponsePayload {
34
38
  ext?: Ext;
35
39
  }
36
40
  /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
37
- export type { Ext, Visibility };
41
+ export type { Ext, RetentionPolicy, Visibility };
38
42
  /** Trust Task type URI. */
39
43
  export declare const TYPE_URI: "https://trusttasks.org/spec/rooms/create/0.1";
40
44
  /** Stable alias for this specification's request payload shape. */
@@ -71,6 +75,10 @@ export declare const PAYLOAD_SCHEMA: {
71
75
  readonly type: "string";
72
76
  readonly description: "The room's accountable party: the controller of the room's identifier, the issuer of every credential in it, and the party a host addresses about quota, abuse, or lifecycle. Visible at every visibility, including `private` — a room has someone answerable for it.";
73
77
  };
78
+ readonly retentionPolicy: {
79
+ readonly $ref: "#/$defs/RetentionPolicy";
80
+ readonly description: "Whether this room keeps its history readable across a membership change. Absent means `chained`, which is the choice a room wants unless it has a reason not to: joining a room should mean being able to read it. A host MUST reject an epoch link for a room whose policy is `fromJoin` rather than storing one it declared it would not have.";
81
+ };
74
82
  readonly retentionDays: {
75
83
  readonly type: "integer";
76
84
  readonly minimum: 1;
@@ -113,6 +121,13 @@ export declare const PAYLOAD_SCHEMA: {
113
121
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
114
122
  };
115
123
  };
124
+ readonly RetentionPolicy: {
125
+ readonly title: "RetentionPolicy";
126
+ readonly type: "string";
127
+ readonly enum: readonly ["chained", "fromJoin"];
128
+ readonly description: "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.";
129
+ readonly $comment: "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it.";
130
+ };
116
131
  readonly Visibility: {
117
132
  readonly title: "Visibility";
118
133
  readonly type: "string";
@@ -157,6 +172,13 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
157
172
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
158
173
  };
159
174
  };
175
+ readonly RetentionPolicy: {
176
+ readonly title: "RetentionPolicy";
177
+ readonly type: "string";
178
+ readonly enum: readonly ["chained", "fromJoin"];
179
+ readonly description: "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.";
180
+ readonly $comment: "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it.";
181
+ };
160
182
  readonly Visibility: {
161
183
  readonly title: "Visibility";
162
184
  readonly type: "string";
@@ -196,6 +218,10 @@ export declare const SPEC: {
196
218
  readonly type: "string";
197
219
  readonly description: "The room's accountable party: the controller of the room's identifier, the issuer of every credential in it, and the party a host addresses about quota, abuse, or lifecycle. Visible at every visibility, including `private` — a room has someone answerable for it.";
198
220
  };
221
+ readonly retentionPolicy: {
222
+ readonly $ref: "#/$defs/RetentionPolicy";
223
+ readonly description: "Whether this room keeps its history readable across a membership change. Absent means `chained`, which is the choice a room wants unless it has a reason not to: joining a room should mean being able to read it. A host MUST reject an epoch link for a room whose policy is `fromJoin` rather than storing one it declared it would not have.";
224
+ };
199
225
  readonly retentionDays: {
200
226
  readonly type: "integer";
201
227
  readonly minimum: 1;
@@ -238,6 +264,13 @@ export declare const SPEC: {
238
264
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
239
265
  };
240
266
  };
267
+ readonly RetentionPolicy: {
268
+ readonly title: "RetentionPolicy";
269
+ readonly type: "string";
270
+ readonly enum: readonly ["chained", "fromJoin"];
271
+ readonly description: "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.";
272
+ readonly $comment: "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it.";
273
+ };
241
274
  readonly Visibility: {
242
275
  readonly title: "Visibility";
243
276
  readonly type: "string";
@@ -293,6 +326,13 @@ export declare const RESPONSE_SPEC: {
293
326
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
294
327
  };
295
328
  };
329
+ readonly RetentionPolicy: {
330
+ readonly title: "RetentionPolicy";
331
+ readonly type: "string";
332
+ readonly enum: readonly ["chained", "fromJoin"];
333
+ readonly description: "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.";
334
+ readonly $comment: "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it.";
335
+ };
296
336
  readonly Visibility: {
297
337
  readonly title: "Visibility";
298
338
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/rooms/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAGtE,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH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;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -38,6 +38,10 @@ export const PAYLOAD_SCHEMA = {
38
38
  "type": "string",
39
39
  "description": "The room's accountable party: the controller of the room's identifier, the issuer of every credential in it, and the party a host addresses about quota, abuse, or lifecycle. Visible at every visibility, including `private` — a room has someone answerable for it."
40
40
  },
41
+ "retentionPolicy": {
42
+ "$ref": "#/$defs/RetentionPolicy",
43
+ "description": "Whether this room keeps its history readable across a membership change. Absent means `chained`, which is the choice a room wants unless it has a reason not to: joining a room should mean being able to read it. A host MUST reject an epoch link for a room whose policy is `fromJoin` rather than storing one it declared it would not have."
44
+ },
41
45
  "retentionDays": {
42
46
  "type": "integer",
43
47
  "minimum": 1,
@@ -83,6 +87,16 @@ export const PAYLOAD_SCHEMA = {
83
87
  "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
84
88
  }
85
89
  },
90
+ "RetentionPolicy": {
91
+ "title": "RetentionPolicy",
92
+ "type": "string",
93
+ "enum": [
94
+ "chained",
95
+ "fromJoin"
96
+ ],
97
+ "description": "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.",
98
+ "$comment": "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it."
99
+ },
86
100
  "Visibility": {
87
101
  "title": "Visibility",
88
102
  "type": "string",
@@ -134,6 +148,16 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
134
148
  "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
135
149
  }
136
150
  },
151
+ "RetentionPolicy": {
152
+ "title": "RetentionPolicy",
153
+ "type": "string",
154
+ "enum": [
155
+ "chained",
156
+ "fromJoin"
157
+ ],
158
+ "description": "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.",
159
+ "$comment": "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it."
160
+ },
137
161
  "Visibility": {
138
162
  "title": "Visibility",
139
163
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/rooms/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,8CAAuD,CAAC;AAKhF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,uDAAgE,CAAC;AAKlG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,8CAA8C;IACrD,OAAO,EAAE,wBAA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