@agentshouse/mdruntime-adapter 0.1.0-c392f202fd8ec → 0.1.0-c39809d14a99f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.ts +2 -163
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +7 -222
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +65 -70
- package/dist/chunks.d.ts +38 -0
- package/dist/chunks.d.ts.map +1 -0
- package/dist/chunks.js +247 -0
- package/dist/discovery.d.ts +10 -3
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +35 -8
- package/dist/history.d.ts +12 -0
- package/dist/history.d.ts.map +1 -0
- package/dist/history.js +92 -0
- package/dist/house-model.d.ts +282 -2593
- package/dist/house-model.d.ts.map +1 -1
- package/dist/house-model.js +153 -1419
- package/dist/index.d.ts +6 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/model.d.ts +5 -7
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +30 -18
- package/dist/read.d.ts +19 -9
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +46 -143
- package/dist/room-types.d.ts +2 -2
- package/dist/room-types.d.ts.map +1 -1
- package/dist/room-types.js +6 -9
- package/dist/search.d.ts +5 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +47 -0
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +34 -42
- package/dist/space-schema.d.ts +7 -0
- package/dist/space-schema.d.ts.map +1 -0
- package/dist/space-schema.js +18 -0
- package/dist/stream.d.ts +6 -4
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +119 -20
- package/dist/transport.d.ts +20 -11
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +5 -1
- package/dist/write.d.ts +2 -1
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +8 -23
- package/package.json +2 -2
- package/dist/part.d.ts +0 -14
- package/dist/part.d.ts.map +0 -1
- package/dist/part.js +0 -90
- package/dist/room-stream.d.ts +0 -19
- package/dist/room-stream.d.ts.map +0 -1
- package/dist/room-stream.js +0 -57
package/dist/house-model.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TypedPath } from '@agentshouse/mdruntime';
|
|
1
2
|
export declare const HOUSE_MODEL_DECLARATION: {
|
|
2
3
|
readonly $defs: {
|
|
3
4
|
readonly room: {
|
|
@@ -26,2225 +27,119 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
26
27
|
readonly maxLength: 512;
|
|
27
28
|
readonly pattern: '^(?:a_[A-Za-z0-9._-]+(?:\\/source)?|r_[A-Za-z0-9._-]+(?:\\/(?:settings|settings\\/schema|settings\\/model|settings\\/indexing|content))?)$';
|
|
28
29
|
};
|
|
29
|
-
readonly request: {
|
|
30
|
-
readonly description: 'One Routine Request of a Room.';
|
|
31
|
-
readonly type: 'object';
|
|
32
|
-
readonly additionalProperties: false;
|
|
33
|
-
readonly properties: {
|
|
34
|
-
readonly routine_request: {
|
|
35
|
-
readonly $ref: '#/$defs/id';
|
|
36
|
-
};
|
|
37
|
-
readonly conversation: {
|
|
38
|
-
readonly $ref: '#/$defs/id';
|
|
39
|
-
};
|
|
40
|
-
readonly origin: {
|
|
41
|
-
readonly enum: readonly ['user', 'trigger'];
|
|
42
|
-
};
|
|
43
|
-
readonly state: {
|
|
44
|
-
readonly enum: readonly ['awaiting_approval', 'started', 'finished', 'not_started', 'withdrawn_by_author', 'withdrawn_admission', 'declined'];
|
|
45
|
-
};
|
|
46
|
-
readonly target: {
|
|
47
|
-
readonly type: 'object';
|
|
48
|
-
readonly additionalProperties: false;
|
|
49
|
-
readonly properties: {
|
|
50
|
-
readonly user: {
|
|
51
|
-
readonly $ref: '#/$defs/id';
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
readonly required: readonly ['user'];
|
|
55
|
-
};
|
|
56
|
-
readonly record: {
|
|
57
|
-
readonly $ref: '#/$defs/id';
|
|
58
|
-
};
|
|
59
|
-
readonly routine_access: {
|
|
60
|
-
readonly $ref: '#/$defs/id';
|
|
61
|
-
};
|
|
62
|
-
readonly agent: {
|
|
63
|
-
readonly $ref: '#/$defs/id';
|
|
64
|
-
};
|
|
65
|
-
readonly routine: {
|
|
66
|
-
readonly type: 'object';
|
|
67
|
-
readonly additionalProperties: false;
|
|
68
|
-
readonly properties: {
|
|
69
|
-
readonly name: {
|
|
70
|
-
readonly type: 'string';
|
|
71
|
-
};
|
|
72
|
-
readonly version: {
|
|
73
|
-
readonly type: 'integer';
|
|
74
|
-
readonly exclusiveMinimum: 0;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
readonly minProperties: 1;
|
|
78
|
-
};
|
|
79
|
-
readonly approved: {
|
|
80
|
-
readonly type: 'string';
|
|
81
|
-
readonly format: 'date-time';
|
|
82
|
-
};
|
|
83
|
-
readonly approved_by: {
|
|
84
|
-
readonly type: 'object';
|
|
85
|
-
readonly additionalProperties: false;
|
|
86
|
-
readonly properties: {
|
|
87
|
-
readonly user: {
|
|
88
|
-
readonly $ref: '#/$defs/id';
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
readonly required: readonly ['user'];
|
|
92
|
-
};
|
|
93
|
-
readonly settled_by: {
|
|
94
|
-
readonly type: 'object';
|
|
95
|
-
readonly additionalProperties: false;
|
|
96
|
-
readonly properties: {
|
|
97
|
-
readonly user: {
|
|
98
|
-
readonly $ref: '#/$defs/id';
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
readonly required: readonly ['user'];
|
|
102
|
-
};
|
|
103
|
-
readonly failure_category: {
|
|
104
|
-
readonly enum: readonly ['routine_access_not_found', 'routine_retired', 'target_agent_unavailable', 'agent_unavailable', 'admission_lapsed'];
|
|
105
|
-
};
|
|
106
|
-
readonly created: {
|
|
107
|
-
readonly type: 'string';
|
|
108
|
-
readonly format: 'date-time';
|
|
109
|
-
};
|
|
110
|
-
readonly activated: {
|
|
111
|
-
readonly type: 'string';
|
|
112
|
-
readonly format: 'date-time';
|
|
113
|
-
};
|
|
114
|
-
readonly settled: {
|
|
115
|
-
readonly type: 'string';
|
|
116
|
-
readonly format: 'date-time';
|
|
117
|
-
};
|
|
118
|
-
readonly environment_starting: {
|
|
119
|
-
readonly const: true;
|
|
120
|
-
};
|
|
121
|
-
readonly undelivered: {
|
|
122
|
-
readonly const: true;
|
|
123
|
-
};
|
|
124
|
-
readonly result: {
|
|
125
|
-
readonly type: 'string';
|
|
126
|
-
};
|
|
127
|
-
readonly url: {
|
|
128
|
-
readonly type: 'string';
|
|
129
|
-
readonly format: 'uri';
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
readonly required: readonly ['routine_request', 'origin', 'state', 'target', 'created'];
|
|
133
|
-
};
|
|
134
|
-
readonly caller: {
|
|
135
|
-
readonly description: "One caller of a Routine Access, a User under `user` with their account `email` and display `name`, or under `user` alone once they left the Room, or the Access's `room`, whose Triggers then call.";
|
|
136
|
-
readonly type: 'object';
|
|
137
|
-
readonly additionalProperties: false;
|
|
138
|
-
readonly properties: {
|
|
139
|
-
readonly user: {
|
|
140
|
-
readonly $ref: '#/$defs/id';
|
|
141
|
-
};
|
|
142
|
-
readonly email: {
|
|
143
|
-
readonly type: 'string';
|
|
144
|
-
};
|
|
145
|
-
readonly name: {
|
|
146
|
-
readonly type: 'string';
|
|
147
|
-
};
|
|
148
|
-
readonly room: {
|
|
149
|
-
readonly $ref: '#/$defs/room';
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
readonly minProperties: 1;
|
|
153
|
-
};
|
|
154
|
-
readonly trigger_test: {
|
|
155
|
-
readonly description: 'One test of a Trigger condition as the Trigger reference page writes one, a value compared at a `path` or `all`, `any` or `not` of tests.';
|
|
156
|
-
readonly type: 'object';
|
|
157
|
-
readonly additionalProperties: true;
|
|
158
|
-
};
|
|
159
|
-
readonly trigger_values: {
|
|
160
|
-
readonly type: 'array';
|
|
161
|
-
readonly items: {
|
|
162
|
-
readonly anyOf: readonly [{
|
|
163
|
-
readonly type: 'string';
|
|
164
|
-
}, {
|
|
165
|
-
readonly type: 'number';
|
|
166
|
-
}, {
|
|
167
|
-
readonly type: 'boolean';
|
|
168
|
-
}];
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
readonly trigger_scope: {
|
|
172
|
-
readonly description: 'The documents a Trigger condition watches, by `type`, by `folder` or one document at its `path`, which `create_trigger` takes as `document`.';
|
|
173
|
-
readonly type: 'object';
|
|
174
|
-
readonly additionalProperties: false;
|
|
175
|
-
readonly properties: {
|
|
176
|
-
readonly type: {
|
|
177
|
-
readonly type: 'string';
|
|
178
|
-
};
|
|
179
|
-
readonly folder: {
|
|
180
|
-
readonly type: 'string';
|
|
181
|
-
};
|
|
182
|
-
readonly path: {
|
|
183
|
-
readonly type: 'string';
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
readonly minProperties: 1;
|
|
187
|
-
readonly maxProperties: 1;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
readonly 'house-account': {
|
|
191
|
-
readonly description: "The User's own identifier as `user`, their registration as `created`, their email verification and chosen language, every notification group with the channels it now reaches as `notifications`, `telegram: available` while the Building runs its Telegram bots and no Telegram account is linked to it, `linked` while one is, `started` once that account has also pressed Start in the Inbox bot, `meta`, the Building's Meta app as `application` and its signup configuration as `configuration` while it offers Connect Meta's signup, or `keys` while a business connects its own Meta app by its keys, `tiktok: available` while it offers Connect TikTok, `building: administrator` while the User is one of the Building's administrators, `full_house: true` while the User holds Full House, and the Building's caps of an App function's run as `function_limits`, its time in milliseconds as `time_ms`, its memory in bytes as `memory_bytes` and its external calls as `external_calls`.";
|
|
192
|
-
readonly properties: {
|
|
193
|
-
readonly reflected: {
|
|
194
|
-
readonly type: 'string';
|
|
195
|
-
readonly format: 'date-time';
|
|
196
|
-
};
|
|
197
|
-
readonly user: {
|
|
198
|
-
readonly $ref: '#/$defs/id';
|
|
199
|
-
};
|
|
200
|
-
readonly email_verified: {
|
|
201
|
-
readonly type: 'string';
|
|
202
|
-
readonly format: 'date-time';
|
|
203
|
-
};
|
|
204
|
-
readonly language: {
|
|
205
|
-
readonly enum: readonly ['en'];
|
|
206
|
-
};
|
|
207
|
-
readonly notifications: {
|
|
208
|
-
readonly type: 'array';
|
|
209
|
-
readonly items: {
|
|
210
|
-
readonly type: 'object';
|
|
211
|
-
readonly additionalProperties: false;
|
|
212
|
-
readonly properties: {
|
|
213
|
-
readonly group: {
|
|
214
|
-
readonly type: 'string';
|
|
215
|
-
};
|
|
216
|
-
readonly channels: {
|
|
217
|
-
readonly type: 'array';
|
|
218
|
-
readonly items: {
|
|
219
|
-
readonly type: 'string';
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
readonly required: readonly ['group', 'channels'];
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
readonly created: {
|
|
227
|
-
readonly type: 'string';
|
|
228
|
-
readonly format: 'date-time';
|
|
229
|
-
};
|
|
230
|
-
readonly telegram: {
|
|
231
|
-
readonly enum: readonly ['available', 'linked', 'started'];
|
|
232
|
-
};
|
|
233
|
-
readonly meta: {
|
|
234
|
-
readonly anyOf: readonly [{
|
|
235
|
-
readonly const: 'keys';
|
|
236
|
-
}, {
|
|
237
|
-
readonly type: 'object';
|
|
238
|
-
readonly additionalProperties: false;
|
|
239
|
-
readonly properties: {
|
|
240
|
-
readonly application: {
|
|
241
|
-
readonly type: 'string';
|
|
242
|
-
readonly pattern: '^\\d{1,32}$';
|
|
243
|
-
};
|
|
244
|
-
readonly configuration: {
|
|
245
|
-
readonly type: 'string';
|
|
246
|
-
readonly pattern: '^\\d{1,32}$';
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
readonly required: readonly ['application', 'configuration'];
|
|
250
|
-
}];
|
|
251
|
-
};
|
|
252
|
-
readonly tiktok: {
|
|
253
|
-
readonly enum: readonly ['available'];
|
|
254
|
-
};
|
|
255
|
-
readonly building: {
|
|
256
|
-
readonly enum: readonly ['administrator'];
|
|
257
|
-
};
|
|
258
|
-
readonly full_house: {
|
|
259
|
-
readonly const: true;
|
|
260
|
-
};
|
|
261
|
-
readonly function_limits: {
|
|
262
|
-
readonly type: 'object';
|
|
263
|
-
readonly additionalProperties: false;
|
|
264
|
-
readonly properties: {
|
|
265
|
-
readonly time_ms: {
|
|
266
|
-
readonly type: 'integer';
|
|
267
|
-
readonly exclusiveMinimum: 0;
|
|
268
|
-
};
|
|
269
|
-
readonly memory_bytes: {
|
|
270
|
-
readonly type: 'integer';
|
|
271
|
-
readonly exclusiveMinimum: 0;
|
|
272
|
-
};
|
|
273
|
-
readonly external_calls: {
|
|
274
|
-
readonly type: 'integer';
|
|
275
|
-
readonly exclusiveMinimum: 0;
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
readonly required: readonly ['time_ms', 'memory_bytes', 'external_calls'];
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
readonly required: readonly ['reflected', 'user', 'email_verified', 'notifications', 'created', 'function_limits'];
|
|
282
|
-
};
|
|
283
|
-
readonly 'house-agent': {
|
|
284
|
-
readonly description: 'One registered Agent this User owns, with the `profile` and `environment` it binds, when it was `created` and, once it is, `retired`.';
|
|
285
|
-
readonly properties: {
|
|
286
|
-
readonly reflected: {
|
|
287
|
-
readonly type: 'string';
|
|
288
|
-
readonly format: 'date-time';
|
|
289
|
-
};
|
|
290
|
-
readonly agent: {
|
|
291
|
-
readonly $ref: '#/$defs/id';
|
|
292
|
-
};
|
|
293
|
-
readonly name: {
|
|
294
|
-
readonly type: 'string';
|
|
295
|
-
};
|
|
296
|
-
readonly profile: {
|
|
297
|
-
readonly $ref: '#/$defs/id';
|
|
298
|
-
};
|
|
299
|
-
readonly environment: {
|
|
300
|
-
readonly $ref: '#/$defs/id';
|
|
301
|
-
};
|
|
302
|
-
readonly launch_directory: {
|
|
303
|
-
readonly type: 'string';
|
|
304
|
-
};
|
|
305
|
-
readonly created: {
|
|
306
|
-
readonly type: 'string';
|
|
307
|
-
readonly format: 'date-time';
|
|
308
|
-
};
|
|
309
|
-
readonly retired: {
|
|
310
|
-
readonly type: 'string';
|
|
311
|
-
readonly format: 'date-time';
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
readonly required: readonly ['reflected', 'agent', 'name', 'profile', 'environment', 'launch_directory', 'created'];
|
|
315
|
-
};
|
|
316
|
-
readonly 'house-agent-profile': {
|
|
317
|
-
readonly description: 'One reusable Agent Profile this User owns, with the execution route it binds and the `arguments` that route passes its CLI. Its body is its instructions, whole, in Markdown.';
|
|
318
|
-
readonly properties: {
|
|
319
|
-
readonly reflected: {
|
|
320
|
-
readonly type: 'string';
|
|
321
|
-
readonly format: 'date-time';
|
|
322
|
-
};
|
|
323
|
-
readonly profile: {
|
|
324
|
-
readonly $ref: '#/$defs/id';
|
|
325
|
-
};
|
|
326
|
-
readonly name: {
|
|
327
|
-
readonly type: 'string';
|
|
328
|
-
};
|
|
329
|
-
readonly revision: {
|
|
330
|
-
readonly type: 'integer';
|
|
331
|
-
readonly minimum: 0;
|
|
332
|
-
};
|
|
333
|
-
readonly adapter_kind: {
|
|
334
|
-
readonly type: 'string';
|
|
335
|
-
};
|
|
336
|
-
readonly model: {
|
|
337
|
-
readonly type: 'string';
|
|
338
|
-
};
|
|
339
|
-
readonly effort: {
|
|
340
|
-
readonly type: 'string';
|
|
341
|
-
};
|
|
342
|
-
readonly mode: {
|
|
343
|
-
readonly type: 'string';
|
|
344
|
-
};
|
|
345
|
-
readonly arguments: {
|
|
346
|
-
readonly type: 'array';
|
|
347
|
-
readonly items: {
|
|
348
|
-
readonly type: 'string';
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
readonly required: readonly ['reflected', 'profile', 'name', 'revision'];
|
|
353
|
-
};
|
|
354
|
-
readonly 'house-app': {
|
|
355
|
-
readonly description: "One App this User owns, holds or installed, `ownership` naming whether it is its own or one it holds, its `owner` by `name` when another User owns it, and `my_app` `true` on this User's My App alone, with the path of its window on the control origin as `address`, its tab icon for a light and for a dark appearance as image data addresses with, while the icon is generated, its one to four colours, blend and angle, its running release as `latest_release` by `release` and `sequence`, with the external origins it declares as `external_origins`, whether its code reaches this User's conversations as `conversations`, the Room slots it declares in order as `room_slots`, each `slot` with its `access` and `types`, and the names of the App functions it declares in order as `functions`, each installation this User holds, and every User who holds the App as `holders`, this User and its owner included, by `user`, `name` and `email`. Each installation entry names the `installation`, the App's running `release` and when it was installed as `created`. Each features entry names, for an App this User does not own, a `feature`, a browser feature, a House model type or a House act its release declares, and its `consent`, `allowed` or `denied` the first time the App asked; a feature never asked is absent. `features_version` is the version of this User's latest consent change for the App.";
|
|
356
|
-
readonly properties: {
|
|
357
|
-
readonly reflected: {
|
|
358
|
-
readonly type: 'string';
|
|
359
|
-
readonly format: 'date-time';
|
|
360
|
-
};
|
|
361
|
-
readonly app: {
|
|
362
|
-
readonly $ref: '#/$defs/app';
|
|
363
|
-
};
|
|
364
|
-
readonly address: {
|
|
365
|
-
readonly type: 'string';
|
|
366
|
-
readonly pattern: '^\\/app\\/a_([0123456789abcdefghjkmnpqrstvwxyz]+)\\.([0123456789abcdefghjkmnpqrstvwxyz])$';
|
|
367
|
-
};
|
|
368
|
-
readonly name: {
|
|
369
|
-
readonly type: 'string';
|
|
370
|
-
};
|
|
371
|
-
readonly ownership: {
|
|
372
|
-
readonly enum: readonly ['own', 'held'];
|
|
373
|
-
};
|
|
374
|
-
readonly owner: {
|
|
375
|
-
readonly type: 'object';
|
|
376
|
-
readonly additionalProperties: false;
|
|
377
|
-
readonly properties: {
|
|
378
|
-
readonly name: {
|
|
379
|
-
readonly type: 'string';
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
readonly required: readonly ['name'];
|
|
383
|
-
};
|
|
384
|
-
readonly my_app: {
|
|
385
|
-
readonly const: true;
|
|
386
|
-
};
|
|
387
|
-
readonly created: {
|
|
388
|
-
readonly type: 'string';
|
|
389
|
-
readonly format: 'date-time';
|
|
390
|
-
};
|
|
391
|
-
readonly tab_icon_light: {
|
|
392
|
-
readonly type: 'string';
|
|
393
|
-
readonly pattern: '^data:image\\/';
|
|
394
|
-
};
|
|
395
|
-
readonly tab_icon_dark: {
|
|
396
|
-
readonly type: 'string';
|
|
397
|
-
readonly pattern: '^data:image\\/';
|
|
398
|
-
};
|
|
399
|
-
readonly tab_icon_colours: {
|
|
400
|
-
readonly type: 'array';
|
|
401
|
-
readonly items: {
|
|
402
|
-
readonly type: 'string';
|
|
403
|
-
readonly pattern: '^#[0-9a-f]{6}$';
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
readonly tab_icon_blend: {
|
|
407
|
-
readonly enum: readonly ['linear', 'radial'];
|
|
408
|
-
};
|
|
409
|
-
readonly tab_icon_angle: {
|
|
410
|
-
readonly type: 'integer';
|
|
411
|
-
readonly minimum: 0;
|
|
412
|
-
readonly maximum: 359;
|
|
413
|
-
};
|
|
414
|
-
readonly latest_release: {
|
|
415
|
-
readonly type: 'object';
|
|
416
|
-
readonly additionalProperties: false;
|
|
417
|
-
readonly properties: {
|
|
418
|
-
readonly release: {
|
|
419
|
-
readonly $ref: '#/$defs/id';
|
|
420
|
-
};
|
|
421
|
-
readonly sequence: {
|
|
422
|
-
readonly type: 'integer';
|
|
423
|
-
readonly exclusiveMinimum: 0;
|
|
424
|
-
};
|
|
425
|
-
};
|
|
426
|
-
readonly required: readonly ['release', 'sequence'];
|
|
427
|
-
};
|
|
428
|
-
readonly external_origins: {
|
|
429
|
-
readonly type: 'array';
|
|
430
|
-
readonly items: {
|
|
431
|
-
readonly type: 'string';
|
|
432
|
-
readonly format: 'uri';
|
|
433
|
-
};
|
|
434
|
-
};
|
|
435
|
-
readonly conversations: {
|
|
436
|
-
readonly enum: readonly ['yes', 'no'];
|
|
437
|
-
};
|
|
438
|
-
readonly room_slots: {
|
|
439
|
-
readonly type: 'array';
|
|
440
|
-
readonly items: {
|
|
441
|
-
readonly type: 'object';
|
|
442
|
-
readonly additionalProperties: false;
|
|
443
|
-
readonly properties: {
|
|
444
|
-
readonly slot: {
|
|
445
|
-
readonly type: 'string';
|
|
446
|
-
};
|
|
447
|
-
readonly access: {
|
|
448
|
-
readonly enum: readonly ['read', 'write'];
|
|
449
|
-
};
|
|
450
|
-
readonly types: {
|
|
451
|
-
readonly type: 'array';
|
|
452
|
-
readonly items: {
|
|
453
|
-
readonly type: 'string';
|
|
454
|
-
};
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
readonly required: readonly ['slot', 'access', 'types'];
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
readonly functions: {
|
|
461
|
-
readonly type: 'array';
|
|
462
|
-
readonly items: {
|
|
463
|
-
readonly type: 'string';
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
readonly installations: {
|
|
467
|
-
readonly type: 'array';
|
|
468
|
-
readonly items: {
|
|
469
|
-
readonly type: 'object';
|
|
470
|
-
readonly additionalProperties: false;
|
|
471
|
-
readonly properties: {
|
|
472
|
-
readonly installation: {
|
|
473
|
-
readonly $ref: '#/$defs/id';
|
|
474
|
-
};
|
|
475
|
-
readonly release: {
|
|
476
|
-
readonly $ref: '#/$defs/id';
|
|
477
|
-
};
|
|
478
|
-
readonly created: {
|
|
479
|
-
readonly type: 'string';
|
|
480
|
-
readonly format: 'date-time';
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
readonly required: readonly ['installation', 'release', 'created'];
|
|
484
|
-
};
|
|
485
|
-
};
|
|
486
|
-
readonly holders: {
|
|
487
|
-
readonly type: 'array';
|
|
488
|
-
readonly items: {
|
|
489
|
-
readonly type: 'object';
|
|
490
|
-
readonly additionalProperties: false;
|
|
491
|
-
readonly properties: {
|
|
492
|
-
readonly user: {
|
|
493
|
-
readonly $ref: '#/$defs/id';
|
|
494
|
-
};
|
|
495
|
-
readonly name: {
|
|
496
|
-
readonly type: 'string';
|
|
497
|
-
};
|
|
498
|
-
readonly email: {
|
|
499
|
-
readonly type: 'string';
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
readonly required: readonly ['user', 'name', 'email'];
|
|
503
|
-
};
|
|
504
|
-
};
|
|
505
|
-
readonly features: {
|
|
506
|
-
readonly type: 'array';
|
|
507
|
-
readonly items: {
|
|
508
|
-
readonly type: 'object';
|
|
509
|
-
readonly additionalProperties: false;
|
|
510
|
-
readonly properties: {
|
|
511
|
-
readonly feature: {
|
|
512
|
-
readonly type: 'string';
|
|
513
|
-
};
|
|
514
|
-
readonly consent: {
|
|
515
|
-
readonly enum: readonly ['allowed', 'denied'];
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
readonly required: readonly ['feature', 'consent'];
|
|
519
|
-
};
|
|
520
|
-
};
|
|
521
|
-
readonly features_version: {
|
|
522
|
-
readonly type: 'integer';
|
|
523
|
-
readonly exclusiveMinimum: 0;
|
|
524
|
-
};
|
|
525
|
-
};
|
|
526
|
-
readonly required: readonly ['reflected', 'app', 'address', 'name', 'ownership', 'created'];
|
|
527
|
-
};
|
|
528
|
-
readonly 'house-app-preferences': {
|
|
529
|
-
readonly description: "An App's preferences. Its own vocabulary is in the body.";
|
|
530
|
-
readonly properties: {
|
|
531
|
-
readonly app: {
|
|
532
|
-
readonly $ref: '#/$defs/app';
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
readonly required: readonly ['app'];
|
|
536
|
-
};
|
|
537
|
-
readonly 'house-app-room-binding': {
|
|
538
|
-
readonly description: "One durable App-Room binding this User holds: an ordered Room list, one Shared schema, or `rooms`, `all` for every Room this User has or `all_but_private` for every one but their Private Room, for a named Room slot of one `app`, shared by every device and browser installation they sign in from. Only this User's own bindings appear here. A Shared-schema binding names the `shared_schema` with its own structural `compatibility` and `findings`, the Rooms that currently use it and this User reads, and how many Rooms the instance bound leaves out. A `rooms` binding holds this User's Rooms that fit the slot, and `left_out` counts the others and those past the instance bound. Each entry names a `room` and the last structural comparison of the slot with its selected model as `compatibility`, `unchecked`, `compatible` or `incompatible`, and each finding a `room` and one exact structural `finding` of it against the slot. An explicit entry whose Room this User cannot read is absent until access returns; an empty explicit list has no document. An incompatible entry or Shared schema blocks nothing: the App still opens and the model still changes.";
|
|
539
|
-
readonly properties: {
|
|
540
|
-
readonly reflected: {
|
|
541
|
-
readonly type: 'string';
|
|
542
|
-
readonly format: 'date-time';
|
|
543
|
-
};
|
|
544
|
-
readonly app: {
|
|
545
|
-
readonly $ref: '#/$defs/app';
|
|
546
|
-
};
|
|
547
|
-
readonly slot: {
|
|
548
|
-
readonly type: 'string';
|
|
549
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
550
|
-
};
|
|
551
|
-
readonly types: {
|
|
552
|
-
readonly type: 'array';
|
|
553
|
-
readonly items: {
|
|
554
|
-
readonly type: 'string';
|
|
555
|
-
};
|
|
556
|
-
};
|
|
557
|
-
readonly slot_access: {
|
|
558
|
-
readonly enum: readonly ['read', 'write'];
|
|
559
|
-
};
|
|
560
|
-
readonly shared_schema: {
|
|
561
|
-
readonly type: 'object';
|
|
562
|
-
readonly additionalProperties: false;
|
|
563
|
-
readonly properties: {
|
|
564
|
-
readonly shared_schema: {
|
|
565
|
-
readonly $ref: '#/$defs/id';
|
|
566
|
-
};
|
|
567
|
-
readonly compatibility: {
|
|
568
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
569
|
-
};
|
|
570
|
-
readonly findings: {
|
|
571
|
-
readonly type: 'array';
|
|
572
|
-
readonly items: {
|
|
573
|
-
readonly type: 'string';
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
readonly required: readonly ['shared_schema', 'compatibility', 'findings'];
|
|
578
|
-
};
|
|
579
|
-
readonly rooms: {
|
|
580
|
-
readonly enum: readonly ['all', 'all_but_private'];
|
|
581
|
-
};
|
|
582
|
-
readonly left_out: {
|
|
583
|
-
readonly type: 'integer';
|
|
584
|
-
readonly minimum: 0;
|
|
585
|
-
};
|
|
586
|
-
readonly entries: {
|
|
587
|
-
readonly type: 'array';
|
|
588
|
-
readonly items: {
|
|
589
|
-
readonly type: 'object';
|
|
590
|
-
readonly additionalProperties: false;
|
|
591
|
-
readonly properties: {
|
|
592
|
-
readonly room: {
|
|
593
|
-
readonly $ref: '#/$defs/room';
|
|
594
|
-
};
|
|
595
|
-
readonly compatibility: {
|
|
596
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
597
|
-
};
|
|
598
|
-
};
|
|
599
|
-
readonly required: readonly ['room', 'compatibility'];
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
readonly findings: {
|
|
603
|
-
readonly type: 'array';
|
|
604
|
-
readonly items: {
|
|
605
|
-
readonly type: 'object';
|
|
606
|
-
readonly additionalProperties: false;
|
|
607
|
-
readonly properties: {
|
|
608
|
-
readonly room: {
|
|
609
|
-
readonly $ref: '#/$defs/room';
|
|
610
|
-
};
|
|
611
|
-
readonly finding: {
|
|
612
|
-
readonly type: 'string';
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
readonly required: readonly ['room', 'finding'];
|
|
616
|
-
};
|
|
617
|
-
};
|
|
618
|
-
};
|
|
619
|
-
readonly required: readonly ['reflected', 'app', 'slot'];
|
|
620
|
-
};
|
|
621
|
-
readonly 'house-client': {
|
|
622
|
-
readonly description: 'One MCP client this User authorized, named as it was created. Its last use and whether its credentials expired are read on request.';
|
|
623
|
-
readonly properties: {
|
|
624
|
-
readonly reflected: {
|
|
625
|
-
readonly type: 'string';
|
|
626
|
-
readonly format: 'date-time';
|
|
627
|
-
};
|
|
628
|
-
readonly client: {
|
|
629
|
-
readonly $ref: '#/$defs/id';
|
|
630
|
-
};
|
|
631
|
-
readonly name: {
|
|
632
|
-
readonly type: 'string';
|
|
633
|
-
};
|
|
634
|
-
readonly kind: {
|
|
635
|
-
readonly enum: readonly ['browser', 'headless'];
|
|
636
|
-
};
|
|
637
|
-
readonly created: {
|
|
638
|
-
readonly type: 'string';
|
|
639
|
-
readonly format: 'date-time';
|
|
640
|
-
};
|
|
641
|
-
readonly ended: {
|
|
642
|
-
readonly type: 'string';
|
|
643
|
-
readonly format: 'date-time';
|
|
644
|
-
};
|
|
645
|
-
readonly end: {
|
|
646
|
-
readonly enum: readonly ['revoked'];
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
|
-
readonly required: readonly ['reflected', 'client', 'name', 'kind', 'created'];
|
|
650
|
-
};
|
|
651
|
-
readonly 'house-environment': {
|
|
652
|
-
readonly description: "One Environment this User holds, with its configuration, its `name`, the one its User entered, when it was `created`, the Rooms it reaches, `all`, `all_but_private` or the `selected` ones `rooms` names, each by its `room`, `login_code`, `yes` while it holds a reusable login code, the agent CLI kinds House admits in `offered`, the kinds House last set in `wanted`, and the latest readiness its Kit reported in `agents`. `kind` is the kind of Environment, `sandbox`, a small Environment House runs with limited capacity, especially disk, `vps`, an always-on Environment House runs with better specs, or `own` for its owner's own computer. `lifecycle` is the state of that Sandbox or VPS: `provisioning` while House creates it, `starting` while it starts or House wakes it, `available` once its Kit connected, `stopped` or `failed`. For a Sandbox, `budget` is its runtime budget in hours a month and `budget_spent` is `yes` once its runtime this UTC month reached it. Each offered entry names one adapter kind the owner may select for this Environment. Each wanted entry names one adapter kind the Kit should hold. Each agent entry names the adapter `kind`, its installed `version` or null when the Kit could not install it, for a CLI below its adapter's minimum that `minimum`, `failure`, that install's cause, `installing`, true only while the Kit installs it, whether the CLI is `signed_in`, its `models`, each `model` with its `efforts` as the CLI's session options name them, its `modes`, each `mode` with the `name` the CLI gives it, and `full_access`, the mode that bypasses every permission, or null for a CLI that offers no mode and always runs so. A wanted kind no entry names is not yet reported. `transcribe` is whether the Kit transcribes a message's audio files, as House last set it, and `transcription` names whether the Kit has the engine `installed` and the `failure` of its last download or null, as the Kit last reported it. `os` is the operating system and version of the Environment, `kit_release` the installed Kit release and `form` the computer's form, `laptop`, `desktop` or `server`, as the Kit last reported them. Placement failure is projected on its transitions; `failed` names the failure's category and never its cause. For a VPS, `ssh` is its owner's root login on port 22.";
|
|
653
|
-
readonly properties: {
|
|
654
|
-
readonly reflected: {
|
|
655
|
-
readonly type: 'string';
|
|
656
|
-
readonly format: 'date-time';
|
|
657
|
-
};
|
|
658
|
-
readonly environment: {
|
|
659
|
-
readonly $ref: '#/$defs/id';
|
|
660
|
-
};
|
|
661
|
-
readonly name: {
|
|
662
|
-
readonly type: 'string';
|
|
663
|
-
};
|
|
664
|
-
readonly created: {
|
|
665
|
-
readonly type: 'string';
|
|
666
|
-
readonly format: 'date-time';
|
|
667
|
-
};
|
|
668
|
-
readonly revoked: {
|
|
669
|
-
readonly type: 'string';
|
|
670
|
-
readonly format: 'date-time';
|
|
671
|
-
};
|
|
672
|
-
readonly reach: {
|
|
673
|
-
readonly enum: readonly ['all', 'all_but_private', 'selected'];
|
|
674
|
-
};
|
|
675
|
-
readonly rooms: {
|
|
676
|
-
readonly type: 'array';
|
|
677
|
-
readonly items: {
|
|
678
|
-
readonly type: 'object';
|
|
679
|
-
readonly additionalProperties: false;
|
|
680
|
-
readonly properties: {
|
|
681
|
-
readonly room: {
|
|
682
|
-
readonly $ref: '#/$defs/room';
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
readonly required: readonly ['room'];
|
|
686
|
-
};
|
|
687
|
-
};
|
|
688
|
-
readonly login_code: {
|
|
689
|
-
readonly enum: readonly ['yes', 'no'];
|
|
690
|
-
};
|
|
691
|
-
readonly kind: {
|
|
692
|
-
readonly enum: readonly ['sandbox', 'vps', 'own'];
|
|
693
|
-
};
|
|
694
|
-
readonly lifecycle: {
|
|
695
|
-
readonly enum: readonly ['provisioning', 'starting', 'available', 'stopped', 'failed'];
|
|
696
|
-
};
|
|
697
|
-
readonly offered: {
|
|
698
|
-
readonly type: 'array';
|
|
699
|
-
readonly items: {
|
|
700
|
-
readonly type: 'string';
|
|
701
|
-
};
|
|
702
|
-
};
|
|
703
|
-
readonly wanted: {
|
|
704
|
-
readonly type: 'array';
|
|
705
|
-
readonly items: {
|
|
706
|
-
readonly type: 'string';
|
|
707
|
-
};
|
|
708
|
-
};
|
|
709
|
-
readonly agents: {
|
|
710
|
-
readonly type: 'array';
|
|
711
|
-
readonly items: {
|
|
712
|
-
readonly type: 'object';
|
|
713
|
-
readonly additionalProperties: false;
|
|
714
|
-
readonly properties: {
|
|
715
|
-
readonly kind: {
|
|
716
|
-
readonly type: 'string';
|
|
717
|
-
readonly minLength: 1;
|
|
718
|
-
readonly maxLength: 64;
|
|
719
|
-
};
|
|
720
|
-
readonly version: {
|
|
721
|
-
readonly anyOf: readonly [{
|
|
722
|
-
readonly type: 'string';
|
|
723
|
-
readonly minLength: 1;
|
|
724
|
-
readonly maxLength: 64;
|
|
725
|
-
}, {
|
|
726
|
-
readonly type: 'null';
|
|
727
|
-
}];
|
|
728
|
-
};
|
|
729
|
-
readonly minimum: {
|
|
730
|
-
readonly description: "Present only for a CLI below its adapter's minimum version: that minimum.";
|
|
731
|
-
readonly type: 'string';
|
|
732
|
-
readonly minLength: 1;
|
|
733
|
-
readonly maxLength: 64;
|
|
734
|
-
};
|
|
735
|
-
readonly failure: {
|
|
736
|
-
readonly anyOf: readonly [{
|
|
737
|
-
readonly type: 'string';
|
|
738
|
-
readonly minLength: 1;
|
|
739
|
-
readonly maxLength: 4096;
|
|
740
|
-
}, {
|
|
741
|
-
readonly type: 'null';
|
|
742
|
-
}];
|
|
743
|
-
};
|
|
744
|
-
readonly installing: {
|
|
745
|
-
readonly description: 'Present only while the Kit installs the CLI, whose version and failure are then null.';
|
|
746
|
-
readonly type: 'boolean';
|
|
747
|
-
readonly const: true;
|
|
748
|
-
};
|
|
749
|
-
readonly signed_in: {
|
|
750
|
-
readonly type: 'boolean';
|
|
751
|
-
};
|
|
752
|
-
readonly models: {
|
|
753
|
-
readonly maxItems: 256;
|
|
754
|
-
readonly type: 'array';
|
|
755
|
-
readonly items: {
|
|
756
|
-
readonly type: 'object';
|
|
757
|
-
readonly additionalProperties: false;
|
|
758
|
-
readonly properties: {
|
|
759
|
-
readonly model: {
|
|
760
|
-
readonly type: 'string';
|
|
761
|
-
readonly minLength: 1;
|
|
762
|
-
};
|
|
763
|
-
readonly efforts: {
|
|
764
|
-
readonly maxItems: 32;
|
|
765
|
-
readonly type: 'array';
|
|
766
|
-
readonly items: {
|
|
767
|
-
readonly type: 'string';
|
|
768
|
-
readonly minLength: 1;
|
|
769
|
-
};
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
readonly required: readonly ['model', 'efforts'];
|
|
773
|
-
};
|
|
774
|
-
};
|
|
775
|
-
readonly modes: {
|
|
776
|
-
readonly maxItems: 32;
|
|
777
|
-
readonly type: 'array';
|
|
778
|
-
readonly items: {
|
|
779
|
-
readonly type: 'object';
|
|
780
|
-
readonly additionalProperties: false;
|
|
781
|
-
readonly properties: {
|
|
782
|
-
readonly mode: {
|
|
783
|
-
readonly type: 'string';
|
|
784
|
-
readonly minLength: 1;
|
|
785
|
-
};
|
|
786
|
-
readonly name: {
|
|
787
|
-
readonly type: 'string';
|
|
788
|
-
readonly minLength: 1;
|
|
789
|
-
readonly maxLength: 128;
|
|
790
|
-
};
|
|
791
|
-
};
|
|
792
|
-
readonly required: readonly ['mode', 'name'];
|
|
793
|
-
};
|
|
794
|
-
};
|
|
795
|
-
readonly full_access: {
|
|
796
|
-
readonly anyOf: readonly [{
|
|
797
|
-
readonly type: 'string';
|
|
798
|
-
readonly minLength: 1;
|
|
799
|
-
}, {
|
|
800
|
-
readonly type: 'null';
|
|
801
|
-
}];
|
|
802
|
-
};
|
|
803
|
-
};
|
|
804
|
-
readonly required: readonly ['kind', 'version', 'failure', 'signed_in', 'models', 'modes', 'full_access'];
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
readonly transcribe: {
|
|
808
|
-
readonly enum: readonly ['on', 'off'];
|
|
809
|
-
};
|
|
810
|
-
readonly transcription: {
|
|
811
|
-
readonly type: 'object';
|
|
812
|
-
readonly additionalProperties: false;
|
|
813
|
-
readonly properties: {
|
|
814
|
-
readonly installed: {
|
|
815
|
-
readonly type: 'boolean';
|
|
816
|
-
};
|
|
817
|
-
readonly failure: {
|
|
818
|
-
readonly anyOf: readonly [{
|
|
819
|
-
readonly type: 'string';
|
|
820
|
-
readonly minLength: 1;
|
|
821
|
-
readonly maxLength: 4096;
|
|
822
|
-
}, {
|
|
823
|
-
readonly type: 'null';
|
|
824
|
-
}];
|
|
825
|
-
};
|
|
826
|
-
};
|
|
827
|
-
readonly required: readonly ['installed', 'failure'];
|
|
828
|
-
};
|
|
829
|
-
readonly os: {
|
|
830
|
-
readonly type: 'string';
|
|
831
|
-
};
|
|
832
|
-
readonly kit_release: {
|
|
833
|
-
readonly type: 'string';
|
|
834
|
-
};
|
|
835
|
-
readonly form: {
|
|
836
|
-
readonly enum: readonly ['laptop', 'desktop', 'server'];
|
|
837
|
-
};
|
|
838
|
-
readonly failed: {
|
|
839
|
-
readonly enum: readonly ['provisioning_failed', 'bootstrap_timeout', 'provider_capacity', 'provider_unavailable', 'provider_removed', 'placement_conflict', 'placement_intervention', 'environment_authority_unavailable'];
|
|
840
|
-
};
|
|
841
|
-
readonly budget: {
|
|
842
|
-
readonly type: 'string';
|
|
843
|
-
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
844
|
-
};
|
|
845
|
-
readonly budget_spent: {
|
|
846
|
-
readonly enum: readonly ['yes', 'no'];
|
|
847
|
-
};
|
|
848
|
-
readonly ssh: {
|
|
849
|
-
readonly type: 'string';
|
|
850
|
-
readonly pattern: '^root@\\S+$';
|
|
851
|
-
};
|
|
852
|
-
};
|
|
853
|
-
readonly required: readonly ['reflected', 'environment', 'name', 'created', 'reach', 'kind', 'offered', 'transcribe'];
|
|
854
|
-
};
|
|
855
|
-
readonly 'house-exports': {
|
|
856
|
-
readonly description: "This User's Exports, each with its `status`, when it was `created` and, once it has one, when it `expires`; a ready one names its download page as `page`.";
|
|
857
|
-
readonly properties: {
|
|
858
|
-
readonly reflected: {
|
|
859
|
-
readonly type: 'string';
|
|
860
|
-
readonly format: 'date-time';
|
|
861
|
-
};
|
|
862
|
-
readonly exports: {
|
|
863
|
-
readonly type: 'array';
|
|
864
|
-
readonly items: {
|
|
865
|
-
readonly type: 'object';
|
|
866
|
-
readonly additionalProperties: false;
|
|
867
|
-
readonly properties: {
|
|
868
|
-
readonly export: {
|
|
869
|
-
readonly $ref: '#/$defs/id';
|
|
870
|
-
};
|
|
871
|
-
readonly status: {
|
|
872
|
-
readonly enum: readonly ['queued', 'running', 'ready', 'failed'];
|
|
873
|
-
};
|
|
874
|
-
readonly created: {
|
|
875
|
-
readonly type: 'string';
|
|
876
|
-
readonly format: 'date-time';
|
|
877
|
-
};
|
|
878
|
-
readonly expires: {
|
|
879
|
-
readonly type: 'string';
|
|
880
|
-
readonly format: 'date-time';
|
|
881
|
-
};
|
|
882
|
-
readonly page: {
|
|
883
|
-
readonly type: 'string';
|
|
884
|
-
readonly pattern: '^\\/exports\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';
|
|
885
|
-
};
|
|
886
|
-
};
|
|
887
|
-
readonly required: readonly ['export', 'status', 'created'];
|
|
888
|
-
};
|
|
889
|
-
};
|
|
890
|
-
};
|
|
891
|
-
readonly required: readonly ['reflected'];
|
|
892
|
-
};
|
|
893
|
-
readonly 'house-member': {
|
|
894
|
-
readonly description: "One User who shares a Room with this User, with their current display name and accepted about-me Markdown. Their email, the Rooms they share and each one's access are in the `roster` of each `house-room` document.";
|
|
895
|
-
readonly properties: {
|
|
896
|
-
readonly reflected: {
|
|
897
|
-
readonly type: 'string';
|
|
898
|
-
readonly format: 'date-time';
|
|
899
|
-
};
|
|
900
|
-
readonly user: {
|
|
901
|
-
readonly $ref: '#/$defs/id';
|
|
902
|
-
};
|
|
903
|
-
readonly name: {
|
|
904
|
-
readonly type: 'string';
|
|
905
|
-
};
|
|
906
|
-
readonly about_me: {
|
|
907
|
-
readonly type: 'string';
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
readonly required: readonly ['reflected', 'user', 'name'];
|
|
911
|
-
};
|
|
912
|
-
readonly 'house-notification': {
|
|
913
|
-
readonly description: "One kept Human Notification for this User: its kind, when it was sent as `created`, its way in, its email's subject and each fact of its value that is not sealed, named in snake_case. An entity a fact names is an object holding its identifier under the key of its kind, when the notification carries it, and its `name`, `email` and other facts beside it; a fact holding null is absent. `way_in` is either the House `path` it opens or the entity it is about, by its identifier under the key of its kind, a Trigger with its `room`. Its body is its email's words in Markdown. Both were worded once, in the User's language when it was delivered; an App may show them or word it itself from its kind and value. Read state belongs to each browser.";
|
|
914
|
-
readonly properties: {
|
|
915
|
-
readonly notification: {
|
|
916
|
-
readonly $ref: '#/$defs/id';
|
|
917
|
-
};
|
|
918
|
-
readonly kind: {
|
|
919
|
-
readonly type: 'string';
|
|
920
|
-
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'app-room-binding-incompatible', 'app-deleted', 'app-call', 'room-ownership-offer', 'managed-environment-retention-opened', 'managed-environment-placement-intervention', 'storage-full', 'sandbox-budget-spent', 'break-glass-owner-disclosure', 'routine-start-approval-request', 'routine-request-declined', 'routine-request-started', 'routine-request-finished', 'routine-request-not-started', 'export-ready', 'export-failed', 'site-disabled', 'site-binding-incompatible', 'site-room-left', 'site-images-full', 'custom', 'trigger-did-nothing', 'function-failed'];
|
|
921
|
-
};
|
|
922
|
-
readonly created: {
|
|
923
|
-
readonly type: 'string';
|
|
924
|
-
readonly format: 'date-time';
|
|
925
|
-
};
|
|
926
|
-
readonly way_in: {
|
|
927
|
-
readonly type: 'object';
|
|
928
|
-
readonly additionalProperties: false;
|
|
929
|
-
readonly properties: {
|
|
930
|
-
readonly path: {
|
|
931
|
-
readonly type: 'string';
|
|
932
|
-
readonly pattern: '^\\/';
|
|
933
|
-
};
|
|
934
|
-
readonly room: {
|
|
935
|
-
readonly $ref: '#/$defs/room';
|
|
936
|
-
};
|
|
937
|
-
readonly app: {
|
|
938
|
-
readonly $ref: '#/$defs/app';
|
|
939
|
-
};
|
|
940
|
-
readonly agent: {
|
|
941
|
-
readonly $ref: '#/$defs/id';
|
|
942
|
-
};
|
|
943
|
-
readonly environment: {
|
|
944
|
-
readonly $ref: '#/$defs/id';
|
|
945
|
-
};
|
|
946
|
-
readonly routine: {
|
|
947
|
-
readonly $ref: '#/$defs/id';
|
|
948
|
-
};
|
|
949
|
-
readonly routine_request: {
|
|
950
|
-
readonly $ref: '#/$defs/id';
|
|
951
|
-
};
|
|
952
|
-
readonly trigger: {
|
|
953
|
-
readonly $ref: '#/$defs/id';
|
|
954
|
-
};
|
|
955
|
-
readonly site: {
|
|
956
|
-
readonly $ref: '#/$defs/id';
|
|
957
|
-
};
|
|
958
|
-
};
|
|
959
|
-
readonly minProperties: 1;
|
|
960
|
-
};
|
|
961
|
-
readonly subject: {
|
|
962
|
-
readonly type: 'string';
|
|
963
|
-
};
|
|
964
|
-
readonly share: {
|
|
965
|
-
readonly $ref: '#/$defs/id';
|
|
966
|
-
};
|
|
967
|
-
readonly issuer: {
|
|
968
|
-
readonly type: 'object';
|
|
969
|
-
readonly additionalProperties: false;
|
|
970
|
-
readonly properties: {
|
|
971
|
-
readonly name: {
|
|
972
|
-
readonly type: 'string';
|
|
973
|
-
};
|
|
974
|
-
readonly email: {
|
|
975
|
-
readonly type: 'string';
|
|
976
|
-
readonly format: 'email';
|
|
977
|
-
};
|
|
978
|
-
};
|
|
979
|
-
readonly required: readonly ['name', 'email'];
|
|
980
|
-
};
|
|
981
|
-
readonly rooms: {
|
|
982
|
-
readonly type: 'array';
|
|
983
|
-
readonly items: {
|
|
984
|
-
readonly type: 'object';
|
|
985
|
-
readonly additionalProperties: false;
|
|
986
|
-
readonly properties: {
|
|
987
|
-
readonly name: {
|
|
988
|
-
readonly type: 'string';
|
|
989
|
-
};
|
|
990
|
-
};
|
|
991
|
-
readonly required: readonly ['name'];
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
readonly apps: {
|
|
995
|
-
readonly maxItems: 20;
|
|
996
|
-
readonly type: 'array';
|
|
997
|
-
readonly items: {
|
|
998
|
-
readonly type: 'object';
|
|
999
|
-
readonly additionalProperties: false;
|
|
1000
|
-
readonly properties: {
|
|
1001
|
-
readonly name: {
|
|
1002
|
-
readonly type: 'string';
|
|
1003
|
-
readonly minLength: 1;
|
|
1004
|
-
readonly maxLength: 200;
|
|
1005
|
-
};
|
|
1006
|
-
readonly reaches: {
|
|
1007
|
-
readonly type: 'array';
|
|
1008
|
-
readonly items: {
|
|
1009
|
-
readonly type: 'string';
|
|
1010
|
-
readonly minLength: 1;
|
|
1011
|
-
readonly maxLength: 512;
|
|
1012
|
-
};
|
|
1013
|
-
};
|
|
1014
|
-
};
|
|
1015
|
-
readonly required: readonly ['name', 'reaches'];
|
|
1016
|
-
};
|
|
1017
|
-
};
|
|
1018
|
-
readonly expires_at: {
|
|
1019
|
-
readonly type: 'string';
|
|
1020
|
-
readonly format: 'date-time';
|
|
1021
|
-
};
|
|
1022
|
-
readonly join_request: {
|
|
1023
|
-
readonly $ref: '#/$defs/id';
|
|
1024
|
-
};
|
|
1025
|
-
readonly user: {
|
|
1026
|
-
readonly type: 'object';
|
|
1027
|
-
readonly additionalProperties: false;
|
|
1028
|
-
readonly properties: {
|
|
1029
|
-
readonly name: {
|
|
1030
|
-
readonly type: 'string';
|
|
1031
|
-
};
|
|
1032
|
-
readonly email: {
|
|
1033
|
-
readonly type: 'string';
|
|
1034
|
-
readonly format: 'email';
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
readonly required: readonly ['name', 'email'];
|
|
1038
|
-
};
|
|
1039
|
-
readonly room: {
|
|
1040
|
-
readonly type: 'object';
|
|
1041
|
-
readonly additionalProperties: false;
|
|
1042
|
-
readonly properties: {
|
|
1043
|
-
readonly room: {
|
|
1044
|
-
readonly $ref: '#/$defs/room';
|
|
1045
|
-
};
|
|
1046
|
-
readonly name: {
|
|
1047
|
-
readonly type: 'string';
|
|
1048
|
-
};
|
|
1049
|
-
};
|
|
1050
|
-
readonly minProperties: 1;
|
|
1051
|
-
};
|
|
1052
|
-
readonly app: {
|
|
1053
|
-
readonly type: 'object';
|
|
1054
|
-
readonly additionalProperties: false;
|
|
1055
|
-
readonly properties: {
|
|
1056
|
-
readonly app: {
|
|
1057
|
-
readonly $ref: '#/$defs/app';
|
|
1058
|
-
};
|
|
1059
|
-
readonly name: {
|
|
1060
|
-
readonly type: 'string';
|
|
1061
|
-
};
|
|
1062
|
-
};
|
|
1063
|
-
readonly minProperties: 1;
|
|
1064
|
-
};
|
|
1065
|
-
readonly binding: {
|
|
1066
|
-
readonly $ref: '#/$defs/id';
|
|
1067
|
-
};
|
|
1068
|
-
readonly slot: {
|
|
1069
|
-
readonly type: 'string';
|
|
1070
|
-
};
|
|
1071
|
-
readonly findings: {
|
|
1072
|
-
readonly type: 'array';
|
|
1073
|
-
readonly items: {
|
|
1074
|
-
readonly type: 'string';
|
|
1075
|
-
};
|
|
1076
|
-
};
|
|
1077
|
-
readonly owner: {
|
|
1078
|
-
readonly type: 'object';
|
|
1079
|
-
readonly additionalProperties: false;
|
|
1080
|
-
readonly properties: {
|
|
1081
|
-
readonly name: {
|
|
1082
|
-
readonly type: 'string';
|
|
1083
|
-
};
|
|
1084
|
-
};
|
|
1085
|
-
readonly required: readonly ['name'];
|
|
1086
|
-
};
|
|
1087
|
-
readonly caller: {
|
|
1088
|
-
readonly type: 'object';
|
|
1089
|
-
readonly additionalProperties: false;
|
|
1090
|
-
readonly properties: {
|
|
1091
|
-
readonly user: {
|
|
1092
|
-
readonly $ref: '#/$defs/id';
|
|
1093
|
-
};
|
|
1094
|
-
readonly name: {
|
|
1095
|
-
readonly type: 'string';
|
|
1096
|
-
};
|
|
1097
|
-
};
|
|
1098
|
-
readonly required: readonly ['user', 'name'];
|
|
1099
|
-
};
|
|
1100
|
-
readonly ownership_offer: {
|
|
1101
|
-
readonly $ref: '#/$defs/id';
|
|
1102
|
-
};
|
|
1103
|
-
readonly offerer: {
|
|
1104
|
-
readonly type: 'object';
|
|
1105
|
-
readonly additionalProperties: false;
|
|
1106
|
-
readonly properties: {
|
|
1107
|
-
readonly name: {
|
|
1108
|
-
readonly type: 'string';
|
|
1109
|
-
};
|
|
1110
|
-
readonly email: {
|
|
1111
|
-
readonly type: 'string';
|
|
1112
|
-
readonly format: 'email';
|
|
1113
|
-
};
|
|
1114
|
-
};
|
|
1115
|
-
readonly required: readonly ['name', 'email'];
|
|
1116
|
-
};
|
|
1117
|
-
readonly environment: {
|
|
1118
|
-
readonly type: 'object';
|
|
1119
|
-
readonly additionalProperties: false;
|
|
1120
|
-
readonly properties: {
|
|
1121
|
-
readonly environment: {
|
|
1122
|
-
readonly $ref: '#/$defs/id';
|
|
1123
|
-
};
|
|
1124
|
-
readonly name: {
|
|
1125
|
-
readonly type: 'string';
|
|
1126
|
-
};
|
|
1127
|
-
readonly kind: {
|
|
1128
|
-
readonly enum: readonly ['vps', 'sandbox'];
|
|
1129
|
-
};
|
|
1130
|
-
};
|
|
1131
|
-
readonly required: readonly ['environment', 'name'];
|
|
1132
|
-
};
|
|
1133
|
-
readonly reason: {
|
|
1134
|
-
readonly type: 'string';
|
|
1135
|
-
};
|
|
1136
|
-
readonly deadline: {
|
|
1137
|
-
readonly type: 'string';
|
|
1138
|
-
readonly format: 'date-time';
|
|
1139
|
-
};
|
|
1140
|
-
readonly operation_kind: {
|
|
1141
|
-
readonly type: 'string';
|
|
1142
|
-
};
|
|
1143
|
-
readonly free: {
|
|
1144
|
-
readonly type: 'object';
|
|
1145
|
-
readonly additionalProperties: false;
|
|
1146
|
-
readonly properties: {
|
|
1147
|
-
readonly held: {
|
|
1148
|
-
readonly type: 'string';
|
|
1149
|
-
readonly pattern: '^\\d+$';
|
|
1150
|
-
};
|
|
1151
|
-
readonly limit: {
|
|
1152
|
-
readonly type: 'string';
|
|
1153
|
-
readonly pattern: '^[1-9]\\d*$';
|
|
1154
|
-
};
|
|
1155
|
-
readonly measure: {
|
|
1156
|
-
readonly type: 'string';
|
|
1157
|
-
readonly enum: readonly ['content', 'retained'];
|
|
1158
|
-
};
|
|
1159
|
-
};
|
|
1160
|
-
readonly required: readonly ['held', 'limit', 'measure'];
|
|
1161
|
-
};
|
|
1162
|
-
readonly budget: {
|
|
1163
|
-
readonly type: 'string';
|
|
1164
|
-
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
1165
|
-
};
|
|
1166
|
-
readonly resets_at: {
|
|
1167
|
-
readonly type: 'string';
|
|
1168
|
-
readonly format: 'date-time';
|
|
1169
|
-
};
|
|
1170
|
-
readonly grant: {
|
|
1171
|
-
readonly $ref: '#/$defs/id';
|
|
1172
|
-
};
|
|
1173
|
-
readonly category: {
|
|
1174
|
-
readonly type: 'string';
|
|
1175
|
-
};
|
|
1176
|
-
readonly access_started_at: {
|
|
1177
|
-
readonly type: 'string';
|
|
1178
|
-
readonly format: 'date-time';
|
|
1179
|
-
};
|
|
1180
|
-
readonly access_ended_at: {
|
|
1181
|
-
readonly type: 'string';
|
|
1182
|
-
readonly format: 'date-time';
|
|
1183
|
-
};
|
|
1184
|
-
readonly systems: {
|
|
1185
|
-
readonly type: 'array';
|
|
1186
|
-
readonly items: {
|
|
1187
|
-
readonly type: 'string';
|
|
1188
|
-
};
|
|
1189
|
-
};
|
|
1190
|
-
readonly case_reference: {
|
|
1191
|
-
readonly type: 'string';
|
|
1192
|
-
};
|
|
1193
|
-
readonly routine_request: {
|
|
1194
|
-
readonly $ref: '#/$defs/id';
|
|
1195
|
-
};
|
|
1196
|
-
readonly requester: {
|
|
1197
|
-
readonly type: 'object';
|
|
1198
|
-
readonly additionalProperties: false;
|
|
1199
|
-
readonly properties: {
|
|
1200
|
-
readonly name: {
|
|
1201
|
-
readonly type: 'string';
|
|
1202
|
-
};
|
|
1203
|
-
};
|
|
1204
|
-
readonly required: readonly ['name'];
|
|
1205
|
-
};
|
|
1206
|
-
readonly agent: {
|
|
1207
|
-
readonly type: 'object';
|
|
1208
|
-
readonly additionalProperties: false;
|
|
1209
|
-
readonly properties: {
|
|
1210
|
-
readonly agent: {
|
|
1211
|
-
readonly $ref: '#/$defs/id';
|
|
1212
|
-
};
|
|
1213
|
-
readonly name: {
|
|
1214
|
-
readonly type: 'string';
|
|
1215
|
-
};
|
|
1216
|
-
};
|
|
1217
|
-
readonly required: readonly ['name'];
|
|
1218
|
-
};
|
|
1219
|
-
readonly conversation: {
|
|
1220
|
-
readonly $ref: '#/$defs/id';
|
|
1221
|
-
};
|
|
1222
|
-
readonly routine: {
|
|
1223
|
-
readonly type: 'object';
|
|
1224
|
-
readonly additionalProperties: false;
|
|
1225
|
-
readonly properties: {
|
|
1226
|
-
readonly routine: {
|
|
1227
|
-
readonly $ref: '#/$defs/id';
|
|
1228
|
-
};
|
|
1229
|
-
readonly name: {
|
|
1230
|
-
readonly type: 'string';
|
|
1231
|
-
};
|
|
1232
|
-
readonly version: {
|
|
1233
|
-
readonly type: 'integer';
|
|
1234
|
-
readonly minimum: 1;
|
|
1235
|
-
};
|
|
1236
|
-
};
|
|
1237
|
-
readonly required: readonly ['name'];
|
|
1238
|
-
};
|
|
1239
|
-
readonly decliner: {
|
|
1240
|
-
readonly type: 'object';
|
|
1241
|
-
readonly additionalProperties: false;
|
|
1242
|
-
readonly properties: {
|
|
1243
|
-
readonly name: {
|
|
1244
|
-
readonly type: 'string';
|
|
1245
|
-
};
|
|
1246
|
-
};
|
|
1247
|
-
readonly required: readonly ['name'];
|
|
1248
|
-
};
|
|
1249
|
-
readonly input: {
|
|
1250
|
-
readonly type: 'string';
|
|
1251
|
-
};
|
|
1252
|
-
readonly export: {
|
|
1253
|
-
readonly $ref: '#/$defs/id';
|
|
1254
|
-
};
|
|
1255
|
-
readonly size_bytes: {
|
|
1256
|
-
readonly type: 'integer';
|
|
1257
|
-
readonly minimum: 0;
|
|
1258
|
-
};
|
|
1259
|
-
readonly site: {
|
|
1260
|
-
readonly type: 'object';
|
|
1261
|
-
readonly additionalProperties: false;
|
|
1262
|
-
readonly properties: {
|
|
1263
|
-
readonly site: {
|
|
1264
|
-
readonly $ref: '#/$defs/id';
|
|
1265
|
-
};
|
|
1266
|
-
readonly name: {
|
|
1267
|
-
readonly type: 'string';
|
|
1268
|
-
};
|
|
1269
|
-
};
|
|
1270
|
-
readonly required: readonly ['site', 'name'];
|
|
1271
|
-
};
|
|
1272
|
-
readonly address: {
|
|
1273
|
-
readonly type: 'string';
|
|
1274
|
-
readonly maxLength: 300;
|
|
1275
|
-
readonly format: 'uri';
|
|
1276
|
-
};
|
|
1277
|
-
readonly to: {
|
|
1278
|
-
readonly type: 'object';
|
|
1279
|
-
readonly additionalProperties: false;
|
|
1280
|
-
readonly properties: {
|
|
1281
|
-
readonly name: {
|
|
1282
|
-
readonly type: 'string';
|
|
1283
|
-
};
|
|
1284
|
-
};
|
|
1285
|
-
readonly required: readonly ['name'];
|
|
1286
|
-
};
|
|
1287
|
-
readonly copies: {
|
|
1288
|
-
readonly type: 'integer';
|
|
1289
|
-
readonly minimum: 0;
|
|
1290
|
-
};
|
|
1291
|
-
readonly bound: {
|
|
1292
|
-
readonly type: 'integer';
|
|
1293
|
-
readonly minimum: 0;
|
|
1294
|
-
};
|
|
1295
|
-
readonly title: {
|
|
1296
|
-
readonly type: 'string';
|
|
1297
|
-
};
|
|
1298
|
-
readonly body: {
|
|
1299
|
-
readonly type: 'string';
|
|
1300
|
-
};
|
|
1301
|
-
readonly authorship: {
|
|
1302
|
-
readonly type: 'object';
|
|
1303
|
-
readonly additionalProperties: false;
|
|
1304
|
-
readonly properties: {
|
|
1305
|
-
readonly kind: {
|
|
1306
|
-
readonly type: 'string';
|
|
1307
|
-
readonly const: 'trigger-action';
|
|
1308
|
-
};
|
|
1309
|
-
readonly trigger: {
|
|
1310
|
-
readonly $ref: '#/$defs/id';
|
|
1311
|
-
};
|
|
1312
|
-
readonly position: {
|
|
1313
|
-
readonly type: 'integer';
|
|
1314
|
-
readonly minimum: 0;
|
|
1315
|
-
};
|
|
1316
|
-
};
|
|
1317
|
-
readonly required: readonly ['kind', 'trigger', 'position'];
|
|
1318
|
-
};
|
|
1319
|
-
readonly path: {
|
|
1320
|
-
readonly type: 'string';
|
|
1321
|
-
readonly maxLength: 4096;
|
|
1322
|
-
readonly pattern: '^\\/.*';
|
|
1323
|
-
};
|
|
1324
|
-
readonly trigger: {
|
|
1325
|
-
readonly type: 'object';
|
|
1326
|
-
readonly additionalProperties: false;
|
|
1327
|
-
readonly properties: {
|
|
1328
|
-
readonly trigger: {
|
|
1329
|
-
readonly $ref: '#/$defs/id';
|
|
1330
|
-
};
|
|
1331
|
-
readonly name: {
|
|
1332
|
-
readonly type: 'string';
|
|
1333
|
-
};
|
|
1334
|
-
};
|
|
1335
|
-
readonly required: readonly ['trigger', 'name'];
|
|
1336
|
-
};
|
|
1337
|
-
readonly cause: {
|
|
1338
|
-
readonly type: 'string';
|
|
1339
|
-
};
|
|
1340
|
-
readonly function: {
|
|
1341
|
-
readonly type: 'string';
|
|
1342
|
-
};
|
|
1343
|
-
readonly error: {
|
|
1344
|
-
readonly type: 'string';
|
|
1345
|
-
};
|
|
1346
|
-
};
|
|
1347
|
-
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
1348
|
-
};
|
|
1349
|
-
readonly 'house-ownership-offer': {
|
|
1350
|
-
readonly description: "One open Room ownership offer addressed to this User. The Room's name and the name of the owner it is `from` are captured when the offer is made. The page is the House approval path where this User accepts or declines.";
|
|
1351
|
-
readonly properties: {
|
|
1352
|
-
readonly reflected: {
|
|
1353
|
-
readonly type: 'string';
|
|
1354
|
-
readonly format: 'date-time';
|
|
1355
|
-
};
|
|
1356
|
-
readonly ownership_offer: {
|
|
1357
|
-
readonly $ref: '#/$defs/id';
|
|
1358
|
-
};
|
|
1359
|
-
readonly room: {
|
|
1360
|
-
readonly type: 'object';
|
|
1361
|
-
readonly additionalProperties: false;
|
|
1362
|
-
readonly properties: {
|
|
1363
|
-
readonly room: {
|
|
1364
|
-
readonly $ref: '#/$defs/room';
|
|
1365
|
-
};
|
|
1366
|
-
readonly name: {
|
|
1367
|
-
readonly type: 'string';
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
|
-
readonly required: readonly ['room', 'name'];
|
|
1371
|
-
};
|
|
1372
|
-
readonly from: {
|
|
1373
|
-
readonly type: 'object';
|
|
1374
|
-
readonly additionalProperties: false;
|
|
1375
|
-
readonly properties: {
|
|
1376
|
-
readonly name: {
|
|
1377
|
-
readonly type: 'string';
|
|
1378
|
-
};
|
|
1379
|
-
};
|
|
1380
|
-
readonly required: readonly ['name'];
|
|
1381
|
-
};
|
|
1382
|
-
readonly page: {
|
|
1383
|
-
readonly type: 'string';
|
|
1384
|
-
readonly pattern: '^\\/approve\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$';
|
|
1385
|
-
};
|
|
1386
|
-
readonly created: {
|
|
1387
|
-
readonly type: 'string';
|
|
1388
|
-
readonly format: 'date-time';
|
|
1389
|
-
};
|
|
1390
|
-
readonly expires: {
|
|
1391
|
-
readonly type: 'string';
|
|
1392
|
-
readonly format: 'date-time';
|
|
1393
|
-
};
|
|
1394
|
-
};
|
|
1395
|
-
readonly required: readonly ['reflected', 'ownership_offer', 'room', 'from', 'page', 'created', 'expires'];
|
|
1396
|
-
};
|
|
1397
|
-
readonly 'house-panel-preferences': {
|
|
1398
|
-
readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
|
|
1399
|
-
readonly properties: {};
|
|
1400
|
-
};
|
|
1401
|
-
readonly 'house-profile': {
|
|
1402
|
-
readonly description: "The User's display name, the email they sign in with and accepted about-me Markdown.";
|
|
1403
|
-
readonly properties: {
|
|
1404
|
-
readonly reflected: {
|
|
1405
|
-
readonly type: 'string';
|
|
1406
|
-
readonly format: 'date-time';
|
|
1407
|
-
};
|
|
1408
|
-
readonly name: {
|
|
1409
|
-
readonly type: 'string';
|
|
1410
|
-
};
|
|
1411
|
-
readonly email: {
|
|
1412
|
-
readonly type: 'string';
|
|
1413
|
-
};
|
|
1414
|
-
readonly about_me: {
|
|
1415
|
-
readonly type: 'string';
|
|
1416
|
-
};
|
|
1417
|
-
};
|
|
1418
|
-
readonly required: readonly ['reflected', 'name', 'email'];
|
|
1419
|
-
};
|
|
1420
|
-
readonly 'house-public-room': {
|
|
1421
|
-
readonly description: 'One Public Room this User added and reads without being its member. Its members are read with `list_members`, and `leave_room` removes it.';
|
|
1422
|
-
readonly properties: {
|
|
1423
|
-
readonly reflected: {
|
|
1424
|
-
readonly type: 'string';
|
|
1425
|
-
readonly format: 'date-time';
|
|
1426
|
-
};
|
|
1427
|
-
readonly room: {
|
|
1428
|
-
readonly $ref: '#/$defs/room';
|
|
1429
|
-
};
|
|
1430
|
-
readonly handle: {
|
|
1431
|
-
readonly type: 'string';
|
|
1432
|
-
readonly minLength: 6;
|
|
1433
|
-
readonly maxLength: 63;
|
|
1434
|
-
readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
|
|
1435
|
-
};
|
|
1436
|
-
readonly name: {
|
|
1437
|
-
readonly type: 'string';
|
|
1438
|
-
};
|
|
1439
|
-
readonly archived: {
|
|
1440
|
-
readonly type: 'string';
|
|
1441
|
-
readonly format: 'date-time';
|
|
1442
|
-
};
|
|
1443
|
-
};
|
|
1444
|
-
readonly required: readonly ['reflected', 'room', 'handle', 'name'];
|
|
1445
|
-
};
|
|
1446
|
-
readonly 'house-push-address': {
|
|
1447
|
-
readonly description: "One push address this User minted, never its secret: the Room it captures into, the Source it names, and where an outside service's post carries its event's identifier, the header `event_header` or the JSON pointer `event_json`.";
|
|
1448
|
-
readonly properties: {
|
|
1449
|
-
readonly reflected: {
|
|
1450
|
-
readonly type: 'string';
|
|
1451
|
-
readonly format: 'date-time';
|
|
1452
|
-
};
|
|
1453
|
-
readonly push_address: {
|
|
1454
|
-
readonly $ref: '#/$defs/id';
|
|
1455
|
-
};
|
|
1456
|
-
readonly room: {
|
|
1457
|
-
readonly $ref: '#/$defs/room';
|
|
1458
|
-
};
|
|
1459
|
-
readonly source: {
|
|
1460
|
-
readonly type: 'string';
|
|
1461
|
-
};
|
|
1462
|
-
readonly event_header: {
|
|
1463
|
-
readonly type: 'string';
|
|
1464
|
-
};
|
|
1465
|
-
readonly event_json: {
|
|
1466
|
-
readonly type: 'string';
|
|
1467
|
-
};
|
|
1468
|
-
};
|
|
1469
|
-
readonly required: readonly ['reflected', 'push_address', 'room', 'source'];
|
|
1470
|
-
};
|
|
1471
|
-
readonly 'house-requests': {
|
|
1472
|
-
readonly description: "The Routine Requests of one Room this User holds at the Keep level: each one waiting or started under `current` and the 50 that changed last under `history`. Each names its `routine` by `name` and `version`, the `target` User whose Agent it asks, the `agent` that took it, the `routine_access` and `record` it went through, the Users it was `approved_by` and `settled_by`, and when it was `created`, `approved`, `activated` and `settled`; a started one is `undelivered` while its Agent's computer has not taken it, which House hands it once that computer connects; a fact it does not hold is absent. Only the Agent’s owner sees a request’s conversation. A Room with no request has no such document.";
|
|
1473
|
-
readonly properties: {
|
|
1474
|
-
readonly reflected: {
|
|
1475
|
-
readonly type: 'string';
|
|
1476
|
-
readonly format: 'date-time';
|
|
1477
|
-
};
|
|
1478
|
-
readonly room: {
|
|
1479
|
-
readonly $ref: '#/$defs/room';
|
|
1480
|
-
};
|
|
1481
|
-
readonly current: {
|
|
1482
|
-
readonly type: 'array';
|
|
1483
|
-
readonly items: {
|
|
1484
|
-
readonly $ref: '#/$defs/request';
|
|
1485
|
-
};
|
|
1486
|
-
};
|
|
1487
|
-
readonly history: {
|
|
1488
|
-
readonly type: 'array';
|
|
1489
|
-
readonly items: {
|
|
1490
|
-
readonly $ref: '#/$defs/request';
|
|
1491
|
-
};
|
|
1492
|
-
};
|
|
1493
|
-
};
|
|
1494
|
-
readonly required: readonly ['reflected', 'room', 'current', 'history'];
|
|
1495
|
-
};
|
|
1496
|
-
readonly 'house-room': {
|
|
1497
|
-
readonly description: "One Room this User reads, with the processing configuration that indexes it. `my_room` is `true` on this User's My Room alone, whatever its name and handle become. `admission` is `pending` while House is still settling this User into the Room, which finishes on its own and needs no act. `access` is this User's access word in the Room, `owner`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` held at the Open level; `level` is the access level they hold on its content, `search`, `open` or `keep`, and `operations` are their own on its content. `policy` is whether House indexes the Room's documents, `Off` while it withholds indexing. Each indexing entry names a folder `path` and the `policy` set on it. `shared_schema` names the Shared schema whose copy is the Room's schema while the Room uses one, with its `name`. The owner alone sees `ownership_offer`, the `nominee` it is offered to and when it `expires`, while an offer is open, and `public`, the time they made the Room public, while every House User may read it; a member who does not own it sees its `owner` by name. `roster` lists the Room's members, each with when they were `admitted`, their member `document` and the access level and operations a Room Share could offer them without giving them anything new as `held`; it and `rights` carry the access this User may see, every member's to one who manages the Room and their own otherwise; `routines` lists the Routine Accesses this User or the Room's Triggers may call in it, each with its `routine`, by `name`, `description`, `input` and `version`, its `agent` and that Agent's `owner` by name: `starts_without_approval` on one this User may call and `triggers: true` on one the Triggers may call.";
|
|
1498
|
-
readonly properties: {
|
|
1499
|
-
readonly reflected: {
|
|
1500
|
-
readonly type: 'string';
|
|
1501
|
-
readonly format: 'date-time';
|
|
1502
|
-
};
|
|
1503
|
-
readonly room: {
|
|
1504
|
-
readonly $ref: '#/$defs/room';
|
|
1505
|
-
};
|
|
1506
|
-
readonly handle: {
|
|
1507
|
-
readonly type: 'string';
|
|
1508
|
-
readonly minLength: 6;
|
|
1509
|
-
readonly maxLength: 63;
|
|
1510
|
-
readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
|
|
1511
|
-
};
|
|
1512
|
-
readonly name: {
|
|
1513
|
-
readonly type: 'string';
|
|
1514
|
-
};
|
|
1515
|
-
readonly my_room: {
|
|
1516
|
-
readonly const: true;
|
|
1517
|
-
};
|
|
1518
|
-
readonly membership: {
|
|
1519
|
-
readonly enum: readonly ['owner', 'member'];
|
|
1520
|
-
};
|
|
1521
|
-
readonly ownership_offer: {
|
|
1522
|
-
readonly type: 'object';
|
|
1523
|
-
readonly additionalProperties: false;
|
|
1524
|
-
readonly properties: {
|
|
1525
|
-
readonly nominee: {
|
|
1526
|
-
readonly type: 'object';
|
|
1527
|
-
readonly additionalProperties: false;
|
|
1528
|
-
readonly properties: {
|
|
1529
|
-
readonly user: {
|
|
1530
|
-
readonly $ref: '#/$defs/id';
|
|
1531
|
-
};
|
|
1532
|
-
readonly name: {
|
|
1533
|
-
readonly type: 'string';
|
|
1534
|
-
};
|
|
1535
|
-
};
|
|
1536
|
-
readonly required: readonly ['user', 'name'];
|
|
1537
|
-
};
|
|
1538
|
-
readonly expires: {
|
|
1539
|
-
readonly type: 'string';
|
|
1540
|
-
readonly format: 'date-time';
|
|
1541
|
-
};
|
|
1542
|
-
};
|
|
1543
|
-
readonly required: readonly ['nominee', 'expires'];
|
|
1544
|
-
};
|
|
1545
|
-
readonly access: {
|
|
1546
|
-
readonly enum: readonly ['owner', 'manage', 'edit', 'keep', 'open', 'search'];
|
|
1547
|
-
};
|
|
1548
|
-
readonly level: {
|
|
1549
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1550
|
-
};
|
|
1551
|
-
readonly only_while_online: {
|
|
1552
|
-
readonly const: true;
|
|
1553
|
-
};
|
|
1554
|
-
readonly operations: {
|
|
1555
|
-
readonly type: 'array';
|
|
1556
|
-
readonly items: {
|
|
1557
|
-
readonly type: 'string';
|
|
1558
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1559
|
-
};
|
|
1560
|
-
};
|
|
1561
|
-
readonly owner: {
|
|
1562
|
-
readonly type: 'object';
|
|
1563
|
-
readonly additionalProperties: false;
|
|
1564
|
-
readonly properties: {
|
|
1565
|
-
readonly name: {
|
|
1566
|
-
readonly type: 'string';
|
|
1567
|
-
};
|
|
1568
|
-
};
|
|
1569
|
-
readonly required: readonly ['name'];
|
|
1570
|
-
};
|
|
1571
|
-
readonly members: {
|
|
1572
|
-
readonly type: 'integer';
|
|
1573
|
-
readonly minimum: 0;
|
|
1574
|
-
};
|
|
1575
|
-
readonly triggers: {
|
|
1576
|
-
readonly type: 'integer';
|
|
1577
|
-
readonly minimum: 0;
|
|
1578
|
-
};
|
|
1579
|
-
readonly published: {
|
|
1580
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1581
|
-
};
|
|
1582
|
-
readonly intake: {
|
|
1583
|
-
readonly enum: readonly ['yes', 'no'];
|
|
1584
|
-
};
|
|
1585
|
-
readonly size: {
|
|
1586
|
-
readonly type: 'number';
|
|
1587
|
-
};
|
|
1588
|
-
readonly admission: {
|
|
1589
|
-
readonly enum: readonly ['admitted', 'pending'];
|
|
1590
|
-
};
|
|
1591
|
-
readonly created: {
|
|
1592
|
-
readonly type: 'string';
|
|
1593
|
-
readonly format: 'date-time';
|
|
1594
|
-
};
|
|
1595
|
-
readonly archived: {
|
|
1596
|
-
readonly type: 'string';
|
|
1597
|
-
readonly format: 'date-time';
|
|
1598
|
-
};
|
|
1599
|
-
readonly public: {
|
|
1600
|
-
readonly type: 'string';
|
|
1601
|
-
readonly format: 'date-time';
|
|
1602
|
-
};
|
|
1603
|
-
readonly policy: {
|
|
1604
|
-
readonly enum: readonly ['On', 'Off'];
|
|
1605
|
-
};
|
|
1606
|
-
readonly indexing: {
|
|
1607
|
-
readonly type: 'array';
|
|
1608
|
-
readonly items: {
|
|
1609
|
-
readonly type: 'object';
|
|
1610
|
-
readonly additionalProperties: false;
|
|
1611
|
-
readonly properties: {
|
|
1612
|
-
readonly path: {
|
|
1613
|
-
readonly type: 'string';
|
|
1614
|
-
readonly minLength: 1;
|
|
1615
|
-
};
|
|
1616
|
-
readonly policy: {
|
|
1617
|
-
readonly enum: readonly ['On', 'Off'];
|
|
1618
|
-
};
|
|
1619
|
-
};
|
|
1620
|
-
readonly required: readonly ['path', 'policy'];
|
|
1621
|
-
};
|
|
1622
|
-
};
|
|
1623
|
-
readonly shared_schema: {
|
|
1624
|
-
readonly type: 'object';
|
|
1625
|
-
readonly additionalProperties: false;
|
|
1626
|
-
readonly properties: {
|
|
1627
|
-
readonly shared_schema: {
|
|
1628
|
-
readonly $ref: '#/$defs/id';
|
|
1629
|
-
};
|
|
1630
|
-
readonly name: {
|
|
1631
|
-
readonly type: 'string';
|
|
1632
|
-
};
|
|
1633
|
-
};
|
|
1634
|
-
readonly required: readonly ['shared_schema', 'name'];
|
|
1635
|
-
};
|
|
1636
|
-
readonly roster: {
|
|
1637
|
-
readonly type: 'array';
|
|
1638
|
-
readonly items: {
|
|
1639
|
-
readonly type: 'object';
|
|
1640
|
-
readonly additionalProperties: false;
|
|
1641
|
-
readonly properties: {
|
|
1642
|
-
readonly user: {
|
|
1643
|
-
readonly $ref: '#/$defs/id';
|
|
1644
|
-
};
|
|
1645
|
-
readonly name: {
|
|
1646
|
-
readonly type: 'string';
|
|
1647
|
-
};
|
|
1648
|
-
readonly owner: {
|
|
1649
|
-
readonly type: 'boolean';
|
|
1650
|
-
};
|
|
1651
|
-
readonly email: {
|
|
1652
|
-
readonly type: 'string';
|
|
1653
|
-
};
|
|
1654
|
-
readonly admitted: {
|
|
1655
|
-
readonly type: 'string';
|
|
1656
|
-
readonly format: 'date-time';
|
|
1657
|
-
};
|
|
1658
|
-
readonly access: {
|
|
1659
|
-
readonly type: 'string';
|
|
1660
|
-
readonly enum: readonly ['owner', 'manage', 'edit', 'keep', 'open', 'search'];
|
|
1661
|
-
};
|
|
1662
|
-
readonly only_while_online: {
|
|
1663
|
-
readonly const: true;
|
|
1664
|
-
};
|
|
1665
|
-
readonly document: {
|
|
1666
|
-
readonly $ref: '#/$defs/document';
|
|
1667
|
-
};
|
|
1668
|
-
readonly schema_roles: {
|
|
1669
|
-
readonly type: 'array';
|
|
1670
|
-
readonly items: {
|
|
1671
|
-
readonly type: 'string';
|
|
1672
|
-
};
|
|
1673
|
-
};
|
|
1674
|
-
readonly held: {
|
|
1675
|
-
readonly type: 'object';
|
|
1676
|
-
readonly additionalProperties: false;
|
|
1677
|
-
readonly properties: {
|
|
1678
|
-
readonly level: {
|
|
1679
|
-
readonly anyOf: readonly [{
|
|
1680
|
-
readonly type: 'string';
|
|
1681
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1682
|
-
}, {
|
|
1683
|
-
readonly type: 'null';
|
|
1684
|
-
}];
|
|
1685
|
-
};
|
|
1686
|
-
readonly operations: {
|
|
1687
|
-
readonly type: 'array';
|
|
1688
|
-
readonly items: {
|
|
1689
|
-
readonly type: 'string';
|
|
1690
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1691
|
-
};
|
|
1692
|
-
};
|
|
1693
|
-
};
|
|
1694
|
-
readonly required: readonly ['level', 'operations'];
|
|
1695
|
-
};
|
|
1696
|
-
};
|
|
1697
|
-
readonly required: readonly ['user', 'name', 'owner', 'email'];
|
|
1698
|
-
};
|
|
1699
|
-
};
|
|
1700
|
-
readonly rights: {
|
|
1701
|
-
readonly type: 'array';
|
|
1702
|
-
readonly items: {
|
|
1703
|
-
readonly type: 'object';
|
|
1704
|
-
readonly additionalProperties: false;
|
|
1705
|
-
readonly properties: {
|
|
1706
|
-
readonly user: {
|
|
1707
|
-
readonly $ref: '#/$defs/id';
|
|
1708
|
-
};
|
|
1709
|
-
readonly name: {
|
|
1710
|
-
readonly type: 'string';
|
|
1711
|
-
};
|
|
1712
|
-
readonly entries: {
|
|
1713
|
-
readonly type: 'array';
|
|
1714
|
-
readonly items: {
|
|
1715
|
-
readonly type: 'object';
|
|
1716
|
-
readonly additionalProperties: false;
|
|
1717
|
-
readonly properties: {
|
|
1718
|
-
readonly namespace: {
|
|
1719
|
-
readonly $ref: '#/$defs/namespace';
|
|
1720
|
-
};
|
|
1721
|
-
readonly level: {
|
|
1722
|
-
readonly anyOf: readonly [{
|
|
1723
|
-
readonly type: 'string';
|
|
1724
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1725
|
-
}, {
|
|
1726
|
-
readonly type: 'null';
|
|
1727
|
-
}];
|
|
1728
|
-
};
|
|
1729
|
-
readonly operations: {
|
|
1730
|
-
readonly type: 'array';
|
|
1731
|
-
readonly items: {
|
|
1732
|
-
readonly type: 'string';
|
|
1733
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1734
|
-
};
|
|
1735
|
-
};
|
|
1736
|
-
readonly sources: {
|
|
1737
|
-
readonly type: 'array';
|
|
1738
|
-
readonly items: {
|
|
1739
|
-
readonly type: 'object';
|
|
1740
|
-
readonly additionalProperties: false;
|
|
1741
|
-
readonly properties: {
|
|
1742
|
-
readonly kind: {
|
|
1743
|
-
readonly type: 'string';
|
|
1744
|
-
readonly enum: readonly ['direct', 'inherited'];
|
|
1745
|
-
};
|
|
1746
|
-
readonly namespace: {
|
|
1747
|
-
readonly $ref: '#/$defs/namespace';
|
|
1748
|
-
};
|
|
1749
|
-
readonly level: {
|
|
1750
|
-
readonly anyOf: readonly [{
|
|
1751
|
-
readonly type: 'string';
|
|
1752
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1753
|
-
}, {
|
|
1754
|
-
readonly type: 'null';
|
|
1755
|
-
}];
|
|
1756
|
-
};
|
|
1757
|
-
readonly operations: {
|
|
1758
|
-
readonly type: 'array';
|
|
1759
|
-
readonly items: {
|
|
1760
|
-
readonly type: 'string';
|
|
1761
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1762
|
-
};
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
readonly required: readonly ['kind', 'namespace', 'level', 'operations'];
|
|
1766
|
-
};
|
|
1767
|
-
};
|
|
1768
|
-
};
|
|
1769
|
-
readonly required: readonly ['namespace', 'level', 'operations', 'sources'];
|
|
1770
|
-
};
|
|
1771
|
-
};
|
|
1772
|
-
readonly direct: {
|
|
1773
|
-
readonly type: 'array';
|
|
1774
|
-
readonly items: {
|
|
1775
|
-
readonly type: 'object';
|
|
1776
|
-
readonly additionalProperties: false;
|
|
1777
|
-
readonly properties: {
|
|
1778
|
-
readonly namespace: {
|
|
1779
|
-
readonly $ref: '#/$defs/namespace';
|
|
1780
|
-
};
|
|
1781
|
-
readonly level: {
|
|
1782
|
-
readonly anyOf: readonly [{
|
|
1783
|
-
readonly type: 'string';
|
|
1784
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
1785
|
-
}, {
|
|
1786
|
-
readonly type: 'null';
|
|
1787
|
-
}];
|
|
1788
|
-
};
|
|
1789
|
-
readonly operations: {
|
|
1790
|
-
readonly type: 'array';
|
|
1791
|
-
readonly items: {
|
|
1792
|
-
readonly type: 'string';
|
|
1793
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
1794
|
-
};
|
|
1795
|
-
};
|
|
1796
|
-
};
|
|
1797
|
-
readonly required: readonly ['namespace', 'level', 'operations'];
|
|
1798
|
-
};
|
|
1799
|
-
};
|
|
1800
|
-
readonly admitted: {
|
|
1801
|
-
readonly type: 'string';
|
|
1802
|
-
readonly format: 'date-time';
|
|
1803
|
-
};
|
|
1804
|
-
readonly schema_roles: {
|
|
1805
|
-
readonly type: 'array';
|
|
1806
|
-
readonly items: {
|
|
1807
|
-
readonly type: 'string';
|
|
1808
|
-
};
|
|
1809
|
-
};
|
|
1810
|
-
};
|
|
1811
|
-
readonly required: readonly ['user', 'name', 'entries', 'direct', 'schema_roles'];
|
|
1812
|
-
};
|
|
1813
|
-
};
|
|
1814
|
-
readonly routines: {
|
|
1815
|
-
readonly type: 'array';
|
|
1816
|
-
readonly items: {
|
|
1817
|
-
readonly type: 'object';
|
|
1818
|
-
readonly additionalProperties: false;
|
|
1819
|
-
readonly properties: {
|
|
1820
|
-
readonly routine_access: {
|
|
1821
|
-
readonly $ref: '#/$defs/id';
|
|
1822
|
-
};
|
|
1823
|
-
readonly agent: {
|
|
1824
|
-
readonly $ref: '#/$defs/id';
|
|
1825
|
-
};
|
|
1826
|
-
readonly owner: {
|
|
1827
|
-
readonly type: 'object';
|
|
1828
|
-
readonly additionalProperties: false;
|
|
1829
|
-
readonly properties: {
|
|
1830
|
-
readonly name: {
|
|
1831
|
-
readonly type: 'string';
|
|
1832
|
-
};
|
|
1833
|
-
};
|
|
1834
|
-
readonly required: readonly ['name'];
|
|
1835
|
-
};
|
|
1836
|
-
readonly routine: {
|
|
1837
|
-
readonly type: 'object';
|
|
1838
|
-
readonly additionalProperties: false;
|
|
1839
|
-
readonly properties: {
|
|
1840
|
-
readonly name: {
|
|
1841
|
-
readonly type: 'string';
|
|
1842
|
-
};
|
|
1843
|
-
readonly description: {
|
|
1844
|
-
readonly type: 'string';
|
|
1845
|
-
};
|
|
1846
|
-
readonly input: {
|
|
1847
|
-
readonly type: 'string';
|
|
1848
|
-
};
|
|
1849
|
-
readonly version: {
|
|
1850
|
-
readonly type: 'integer';
|
|
1851
|
-
readonly exclusiveMinimum: 0;
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
1854
|
-
readonly required: readonly ['name', 'description', 'input', 'version'];
|
|
1855
|
-
};
|
|
1856
|
-
readonly starts_without_approval: {
|
|
1857
|
-
readonly type: 'boolean';
|
|
1858
|
-
};
|
|
1859
|
-
readonly triggers: {
|
|
1860
|
-
readonly type: 'boolean';
|
|
1861
|
-
readonly const: true;
|
|
1862
|
-
};
|
|
1863
|
-
};
|
|
1864
|
-
readonly required: readonly ['routine_access', 'agent', 'owner', 'routine'];
|
|
1865
|
-
};
|
|
1866
|
-
};
|
|
1867
|
-
};
|
|
1868
|
-
readonly required: readonly ['reflected', 'room', 'name', 'membership', 'access', 'admission', 'created', 'policy'];
|
|
1869
|
-
};
|
|
1870
|
-
readonly 'house-routine-access': {
|
|
1871
|
-
readonly description: "One Routine Access this User granted, its `routine` by identifier and `name`, the `agent` it calls, its `room` and when it was `created`. While a scope is `selected_users`, each invokers or starters entry names one `user` by identifier with their account `email` and display `name` as of the last write of this document, or by identifier alone once that User has left the Room. An entry naming the Access's `room` admits the Room's Triggers as a caller, or lets them start without approval, whatever the scope. `allowance` is the daily request allowance every caller is under, absent when open, `0` excluding them. Each allowances entry names a caller under a value of their own instead: the `user` or the `room` and their `allowance`, or the caller alone when they have none. While `follow_up_scope` is `selected_users`, each follow_ups entry names one User who may send follow-up mail to the conversations their requests started, as invokers entries name them; `all_admitted` lets every User caller send it, and the Agent's owner always may. `mail_allowance` is the daily follow-up mail allowance every User caller is under, and each mail_allowances entry names a `user` under an `allowance` of their own. `last_failure` is the latest withdrawn request, whatever starts after it: its `origin`, `user` or `trigger`, its time `at` and its `reason`.";
|
|
1872
|
-
readonly properties: {
|
|
1873
|
-
readonly reflected: {
|
|
1874
|
-
readonly type: 'string';
|
|
1875
|
-
readonly format: 'date-time';
|
|
1876
|
-
};
|
|
1877
|
-
readonly routine_access: {
|
|
1878
|
-
readonly $ref: '#/$defs/id';
|
|
1879
|
-
};
|
|
1880
|
-
readonly routine: {
|
|
1881
|
-
readonly type: 'object';
|
|
1882
|
-
readonly additionalProperties: false;
|
|
1883
|
-
readonly properties: {
|
|
1884
|
-
readonly routine: {
|
|
1885
|
-
readonly $ref: '#/$defs/id';
|
|
1886
|
-
};
|
|
1887
|
-
readonly name: {
|
|
1888
|
-
readonly type: 'string';
|
|
1889
|
-
};
|
|
1890
|
-
};
|
|
1891
|
-
readonly required: readonly ['routine', 'name'];
|
|
1892
|
-
};
|
|
1893
|
-
readonly agent: {
|
|
1894
|
-
readonly $ref: '#/$defs/id';
|
|
1895
|
-
};
|
|
1896
|
-
readonly room: {
|
|
1897
|
-
readonly $ref: '#/$defs/room';
|
|
1898
|
-
};
|
|
1899
|
-
readonly invoker_scope: {
|
|
1900
|
-
readonly type: 'string';
|
|
1901
|
-
readonly enum: readonly ['all_members', 'selected_users'];
|
|
1902
|
-
};
|
|
1903
|
-
readonly start_scope: {
|
|
1904
|
-
readonly type: 'string';
|
|
1905
|
-
readonly enum: readonly ['none', 'all_admitted', 'selected_users'];
|
|
1906
|
-
};
|
|
1907
|
-
readonly follow_up_scope: {
|
|
1908
|
-
readonly type: 'string';
|
|
1909
|
-
readonly enum: readonly ['none', 'all_admitted', 'selected_users'];
|
|
1910
|
-
};
|
|
1911
|
-
readonly created: {
|
|
1912
|
-
readonly type: 'string';
|
|
1913
|
-
readonly format: 'date-time';
|
|
1914
|
-
};
|
|
1915
|
-
readonly revoked: {
|
|
1916
|
-
readonly type: 'string';
|
|
1917
|
-
readonly format: 'date-time';
|
|
1918
|
-
};
|
|
1919
|
-
readonly invokers: {
|
|
1920
|
-
readonly type: 'array';
|
|
1921
|
-
readonly items: {
|
|
1922
|
-
readonly $ref: '#/$defs/caller';
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
readonly starters: {
|
|
1926
|
-
readonly type: 'array';
|
|
1927
|
-
readonly items: {
|
|
1928
|
-
readonly $ref: '#/$defs/caller';
|
|
1929
|
-
};
|
|
1930
|
-
};
|
|
1931
|
-
readonly follow_ups: {
|
|
1932
|
-
readonly type: 'array';
|
|
1933
|
-
readonly items: {
|
|
1934
|
-
readonly type: 'object';
|
|
1935
|
-
readonly additionalProperties: false;
|
|
1936
|
-
readonly properties: {
|
|
1937
|
-
readonly user: {
|
|
1938
|
-
readonly $ref: '#/$defs/id';
|
|
1939
|
-
};
|
|
1940
|
-
readonly email: {
|
|
1941
|
-
readonly type: 'string';
|
|
1942
|
-
};
|
|
1943
|
-
readonly name: {
|
|
1944
|
-
readonly type: 'string';
|
|
1945
|
-
};
|
|
1946
|
-
};
|
|
1947
|
-
readonly required: readonly ['user'];
|
|
1948
|
-
};
|
|
1949
|
-
};
|
|
1950
|
-
readonly allowance: {
|
|
1951
|
-
readonly type: 'integer';
|
|
1952
|
-
readonly minimum: 0;
|
|
1953
|
-
};
|
|
1954
|
-
readonly allowances: {
|
|
1955
|
-
readonly type: 'array';
|
|
1956
|
-
readonly items: {
|
|
1957
|
-
readonly type: 'object';
|
|
1958
|
-
readonly additionalProperties: false;
|
|
1959
|
-
readonly properties: {
|
|
1960
|
-
readonly user: {
|
|
1961
|
-
readonly $ref: '#/$defs/id';
|
|
1962
|
-
};
|
|
1963
|
-
readonly room: {
|
|
1964
|
-
readonly $ref: '#/$defs/room';
|
|
1965
|
-
};
|
|
1966
|
-
readonly allowance: {
|
|
1967
|
-
readonly type: 'integer';
|
|
1968
|
-
readonly minimum: 0;
|
|
1969
|
-
};
|
|
1970
|
-
};
|
|
1971
|
-
readonly minProperties: 1;
|
|
1972
|
-
};
|
|
1973
|
-
};
|
|
1974
|
-
readonly mail_allowance: {
|
|
1975
|
-
readonly type: 'integer';
|
|
1976
|
-
readonly minimum: 0;
|
|
1977
|
-
};
|
|
1978
|
-
readonly mail_allowances: {
|
|
1979
|
-
readonly type: 'array';
|
|
1980
|
-
readonly items: {
|
|
1981
|
-
readonly type: 'object';
|
|
1982
|
-
readonly additionalProperties: false;
|
|
1983
|
-
readonly properties: {
|
|
1984
|
-
readonly user: {
|
|
1985
|
-
readonly $ref: '#/$defs/id';
|
|
1986
|
-
};
|
|
1987
|
-
readonly allowance: {
|
|
1988
|
-
readonly type: 'integer';
|
|
1989
|
-
readonly minimum: 0;
|
|
1990
|
-
};
|
|
1991
|
-
};
|
|
1992
|
-
readonly required: readonly ['user', 'allowance'];
|
|
1993
|
-
};
|
|
1994
|
-
};
|
|
1995
|
-
readonly last_failure: {
|
|
1996
|
-
readonly type: 'object';
|
|
1997
|
-
readonly additionalProperties: false;
|
|
1998
|
-
readonly properties: {
|
|
1999
|
-
readonly origin: {
|
|
2000
|
-
readonly enum: readonly ['user', 'trigger'];
|
|
2001
|
-
};
|
|
2002
|
-
readonly at: {
|
|
2003
|
-
readonly type: 'string';
|
|
2004
|
-
readonly format: 'date-time';
|
|
2005
|
-
};
|
|
2006
|
-
readonly reason: {
|
|
2007
|
-
readonly type: 'string';
|
|
2008
|
-
};
|
|
2009
|
-
};
|
|
2010
|
-
readonly required: readonly ['origin', 'at', 'reason'];
|
|
2011
|
-
};
|
|
2012
|
-
};
|
|
2013
|
-
readonly required: readonly ['reflected', 'routine_access', 'routine', 'agent', 'room', 'invoker_scope', 'start_scope', 'follow_up_scope', 'created'];
|
|
2014
30
|
};
|
|
2015
|
-
readonly 'house-
|
|
2016
|
-
readonly description: "
|
|
31
|
+
readonly 'house-app-preferences': {
|
|
32
|
+
readonly description: "An App's preferences. Its own vocabulary is in the body.";
|
|
2017
33
|
readonly properties: {
|
|
2018
|
-
readonly
|
|
2019
|
-
readonly
|
|
2020
|
-
readonly format: 'date-time';
|
|
2021
|
-
};
|
|
2022
|
-
readonly routine: {
|
|
2023
|
-
readonly $ref: '#/$defs/id';
|
|
2024
|
-
};
|
|
2025
|
-
readonly description: {
|
|
2026
|
-
readonly type: 'string';
|
|
2027
|
-
};
|
|
2028
|
-
readonly input: {
|
|
2029
|
-
readonly type: 'string';
|
|
2030
|
-
};
|
|
2031
|
-
readonly agent: {
|
|
2032
|
-
readonly type: 'object';
|
|
2033
|
-
readonly additionalProperties: false;
|
|
2034
|
-
readonly properties: {
|
|
2035
|
-
readonly agent: {
|
|
2036
|
-
readonly $ref: '#/$defs/id';
|
|
2037
|
-
};
|
|
2038
|
-
readonly name: {
|
|
2039
|
-
readonly type: 'string';
|
|
2040
|
-
};
|
|
2041
|
-
};
|
|
2042
|
-
readonly required: readonly ['agent', 'name'];
|
|
34
|
+
readonly app: {
|
|
35
|
+
readonly $ref: '#/$defs/app';
|
|
2043
36
|
};
|
|
2044
37
|
};
|
|
2045
|
-
readonly required: readonly ['
|
|
38
|
+
readonly required: readonly ['app'];
|
|
2046
39
|
};
|
|
2047
|
-
readonly 'house-
|
|
2048
|
-
readonly description: "One
|
|
40
|
+
readonly 'house-notification': {
|
|
41
|
+
readonly description: "One kept Notification for this User: its kind, when it was sent as `created`, its way in, its email's subject and each fact of its value that is not sealed, named in snake_case. An entity a fact names is an object holding its identifier under the key of its kind, when the notification carries it, and its `name`, `email` and other facts beside it; a fact holding null is absent. `way_in` is either the House `path` it opens or the entity it is about, by its identifier under the key of its kind, a Trigger with its `room`. Its body is its email's words in Markdown. Both were worded once, in the User's language when it was delivered; an App may show them or word it itself from its kind and value. `read` is when the User opened it or marked it read, on any device: the one field House adds after delivery.";
|
|
2049
42
|
readonly properties: {
|
|
2050
|
-
readonly
|
|
2051
|
-
readonly type: 'string';
|
|
2052
|
-
readonly format: 'date-time';
|
|
2053
|
-
};
|
|
2054
|
-
readonly service_key: {
|
|
43
|
+
readonly notification: {
|
|
2055
44
|
readonly $ref: '#/$defs/id';
|
|
2056
45
|
};
|
|
2057
|
-
readonly
|
|
2058
|
-
readonly
|
|
46
|
+
readonly kind: {
|
|
47
|
+
readonly type: 'string';
|
|
48
|
+
readonly enum: readonly ['share-offer', 'join-request', 'join-request-approved', 'room-ownership-offer', 'managed-environment-retention-opened', 'storage-full', 'sandbox-budget-spent', 'trigger-failed', 'break-glass-owner-disclosure', 'export-ready', 'export-failed', 'custom', 'agent-function-request-finished'];
|
|
2059
49
|
};
|
|
2060
|
-
readonly
|
|
50
|
+
readonly created: {
|
|
2061
51
|
readonly type: 'string';
|
|
52
|
+
readonly format: 'date-time';
|
|
2062
53
|
};
|
|
2063
|
-
readonly
|
|
54
|
+
readonly read: {
|
|
2064
55
|
readonly type: 'string';
|
|
2065
|
-
readonly format: '
|
|
56
|
+
readonly format: 'date-time';
|
|
2066
57
|
};
|
|
2067
|
-
readonly
|
|
58
|
+
readonly way_in: {
|
|
2068
59
|
readonly type: 'object';
|
|
2069
60
|
readonly additionalProperties: false;
|
|
2070
61
|
readonly properties: {
|
|
2071
|
-
readonly
|
|
2072
|
-
readonly enum: readonly ['bearer', 'header', 'query', 'basic', 'path'];
|
|
2073
|
-
};
|
|
2074
|
-
readonly name: {
|
|
62
|
+
readonly path: {
|
|
2075
63
|
readonly type: 'string';
|
|
64
|
+
readonly pattern: '^\\/';
|
|
2076
65
|
};
|
|
2077
|
-
readonly
|
|
2078
|
-
readonly
|
|
66
|
+
readonly room: {
|
|
67
|
+
readonly $ref: '#/$defs/room';
|
|
68
|
+
};
|
|
69
|
+
readonly environment: {
|
|
70
|
+
readonly $ref: '#/$defs/id';
|
|
71
|
+
};
|
|
72
|
+
readonly trigger: {
|
|
73
|
+
readonly $ref: '#/$defs/id';
|
|
2079
74
|
};
|
|
2080
75
|
};
|
|
2081
|
-
readonly
|
|
2082
|
-
};
|
|
2083
|
-
readonly icon: {
|
|
2084
|
-
readonly type: 'string';
|
|
2085
|
-
readonly pattern: '^\\/service-keys\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\/icon$';
|
|
76
|
+
readonly minProperties: 1;
|
|
2086
77
|
};
|
|
2087
|
-
|
|
2088
|
-
readonly required: readonly ['reflected', 'service_key', 'room', 'name', 'origin', 'form'];
|
|
2089
|
-
};
|
|
2090
|
-
readonly 'house-share': {
|
|
2091
|
-
readonly description: "One Share this User issued, kept until it expires or is cancelled. An email delivery carries `share_to`, the address this User entered, and `invited` `true` while that address has no account, so House sent it an invitation email; a link delivery never carries the link. Each item names its `kind`, `room` or `app`, the Room or App under that key with its `name`, its `state`, `offerable`, `held`, `accepted`, `declined`, `superseded` or `ended`, an item the accepted Share could not give being `ended` with its `cause`, `offer_changed` when the recipient's access changed before it was given or `manage_access_lost` when this User no longer managed it, for a Room item the `level` it grants, the `operations` it grants as this User chose them, the access word they earn as `access`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` at the Open level, and the Schema Roles its member gets as `roles` when it names any, and for an App item the external `origins` its latest release declared when this document was written, when it declared any. An App item is never shown `held`. Each pack entry names an App item's `app`, one of its `slot`s, and the `room` of the Room item that fills it, with that Room's `name`. Each `join_requests` entry of a link delivery names one Join request, its `state`, `waiting`, `approved` or `declined`, and the User it is `from` by account `email` and display `name` as House held them when this document was written, oldest first; the House approval path of a Join request is `/approve/` followed by its identifier.";
|
|
2092
|
-
readonly properties: {
|
|
2093
|
-
readonly reflected: {
|
|
78
|
+
readonly subject: {
|
|
2094
79
|
readonly type: 'string';
|
|
2095
|
-
readonly format: 'date-time';
|
|
2096
80
|
};
|
|
2097
81
|
readonly share: {
|
|
2098
82
|
readonly $ref: '#/$defs/id';
|
|
2099
83
|
};
|
|
2100
|
-
readonly
|
|
2101
|
-
readonly
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
readonly items: {
|
|
2111
|
-
readonly type: 'array';
|
|
2112
|
-
readonly items: {
|
|
2113
|
-
readonly type: 'object';
|
|
2114
|
-
readonly additionalProperties: false;
|
|
2115
|
-
readonly properties: {
|
|
2116
|
-
readonly kind: {
|
|
2117
|
-
readonly enum: readonly ['room', 'app'];
|
|
2118
|
-
};
|
|
2119
|
-
readonly name: {
|
|
2120
|
-
readonly type: 'string';
|
|
2121
|
-
};
|
|
2122
|
-
readonly state: {
|
|
2123
|
-
readonly enum: readonly ['offerable', 'held', 'accepted', 'declined', 'superseded', 'ended'];
|
|
2124
|
-
};
|
|
2125
|
-
readonly cause: {
|
|
2126
|
-
readonly enum: readonly ['offer_changed', 'manage_access_lost'];
|
|
2127
|
-
};
|
|
2128
|
-
readonly level: {
|
|
2129
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
2130
|
-
};
|
|
2131
|
-
readonly operations: {
|
|
2132
|
-
readonly type: 'array';
|
|
2133
|
-
readonly items: {
|
|
2134
|
-
readonly type: 'string';
|
|
2135
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
2136
|
-
};
|
|
2137
|
-
};
|
|
2138
|
-
readonly access: {
|
|
2139
|
-
readonly enum: readonly ['manage', 'edit', 'keep', 'open', 'search'];
|
|
2140
|
-
};
|
|
2141
|
-
readonly only_while_online: {
|
|
2142
|
-
readonly const: true;
|
|
2143
|
-
};
|
|
2144
|
-
readonly roles: {
|
|
2145
|
-
readonly type: 'array';
|
|
2146
|
-
readonly items: {
|
|
2147
|
-
readonly type: 'string';
|
|
2148
|
-
};
|
|
2149
|
-
};
|
|
2150
|
-
readonly origins: {
|
|
2151
|
-
readonly type: 'array';
|
|
2152
|
-
readonly items: {
|
|
2153
|
-
readonly type: 'string';
|
|
2154
|
-
readonly format: 'uri';
|
|
2155
|
-
};
|
|
2156
|
-
};
|
|
2157
|
-
readonly room: {
|
|
2158
|
-
readonly $ref: '#/$defs/room';
|
|
2159
|
-
};
|
|
2160
|
-
readonly app: {
|
|
2161
|
-
readonly $ref: '#/$defs/app';
|
|
2162
|
-
};
|
|
84
|
+
readonly issuer: {
|
|
85
|
+
readonly type: 'object';
|
|
86
|
+
readonly additionalProperties: false;
|
|
87
|
+
readonly properties: {
|
|
88
|
+
readonly name: {
|
|
89
|
+
readonly type: 'string';
|
|
90
|
+
};
|
|
91
|
+
readonly email: {
|
|
92
|
+
readonly type: 'string';
|
|
93
|
+
readonly format: 'email';
|
|
2163
94
|
};
|
|
2164
|
-
readonly required: readonly ['kind', 'name', 'state', 'operations'];
|
|
2165
95
|
};
|
|
96
|
+
readonly required: readonly ['name', 'email'];
|
|
2166
97
|
};
|
|
2167
|
-
readonly
|
|
98
|
+
readonly rooms: {
|
|
2168
99
|
readonly type: 'array';
|
|
2169
100
|
readonly items: {
|
|
2170
101
|
readonly type: 'object';
|
|
2171
102
|
readonly additionalProperties: false;
|
|
2172
103
|
readonly properties: {
|
|
2173
|
-
readonly
|
|
2174
|
-
readonly $ref: '#/$defs/app';
|
|
2175
|
-
};
|
|
2176
|
-
readonly slot: {
|
|
104
|
+
readonly name: {
|
|
2177
105
|
readonly type: 'string';
|
|
2178
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
2179
|
-
};
|
|
2180
|
-
readonly room: {
|
|
2181
|
-
readonly type: 'object';
|
|
2182
|
-
readonly additionalProperties: false;
|
|
2183
|
-
readonly properties: {
|
|
2184
|
-
readonly room: {
|
|
2185
|
-
readonly $ref: '#/$defs/room';
|
|
2186
|
-
};
|
|
2187
|
-
readonly name: {
|
|
2188
|
-
readonly type: 'string';
|
|
2189
|
-
};
|
|
2190
|
-
};
|
|
2191
|
-
readonly required: readonly ['room', 'name'];
|
|
2192
106
|
};
|
|
2193
107
|
};
|
|
2194
|
-
readonly required: readonly ['
|
|
108
|
+
readonly required: readonly ['name'];
|
|
2195
109
|
};
|
|
2196
110
|
};
|
|
2197
|
-
readonly
|
|
111
|
+
readonly apps: {
|
|
112
|
+
readonly maxItems: 20;
|
|
2198
113
|
readonly type: 'array';
|
|
2199
114
|
readonly items: {
|
|
2200
115
|
readonly type: 'object';
|
|
2201
116
|
readonly additionalProperties: false;
|
|
2202
117
|
readonly properties: {
|
|
2203
|
-
readonly
|
|
2204
|
-
readonly
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
readonly enum: readonly ['waiting', 'approved', 'declined'];
|
|
118
|
+
readonly name: {
|
|
119
|
+
readonly type: 'string';
|
|
120
|
+
readonly minLength: 1;
|
|
121
|
+
readonly maxLength: 200;
|
|
2208
122
|
};
|
|
2209
|
-
readonly
|
|
2210
|
-
readonly type: '
|
|
2211
|
-
readonly
|
|
2212
|
-
|
|
2213
|
-
readonly
|
|
2214
|
-
|
|
2215
|
-
};
|
|
2216
|
-
readonly name: {
|
|
2217
|
-
readonly type: 'string';
|
|
2218
|
-
};
|
|
123
|
+
readonly reaches: {
|
|
124
|
+
readonly type: 'array';
|
|
125
|
+
readonly items: {
|
|
126
|
+
readonly type: 'string';
|
|
127
|
+
readonly minLength: 1;
|
|
128
|
+
readonly maxLength: 512;
|
|
2219
129
|
};
|
|
2220
|
-
readonly required: readonly ['email', 'name'];
|
|
2221
130
|
};
|
|
2222
131
|
};
|
|
2223
|
-
readonly required: readonly ['
|
|
132
|
+
readonly required: readonly ['name', 'reaches'];
|
|
2224
133
|
};
|
|
2225
134
|
};
|
|
2226
|
-
readonly
|
|
2227
|
-
readonly type: 'string';
|
|
2228
|
-
readonly format: 'date-time';
|
|
2229
|
-
};
|
|
2230
|
-
readonly expires: {
|
|
2231
|
-
readonly type: 'string';
|
|
2232
|
-
readonly format: 'date-time';
|
|
2233
|
-
};
|
|
2234
|
-
};
|
|
2235
|
-
readonly required: readonly ['reflected', 'share', 'share_link', 'created', 'expires'];
|
|
2236
|
-
};
|
|
2237
|
-
readonly 'house-share-offer': {
|
|
2238
|
-
readonly description: "One live Share offered to this User by email while an item of it is still offered, `from` its issuer by display `name` and account `email`. Each item names its `kind`, `room` or `app`, its `name`, its `state` for this User, `offerable`, `held`, `accepted`, `declined`, `superseded` or `ended`, an item the accepted Share could not give being `ended` with its `cause`, `offer_changed` when this User's access changed before it was given or `manage_access_lost` when its issuer no longer managed it, for a Room item the `level` it grants, the `operations` it grants and the access word they earn as `access`, `manage`, `edit`, `keep`, `open` or `search`, with `only_while_online` on a `manage` or `edit` at the Open level; it carries no reference. A Room item's access level and operations are the ones its issuer chose for the Room's content; its holder reads the Room's settings at that level, and holds `manageAccess` over its document model when it names `manageAccess`. A Room item naming Schema Roles names them as `roles`, which accepting the Share adds to this User's own in that Room. An App item grants use of the App and never its source, is never shown `held`, and names as `origins` the external origins its latest release declared when this document was written, when it declared any, which accepting the Share lets its code reach. Each pack entry names an offered `app`, one of its `slot`s, and the offered `room` that fills it, each by `name`. Names are as House held them when this document was written. The page is the House approval path where this User accepts or declines the whole Share.";
|
|
2239
|
-
readonly properties: {
|
|
2240
|
-
readonly reflected: {
|
|
135
|
+
readonly expires_at: {
|
|
2241
136
|
readonly type: 'string';
|
|
2242
137
|
readonly format: 'date-time';
|
|
2243
138
|
};
|
|
2244
|
-
readonly
|
|
139
|
+
readonly join_request: {
|
|
2245
140
|
readonly $ref: '#/$defs/id';
|
|
2246
141
|
};
|
|
2247
|
-
readonly
|
|
142
|
+
readonly user: {
|
|
2248
143
|
readonly type: 'object';
|
|
2249
144
|
readonly additionalProperties: false;
|
|
2250
145
|
readonly properties: {
|
|
@@ -2258,366 +153,272 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
2258
153
|
};
|
|
2259
154
|
readonly required: readonly ['name', 'email'];
|
|
2260
155
|
};
|
|
2261
|
-
readonly
|
|
2262
|
-
readonly type: '
|
|
2263
|
-
readonly
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
readonly
|
|
2269
|
-
|
|
2270
|
-
readonly properties: {
|
|
2271
|
-
readonly kind: {
|
|
2272
|
-
readonly enum: readonly ['room', 'app'];
|
|
2273
|
-
};
|
|
2274
|
-
readonly name: {
|
|
2275
|
-
readonly type: 'string';
|
|
2276
|
-
};
|
|
2277
|
-
readonly state: {
|
|
2278
|
-
readonly enum: readonly ['offerable', 'held', 'accepted', 'declined', 'superseded', 'ended'];
|
|
2279
|
-
};
|
|
2280
|
-
readonly cause: {
|
|
2281
|
-
readonly enum: readonly ['offer_changed', 'manage_access_lost'];
|
|
2282
|
-
};
|
|
2283
|
-
readonly level: {
|
|
2284
|
-
readonly enum: readonly ['search', 'open', 'keep'];
|
|
2285
|
-
};
|
|
2286
|
-
readonly operations: {
|
|
2287
|
-
readonly type: 'array';
|
|
2288
|
-
readonly items: {
|
|
2289
|
-
readonly type: 'string';
|
|
2290
|
-
readonly enum: readonly ['write', 'delete', 'export', 'manageAccess'];
|
|
2291
|
-
};
|
|
2292
|
-
};
|
|
2293
|
-
readonly access: {
|
|
2294
|
-
readonly enum: readonly ['manage', 'edit', 'keep', 'open', 'search'];
|
|
2295
|
-
};
|
|
2296
|
-
readonly only_while_online: {
|
|
2297
|
-
readonly const: true;
|
|
2298
|
-
};
|
|
2299
|
-
readonly roles: {
|
|
2300
|
-
readonly type: 'array';
|
|
2301
|
-
readonly items: {
|
|
2302
|
-
readonly type: 'string';
|
|
2303
|
-
};
|
|
2304
|
-
};
|
|
2305
|
-
readonly origins: {
|
|
2306
|
-
readonly type: 'array';
|
|
2307
|
-
readonly items: {
|
|
2308
|
-
readonly type: 'string';
|
|
2309
|
-
readonly format: 'uri';
|
|
2310
|
-
};
|
|
2311
|
-
};
|
|
156
|
+
readonly room: {
|
|
157
|
+
readonly type: 'object';
|
|
158
|
+
readonly additionalProperties: false;
|
|
159
|
+
readonly properties: {
|
|
160
|
+
readonly room: {
|
|
161
|
+
readonly $ref: '#/$defs/room';
|
|
162
|
+
};
|
|
163
|
+
readonly name: {
|
|
164
|
+
readonly type: 'string';
|
|
2312
165
|
};
|
|
2313
|
-
readonly required: readonly ['kind', 'name', 'state', 'operations'];
|
|
2314
166
|
};
|
|
167
|
+
readonly minProperties: 1;
|
|
2315
168
|
};
|
|
2316
|
-
readonly
|
|
2317
|
-
readonly type: '
|
|
2318
|
-
readonly
|
|
2319
|
-
|
|
2320
|
-
readonly
|
|
2321
|
-
|
|
2322
|
-
readonly app: {
|
|
2323
|
-
readonly type: 'object';
|
|
2324
|
-
readonly additionalProperties: false;
|
|
2325
|
-
readonly properties: {
|
|
2326
|
-
readonly name: {
|
|
2327
|
-
readonly type: 'string';
|
|
2328
|
-
};
|
|
2329
|
-
};
|
|
2330
|
-
readonly required: readonly ['name'];
|
|
2331
|
-
};
|
|
2332
|
-
readonly slot: {
|
|
2333
|
-
readonly type: 'string';
|
|
2334
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
2335
|
-
};
|
|
2336
|
-
readonly room: {
|
|
2337
|
-
readonly type: 'object';
|
|
2338
|
-
readonly additionalProperties: false;
|
|
2339
|
-
readonly properties: {
|
|
2340
|
-
readonly name: {
|
|
2341
|
-
readonly type: 'string';
|
|
2342
|
-
};
|
|
2343
|
-
};
|
|
2344
|
-
readonly required: readonly ['name'];
|
|
2345
|
-
};
|
|
169
|
+
readonly app: {
|
|
170
|
+
readonly type: 'object';
|
|
171
|
+
readonly additionalProperties: false;
|
|
172
|
+
readonly properties: {
|
|
173
|
+
readonly app: {
|
|
174
|
+
readonly $ref: '#/$defs/app';
|
|
2346
175
|
};
|
|
2347
|
-
readonly required: readonly ['app', 'slot', 'room'];
|
|
2348
176
|
};
|
|
177
|
+
readonly required: readonly ['app'];
|
|
2349
178
|
};
|
|
2350
|
-
readonly
|
|
2351
|
-
readonly
|
|
2352
|
-
readonly format: 'date-time';
|
|
2353
|
-
};
|
|
2354
|
-
readonly expires: {
|
|
2355
|
-
readonly type: 'string';
|
|
2356
|
-
readonly format: 'date-time';
|
|
179
|
+
readonly ownership_offer: {
|
|
180
|
+
readonly $ref: '#/$defs/id';
|
|
2357
181
|
};
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
182
|
+
readonly offerer: {
|
|
183
|
+
readonly type: 'object';
|
|
184
|
+
readonly additionalProperties: false;
|
|
185
|
+
readonly properties: {
|
|
186
|
+
readonly name: {
|
|
187
|
+
readonly type: 'string';
|
|
188
|
+
};
|
|
189
|
+
readonly email: {
|
|
190
|
+
readonly type: 'string';
|
|
191
|
+
readonly format: 'email';
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly required: readonly ['name', 'email'];
|
|
2367
195
|
};
|
|
2368
|
-
readonly
|
|
2369
|
-
readonly
|
|
196
|
+
readonly environment: {
|
|
197
|
+
readonly type: 'object';
|
|
198
|
+
readonly additionalProperties: false;
|
|
199
|
+
readonly properties: {
|
|
200
|
+
readonly environment: {
|
|
201
|
+
readonly $ref: '#/$defs/id';
|
|
202
|
+
};
|
|
203
|
+
readonly name: {
|
|
204
|
+
readonly type: 'string';
|
|
205
|
+
};
|
|
206
|
+
readonly kind: {
|
|
207
|
+
readonly enum: readonly ['vps', 'sandbox'];
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
readonly required: readonly ['environment', 'name'];
|
|
2370
211
|
};
|
|
2371
|
-
readonly
|
|
212
|
+
readonly reason: {
|
|
2372
213
|
readonly type: 'string';
|
|
2373
214
|
};
|
|
2374
|
-
readonly
|
|
215
|
+
readonly deadline: {
|
|
2375
216
|
readonly type: 'string';
|
|
2376
|
-
readonly format: '
|
|
217
|
+
readonly format: 'date-time';
|
|
2377
218
|
};
|
|
2378
|
-
readonly
|
|
2379
|
-
readonly type: '
|
|
2380
|
-
readonly
|
|
2381
|
-
|
|
2382
|
-
readonly
|
|
219
|
+
readonly free: {
|
|
220
|
+
readonly type: 'object';
|
|
221
|
+
readonly additionalProperties: false;
|
|
222
|
+
readonly properties: {
|
|
223
|
+
readonly held: {
|
|
224
|
+
readonly type: 'string';
|
|
225
|
+
readonly pattern: '^\\d+$';
|
|
226
|
+
};
|
|
227
|
+
readonly limit: {
|
|
228
|
+
readonly type: 'string';
|
|
229
|
+
readonly pattern: '^[1-9]\\d*$';
|
|
230
|
+
};
|
|
231
|
+
readonly measure: {
|
|
232
|
+
readonly type: 'string';
|
|
233
|
+
readonly enum: readonly ['content', 'retained'];
|
|
234
|
+
};
|
|
2383
235
|
};
|
|
236
|
+
readonly required: readonly ['held', 'limit', 'measure'];
|
|
2384
237
|
};
|
|
2385
|
-
readonly
|
|
238
|
+
readonly budget: {
|
|
2386
239
|
readonly type: 'string';
|
|
2387
|
-
readonly
|
|
2388
|
-
};
|
|
2389
|
-
readonly domains: {
|
|
2390
|
-
readonly type: 'array';
|
|
2391
|
-
readonly items: {
|
|
2392
|
-
readonly type: 'object';
|
|
2393
|
-
readonly additionalProperties: false;
|
|
2394
|
-
readonly properties: {
|
|
2395
|
-
readonly host: {
|
|
2396
|
-
readonly type: 'string';
|
|
2397
|
-
};
|
|
2398
|
-
readonly state: {
|
|
2399
|
-
readonly enum: readonly ['pending', 'active', 'failed'];
|
|
2400
|
-
};
|
|
2401
|
-
readonly dns_target: {
|
|
2402
|
-
readonly type: 'string';
|
|
2403
|
-
};
|
|
2404
|
-
readonly reason: {
|
|
2405
|
-
readonly type: 'string';
|
|
2406
|
-
};
|
|
2407
|
-
};
|
|
2408
|
-
readonly required: readonly ['host', 'state', 'dns_target'];
|
|
2409
|
-
};
|
|
240
|
+
readonly pattern: '^\\d+(?:\\.\\d+)?$';
|
|
2410
241
|
};
|
|
2411
|
-
readonly
|
|
2412
|
-
readonly
|
|
242
|
+
readonly resets_at: {
|
|
243
|
+
readonly type: 'string';
|
|
244
|
+
readonly format: 'date-time';
|
|
245
|
+
};
|
|
246
|
+
readonly grant: {
|
|
247
|
+
readonly $ref: '#/$defs/id';
|
|
248
|
+
};
|
|
249
|
+
readonly category: {
|
|
250
|
+
readonly type: 'string';
|
|
2413
251
|
};
|
|
2414
|
-
readonly
|
|
252
|
+
readonly access_started_at: {
|
|
2415
253
|
readonly type: 'string';
|
|
2416
|
-
readonly
|
|
254
|
+
readonly format: 'date-time';
|
|
2417
255
|
};
|
|
2418
|
-
readonly
|
|
256
|
+
readonly access_ended_at: {
|
|
2419
257
|
readonly type: 'string';
|
|
2420
|
-
readonly
|
|
258
|
+
readonly format: 'date-time';
|
|
2421
259
|
};
|
|
2422
|
-
readonly
|
|
260
|
+
readonly systems: {
|
|
2423
261
|
readonly type: 'array';
|
|
2424
262
|
readonly items: {
|
|
2425
263
|
readonly type: 'string';
|
|
2426
|
-
readonly pattern: '^#[0-9a-f]{6}$';
|
|
2427
264
|
};
|
|
2428
265
|
};
|
|
2429
|
-
readonly
|
|
2430
|
-
readonly
|
|
266
|
+
readonly case_reference: {
|
|
267
|
+
readonly type: 'string';
|
|
268
|
+
};
|
|
269
|
+
readonly export: {
|
|
270
|
+
readonly $ref: '#/$defs/id';
|
|
2431
271
|
};
|
|
2432
|
-
readonly
|
|
272
|
+
readonly size_bytes: {
|
|
2433
273
|
readonly type: 'integer';
|
|
2434
274
|
readonly minimum: 0;
|
|
2435
|
-
readonly maximum: 359;
|
|
2436
275
|
};
|
|
2437
|
-
readonly
|
|
2438
|
-
readonly
|
|
276
|
+
readonly title: {
|
|
277
|
+
readonly type: 'string';
|
|
278
|
+
};
|
|
279
|
+
readonly body: {
|
|
280
|
+
readonly type: 'string';
|
|
2439
281
|
};
|
|
2440
|
-
readonly
|
|
282
|
+
readonly authorship: {
|
|
2441
283
|
readonly type: 'object';
|
|
2442
284
|
readonly additionalProperties: false;
|
|
2443
285
|
readonly properties: {
|
|
2444
|
-
readonly
|
|
286
|
+
readonly kind: {
|
|
287
|
+
readonly type: 'string';
|
|
288
|
+
readonly const: 'trigger-action';
|
|
289
|
+
};
|
|
290
|
+
readonly trigger: {
|
|
2445
291
|
readonly $ref: '#/$defs/id';
|
|
2446
292
|
};
|
|
2447
|
-
readonly
|
|
293
|
+
readonly position: {
|
|
2448
294
|
readonly type: 'integer';
|
|
2449
|
-
readonly
|
|
295
|
+
readonly minimum: 0;
|
|
2450
296
|
};
|
|
2451
297
|
};
|
|
2452
|
-
readonly required: readonly ['
|
|
298
|
+
readonly required: readonly ['kind', 'trigger', 'position'];
|
|
2453
299
|
};
|
|
2454
|
-
readonly
|
|
300
|
+
readonly path: {
|
|
2455
301
|
readonly type: 'string';
|
|
302
|
+
readonly maxLength: 4096;
|
|
303
|
+
readonly pattern: '^\\/.*';
|
|
2456
304
|
};
|
|
2457
|
-
readonly
|
|
305
|
+
readonly trigger: {
|
|
306
|
+
readonly type: 'object';
|
|
307
|
+
readonly additionalProperties: false;
|
|
308
|
+
readonly properties: {
|
|
309
|
+
readonly trigger: {
|
|
310
|
+
readonly $ref: '#/$defs/id';
|
|
311
|
+
};
|
|
312
|
+
readonly description: {
|
|
313
|
+
readonly type: 'string';
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
readonly required: readonly ['trigger', 'description'];
|
|
317
|
+
};
|
|
318
|
+
readonly code: {
|
|
2458
319
|
readonly type: 'string';
|
|
320
|
+
readonly enum: readonly ['failed', 'function_failed', 'function_not_started', 'agent_function_request_not_started'];
|
|
321
|
+
};
|
|
322
|
+
readonly action: {
|
|
323
|
+
readonly type: 'integer';
|
|
324
|
+
readonly minimum: 0;
|
|
2459
325
|
};
|
|
2460
|
-
readonly
|
|
326
|
+
readonly moment: {
|
|
2461
327
|
readonly type: 'string';
|
|
2462
|
-
readonly format: '
|
|
328
|
+
readonly format: 'date-time';
|
|
2463
329
|
};
|
|
2464
|
-
readonly
|
|
330
|
+
readonly error: {
|
|
2465
331
|
readonly type: 'string';
|
|
2466
|
-
readonly pattern: '^G-[A-Z0-9]{1,32}$';
|
|
2467
332
|
};
|
|
2468
|
-
readonly
|
|
333
|
+
readonly agent_function: {
|
|
2469
334
|
readonly type: 'object';
|
|
2470
335
|
readonly additionalProperties: false;
|
|
2471
336
|
readonly properties: {
|
|
2472
|
-
readonly
|
|
2473
|
-
readonly
|
|
337
|
+
readonly name: {
|
|
338
|
+
readonly type: 'string';
|
|
2474
339
|
};
|
|
2475
340
|
};
|
|
2476
|
-
readonly required: readonly ['
|
|
341
|
+
readonly required: readonly ['name'];
|
|
2477
342
|
};
|
|
2478
|
-
readonly
|
|
2479
|
-
readonly type: '
|
|
2480
|
-
readonly
|
|
2481
|
-
|
|
2482
|
-
readonly
|
|
343
|
+
readonly agent: {
|
|
344
|
+
readonly type: 'object';
|
|
345
|
+
readonly additionalProperties: false;
|
|
346
|
+
readonly properties: {
|
|
347
|
+
readonly name: {
|
|
348
|
+
readonly type: 'string';
|
|
349
|
+
};
|
|
2483
350
|
};
|
|
351
|
+
readonly required: readonly ['name'];
|
|
2484
352
|
};
|
|
2485
|
-
readonly
|
|
2486
|
-
readonly enum: readonly ['yes', 'no'];
|
|
2487
|
-
};
|
|
2488
|
-
readonly disabled_reason: {
|
|
353
|
+
readonly ended: {
|
|
2489
354
|
readonly type: 'string';
|
|
355
|
+
readonly enum: readonly ['finished', 'failed'];
|
|
2490
356
|
};
|
|
2491
|
-
readonly
|
|
2492
|
-
readonly
|
|
2493
|
-
|
|
2494
|
-
readonly unpublished: {
|
|
2495
|
-
readonly enum: readonly ['yes', 'no'];
|
|
2496
|
-
};
|
|
2497
|
-
readonly suspended: {
|
|
2498
|
-
readonly enum: readonly ['yes', 'no'];
|
|
357
|
+
readonly duration: {
|
|
358
|
+
readonly type: 'integer';
|
|
359
|
+
readonly minimum: 1;
|
|
2499
360
|
};
|
|
2500
|
-
|
|
361
|
+
};
|
|
362
|
+
readonly required: readonly ['notification', 'kind', 'created', 'way_in', 'subject'];
|
|
363
|
+
};
|
|
364
|
+
readonly 'house-panel-preferences': {
|
|
365
|
+
readonly description: "The panel's preferences at /rooms/private/settings/panel.md. Its own vocabulary is in the body.";
|
|
366
|
+
readonly properties: {};
|
|
367
|
+
};
|
|
368
|
+
readonly 'house-agent-function': {
|
|
369
|
+
readonly description: "One Agent function that serves this Room, which House alone writes from its owner's document in their Private Room: the `agent_function` by identifier, its `description`, the `input` a caller sends, empty when it takes nothing, and the `agent` it starts, by `agent` and the `name` that Agent had when this card was last written. The Agent function's instruction is never written here.";
|
|
370
|
+
readonly properties: {
|
|
371
|
+
readonly reflected: {
|
|
2501
372
|
readonly type: 'string';
|
|
2502
|
-
readonly
|
|
2503
|
-
};
|
|
2504
|
-
readonly public_overage: {
|
|
2505
|
-
readonly enum: readonly ['on', 'off'];
|
|
373
|
+
readonly format: 'date-time';
|
|
2506
374
|
};
|
|
2507
|
-
readonly
|
|
375
|
+
readonly agent_function: {
|
|
2508
376
|
readonly $ref: '#/$defs/id';
|
|
2509
377
|
};
|
|
2510
|
-
readonly
|
|
2511
|
-
readonly type: '
|
|
2512
|
-
readonly items: {
|
|
2513
|
-
readonly type: 'string';
|
|
2514
|
-
readonly enum: readonly ['unpublish', 'republish'];
|
|
2515
|
-
};
|
|
378
|
+
readonly description: {
|
|
379
|
+
readonly type: 'string';
|
|
2516
380
|
};
|
|
2517
|
-
readonly
|
|
2518
|
-
readonly
|
|
381
|
+
readonly input: {
|
|
382
|
+
readonly type: 'string';
|
|
2519
383
|
};
|
|
2520
|
-
readonly
|
|
384
|
+
readonly agent: {
|
|
2521
385
|
readonly type: 'object';
|
|
2522
386
|
readonly additionalProperties: false;
|
|
2523
387
|
readonly properties: {
|
|
2524
|
-
readonly
|
|
2525
|
-
readonly
|
|
2526
|
-
};
|
|
2527
|
-
readonly route: {
|
|
2528
|
-
readonly type: 'string';
|
|
388
|
+
readonly agent: {
|
|
389
|
+
readonly $ref: '#/$defs/id';
|
|
2529
390
|
};
|
|
2530
|
-
readonly
|
|
391
|
+
readonly name: {
|
|
2531
392
|
readonly type: 'string';
|
|
2532
|
-
readonly format: 'date-time';
|
|
2533
393
|
};
|
|
2534
394
|
};
|
|
2535
|
-
readonly required: readonly ['
|
|
395
|
+
readonly required: readonly ['agent', 'name'];
|
|
2536
396
|
};
|
|
2537
|
-
|
|
397
|
+
};
|
|
398
|
+
readonly required: readonly ['reflected', 'agent_function', 'description', 'input', 'agent'];
|
|
399
|
+
};
|
|
400
|
+
readonly 'house-agent-function-document': {
|
|
401
|
+
readonly description: 'One Agent function as its owner writes it in their Private Room at rooms/<room-handle>/agent-functions/<name>.md, a path that binds this type and a document that names no type: what it does as `description`, what a caller sends as `input`, empty when it takes nothing, the `agent` it starts, by identifier, and `afk`, true for a run nobody watches, off when absent. Its body is the instruction that Agent follows.';
|
|
402
|
+
readonly properties: {
|
|
403
|
+
readonly description: {
|
|
2538
404
|
readonly type: 'string';
|
|
2539
|
-
readonly
|
|
2540
|
-
|
|
2541
|
-
readonly new_browsers: {
|
|
2542
|
-
readonly type: 'integer';
|
|
2543
|
-
readonly minimum: 0;
|
|
2544
|
-
};
|
|
2545
|
-
readonly submissions: {
|
|
2546
|
-
readonly type: 'integer';
|
|
2547
|
-
readonly minimum: 0;
|
|
2548
|
-
};
|
|
2549
|
-
readonly notify_me: {
|
|
2550
|
-
readonly enum: readonly ['on', 'off'];
|
|
2551
|
-
};
|
|
2552
|
-
readonly image_copies: {
|
|
2553
|
-
readonly type: 'integer';
|
|
2554
|
-
readonly minimum: 0;
|
|
2555
|
-
};
|
|
2556
|
-
readonly image_copy_bound: {
|
|
2557
|
-
readonly type: 'integer';
|
|
2558
|
-
readonly minimum: 0;
|
|
405
|
+
readonly maxLength: 2000;
|
|
406
|
+
readonly pattern: '\\S';
|
|
2559
407
|
};
|
|
2560
|
-
readonly
|
|
2561
|
-
readonly
|
|
408
|
+
readonly input: {
|
|
409
|
+
readonly type: 'string';
|
|
2562
410
|
};
|
|
2563
|
-
readonly
|
|
2564
|
-
readonly
|
|
2565
|
-
readonly items: {
|
|
2566
|
-
readonly type: 'object';
|
|
2567
|
-
readonly additionalProperties: false;
|
|
2568
|
-
readonly properties: {
|
|
2569
|
-
readonly slot: {
|
|
2570
|
-
readonly type: 'string';
|
|
2571
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
2572
|
-
};
|
|
2573
|
-
readonly entries: {
|
|
2574
|
-
readonly type: 'array';
|
|
2575
|
-
readonly items: {
|
|
2576
|
-
readonly type: 'object';
|
|
2577
|
-
readonly additionalProperties: false;
|
|
2578
|
-
readonly properties: {
|
|
2579
|
-
readonly room: {
|
|
2580
|
-
readonly $ref: '#/$defs/room';
|
|
2581
|
-
};
|
|
2582
|
-
readonly segment: {
|
|
2583
|
-
readonly type: 'string';
|
|
2584
|
-
};
|
|
2585
|
-
readonly compatibility: {
|
|
2586
|
-
readonly enum: readonly ['unchecked', 'compatible', 'incompatible'];
|
|
2587
|
-
};
|
|
2588
|
-
};
|
|
2589
|
-
readonly required: readonly ['room', 'segment', 'compatibility'];
|
|
2590
|
-
};
|
|
2591
|
-
};
|
|
2592
|
-
};
|
|
2593
|
-
readonly required: readonly ['slot', 'entries'];
|
|
2594
|
-
};
|
|
411
|
+
readonly agent: {
|
|
412
|
+
readonly $ref: '#/$defs/id';
|
|
2595
413
|
};
|
|
2596
|
-
readonly
|
|
2597
|
-
readonly type: '
|
|
2598
|
-
readonly items: {
|
|
2599
|
-
readonly type: 'object';
|
|
2600
|
-
readonly additionalProperties: false;
|
|
2601
|
-
readonly properties: {
|
|
2602
|
-
readonly slot: {
|
|
2603
|
-
readonly type: 'string';
|
|
2604
|
-
readonly pattern: '^[a-z0-9]([a-z0-9-]*[a-z0-9])?$';
|
|
2605
|
-
};
|
|
2606
|
-
readonly room: {
|
|
2607
|
-
readonly $ref: '#/$defs/room';
|
|
2608
|
-
};
|
|
2609
|
-
readonly finding: {
|
|
2610
|
-
readonly type: 'string';
|
|
2611
|
-
};
|
|
2612
|
-
};
|
|
2613
|
-
readonly required: readonly ['slot', 'room', 'finding'];
|
|
2614
|
-
};
|
|
414
|
+
readonly afk: {
|
|
415
|
+
readonly type: 'boolean';
|
|
2615
416
|
};
|
|
2616
417
|
};
|
|
2617
|
-
readonly required: readonly ['
|
|
418
|
+
readonly required: readonly ['description', 'input', 'agent'];
|
|
2618
419
|
};
|
|
2619
420
|
readonly 'house-trigger': {
|
|
2620
|
-
readonly description: "One Trigger of this Room as its acts wrote it, which House alone writes: its `description`, the `condition` it fires on, its `actions` in order, whether each action and the Trigger are `enabled`, `paused_by` `types` while a change of the Room's types paused it, its `creator` by `user` and the `name` they had then, and when it was `created`. A `notify` action reaches the `users` its `to` names, the members its `fields` name in the matched document and the holders of its `roles`;
|
|
421
|
+
readonly description: "One Trigger of this Room as its acts wrote it, which House alone writes: its `description`, the `condition` it fires on, its `actions` in order, whether each action and the Trigger are `enabled`, `paused_by` `types` while a change of the Room's types paused it, its `creator` by `user` and the `name` they had then, and when it was `created`. A `notify` action reaches the `users` its `to` names, the members its `fields` name in the matched document and the holders of its `roles`; an `agent_function` action sends its `payload` to the Agent function whose card under this Room's `house/agent-functions/` its `card` names, absent while this Room holds no card of that Agent function; a `message` action puts its `text` into the active conversation that Agent function started for what the Event is about, or starts that Agent function when none is active; a `done` action marks Done every active conversation an Agent function request of this Room started for the Event's document; a `function` action runs the `function` its `app`'s latest release declares, on House's servers, or, naming no `app`, the Room owner's Environment function of that name on its Environment, which only a Trigger of their Private Room holds. Whether an action's target holds is not written: it follows from the Room's members, the Agent function's card, the App's latest release and the owner's functions.";
|
|
2621
422
|
readonly properties: {
|
|
2622
423
|
readonly reflected: {
|
|
2623
424
|
readonly type: 'string';
|
|
@@ -2630,154 +431,9 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
2630
431
|
readonly type: 'string';
|
|
2631
432
|
};
|
|
2632
433
|
readonly condition: {
|
|
2633
|
-
readonly
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
readonly properties: {
|
|
2637
|
-
readonly on: {
|
|
2638
|
-
readonly const: 'documents';
|
|
2639
|
-
};
|
|
2640
|
-
readonly scope: {
|
|
2641
|
-
readonly $ref: '#/$defs/trigger_scope';
|
|
2642
|
-
};
|
|
2643
|
-
readonly mode: {
|
|
2644
|
-
readonly const: 'starts_matching';
|
|
2645
|
-
};
|
|
2646
|
-
readonly new_documents: {
|
|
2647
|
-
readonly type: 'boolean';
|
|
2648
|
-
};
|
|
2649
|
-
readonly match: {
|
|
2650
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2651
|
-
};
|
|
2652
|
-
readonly by: {
|
|
2653
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2654
|
-
};
|
|
2655
|
-
readonly moved_between_rooms: {
|
|
2656
|
-
readonly type: 'boolean';
|
|
2657
|
-
};
|
|
2658
|
-
};
|
|
2659
|
-
readonly required: readonly ['on', 'scope', 'mode', 'new_documents', 'match'];
|
|
2660
|
-
}, {
|
|
2661
|
-
readonly type: 'object';
|
|
2662
|
-
readonly additionalProperties: false;
|
|
2663
|
-
readonly properties: {
|
|
2664
|
-
readonly on: {
|
|
2665
|
-
readonly const: 'documents';
|
|
2666
|
-
};
|
|
2667
|
-
readonly scope: {
|
|
2668
|
-
readonly $ref: '#/$defs/trigger_scope';
|
|
2669
|
-
};
|
|
2670
|
-
readonly mode: {
|
|
2671
|
-
readonly const: 'field_changes';
|
|
2672
|
-
};
|
|
2673
|
-
readonly field: {
|
|
2674
|
-
readonly type: 'string';
|
|
2675
|
-
};
|
|
2676
|
-
readonly from: {
|
|
2677
|
-
readonly anyOf: readonly [{
|
|
2678
|
-
readonly $ref: '#/$defs/trigger_values';
|
|
2679
|
-
}, {
|
|
2680
|
-
readonly const: 'new';
|
|
2681
|
-
}];
|
|
2682
|
-
};
|
|
2683
|
-
readonly to: {
|
|
2684
|
-
readonly anyOf: readonly [{
|
|
2685
|
-
readonly $ref: '#/$defs/trigger_values';
|
|
2686
|
-
}, {
|
|
2687
|
-
readonly const: 'deleted';
|
|
2688
|
-
}];
|
|
2689
|
-
};
|
|
2690
|
-
readonly match: {
|
|
2691
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2692
|
-
};
|
|
2693
|
-
readonly by: {
|
|
2694
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2695
|
-
};
|
|
2696
|
-
readonly moved_between_rooms: {
|
|
2697
|
-
readonly type: 'boolean';
|
|
2698
|
-
};
|
|
2699
|
-
};
|
|
2700
|
-
readonly required: readonly ['on', 'scope', 'mode', 'field'];
|
|
2701
|
-
}, {
|
|
2702
|
-
readonly type: 'object';
|
|
2703
|
-
readonly additionalProperties: false;
|
|
2704
|
-
readonly properties: {
|
|
2705
|
-
readonly on: {
|
|
2706
|
-
readonly const: 'items';
|
|
2707
|
-
};
|
|
2708
|
-
readonly source: {
|
|
2709
|
-
readonly type: 'string';
|
|
2710
|
-
};
|
|
2711
|
-
readonly address: {
|
|
2712
|
-
readonly type: 'string';
|
|
2713
|
-
};
|
|
2714
|
-
readonly match: {
|
|
2715
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
readonly required: readonly ['on'];
|
|
2719
|
-
}, {
|
|
2720
|
-
readonly type: 'object';
|
|
2721
|
-
readonly additionalProperties: false;
|
|
2722
|
-
readonly properties: {
|
|
2723
|
-
readonly on: {
|
|
2724
|
-
readonly const: 'notifications';
|
|
2725
|
-
};
|
|
2726
|
-
readonly match: {
|
|
2727
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2728
|
-
};
|
|
2729
|
-
};
|
|
2730
|
-
readonly required: readonly ['on'];
|
|
2731
|
-
}, {
|
|
2732
|
-
readonly type: 'object';
|
|
2733
|
-
readonly additionalProperties: false;
|
|
2734
|
-
readonly properties: {
|
|
2735
|
-
readonly on: {
|
|
2736
|
-
readonly const: 'clock';
|
|
2737
|
-
};
|
|
2738
|
-
readonly cron: {
|
|
2739
|
-
readonly type: 'string';
|
|
2740
|
-
};
|
|
2741
|
-
readonly time_zone: {
|
|
2742
|
-
readonly type: 'string';
|
|
2743
|
-
};
|
|
2744
|
-
};
|
|
2745
|
-
readonly required: readonly ['on', 'cron', 'time_zone'];
|
|
2746
|
-
}, {
|
|
2747
|
-
readonly type: 'object';
|
|
2748
|
-
readonly additionalProperties: false;
|
|
2749
|
-
readonly properties: {
|
|
2750
|
-
readonly on: {
|
|
2751
|
-
readonly const: 'clock';
|
|
2752
|
-
};
|
|
2753
|
-
readonly scope: {
|
|
2754
|
-
readonly type: 'object';
|
|
2755
|
-
readonly additionalProperties: false;
|
|
2756
|
-
readonly properties: {
|
|
2757
|
-
readonly type: {
|
|
2758
|
-
readonly type: 'string';
|
|
2759
|
-
};
|
|
2760
|
-
};
|
|
2761
|
-
readonly required: readonly ['type'];
|
|
2762
|
-
};
|
|
2763
|
-
readonly date: {
|
|
2764
|
-
readonly type: 'string';
|
|
2765
|
-
};
|
|
2766
|
-
readonly days: {
|
|
2767
|
-
readonly type: 'integer';
|
|
2768
|
-
};
|
|
2769
|
-
readonly at: {
|
|
2770
|
-
readonly type: 'string';
|
|
2771
|
-
};
|
|
2772
|
-
readonly time_zone: {
|
|
2773
|
-
readonly type: 'string';
|
|
2774
|
-
};
|
|
2775
|
-
readonly match: {
|
|
2776
|
-
readonly $ref: '#/$defs/trigger_test';
|
|
2777
|
-
};
|
|
2778
|
-
};
|
|
2779
|
-
readonly required: readonly ['on', 'scope', 'date', 'days', 'at', 'time_zone'];
|
|
2780
|
-
}];
|
|
434
|
+
readonly description: 'When it fires, as the Trigger reference page writes it, a document it names at its current path.';
|
|
435
|
+
readonly type: 'object';
|
|
436
|
+
readonly additionalProperties: true;
|
|
2781
437
|
};
|
|
2782
438
|
readonly actions: {
|
|
2783
439
|
readonly type: 'array';
|
|
@@ -2837,19 +493,51 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
2837
493
|
readonly additionalProperties: false;
|
|
2838
494
|
readonly properties: {
|
|
2839
495
|
readonly kind: {
|
|
2840
|
-
readonly const: '
|
|
496
|
+
readonly const: 'agent_function';
|
|
2841
497
|
};
|
|
2842
498
|
readonly enabled: {
|
|
2843
499
|
readonly type: 'boolean';
|
|
2844
500
|
};
|
|
2845
|
-
readonly
|
|
2846
|
-
readonly
|
|
501
|
+
readonly card: {
|
|
502
|
+
readonly type: 'string';
|
|
503
|
+
readonly minLength: 1;
|
|
2847
504
|
};
|
|
2848
505
|
readonly payload: {
|
|
2849
506
|
readonly type: 'string';
|
|
2850
507
|
};
|
|
2851
508
|
};
|
|
2852
509
|
readonly required: readonly ['kind', 'enabled', 'payload'];
|
|
510
|
+
}, {
|
|
511
|
+
readonly type: 'object';
|
|
512
|
+
readonly additionalProperties: false;
|
|
513
|
+
readonly properties: {
|
|
514
|
+
readonly kind: {
|
|
515
|
+
readonly const: 'message';
|
|
516
|
+
};
|
|
517
|
+
readonly enabled: {
|
|
518
|
+
readonly type: 'boolean';
|
|
519
|
+
};
|
|
520
|
+
readonly card: {
|
|
521
|
+
readonly type: 'string';
|
|
522
|
+
readonly minLength: 1;
|
|
523
|
+
};
|
|
524
|
+
readonly text: {
|
|
525
|
+
readonly type: 'string';
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
readonly required: readonly ['kind', 'enabled', 'text'];
|
|
529
|
+
}, {
|
|
530
|
+
readonly type: 'object';
|
|
531
|
+
readonly additionalProperties: false;
|
|
532
|
+
readonly properties: {
|
|
533
|
+
readonly kind: {
|
|
534
|
+
readonly const: 'done';
|
|
535
|
+
};
|
|
536
|
+
readonly enabled: {
|
|
537
|
+
readonly type: 'boolean';
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
readonly required: readonly ['kind', 'enabled'];
|
|
2853
541
|
}, {
|
|
2854
542
|
readonly type: 'object';
|
|
2855
543
|
readonly additionalProperties: false;
|
|
@@ -2934,6 +622,7 @@ export declare const HOUSE_MODEL_DECLARATION: {
|
|
|
2934
622
|
};
|
|
2935
623
|
};
|
|
2936
624
|
export declare const HOUSE_MODEL_TYPES: string;
|
|
625
|
+
export declare const HOUSE_TYPED_PATHS: readonly TypedPath[];
|
|
2937
626
|
type Model = typeof HOUSE_MODEL_DECLARATION;
|
|
2938
627
|
type Definitions = Model['$defs'];
|
|
2939
628
|
export type HouseModelType = Exclude<keyof Model, '$defs'>;
|