@openvtc/trust-tasks 0.26.1 → 0.26.2

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 (98) hide show
  1. package/CHANGELOG.md +142 -0
  2. package/dist/_shared/components.d.ts +107 -1
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +15 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +15 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/rooms/owner/group/add/0.1/payload.d.ts +417 -0
  9. package/dist/rooms/owner/group/add/0.1/payload.d.ts.map +1 -0
  10. package/dist/rooms/owner/group/add/0.1/payload.js +218 -0
  11. package/dist/rooms/owner/group/add/0.1/payload.js.map +1 -0
  12. package/dist/rooms/owner/group/create/0.1/payload.d.ts +299 -0
  13. package/dist/rooms/owner/group/create/0.1/payload.d.ts.map +1 -0
  14. package/dist/rooms/owner/group/create/0.1/payload.js +163 -0
  15. package/dist/rooms/owner/group/create/0.1/payload.js.map +1 -0
  16. package/dist/rooms/owner/group/remove/0.1/payload.d.ts +343 -0
  17. package/dist/rooms/owner/group/remove/0.1/payload.d.ts.map +1 -0
  18. package/dist/rooms/owner/group/remove/0.1/payload.js +184 -0
  19. package/dist/rooms/owner/group/remove/0.1/payload.js.map +1 -0
  20. package/dist/rooms/owner/register/0.1/payload.d.ts +3 -3
  21. package/dist/rooms/owner/register/0.1/payload.js +1 -1
  22. package/dist/rooms/owner/register/0.1/payload.js.map +1 -1
  23. package/dist/vtc/_shared/0.1/community-room.d.ts +16 -0
  24. package/dist/vtc/_shared/0.1/community-room.d.ts.map +1 -0
  25. package/dist/vtc/_shared/0.1/community-room.js +6 -0
  26. package/dist/vtc/_shared/0.1/community-room.js.map +1 -0
  27. package/dist/vtc/admin/events/_shared/0.1/topic.d.ts +1 -1
  28. package/dist/vtc/admin/events/_shared/0.1/topic.d.ts.map +1 -1
  29. package/dist/vtc/admin/events/_shared/0.2/topic.d.ts +28 -0
  30. package/dist/vtc/admin/events/_shared/0.2/topic.d.ts.map +1 -0
  31. package/dist/vtc/admin/events/_shared/0.2/topic.js +6 -0
  32. package/dist/vtc/admin/events/_shared/0.2/topic.js.map +1 -0
  33. package/dist/vtc/admin/events/event/0.1/payload.d.ts +1 -1
  34. package/dist/vtc/admin/events/event/0.1/payload.d.ts.map +1 -1
  35. package/dist/vtc/admin/events/event/0.2/payload.d.ts +172 -0
  36. package/dist/vtc/admin/events/event/0.2/payload.d.ts.map +1 -0
  37. package/dist/vtc/admin/events/event/0.2/payload.js +100 -0
  38. package/dist/vtc/admin/events/event/0.2/payload.js.map +1 -0
  39. package/dist/vtc/admin/events/subscribe/0.1/payload.d.ts +1 -1
  40. package/dist/vtc/admin/events/subscribe/0.1/payload.d.ts.map +1 -1
  41. package/dist/vtc/admin/events/subscribe/0.2/payload.d.ts +409 -0
  42. package/dist/vtc/admin/events/subscribe/0.2/payload.d.ts.map +1 -0
  43. package/dist/vtc/admin/events/subscribe/0.2/payload.js +232 -0
  44. package/dist/vtc/admin/events/subscribe/0.2/payload.js.map +1 -0
  45. package/dist/vtc/rooms/community/create/0.1/payload.d.ts +789 -0
  46. package/dist/vtc/rooms/community/create/0.1/payload.d.ts.map +1 -0
  47. package/dist/vtc/rooms/community/create/0.1/payload.js +463 -0
  48. package/dist/vtc/rooms/community/create/0.1/payload.js.map +1 -0
  49. package/dist/vtc/rooms/community/get/0.1/payload.d.ts +711 -0
  50. package/dist/vtc/rooms/community/get/0.1/payload.d.ts.map +1 -0
  51. package/dist/vtc/rooms/community/get/0.1/payload.js +429 -0
  52. package/dist/vtc/rooms/community/get/0.1/payload.js.map +1 -0
  53. package/dist/vtc/rooms/community/list/0.1/payload.d.ts +772 -0
  54. package/dist/vtc/rooms/community/list/0.1/payload.d.ts.map +1 -0
  55. package/dist/vtc/rooms/community/list/0.1/payload.js +452 -0
  56. package/dist/vtc/rooms/community/list/0.1/payload.js.map +1 -0
  57. package/dist/vtc/rooms/community/members/add/0.1/payload.d.ts +535 -0
  58. package/dist/vtc/rooms/community/members/add/0.1/payload.d.ts.map +1 -0
  59. package/dist/vtc/rooms/community/members/add/0.1/payload.js +314 -0
  60. package/dist/vtc/rooms/community/members/add/0.1/payload.js.map +1 -0
  61. package/dist/vtc/rooms/community/members/list/0.1/payload.d.ts +554 -0
  62. package/dist/vtc/rooms/community/members/list/0.1/payload.d.ts.map +1 -0
  63. package/dist/vtc/rooms/community/members/list/0.1/payload.js +315 -0
  64. package/dist/vtc/rooms/community/members/list/0.1/payload.js.map +1 -0
  65. package/dist/vtc/rooms/community/members/remove/0.1/payload.d.ts +533 -0
  66. package/dist/vtc/rooms/community/members/remove/0.1/payload.d.ts.map +1 -0
  67. package/dist/vtc/rooms/community/members/remove/0.1/payload.js +313 -0
  68. package/dist/vtc/rooms/community/members/remove/0.1/payload.js.map +1 -0
  69. package/dist/vtc/rooms/offers/accept/0.1/payload.d.ts +349 -0
  70. package/dist/vtc/rooms/offers/accept/0.1/payload.d.ts.map +1 -0
  71. package/dist/vtc/rooms/offers/accept/0.1/payload.js +188 -0
  72. package/dist/vtc/rooms/offers/accept/0.1/payload.js.map +1 -0
  73. package/dist/vtc/rooms/offers/list/0.1/payload.d.ts +692 -0
  74. package/dist/vtc/rooms/offers/list/0.1/payload.d.ts.map +1 -0
  75. package/dist/vtc/rooms/offers/list/0.1/payload.js +408 -0
  76. package/dist/vtc/rooms/offers/list/0.1/payload.js.map +1 -0
  77. package/package.json +1 -1
  78. package/src/_shared/components.ts +120 -1
  79. package/src/index.ts +15 -0
  80. package/src/rooms/owner/group/add/0.1/payload.ts +288 -0
  81. package/src/rooms/owner/group/create/0.1/payload.ts +213 -0
  82. package/src/rooms/owner/group/remove/0.1/payload.ts +242 -0
  83. package/src/rooms/owner/register/0.1/payload.ts +2 -2
  84. package/src/vtc/_shared/0.1/community-room.ts +17 -0
  85. package/src/vtc/admin/events/_shared/0.1/topic.ts +1 -1
  86. package/src/vtc/admin/events/_shared/0.2/topic.ts +29 -0
  87. package/src/vtc/admin/events/event/0.1/payload.ts +1 -1
  88. package/src/vtc/admin/events/event/0.2/payload.ts +134 -0
  89. package/src/vtc/admin/events/subscribe/0.1/payload.ts +1 -1
  90. package/src/vtc/admin/events/subscribe/0.2/payload.ts +306 -0
  91. package/src/vtc/rooms/community/create/0.1/payload.ts +509 -0
  92. package/src/vtc/rooms/community/get/0.1/payload.ts +461 -0
  93. package/src/vtc/rooms/community/list/0.1/payload.ts +495 -0
  94. package/src/vtc/rooms/community/members/add/0.1/payload.ts +356 -0
  95. package/src/vtc/rooms/community/members/list/0.1/payload.ts +366 -0
  96. package/src/vtc/rooms/community/members/remove/0.1/payload.ts +351 -0
  97. package/src/vtc/rooms/offers/accept/0.1/payload.ts +240 -0
  98. package/src/vtc/rooms/offers/list/0.1/payload.ts +451 -0
@@ -0,0 +1,343 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/rooms/owner/group/remove/0.1/payload.schema.json
4
+ */
5
+ import type { Ext } from "../../../../../_shared/components.js";
6
+ export interface RoomsOwnerGroupRemovePayload {
7
+ /**
8
+ * The room whose group loses a member. The recipient MUST hold its group.
9
+ */
10
+ roomId: string;
11
+ /**
12
+ * The room's host, as a DID: where the room's epoch advances.
13
+ */
14
+ host: string;
15
+ /**
16
+ * The DID whose leaf is removed. Never the recipient's own leaf.
17
+ */
18
+ member: string;
19
+ /**
20
+ * Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential.
21
+ */
22
+ reason?: string;
23
+ /**
24
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
25
+ */
26
+ ext?: Ext;
27
+ }
28
+ /**
29
+ * Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response. The room's new epoch, which the removed member holds no key for.
30
+ */
31
+ export interface RoomsOwnerGroupRemoveResponsePayload {
32
+ /**
33
+ * The room.
34
+ */
35
+ roomId: string;
36
+ /**
37
+ * Who was removed.
38
+ */
39
+ member: string;
40
+ /**
41
+ * The room epoch after the removal, as the host recorded it.
42
+ */
43
+ epoch: number;
44
+ ext?: Ext;
45
+ }
46
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
47
+ export type { Ext };
48
+ /** Trust Task type URI. */
49
+ export declare const TYPE_URI: "https://trusttasks.org/spec/rooms/owner/group/remove/0.1";
50
+ /** Stable alias for this specification's request payload shape. */
51
+ export type Payload = RoomsOwnerGroupRemovePayload;
52
+ /** Trust Task response type URI (request type URI + "#response"). */
53
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response";
54
+ /** Stable alias for this specification's success-response payload shape. */
55
+ export type Response = RoomsOwnerGroupRemoveResponsePayload;
56
+ /**
57
+ * This specification's payload schema, as a value.
58
+ *
59
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
60
+ * rather than only as a `.json` file because TypeScript types are erased
61
+ * at runtime: without a schema a consumer has nothing to validate, and
62
+ * every REQUIRED payload member is optional in practice. Cross-file
63
+ * `$ref`s are already inlined, so it needs no resolver.
64
+ */
65
+ export declare const PAYLOAD_SCHEMA: {
66
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
67
+ readonly $id: "https://trusttasks.org/spec/rooms/owner/group/remove/0.1";
68
+ readonly title: "Rooms Owner Group Remove — payload";
69
+ readonly type: "object";
70
+ readonly additionalProperties: false;
71
+ readonly required: readonly ["roomId", "host", "member"];
72
+ readonly properties: {
73
+ readonly roomId: {
74
+ readonly type: "string";
75
+ readonly minLength: 1;
76
+ readonly maxLength: 512;
77
+ readonly description: "The room whose group loses a member. The recipient MUST hold its group.";
78
+ };
79
+ readonly host: {
80
+ readonly type: "string";
81
+ readonly pattern: "^did:";
82
+ readonly maxLength: 2048;
83
+ readonly description: "The room's host, as a DID: where the room's epoch advances.";
84
+ };
85
+ readonly member: {
86
+ readonly type: "string";
87
+ readonly pattern: "^did:";
88
+ readonly maxLength: 2048;
89
+ readonly description: "The DID whose leaf is removed. Never the recipient's own leaf.";
90
+ };
91
+ readonly reason: {
92
+ readonly type: "string";
93
+ readonly minLength: 1;
94
+ readonly maxLength: 500;
95
+ readonly description: "Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential.";
96
+ };
97
+ readonly ext: {
98
+ readonly $ref: "#/$defs/Ext";
99
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
100
+ };
101
+ };
102
+ readonly $defs: {
103
+ readonly Response: {
104
+ readonly $anchor: "response";
105
+ readonly title: "Rooms Owner Group Remove — response payload";
106
+ readonly description: "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response. The room's new epoch, which the removed member holds no key for.";
107
+ readonly type: "object";
108
+ readonly additionalProperties: false;
109
+ readonly required: readonly ["roomId", "member", "epoch"];
110
+ readonly properties: {
111
+ readonly roomId: {
112
+ readonly type: "string";
113
+ readonly minLength: 1;
114
+ readonly maxLength: 512;
115
+ readonly description: "The room.";
116
+ };
117
+ readonly member: {
118
+ readonly type: "string";
119
+ readonly pattern: "^did:";
120
+ readonly maxLength: 2048;
121
+ readonly description: "Who was removed.";
122
+ };
123
+ readonly epoch: {
124
+ readonly type: "integer";
125
+ readonly minimum: 2;
126
+ readonly description: "The room epoch after the removal, as the host recorded it.";
127
+ };
128
+ readonly ext: {
129
+ readonly $ref: "#/$defs/Ext";
130
+ };
131
+ };
132
+ };
133
+ readonly Ext: {
134
+ readonly title: "Ext";
135
+ readonly 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.";
136
+ readonly type: "object";
137
+ readonly minProperties: 1;
138
+ readonly additionalProperties: true;
139
+ readonly propertyNames: {
140
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
141
+ };
142
+ };
143
+ };
144
+ };
145
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
146
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
147
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
148
+ readonly $ref: "#/$defs/Response";
149
+ readonly $defs: {
150
+ readonly Response: {
151
+ readonly $anchor: "response";
152
+ readonly title: "Rooms Owner Group Remove — response payload";
153
+ readonly description: "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response. The room's new epoch, which the removed member holds no key for.";
154
+ readonly type: "object";
155
+ readonly additionalProperties: false;
156
+ readonly required: readonly ["roomId", "member", "epoch"];
157
+ readonly properties: {
158
+ readonly roomId: {
159
+ readonly type: "string";
160
+ readonly minLength: 1;
161
+ readonly maxLength: 512;
162
+ readonly description: "The room.";
163
+ };
164
+ readonly member: {
165
+ readonly type: "string";
166
+ readonly pattern: "^did:";
167
+ readonly maxLength: 2048;
168
+ readonly description: "Who was removed.";
169
+ };
170
+ readonly epoch: {
171
+ readonly type: "integer";
172
+ readonly minimum: 2;
173
+ readonly description: "The room epoch after the removal, as the host recorded it.";
174
+ };
175
+ readonly ext: {
176
+ readonly $ref: "#/$defs/Ext";
177
+ };
178
+ };
179
+ };
180
+ readonly Ext: {
181
+ readonly title: "Ext";
182
+ readonly 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.";
183
+ readonly type: "object";
184
+ readonly minProperties: 1;
185
+ readonly additionalProperties: true;
186
+ readonly propertyNames: {
187
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
188
+ };
189
+ };
190
+ };
191
+ };
192
+ /**
193
+ * SPEC.md §7.2 policy for the request variant, from this specification's
194
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
195
+ * per-specification and cannot be derived from the document alone, and
196
+ * item 2 needs the schema this carries.
197
+ */
198
+ export declare const SPEC: {
199
+ readonly typeUri: "https://trusttasks.org/spec/rooms/owner/group/remove/0.1";
200
+ readonly isBearer: false;
201
+ readonly isProofRequired: true;
202
+ readonly isRecipientRequired: true;
203
+ readonly isIssuedAtRequired: true;
204
+ readonly payloadSchema: {
205
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
206
+ readonly $id: "https://trusttasks.org/spec/rooms/owner/group/remove/0.1";
207
+ readonly title: "Rooms Owner Group Remove — payload";
208
+ readonly type: "object";
209
+ readonly additionalProperties: false;
210
+ readonly required: readonly ["roomId", "host", "member"];
211
+ readonly properties: {
212
+ readonly roomId: {
213
+ readonly type: "string";
214
+ readonly minLength: 1;
215
+ readonly maxLength: 512;
216
+ readonly description: "The room whose group loses a member. The recipient MUST hold its group.";
217
+ };
218
+ readonly host: {
219
+ readonly type: "string";
220
+ readonly pattern: "^did:";
221
+ readonly maxLength: 2048;
222
+ readonly description: "The room's host, as a DID: where the room's epoch advances.";
223
+ };
224
+ readonly member: {
225
+ readonly type: "string";
226
+ readonly pattern: "^did:";
227
+ readonly maxLength: 2048;
228
+ readonly description: "The DID whose leaf is removed. Never the recipient's own leaf.";
229
+ };
230
+ readonly reason: {
231
+ readonly type: "string";
232
+ readonly minLength: 1;
233
+ readonly maxLength: 500;
234
+ readonly description: "Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential.";
235
+ };
236
+ readonly ext: {
237
+ readonly $ref: "#/$defs/Ext";
238
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
239
+ };
240
+ };
241
+ readonly $defs: {
242
+ readonly Response: {
243
+ readonly $anchor: "response";
244
+ readonly title: "Rooms Owner Group Remove — response payload";
245
+ readonly description: "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response. The room's new epoch, which the removed member holds no key for.";
246
+ readonly type: "object";
247
+ readonly additionalProperties: false;
248
+ readonly required: readonly ["roomId", "member", "epoch"];
249
+ readonly properties: {
250
+ readonly roomId: {
251
+ readonly type: "string";
252
+ readonly minLength: 1;
253
+ readonly maxLength: 512;
254
+ readonly description: "The room.";
255
+ };
256
+ readonly member: {
257
+ readonly type: "string";
258
+ readonly pattern: "^did:";
259
+ readonly maxLength: 2048;
260
+ readonly description: "Who was removed.";
261
+ };
262
+ readonly epoch: {
263
+ readonly type: "integer";
264
+ readonly minimum: 2;
265
+ readonly description: "The room epoch after the removal, as the host recorded it.";
266
+ };
267
+ readonly ext: {
268
+ readonly $ref: "#/$defs/Ext";
269
+ };
270
+ };
271
+ };
272
+ readonly Ext: {
273
+ readonly title: "Ext";
274
+ readonly 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.";
275
+ readonly type: "object";
276
+ readonly minProperties: 1;
277
+ readonly additionalProperties: true;
278
+ readonly propertyNames: {
279
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
280
+ };
281
+ };
282
+ };
283
+ };
284
+ };
285
+ /**
286
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
287
+ * tracks the *issuer* party's requirement because a response swaps the
288
+ * parties (§7.3 item 5).
289
+ */
290
+ export declare const RESPONSE_SPEC: {
291
+ readonly typeUri: "https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response";
292
+ readonly isBearer: false;
293
+ readonly isProofRequired: true;
294
+ readonly isRecipientRequired: true;
295
+ readonly isIssuedAtRequired: true;
296
+ readonly payloadSchema: {
297
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
298
+ readonly $ref: "#/$defs/Response";
299
+ readonly $defs: {
300
+ readonly Response: {
301
+ readonly $anchor: "response";
302
+ readonly title: "Rooms Owner Group Remove — response payload";
303
+ readonly description: "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response. The room's new epoch, which the removed member holds no key for.";
304
+ readonly type: "object";
305
+ readonly additionalProperties: false;
306
+ readonly required: readonly ["roomId", "member", "epoch"];
307
+ readonly properties: {
308
+ readonly roomId: {
309
+ readonly type: "string";
310
+ readonly minLength: 1;
311
+ readonly maxLength: 512;
312
+ readonly description: "The room.";
313
+ };
314
+ readonly member: {
315
+ readonly type: "string";
316
+ readonly pattern: "^did:";
317
+ readonly maxLength: 2048;
318
+ readonly description: "Who was removed.";
319
+ };
320
+ readonly epoch: {
321
+ readonly type: "integer";
322
+ readonly minimum: 2;
323
+ readonly description: "The room epoch after the removal, as the host recorded it.";
324
+ };
325
+ readonly ext: {
326
+ readonly $ref: "#/$defs/Ext";
327
+ };
328
+ };
329
+ };
330
+ readonly Ext: {
331
+ readonly title: "Ext";
332
+ readonly 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.";
333
+ readonly type: "object";
334
+ readonly minProperties: 1;
335
+ readonly additionalProperties: true;
336
+ readonly propertyNames: {
337
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
338
+ };
339
+ };
340
+ };
341
+ };
342
+ };
343
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/rooms/owner/group/remove/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,0DAAmE,CAAC;AAE5F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,4BAA4B,CAAC;AAEnD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,mEAA4E,CAAC;AAE9G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,oCAAoC,CAAC;AAE5D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuFjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,184 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/rooms/owner/group/remove/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/rooms/owner/group/remove/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/owner/group/remove/0.1#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/rooms/owner/group/remove/0.1",
21
+ "title": "Rooms Owner Group Remove — payload",
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": [
25
+ "roomId",
26
+ "host",
27
+ "member"
28
+ ],
29
+ "properties": {
30
+ "roomId": {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "maxLength": 512,
34
+ "description": "The room whose group loses a member. The recipient MUST hold its group."
35
+ },
36
+ "host": {
37
+ "type": "string",
38
+ "pattern": "^did:",
39
+ "maxLength": 2048,
40
+ "description": "The room's host, as a DID: where the room's epoch advances."
41
+ },
42
+ "member": {
43
+ "type": "string",
44
+ "pattern": "^did:",
45
+ "maxLength": 2048,
46
+ "description": "The DID whose leaf is removed. Never the recipient's own leaf."
47
+ },
48
+ "reason": {
49
+ "type": "string",
50
+ "minLength": 1,
51
+ "maxLength": 500,
52
+ "description": "Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential."
53
+ },
54
+ "ext": {
55
+ "$ref": "#/$defs/Ext",
56
+ "description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
57
+ }
58
+ },
59
+ "$defs": {
60
+ "Response": {
61
+ "$anchor": "response",
62
+ "title": "Rooms Owner Group Remove — response payload",
63
+ "description": "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response. The room's new epoch, which the removed member holds no key for.",
64
+ "type": "object",
65
+ "additionalProperties": false,
66
+ "required": [
67
+ "roomId",
68
+ "member",
69
+ "epoch"
70
+ ],
71
+ "properties": {
72
+ "roomId": {
73
+ "type": "string",
74
+ "minLength": 1,
75
+ "maxLength": 512,
76
+ "description": "The room."
77
+ },
78
+ "member": {
79
+ "type": "string",
80
+ "pattern": "^did:",
81
+ "maxLength": 2048,
82
+ "description": "Who was removed."
83
+ },
84
+ "epoch": {
85
+ "type": "integer",
86
+ "minimum": 2,
87
+ "description": "The room epoch after the removal, as the host recorded it."
88
+ },
89
+ "ext": {
90
+ "$ref": "#/$defs/Ext"
91
+ }
92
+ }
93
+ },
94
+ "Ext": {
95
+ "title": "Ext",
96
+ "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.",
97
+ "type": "object",
98
+ "minProperties": 1,
99
+ "additionalProperties": true,
100
+ "propertyNames": {
101
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
102
+ }
103
+ }
104
+ }
105
+ };
106
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
107
+ export const RESPONSE_PAYLOAD_SCHEMA = {
108
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
109
+ "$ref": "#/$defs/Response",
110
+ "$defs": {
111
+ "Response": {
112
+ "$anchor": "response",
113
+ "title": "Rooms Owner Group Remove — response payload",
114
+ "description": "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.1#response. The room's new epoch, which the removed member holds no key for.",
115
+ "type": "object",
116
+ "additionalProperties": false,
117
+ "required": [
118
+ "roomId",
119
+ "member",
120
+ "epoch"
121
+ ],
122
+ "properties": {
123
+ "roomId": {
124
+ "type": "string",
125
+ "minLength": 1,
126
+ "maxLength": 512,
127
+ "description": "The room."
128
+ },
129
+ "member": {
130
+ "type": "string",
131
+ "pattern": "^did:",
132
+ "maxLength": 2048,
133
+ "description": "Who was removed."
134
+ },
135
+ "epoch": {
136
+ "type": "integer",
137
+ "minimum": 2,
138
+ "description": "The room epoch after the removal, as the host recorded it."
139
+ },
140
+ "ext": {
141
+ "$ref": "#/$defs/Ext"
142
+ }
143
+ }
144
+ },
145
+ "Ext": {
146
+ "title": "Ext",
147
+ "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.",
148
+ "type": "object",
149
+ "minProperties": 1,
150
+ "additionalProperties": true,
151
+ "propertyNames": {
152
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
153
+ }
154
+ }
155
+ }
156
+ };
157
+ /**
158
+ * SPEC.md §7.2 policy for the request variant, from this specification's
159
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
160
+ * per-specification and cannot be derived from the document alone, and
161
+ * item 2 needs the schema this carries.
162
+ */
163
+ export const SPEC = {
164
+ typeUri: TYPE_URI,
165
+ isBearer: false,
166
+ isProofRequired: true,
167
+ isRecipientRequired: true,
168
+ isIssuedAtRequired: true,
169
+ payloadSchema: PAYLOAD_SCHEMA,
170
+ };
171
+ /**
172
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
173
+ * tracks the *issuer* party's requirement because a response swaps the
174
+ * parties (§7.3 item 5).
175
+ */
176
+ export const RESPONSE_SPEC = {
177
+ typeUri: RESPONSE_TYPE_URI,
178
+ isBearer: false,
179
+ isProofRequired: true,
180
+ isRecipientRequired: true,
181
+ isIssuedAtRequired: true,
182
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
183
+ };
184
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/rooms/owner/group/remove/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiDH,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,SA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EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;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,IAAI;IACxB,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,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -17,7 +17,7 @@ export interface RoomsOwnerRegisterPayload {
17
17
  */
18
18
  visibility: Visibility;
19
19
  /**
20
- * The accountable party. Absent means the caller — a registration is normally made by the owner it names, and defaulting saves a surface repeating the DID it just authenticated as. Present and different is legitimate: an operator registering on behalf of the party who will answer for the room.
20
+ * The accountable party, and the issuer of the rooms/create document the recipient sends on its behalf: the recipient signs it with a key of this DID that it holds, never as itself. Absent means the caller — a registration is normally made by the owner it names. A recipient holding no key for it refuses with permissionDenied before contacting the host.
21
21
  */
22
22
  ownerDid?: string;
23
23
  /**
@@ -89,7 +89,7 @@ export declare const PAYLOAD_SCHEMA: {
89
89
  };
90
90
  readonly ownerDid: {
91
91
  readonly type: "string";
92
- readonly description: "The accountable party. Absent means the caller — a registration is normally made by the owner it names, and defaulting saves a surface repeating the DID it just authenticated as. Present and different is legitimate: an operator registering on behalf of the party who will answer for the room.";
92
+ readonly description: "The accountable party, and the issuer of the rooms/create document the recipient sends on its behalf: the recipient signs it with a key of this DID that it holds, never as itself. Absent means the caller — a registration is normally made by the owner it names. A recipient holding no key for it refuses with permissionDenied before contacting the host.";
93
93
  };
94
94
  readonly retentionPolicy: {
95
95
  readonly $ref: "#/$defs/RetentionPolicy";
@@ -245,7 +245,7 @@ export declare const SPEC: {
245
245
  };
246
246
  readonly ownerDid: {
247
247
  readonly type: "string";
248
- readonly description: "The accountable party. Absent means the caller — a registration is normally made by the owner it names, and defaulting saves a surface repeating the DID it just authenticated as. Present and different is legitimate: an operator registering on behalf of the party who will answer for the room.";
248
+ readonly description: "The accountable party, and the issuer of the rooms/create document the recipient sends on its behalf: the recipient signs it with a key of this DID that it holds, never as itself. Absent means the caller — a registration is normally made by the owner it names. A recipient holding no key for it refuses with permissionDenied before contacting the host.";
249
249
  };
250
250
  readonly retentionPolicy: {
251
251
  readonly $ref: "#/$defs/RetentionPolicy";
@@ -41,7 +41,7 @@ export const PAYLOAD_SCHEMA = {
41
41
  },
42
42
  "ownerDid": {
43
43
  "type": "string",
44
- "description": "The accountable party. Absent means the caller — a registration is normally made by the owner it names, and defaulting saves a surface repeating the DID it just authenticated as. Present and different is legitimate: an operator registering on behalf of the party who will answer for the room."
44
+ "description": "The accountable party, and the issuer of the rooms/create document the recipient sends on its behalf: the recipient signs it with a key of this DID that it holds, never as itself. Absent means the caller — a registration is normally made by the owner it names. A recipient holding no key for it refuses with permissionDenied before contacting the host."
45
45
  },
46
46
  "retentionPolicy": {
47
47
  "$ref": "#/$defs/RetentionPolicy",
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/rooms/owner/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,sDAA+D,CAAC;AAKxF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,+DAAwE,CAAC;AAK1G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8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iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;QACD,iBAAiB,EAAE;YACjB,OAAO,EAAE,iBAAiB;YAC1B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,SAAS;gBACT,UAAU;aACX;YACD,aAAa,EAAE,6iCAA6iC;YAC5jC,UAAU,EAAE,4YAA4Y;SACzZ;QACD,YAAY,EAAE;YACZ,OAAO,EAAE,YAAY;YACrB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,MAAM;gBACN,YAAY;gBACZ,SAAS;aACV;YACD,aAAa,EAAE,8gBAA8gB;SAC9hB;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,IAAI;IACxB,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,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/rooms/owner/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,sDAA+D,CAAC;AAKxF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GA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
5
+ /**
6
+ * Shared types for rooms a community owns rather than merely hosts: the vtc/rooms/community/* tasks an administrator runs them with, and the vtc/rooms/offers/* tasks a member collects and accepts an admission with. The community is the room's owner; the community's own VTA holds the room's signing key and, on a sealed tier, the community's place in its MLS group. The community holds no room key and no group secret. What it records here is the owner's own record of whom it admitted — never read when the community serves the room as its host, where authorization is the room's credential chain and nothing else. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
7
+ */
8
+ export interface VTCSharedCommunityOwnedRoomDefinitions {
9
+ [k: string]: unknown | undefined;
10
+ }
11
+ /**
12
+ * The definitions this shared schema publishes, hoisted to one declaration each.
13
+ * See "../../../_shared/components.js".
14
+ */
15
+ export type { CommunityRoom, MemberAction, MemberActions, MemberState, Offer, OfferCredentials, Reason, RoomLabel, RoomMember } from "../../../_shared/components.js";
16
+ //# sourceMappingURL=community-room.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"community-room.d.ts","sourceRoot":"","sources":["../../../../src/vtc/_shared/0.1/community-room.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACrD,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/_shared/0.1/community-room.schema.json
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=community-room.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"community-room.js","sourceRoot":"","sources":["../../../../src/vtc/_shared/0.1/community-room.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -23,5 +23,5 @@ export interface VTCAdminEventsSharedDefinitions {
23
23
  * The definitions this shared schema publishes, hoisted to one declaration each.
24
24
  * See "../../../../../_shared/components.js".
25
25
  */
26
- export type { ResumeToken, Topic } from "../../../../../_shared/components.js";
26
+ export type { ResumeToken, Topic_VtcAdminEventsV0_1 as Topic } from "../../../../../_shared/components.js";
27
27
  //# sourceMappingURL=topic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/admin/events/_shared/0.1/topic.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC"}
1
+ {"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/admin/events/_shared/0.1/topic.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,WAAW,EAAE,wBAAwB,IAAI,KAAK,EAAE,MAAM,sCAAsC,CAAC"}