@tai42/api-client 23.0.0 → 24.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/conversations-client.d.ts +190 -20
- package/dist/client/conversations-client.d.ts.map +1 -1
- package/dist/client/index.d.ts +194 -24
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/states-client.d.ts +2 -2
- package/dist/client/tools-client.d.ts +2 -2
- package/dist/generated/api-routes.d.ts +12 -0
- package/dist/generated/api-routes.d.ts.map +1 -1
- package/dist/generated/api-routes.js +3 -0
- package/dist/generated/api-routes.js.map +1 -1
- package/dist/generated/openapi-schemas.d.ts +1070 -52
- package/dist/generated/openapi-schemas.d.ts.map +1 -1
- package/dist/generated/openapi-schemas.js +24 -11
- package/dist/generated/openapi-schemas.js.map +1 -1
- package/dist/generated/served-schemas.d.ts +535 -72
- package/dist/generated/served-schemas.d.ts.map +1 -1
- package/dist/generated/served-schemas.js +501 -80
- package/dist/generated/served-schemas.js.map +1 -1
- package/dist/schemas/conversations.d.ts +360 -23
- package/dist/schemas/conversations.d.ts.map +1 -1
- package/dist/schemas/conversations.js +24 -9
- package/dist/schemas/conversations.js.map +1 -1
- package/dist/schemas/interactions.d.ts +47 -9
- package/dist/schemas/interactions.d.ts.map +1 -1
- package/dist/schemas/interactions.js +28 -7
- package/dist/schemas/interactions.js.map +1 -1
- package/dist/schemas/served.d.ts +492 -70
- package/dist/schemas/served.d.ts.map +1 -1
- package/dist/schemas/states.d.ts +4 -4
- package/dist/schemas/tools.d.ts +4 -4
- package/dist/tool-runs.d.ts +2 -2
- package/package.json +1 -1
- package/src/generated/api-routes.ts +3 -0
- package/src/generated/openapi-schemas.ts +44 -11
- package/src/generated/served-schemas.ts +503 -80
- package/src/schemas/conversations.ts +24 -9
- package/src/schemas/interactions.ts +28 -7
|
@@ -21,6 +21,21 @@ export declare const overlapPolicy: z.ZodObject<{
|
|
|
21
21
|
settle_seconds: z.ZodDefault<z.ZodNumber>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
export type OverlapPolicy = z.infer<typeof overlapPolicy>;
|
|
24
|
+
export declare const replyTexts: z.ZodObject<{
|
|
25
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
}, z.core.$strict>;
|
|
38
|
+
export type ReplyTexts = z.infer<typeof replyTexts>;
|
|
24
39
|
export declare const apiConversationRoute: z.ZodObject<{
|
|
25
40
|
callback_secret: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
26
41
|
callback_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -31,7 +46,6 @@ export declare const apiConversationRoute: z.ZodObject<{
|
|
|
31
46
|
}, z.core.$strict>>>;
|
|
32
47
|
channel: z.ZodDefault<z.ZodNull>;
|
|
33
48
|
door: z.ZodLiteral<"api">;
|
|
34
|
-
error_reply_text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
35
49
|
execution_key: z.ZodString;
|
|
36
50
|
execution_key_fingerprint: z.ZodString;
|
|
37
51
|
extras_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -61,6 +75,20 @@ export declare const apiConversationRoute: z.ZodObject<{
|
|
|
61
75
|
id: z.ZodOptional<z.ZodString>;
|
|
62
76
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
63
77
|
}, z.core.$strict>>>;
|
|
78
|
+
reply_texts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
79
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
81
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
84
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
}, z.core.$strict>>>;
|
|
64
92
|
resume_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
65
93
|
content: z.ZodOptional<z.ZodString>;
|
|
66
94
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -89,7 +117,6 @@ export declare const apiConversationRouteCreate: z.ZodObject<{
|
|
|
89
117
|
}, z.core.$strict>>>;
|
|
90
118
|
channel: z.ZodDefault<z.ZodNull>;
|
|
91
119
|
door: z.ZodLiteral<"api">;
|
|
92
|
-
error_reply_text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
93
120
|
execution_key: z.ZodString;
|
|
94
121
|
extras_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
95
122
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -118,6 +145,20 @@ export declare const apiConversationRouteCreate: z.ZodObject<{
|
|
|
118
145
|
id: z.ZodOptional<z.ZodString>;
|
|
119
146
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
120
147
|
}, z.core.$strict>>>;
|
|
148
|
+
reply_texts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
149
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
150
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
153
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
154
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
156
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
157
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
158
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
159
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
}, z.core.$strict>>>;
|
|
121
162
|
resume_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
122
163
|
content: z.ZodOptional<z.ZodString>;
|
|
123
164
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -162,7 +203,6 @@ export declare const channelConversationRoute: z.ZodObject<{
|
|
|
162
203
|
}, z.core.$strict>>>;
|
|
163
204
|
channel: z.ZodString;
|
|
164
205
|
door: z.ZodLiteral<"channel">;
|
|
165
|
-
error_reply_text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
166
206
|
execution_key: z.ZodString;
|
|
167
207
|
execution_key_fingerprint: z.ZodString;
|
|
168
208
|
extras_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -192,6 +232,20 @@ export declare const channelConversationRoute: z.ZodObject<{
|
|
|
192
232
|
id: z.ZodOptional<z.ZodString>;
|
|
193
233
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
194
234
|
}, z.core.$strict>>>;
|
|
235
|
+
reply_texts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
236
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
237
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
238
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
239
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
240
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
241
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
242
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
243
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
244
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
245
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
246
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
247
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
248
|
+
}, z.core.$strict>>>;
|
|
195
249
|
resume_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
196
250
|
content: z.ZodOptional<z.ZodString>;
|
|
197
251
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -220,7 +274,6 @@ export declare const channelConversationRouteCreate: z.ZodObject<{
|
|
|
220
274
|
}, z.core.$strict>>>;
|
|
221
275
|
channel: z.ZodString;
|
|
222
276
|
door: z.ZodLiteral<"channel">;
|
|
223
|
-
error_reply_text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
224
277
|
execution_key: z.ZodString;
|
|
225
278
|
extras_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
226
279
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -249,6 +302,20 @@ export declare const channelConversationRouteCreate: z.ZodObject<{
|
|
|
249
302
|
id: z.ZodOptional<z.ZodString>;
|
|
250
303
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
251
304
|
}, z.core.$strict>>>;
|
|
305
|
+
reply_texts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
306
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
307
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
308
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
309
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
310
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
311
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
312
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
313
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
314
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
315
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
316
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
317
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
318
|
+
}, z.core.$strict>>>;
|
|
252
319
|
resume_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
253
320
|
content: z.ZodOptional<z.ZodString>;
|
|
254
321
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -284,7 +351,6 @@ export declare const conversationRoute: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
284
351
|
}, z.core.$strict>>>;
|
|
285
352
|
channel: z.ZodDefault<z.ZodNull>;
|
|
286
353
|
door: z.ZodLiteral<"api">;
|
|
287
|
-
error_reply_text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
288
354
|
execution_key: z.ZodString;
|
|
289
355
|
execution_key_fingerprint: z.ZodString;
|
|
290
356
|
extras_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -314,6 +380,20 @@ export declare const conversationRoute: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
314
380
|
id: z.ZodOptional<z.ZodString>;
|
|
315
381
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
316
382
|
}, z.core.$strict>>>;
|
|
383
|
+
reply_texts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
384
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
385
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
386
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
387
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
388
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
389
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
390
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
391
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
393
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
394
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
395
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
396
|
+
}, z.core.$strict>>>;
|
|
317
397
|
resume_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
318
398
|
content: z.ZodOptional<z.ZodString>;
|
|
319
399
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -341,7 +421,6 @@ export declare const conversationRoute: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
341
421
|
}, z.core.$strict>>>;
|
|
342
422
|
channel: z.ZodString;
|
|
343
423
|
door: z.ZodLiteral<"channel">;
|
|
344
|
-
error_reply_text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
345
424
|
execution_key: z.ZodString;
|
|
346
425
|
execution_key_fingerprint: z.ZodString;
|
|
347
426
|
extras_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -371,6 +450,20 @@ export declare const conversationRoute: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
371
450
|
id: z.ZodOptional<z.ZodString>;
|
|
372
451
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
373
452
|
}, z.core.$strict>>>;
|
|
453
|
+
reply_texts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
454
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
455
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
456
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
457
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
458
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
459
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
460
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
461
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
462
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
463
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
464
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
465
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
466
|
+
}, z.core.$strict>>>;
|
|
374
467
|
resume_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
375
468
|
content: z.ZodOptional<z.ZodString>;
|
|
376
469
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -399,7 +492,6 @@ export declare const conversationRouteCreate: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
399
492
|
}, z.core.$strict>>>;
|
|
400
493
|
channel: z.ZodDefault<z.ZodNull>;
|
|
401
494
|
door: z.ZodLiteral<"api">;
|
|
402
|
-
error_reply_text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
403
495
|
execution_key: z.ZodString;
|
|
404
496
|
extras_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
405
497
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -428,6 +520,20 @@ export declare const conversationRouteCreate: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
428
520
|
id: z.ZodOptional<z.ZodString>;
|
|
429
521
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
430
522
|
}, z.core.$strict>>>;
|
|
523
|
+
reply_texts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
524
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
525
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
526
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
527
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
528
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
529
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
530
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
531
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
532
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
533
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
534
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
535
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
536
|
+
}, z.core.$strict>>>;
|
|
431
537
|
resume_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
432
538
|
content: z.ZodOptional<z.ZodString>;
|
|
433
539
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -454,7 +560,6 @@ export declare const conversationRouteCreate: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
454
560
|
}, z.core.$strict>>>;
|
|
455
561
|
channel: z.ZodString;
|
|
456
562
|
door: z.ZodLiteral<"channel">;
|
|
457
|
-
error_reply_text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
458
563
|
execution_key: z.ZodString;
|
|
459
564
|
extras_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
460
565
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -483,6 +588,20 @@ export declare const conversationRouteCreate: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
483
588
|
id: z.ZodOptional<z.ZodString>;
|
|
484
589
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
485
590
|
}, z.core.$strict>>>;
|
|
591
|
+
reply_texts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
592
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
593
|
+
pairing_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
594
|
+
pairing_code_invalid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
595
|
+
pairing_link_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
596
|
+
pairing_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
pairing_not_linked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
598
|
+
pairing_unlink_unavailable: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
599
|
+
pairing_unlinked: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
600
|
+
rejected_could_not_receive: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
601
|
+
rejected_too_large: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
602
|
+
rejected_unsupported_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
603
|
+
slow_down: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
604
|
+
}, z.core.$strict>>>;
|
|
486
605
|
resume_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
487
606
|
content: z.ZodOptional<z.ZodString>;
|
|
488
607
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1704,18 +1823,6 @@ export declare const servedDocumentsJson: {
|
|
|
1704
1823
|
readonly title: "Door";
|
|
1705
1824
|
readonly type: "string";
|
|
1706
1825
|
};
|
|
1707
|
-
readonly error_reply_text: {
|
|
1708
|
-
readonly anyOf: readonly [{
|
|
1709
|
-
readonly maxLength: 2000;
|
|
1710
|
-
readonly minLength: 1;
|
|
1711
|
-
readonly pattern: "\\S";
|
|
1712
|
-
readonly type: "string";
|
|
1713
|
-
}, {
|
|
1714
|
-
readonly type: "null";
|
|
1715
|
-
}];
|
|
1716
|
-
readonly default: null;
|
|
1717
|
-
readonly title: "Error Reply Text";
|
|
1718
|
-
};
|
|
1719
1826
|
readonly execution_key: {
|
|
1720
1827
|
readonly description: "The api-key ``user_id`` the turn runs AS; its live stored grants authorize the agent run or tool dispatch and every tool call the turn makes.";
|
|
1721
1828
|
readonly minLength: 1;
|
|
@@ -1796,14 +1903,25 @@ export declare const servedDocumentsJson: {
|
|
|
1796
1903
|
readonly language: "jq";
|
|
1797
1904
|
readonly returns: "the reply: null (silent), a string, or a list of answer parts";
|
|
1798
1905
|
readonly variables: readonly [{
|
|
1799
|
-
readonly blurb: "the turn
|
|
1906
|
+
readonly blurb: "the turn this reply answers ({id, inbound, subject, reply_window}); reply_window {state, closes_at} is read when the turn starts, or at delivery for a late reply: open until closes_at, closed, or none; null when an out-of-band delivery's originating record has aged out";
|
|
1800
1907
|
readonly name: "turn";
|
|
1801
1908
|
readonly sample: {
|
|
1802
1909
|
readonly id: "m-1";
|
|
1803
1910
|
readonly inbound: {
|
|
1804
1911
|
readonly id: "i-1";
|
|
1805
1912
|
readonly kind: "message";
|
|
1806
|
-
readonly source: "
|
|
1913
|
+
readonly source: "chat-line";
|
|
1914
|
+
};
|
|
1915
|
+
readonly reply_window: {
|
|
1916
|
+
readonly closes_at: "2026-01-02T09:30:00Z";
|
|
1917
|
+
readonly state: "open";
|
|
1918
|
+
};
|
|
1919
|
+
readonly subject: {
|
|
1920
|
+
readonly locale: null;
|
|
1921
|
+
readonly person: null;
|
|
1922
|
+
readonly target_kind: "agent";
|
|
1923
|
+
readonly target_name: "assistant";
|
|
1924
|
+
readonly thread: "t-1";
|
|
1807
1925
|
};
|
|
1808
1926
|
};
|
|
1809
1927
|
}, {
|
|
@@ -1829,6 +1947,14 @@ export declare const servedDocumentsJson: {
|
|
|
1829
1947
|
}];
|
|
1830
1948
|
};
|
|
1831
1949
|
};
|
|
1950
|
+
readonly reply_texts: {
|
|
1951
|
+
readonly anyOf: readonly [{
|
|
1952
|
+
readonly $ref: "#/$defs/ReplyTexts";
|
|
1953
|
+
}, {
|
|
1954
|
+
readonly type: "null";
|
|
1955
|
+
}];
|
|
1956
|
+
readonly default: null;
|
|
1957
|
+
};
|
|
1832
1958
|
readonly resume_expr: {
|
|
1833
1959
|
readonly anyOf: readonly [{
|
|
1834
1960
|
readonly $ref: "#/$defs/TemplatedText";
|
|
@@ -1910,13 +2036,16 @@ export declare const servedDocumentsJson: {
|
|
|
1910
2036
|
readonly gloss: "a geographic point the participant shared, present only when the inbound carried one";
|
|
1911
2037
|
readonly name: "location";
|
|
1912
2038
|
}, {
|
|
1913
|
-
readonly gloss: "
|
|
2039
|
+
readonly gloss: "the earlier message this one replies to, {message_id, status, text}; present only when the inbound quoted one";
|
|
2040
|
+
readonly name: "reply_to";
|
|
2041
|
+
}, {
|
|
2042
|
+
readonly gloss: "overlap deliver=all: the batch carried into this turn, in acceptance order, each {id, text, accepted_at} (+ form/form_tag/attachments/location/reply_to when that message carried them)";
|
|
1914
2043
|
readonly name: "messages";
|
|
1915
2044
|
}, {
|
|
1916
2045
|
readonly gloss: "overlap deliver=all: messages dropped in favour of this turn, in the same shape; present only when non-empty";
|
|
1917
2046
|
readonly name: "superseded";
|
|
1918
2047
|
}, {
|
|
1919
|
-
readonly gloss: "the turn
|
|
2048
|
+
readonly gloss: "the turn: {id, inbound: {id, kind, source}, subject: {target_kind, target_name, person, thread, locale}, reply_window: {state, closes_at}}; reply_window.state is open (a free-form reply is allowed until closes_at), closed, or none (no window on this channel or address)";
|
|
1920
2049
|
readonly name: "turn";
|
|
1921
2050
|
}, {
|
|
1922
2051
|
readonly gloss: "an event turn's structured payload {id, kind, payload}; absent on a message turn";
|
|
@@ -2015,18 +2144,6 @@ export declare const servedDocumentsJson: {
|
|
|
2015
2144
|
readonly title: "Door";
|
|
2016
2145
|
readonly type: "string";
|
|
2017
2146
|
};
|
|
2018
|
-
readonly error_reply_text: {
|
|
2019
|
-
readonly anyOf: readonly [{
|
|
2020
|
-
readonly maxLength: 2000;
|
|
2021
|
-
readonly minLength: 1;
|
|
2022
|
-
readonly pattern: "\\S";
|
|
2023
|
-
readonly type: "string";
|
|
2024
|
-
}, {
|
|
2025
|
-
readonly type: "null";
|
|
2026
|
-
}];
|
|
2027
|
-
readonly default: null;
|
|
2028
|
-
readonly title: "Error Reply Text";
|
|
2029
|
-
};
|
|
2030
2147
|
readonly execution_key: {
|
|
2031
2148
|
readonly description: "The api-key ``user_id`` the turn runs AS; its live stored grants authorize the agent run or tool dispatch and every tool call the turn makes.";
|
|
2032
2149
|
readonly minLength: 1;
|
|
@@ -2107,14 +2224,25 @@ export declare const servedDocumentsJson: {
|
|
|
2107
2224
|
readonly language: "jq";
|
|
2108
2225
|
readonly returns: "the reply: null (silent), a string, or a list of answer parts";
|
|
2109
2226
|
readonly variables: readonly [{
|
|
2110
|
-
readonly blurb: "the turn
|
|
2227
|
+
readonly blurb: "the turn this reply answers ({id, inbound, subject, reply_window}); reply_window {state, closes_at} is read when the turn starts, or at delivery for a late reply: open until closes_at, closed, or none; null when an out-of-band delivery's originating record has aged out";
|
|
2111
2228
|
readonly name: "turn";
|
|
2112
2229
|
readonly sample: {
|
|
2113
2230
|
readonly id: "m-1";
|
|
2114
2231
|
readonly inbound: {
|
|
2115
2232
|
readonly id: "i-1";
|
|
2116
2233
|
readonly kind: "message";
|
|
2117
|
-
readonly source: "
|
|
2234
|
+
readonly source: "chat-line";
|
|
2235
|
+
};
|
|
2236
|
+
readonly reply_window: {
|
|
2237
|
+
readonly closes_at: "2026-01-02T09:30:00Z";
|
|
2238
|
+
readonly state: "open";
|
|
2239
|
+
};
|
|
2240
|
+
readonly subject: {
|
|
2241
|
+
readonly locale: null;
|
|
2242
|
+
readonly person: null;
|
|
2243
|
+
readonly target_kind: "agent";
|
|
2244
|
+
readonly target_name: "assistant";
|
|
2245
|
+
readonly thread: "t-1";
|
|
2118
2246
|
};
|
|
2119
2247
|
};
|
|
2120
2248
|
}, {
|
|
@@ -2140,6 +2268,14 @@ export declare const servedDocumentsJson: {
|
|
|
2140
2268
|
}];
|
|
2141
2269
|
};
|
|
2142
2270
|
};
|
|
2271
|
+
readonly reply_texts: {
|
|
2272
|
+
readonly anyOf: readonly [{
|
|
2273
|
+
readonly $ref: "#/$defs/ReplyTexts";
|
|
2274
|
+
}, {
|
|
2275
|
+
readonly type: "null";
|
|
2276
|
+
}];
|
|
2277
|
+
readonly default: null;
|
|
2278
|
+
};
|
|
2143
2279
|
readonly resume_expr: {
|
|
2144
2280
|
readonly anyOf: readonly [{
|
|
2145
2281
|
readonly $ref: "#/$defs/TemplatedText";
|
|
@@ -2221,13 +2357,16 @@ export declare const servedDocumentsJson: {
|
|
|
2221
2357
|
readonly gloss: "a geographic point the participant shared, present only when the inbound carried one";
|
|
2222
2358
|
readonly name: "location";
|
|
2223
2359
|
}, {
|
|
2224
|
-
readonly gloss: "
|
|
2360
|
+
readonly gloss: "the earlier message this one replies to, {message_id, status, text}; present only when the inbound quoted one";
|
|
2361
|
+
readonly name: "reply_to";
|
|
2362
|
+
}, {
|
|
2363
|
+
readonly gloss: "overlap deliver=all: the batch carried into this turn, in acceptance order, each {id, text, accepted_at} (+ form/form_tag/attachments/location/reply_to when that message carried them)";
|
|
2225
2364
|
readonly name: "messages";
|
|
2226
2365
|
}, {
|
|
2227
2366
|
readonly gloss: "overlap deliver=all: messages dropped in favour of this turn, in the same shape; present only when non-empty";
|
|
2228
2367
|
readonly name: "superseded";
|
|
2229
2368
|
}, {
|
|
2230
|
-
readonly gloss: "the turn
|
|
2369
|
+
readonly gloss: "the turn: {id, inbound: {id, kind, source}, subject: {target_kind, target_name, person, thread, locale}, reply_window: {state, closes_at}}; reply_window.state is open (a free-form reply is allowed until closes_at), closed, or none (no window on this channel or address)";
|
|
2231
2370
|
readonly name: "turn";
|
|
2232
2371
|
}, {
|
|
2233
2372
|
readonly gloss: "an event turn's structured payload {id, kind, payload}; absent on a message turn";
|
|
@@ -2303,6 +2442,158 @@ export declare const servedDocumentsJson: {
|
|
|
2303
2442
|
readonly title: "OverlapPolicy";
|
|
2304
2443
|
readonly type: "object";
|
|
2305
2444
|
};
|
|
2445
|
+
readonly ReplyTexts: {
|
|
2446
|
+
readonly additionalProperties: false;
|
|
2447
|
+
readonly description: "The caller's words for the platform's fixed participant replies on one route. Frozen, strict keys.\n\n``error`` is sent when a turn fails and the target gave no reply; ``slow_down`` when an address\nis over the turn cap; ``pairing_linked`` when a pair code was redeemed and the two persons\nmerged; ``pairing_unlinked`` when ``/unlink`` detached the address; ``pairing_not_linked`` when\n``/unlink`` came from an address linked to nothing; ``pairing_code_invalid`` when a redeem was\nrefused; ``pairing_code`` is the ``/link`` reply carrying the fresh code, a template that MUST\nreference ``{pairing_code}`` and may reference ``{expires_at}`` (the code's ISO-8601 expiry),\nwith no conversion or format spec; ``pairing_link_unavailable`` when a redeem met a person being\nerased (its code is consumed, so the reply asks for a new one); ``pairing_unlink_unavailable``\nwhen ``/unlink`` met the sender's person being erased; ``rejected_unsupported_type`` / ``rejected_too_large`` /\n``rejected_could_not_receive`` are the notices for an inbound message the channel cannot\nbridge, a file over the cap, and a file the channel could not fetch. Every member but\n``pairing_code`` is literal text: a ``{`` in it is drawn as written. Each is a\n:data:`~tai42_contract.interactions.ReplyText` in the line's language; absent, the built-in\nEnglish reply is sent. An empty catalogue names nothing and is refused; an unknown key is\nrefused.";
|
|
2448
|
+
readonly properties: {
|
|
2449
|
+
readonly error: {
|
|
2450
|
+
readonly anyOf: readonly [{
|
|
2451
|
+
readonly maxLength: 2000;
|
|
2452
|
+
readonly minLength: 1;
|
|
2453
|
+
readonly pattern: "\\S";
|
|
2454
|
+
readonly type: "string";
|
|
2455
|
+
}, {
|
|
2456
|
+
readonly type: "null";
|
|
2457
|
+
}];
|
|
2458
|
+
readonly default: null;
|
|
2459
|
+
readonly title: "Error";
|
|
2460
|
+
};
|
|
2461
|
+
readonly pairing_code: {
|
|
2462
|
+
readonly anyOf: readonly [{
|
|
2463
|
+
readonly maxLength: 2000;
|
|
2464
|
+
readonly minLength: 1;
|
|
2465
|
+
readonly pattern: "\\S";
|
|
2466
|
+
readonly type: "string";
|
|
2467
|
+
}, {
|
|
2468
|
+
readonly type: "null";
|
|
2469
|
+
}];
|
|
2470
|
+
readonly default: null;
|
|
2471
|
+
readonly title: "Pairing Code";
|
|
2472
|
+
};
|
|
2473
|
+
readonly pairing_code_invalid: {
|
|
2474
|
+
readonly anyOf: readonly [{
|
|
2475
|
+
readonly maxLength: 2000;
|
|
2476
|
+
readonly minLength: 1;
|
|
2477
|
+
readonly pattern: "\\S";
|
|
2478
|
+
readonly type: "string";
|
|
2479
|
+
}, {
|
|
2480
|
+
readonly type: "null";
|
|
2481
|
+
}];
|
|
2482
|
+
readonly default: null;
|
|
2483
|
+
readonly title: "Pairing Code Invalid";
|
|
2484
|
+
};
|
|
2485
|
+
readonly pairing_link_unavailable: {
|
|
2486
|
+
readonly anyOf: readonly [{
|
|
2487
|
+
readonly maxLength: 2000;
|
|
2488
|
+
readonly minLength: 1;
|
|
2489
|
+
readonly pattern: "\\S";
|
|
2490
|
+
readonly type: "string";
|
|
2491
|
+
}, {
|
|
2492
|
+
readonly type: "null";
|
|
2493
|
+
}];
|
|
2494
|
+
readonly default: null;
|
|
2495
|
+
readonly title: "Pairing Link Unavailable";
|
|
2496
|
+
};
|
|
2497
|
+
readonly pairing_linked: {
|
|
2498
|
+
readonly anyOf: readonly [{
|
|
2499
|
+
readonly maxLength: 2000;
|
|
2500
|
+
readonly minLength: 1;
|
|
2501
|
+
readonly pattern: "\\S";
|
|
2502
|
+
readonly type: "string";
|
|
2503
|
+
}, {
|
|
2504
|
+
readonly type: "null";
|
|
2505
|
+
}];
|
|
2506
|
+
readonly default: null;
|
|
2507
|
+
readonly title: "Pairing Linked";
|
|
2508
|
+
};
|
|
2509
|
+
readonly pairing_not_linked: {
|
|
2510
|
+
readonly anyOf: readonly [{
|
|
2511
|
+
readonly maxLength: 2000;
|
|
2512
|
+
readonly minLength: 1;
|
|
2513
|
+
readonly pattern: "\\S";
|
|
2514
|
+
readonly type: "string";
|
|
2515
|
+
}, {
|
|
2516
|
+
readonly type: "null";
|
|
2517
|
+
}];
|
|
2518
|
+
readonly default: null;
|
|
2519
|
+
readonly title: "Pairing Not Linked";
|
|
2520
|
+
};
|
|
2521
|
+
readonly pairing_unlink_unavailable: {
|
|
2522
|
+
readonly anyOf: readonly [{
|
|
2523
|
+
readonly maxLength: 2000;
|
|
2524
|
+
readonly minLength: 1;
|
|
2525
|
+
readonly pattern: "\\S";
|
|
2526
|
+
readonly type: "string";
|
|
2527
|
+
}, {
|
|
2528
|
+
readonly type: "null";
|
|
2529
|
+
}];
|
|
2530
|
+
readonly default: null;
|
|
2531
|
+
readonly title: "Pairing Unlink Unavailable";
|
|
2532
|
+
};
|
|
2533
|
+
readonly pairing_unlinked: {
|
|
2534
|
+
readonly anyOf: readonly [{
|
|
2535
|
+
readonly maxLength: 2000;
|
|
2536
|
+
readonly minLength: 1;
|
|
2537
|
+
readonly pattern: "\\S";
|
|
2538
|
+
readonly type: "string";
|
|
2539
|
+
}, {
|
|
2540
|
+
readonly type: "null";
|
|
2541
|
+
}];
|
|
2542
|
+
readonly default: null;
|
|
2543
|
+
readonly title: "Pairing Unlinked";
|
|
2544
|
+
};
|
|
2545
|
+
readonly rejected_could_not_receive: {
|
|
2546
|
+
readonly anyOf: readonly [{
|
|
2547
|
+
readonly maxLength: 2000;
|
|
2548
|
+
readonly minLength: 1;
|
|
2549
|
+
readonly pattern: "\\S";
|
|
2550
|
+
readonly type: "string";
|
|
2551
|
+
}, {
|
|
2552
|
+
readonly type: "null";
|
|
2553
|
+
}];
|
|
2554
|
+
readonly default: null;
|
|
2555
|
+
readonly title: "Rejected Could Not Receive";
|
|
2556
|
+
};
|
|
2557
|
+
readonly rejected_too_large: {
|
|
2558
|
+
readonly anyOf: readonly [{
|
|
2559
|
+
readonly maxLength: 2000;
|
|
2560
|
+
readonly minLength: 1;
|
|
2561
|
+
readonly pattern: "\\S";
|
|
2562
|
+
readonly type: "string";
|
|
2563
|
+
}, {
|
|
2564
|
+
readonly type: "null";
|
|
2565
|
+
}];
|
|
2566
|
+
readonly default: null;
|
|
2567
|
+
readonly title: "Rejected Too Large";
|
|
2568
|
+
};
|
|
2569
|
+
readonly rejected_unsupported_type: {
|
|
2570
|
+
readonly anyOf: readonly [{
|
|
2571
|
+
readonly maxLength: 2000;
|
|
2572
|
+
readonly minLength: 1;
|
|
2573
|
+
readonly pattern: "\\S";
|
|
2574
|
+
readonly type: "string";
|
|
2575
|
+
}, {
|
|
2576
|
+
readonly type: "null";
|
|
2577
|
+
}];
|
|
2578
|
+
readonly default: null;
|
|
2579
|
+
readonly title: "Rejected Unsupported Type";
|
|
2580
|
+
};
|
|
2581
|
+
readonly slow_down: {
|
|
2582
|
+
readonly anyOf: readonly [{
|
|
2583
|
+
readonly maxLength: 2000;
|
|
2584
|
+
readonly minLength: 1;
|
|
2585
|
+
readonly pattern: "\\S";
|
|
2586
|
+
readonly type: "string";
|
|
2587
|
+
}, {
|
|
2588
|
+
readonly type: "null";
|
|
2589
|
+
}];
|
|
2590
|
+
readonly default: null;
|
|
2591
|
+
readonly title: "Slow Down";
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
readonly title: "ReplyTexts";
|
|
2595
|
+
readonly type: "object";
|
|
2596
|
+
};
|
|
2306
2597
|
readonly TemplatedText: {
|
|
2307
2598
|
readonly additionalProperties: false;
|
|
2308
2599
|
readonly description: "A renderable text: its source plus the parameters its render takes.\n\nEXACTLY ONE source is set — ``content`` (the text inline) or ``id`` (the id of a\nstored resource holding the text); neither and both are refused at construction.\n``kwargs`` are the render parameters for the TEXT and apply either way, so moving a\ntext from inline to stored (or back) leaves its parameters untouched.";
|
|
@@ -2405,18 +2696,6 @@ export declare const servedDocumentsJson: {
|
|
|
2405
2696
|
readonly title: "Door";
|
|
2406
2697
|
readonly type: "string";
|
|
2407
2698
|
};
|
|
2408
|
-
readonly error_reply_text: {
|
|
2409
|
-
readonly anyOf: readonly [{
|
|
2410
|
-
readonly maxLength: 2000;
|
|
2411
|
-
readonly minLength: 1;
|
|
2412
|
-
readonly pattern: "\\S";
|
|
2413
|
-
readonly type: "string";
|
|
2414
|
-
}, {
|
|
2415
|
-
readonly type: "null";
|
|
2416
|
-
}];
|
|
2417
|
-
readonly default: null;
|
|
2418
|
-
readonly title: "Error Reply Text";
|
|
2419
|
-
};
|
|
2420
2699
|
readonly execution_key: {
|
|
2421
2700
|
readonly description: "The api-key ``user_id`` the turn runs AS; its live stored grants authorize the agent run or tool dispatch and every tool call the turn makes.";
|
|
2422
2701
|
readonly minLength: 1;
|
|
@@ -2491,14 +2770,25 @@ export declare const servedDocumentsJson: {
|
|
|
2491
2770
|
readonly language: "jq";
|
|
2492
2771
|
readonly returns: "the reply: null (silent), a string, or a list of answer parts";
|
|
2493
2772
|
readonly variables: readonly [{
|
|
2494
|
-
readonly blurb: "the turn
|
|
2773
|
+
readonly blurb: "the turn this reply answers ({id, inbound, subject, reply_window}); reply_window {state, closes_at} is read when the turn starts, or at delivery for a late reply: open until closes_at, closed, or none; null when an out-of-band delivery's originating record has aged out";
|
|
2495
2774
|
readonly name: "turn";
|
|
2496
2775
|
readonly sample: {
|
|
2497
2776
|
readonly id: "m-1";
|
|
2498
2777
|
readonly inbound: {
|
|
2499
2778
|
readonly id: "i-1";
|
|
2500
2779
|
readonly kind: "message";
|
|
2501
|
-
readonly source: "
|
|
2780
|
+
readonly source: "chat-line";
|
|
2781
|
+
};
|
|
2782
|
+
readonly reply_window: {
|
|
2783
|
+
readonly closes_at: "2026-01-02T09:30:00Z";
|
|
2784
|
+
readonly state: "open";
|
|
2785
|
+
};
|
|
2786
|
+
readonly subject: {
|
|
2787
|
+
readonly locale: null;
|
|
2788
|
+
readonly person: null;
|
|
2789
|
+
readonly target_kind: "agent";
|
|
2790
|
+
readonly target_name: "assistant";
|
|
2791
|
+
readonly thread: "t-1";
|
|
2502
2792
|
};
|
|
2503
2793
|
};
|
|
2504
2794
|
}, {
|
|
@@ -2524,6 +2814,14 @@ export declare const servedDocumentsJson: {
|
|
|
2524
2814
|
}];
|
|
2525
2815
|
};
|
|
2526
2816
|
};
|
|
2817
|
+
readonly reply_texts: {
|
|
2818
|
+
readonly anyOf: readonly [{
|
|
2819
|
+
readonly $ref: "#/$defs/ReplyTexts";
|
|
2820
|
+
}, {
|
|
2821
|
+
readonly type: "null";
|
|
2822
|
+
}];
|
|
2823
|
+
readonly default: null;
|
|
2824
|
+
};
|
|
2527
2825
|
readonly resume_expr: {
|
|
2528
2826
|
readonly anyOf: readonly [{
|
|
2529
2827
|
readonly $ref: "#/$defs/TemplatedText";
|
|
@@ -2605,13 +2903,16 @@ export declare const servedDocumentsJson: {
|
|
|
2605
2903
|
readonly gloss: "a geographic point the participant shared, present only when the inbound carried one";
|
|
2606
2904
|
readonly name: "location";
|
|
2607
2905
|
}, {
|
|
2608
|
-
readonly gloss: "
|
|
2906
|
+
readonly gloss: "the earlier message this one replies to, {message_id, status, text}; present only when the inbound quoted one";
|
|
2907
|
+
readonly name: "reply_to";
|
|
2908
|
+
}, {
|
|
2909
|
+
readonly gloss: "overlap deliver=all: the batch carried into this turn, in acceptance order, each {id, text, accepted_at} (+ form/form_tag/attachments/location/reply_to when that message carried them)";
|
|
2609
2910
|
readonly name: "messages";
|
|
2610
2911
|
}, {
|
|
2611
2912
|
readonly gloss: "overlap deliver=all: messages dropped in favour of this turn, in the same shape; present only when non-empty";
|
|
2612
2913
|
readonly name: "superseded";
|
|
2613
2914
|
}, {
|
|
2614
|
-
readonly gloss: "the turn
|
|
2915
|
+
readonly gloss: "the turn: {id, inbound: {id, kind, source}, subject: {target_kind, target_name, person, thread, locale}, reply_window: {state, closes_at}}; reply_window.state is open (a free-form reply is allowed until closes_at), closed, or none (no window on this channel or address)";
|
|
2615
2916
|
readonly name: "turn";
|
|
2616
2917
|
}, {
|
|
2617
2918
|
readonly gloss: "an event turn's structured payload {id, kind, payload}; absent on a message turn";
|
|
@@ -2705,18 +3006,6 @@ export declare const servedDocumentsJson: {
|
|
|
2705
3006
|
readonly title: "Door";
|
|
2706
3007
|
readonly type: "string";
|
|
2707
3008
|
};
|
|
2708
|
-
readonly error_reply_text: {
|
|
2709
|
-
readonly anyOf: readonly [{
|
|
2710
|
-
readonly maxLength: 2000;
|
|
2711
|
-
readonly minLength: 1;
|
|
2712
|
-
readonly pattern: "\\S";
|
|
2713
|
-
readonly type: "string";
|
|
2714
|
-
}, {
|
|
2715
|
-
readonly type: "null";
|
|
2716
|
-
}];
|
|
2717
|
-
readonly default: null;
|
|
2718
|
-
readonly title: "Error Reply Text";
|
|
2719
|
-
};
|
|
2720
3009
|
readonly execution_key: {
|
|
2721
3010
|
readonly description: "The api-key ``user_id`` the turn runs AS; its live stored grants authorize the agent run or tool dispatch and every tool call the turn makes.";
|
|
2722
3011
|
readonly minLength: 1;
|
|
@@ -2791,14 +3080,25 @@ export declare const servedDocumentsJson: {
|
|
|
2791
3080
|
readonly language: "jq";
|
|
2792
3081
|
readonly returns: "the reply: null (silent), a string, or a list of answer parts";
|
|
2793
3082
|
readonly variables: readonly [{
|
|
2794
|
-
readonly blurb: "the turn
|
|
3083
|
+
readonly blurb: "the turn this reply answers ({id, inbound, subject, reply_window}); reply_window {state, closes_at} is read when the turn starts, or at delivery for a late reply: open until closes_at, closed, or none; null when an out-of-band delivery's originating record has aged out";
|
|
2795
3084
|
readonly name: "turn";
|
|
2796
3085
|
readonly sample: {
|
|
2797
3086
|
readonly id: "m-1";
|
|
2798
3087
|
readonly inbound: {
|
|
2799
3088
|
readonly id: "i-1";
|
|
2800
3089
|
readonly kind: "message";
|
|
2801
|
-
readonly source: "
|
|
3090
|
+
readonly source: "chat-line";
|
|
3091
|
+
};
|
|
3092
|
+
readonly reply_window: {
|
|
3093
|
+
readonly closes_at: "2026-01-02T09:30:00Z";
|
|
3094
|
+
readonly state: "open";
|
|
3095
|
+
};
|
|
3096
|
+
readonly subject: {
|
|
3097
|
+
readonly locale: null;
|
|
3098
|
+
readonly person: null;
|
|
3099
|
+
readonly target_kind: "agent";
|
|
3100
|
+
readonly target_name: "assistant";
|
|
3101
|
+
readonly thread: "t-1";
|
|
2802
3102
|
};
|
|
2803
3103
|
};
|
|
2804
3104
|
}, {
|
|
@@ -2824,6 +3124,14 @@ export declare const servedDocumentsJson: {
|
|
|
2824
3124
|
}];
|
|
2825
3125
|
};
|
|
2826
3126
|
};
|
|
3127
|
+
readonly reply_texts: {
|
|
3128
|
+
readonly anyOf: readonly [{
|
|
3129
|
+
readonly $ref: "#/$defs/ReplyTexts";
|
|
3130
|
+
}, {
|
|
3131
|
+
readonly type: "null";
|
|
3132
|
+
}];
|
|
3133
|
+
readonly default: null;
|
|
3134
|
+
};
|
|
2827
3135
|
readonly resume_expr: {
|
|
2828
3136
|
readonly anyOf: readonly [{
|
|
2829
3137
|
readonly $ref: "#/$defs/TemplatedText";
|
|
@@ -2905,13 +3213,16 @@ export declare const servedDocumentsJson: {
|
|
|
2905
3213
|
readonly gloss: "a geographic point the participant shared, present only when the inbound carried one";
|
|
2906
3214
|
readonly name: "location";
|
|
2907
3215
|
}, {
|
|
2908
|
-
readonly gloss: "
|
|
3216
|
+
readonly gloss: "the earlier message this one replies to, {message_id, status, text}; present only when the inbound quoted one";
|
|
3217
|
+
readonly name: "reply_to";
|
|
3218
|
+
}, {
|
|
3219
|
+
readonly gloss: "overlap deliver=all: the batch carried into this turn, in acceptance order, each {id, text, accepted_at} (+ form/form_tag/attachments/location/reply_to when that message carried them)";
|
|
2909
3220
|
readonly name: "messages";
|
|
2910
3221
|
}, {
|
|
2911
3222
|
readonly gloss: "overlap deliver=all: messages dropped in favour of this turn, in the same shape; present only when non-empty";
|
|
2912
3223
|
readonly name: "superseded";
|
|
2913
3224
|
}, {
|
|
2914
|
-
readonly gloss: "the turn
|
|
3225
|
+
readonly gloss: "the turn: {id, inbound: {id, kind, source}, subject: {target_kind, target_name, person, thread, locale}, reply_window: {state, closes_at}}; reply_window.state is open (a free-form reply is allowed until closes_at), closed, or none (no window on this channel or address)";
|
|
2915
3226
|
readonly name: "turn";
|
|
2916
3227
|
}, {
|
|
2917
3228
|
readonly gloss: "an event turn's structured payload {id, kind, payload}; absent on a message turn";
|
|
@@ -2987,6 +3298,158 @@ export declare const servedDocumentsJson: {
|
|
|
2987
3298
|
readonly title: "OverlapPolicy";
|
|
2988
3299
|
readonly type: "object";
|
|
2989
3300
|
};
|
|
3301
|
+
readonly ReplyTexts: {
|
|
3302
|
+
readonly additionalProperties: false;
|
|
3303
|
+
readonly description: "The caller's words for the platform's fixed participant replies on one route. Frozen, strict keys.\n\n``error`` is sent when a turn fails and the target gave no reply; ``slow_down`` when an address\nis over the turn cap; ``pairing_linked`` when a pair code was redeemed and the two persons\nmerged; ``pairing_unlinked`` when ``/unlink`` detached the address; ``pairing_not_linked`` when\n``/unlink`` came from an address linked to nothing; ``pairing_code_invalid`` when a redeem was\nrefused; ``pairing_code`` is the ``/link`` reply carrying the fresh code, a template that MUST\nreference ``{pairing_code}`` and may reference ``{expires_at}`` (the code's ISO-8601 expiry),\nwith no conversion or format spec; ``pairing_link_unavailable`` when a redeem met a person being\nerased (its code is consumed, so the reply asks for a new one); ``pairing_unlink_unavailable``\nwhen ``/unlink`` met the sender's person being erased; ``rejected_unsupported_type`` / ``rejected_too_large`` /\n``rejected_could_not_receive`` are the notices for an inbound message the channel cannot\nbridge, a file over the cap, and a file the channel could not fetch. Every member but\n``pairing_code`` is literal text: a ``{`` in it is drawn as written. Each is a\n:data:`~tai42_contract.interactions.ReplyText` in the line's language; absent, the built-in\nEnglish reply is sent. An empty catalogue names nothing and is refused; an unknown key is\nrefused.";
|
|
3304
|
+
readonly properties: {
|
|
3305
|
+
readonly error: {
|
|
3306
|
+
readonly anyOf: readonly [{
|
|
3307
|
+
readonly maxLength: 2000;
|
|
3308
|
+
readonly minLength: 1;
|
|
3309
|
+
readonly pattern: "\\S";
|
|
3310
|
+
readonly type: "string";
|
|
3311
|
+
}, {
|
|
3312
|
+
readonly type: "null";
|
|
3313
|
+
}];
|
|
3314
|
+
readonly default: null;
|
|
3315
|
+
readonly title: "Error";
|
|
3316
|
+
};
|
|
3317
|
+
readonly pairing_code: {
|
|
3318
|
+
readonly anyOf: readonly [{
|
|
3319
|
+
readonly maxLength: 2000;
|
|
3320
|
+
readonly minLength: 1;
|
|
3321
|
+
readonly pattern: "\\S";
|
|
3322
|
+
readonly type: "string";
|
|
3323
|
+
}, {
|
|
3324
|
+
readonly type: "null";
|
|
3325
|
+
}];
|
|
3326
|
+
readonly default: null;
|
|
3327
|
+
readonly title: "Pairing Code";
|
|
3328
|
+
};
|
|
3329
|
+
readonly pairing_code_invalid: {
|
|
3330
|
+
readonly anyOf: readonly [{
|
|
3331
|
+
readonly maxLength: 2000;
|
|
3332
|
+
readonly minLength: 1;
|
|
3333
|
+
readonly pattern: "\\S";
|
|
3334
|
+
readonly type: "string";
|
|
3335
|
+
}, {
|
|
3336
|
+
readonly type: "null";
|
|
3337
|
+
}];
|
|
3338
|
+
readonly default: null;
|
|
3339
|
+
readonly title: "Pairing Code Invalid";
|
|
3340
|
+
};
|
|
3341
|
+
readonly pairing_link_unavailable: {
|
|
3342
|
+
readonly anyOf: readonly [{
|
|
3343
|
+
readonly maxLength: 2000;
|
|
3344
|
+
readonly minLength: 1;
|
|
3345
|
+
readonly pattern: "\\S";
|
|
3346
|
+
readonly type: "string";
|
|
3347
|
+
}, {
|
|
3348
|
+
readonly type: "null";
|
|
3349
|
+
}];
|
|
3350
|
+
readonly default: null;
|
|
3351
|
+
readonly title: "Pairing Link Unavailable";
|
|
3352
|
+
};
|
|
3353
|
+
readonly pairing_linked: {
|
|
3354
|
+
readonly anyOf: readonly [{
|
|
3355
|
+
readonly maxLength: 2000;
|
|
3356
|
+
readonly minLength: 1;
|
|
3357
|
+
readonly pattern: "\\S";
|
|
3358
|
+
readonly type: "string";
|
|
3359
|
+
}, {
|
|
3360
|
+
readonly type: "null";
|
|
3361
|
+
}];
|
|
3362
|
+
readonly default: null;
|
|
3363
|
+
readonly title: "Pairing Linked";
|
|
3364
|
+
};
|
|
3365
|
+
readonly pairing_not_linked: {
|
|
3366
|
+
readonly anyOf: readonly [{
|
|
3367
|
+
readonly maxLength: 2000;
|
|
3368
|
+
readonly minLength: 1;
|
|
3369
|
+
readonly pattern: "\\S";
|
|
3370
|
+
readonly type: "string";
|
|
3371
|
+
}, {
|
|
3372
|
+
readonly type: "null";
|
|
3373
|
+
}];
|
|
3374
|
+
readonly default: null;
|
|
3375
|
+
readonly title: "Pairing Not Linked";
|
|
3376
|
+
};
|
|
3377
|
+
readonly pairing_unlink_unavailable: {
|
|
3378
|
+
readonly anyOf: readonly [{
|
|
3379
|
+
readonly maxLength: 2000;
|
|
3380
|
+
readonly minLength: 1;
|
|
3381
|
+
readonly pattern: "\\S";
|
|
3382
|
+
readonly type: "string";
|
|
3383
|
+
}, {
|
|
3384
|
+
readonly type: "null";
|
|
3385
|
+
}];
|
|
3386
|
+
readonly default: null;
|
|
3387
|
+
readonly title: "Pairing Unlink Unavailable";
|
|
3388
|
+
};
|
|
3389
|
+
readonly pairing_unlinked: {
|
|
3390
|
+
readonly anyOf: readonly [{
|
|
3391
|
+
readonly maxLength: 2000;
|
|
3392
|
+
readonly minLength: 1;
|
|
3393
|
+
readonly pattern: "\\S";
|
|
3394
|
+
readonly type: "string";
|
|
3395
|
+
}, {
|
|
3396
|
+
readonly type: "null";
|
|
3397
|
+
}];
|
|
3398
|
+
readonly default: null;
|
|
3399
|
+
readonly title: "Pairing Unlinked";
|
|
3400
|
+
};
|
|
3401
|
+
readonly rejected_could_not_receive: {
|
|
3402
|
+
readonly anyOf: readonly [{
|
|
3403
|
+
readonly maxLength: 2000;
|
|
3404
|
+
readonly minLength: 1;
|
|
3405
|
+
readonly pattern: "\\S";
|
|
3406
|
+
readonly type: "string";
|
|
3407
|
+
}, {
|
|
3408
|
+
readonly type: "null";
|
|
3409
|
+
}];
|
|
3410
|
+
readonly default: null;
|
|
3411
|
+
readonly title: "Rejected Could Not Receive";
|
|
3412
|
+
};
|
|
3413
|
+
readonly rejected_too_large: {
|
|
3414
|
+
readonly anyOf: readonly [{
|
|
3415
|
+
readonly maxLength: 2000;
|
|
3416
|
+
readonly minLength: 1;
|
|
3417
|
+
readonly pattern: "\\S";
|
|
3418
|
+
readonly type: "string";
|
|
3419
|
+
}, {
|
|
3420
|
+
readonly type: "null";
|
|
3421
|
+
}];
|
|
3422
|
+
readonly default: null;
|
|
3423
|
+
readonly title: "Rejected Too Large";
|
|
3424
|
+
};
|
|
3425
|
+
readonly rejected_unsupported_type: {
|
|
3426
|
+
readonly anyOf: readonly [{
|
|
3427
|
+
readonly maxLength: 2000;
|
|
3428
|
+
readonly minLength: 1;
|
|
3429
|
+
readonly pattern: "\\S";
|
|
3430
|
+
readonly type: "string";
|
|
3431
|
+
}, {
|
|
3432
|
+
readonly type: "null";
|
|
3433
|
+
}];
|
|
3434
|
+
readonly default: null;
|
|
3435
|
+
readonly title: "Rejected Unsupported Type";
|
|
3436
|
+
};
|
|
3437
|
+
readonly slow_down: {
|
|
3438
|
+
readonly anyOf: readonly [{
|
|
3439
|
+
readonly maxLength: 2000;
|
|
3440
|
+
readonly minLength: 1;
|
|
3441
|
+
readonly pattern: "\\S";
|
|
3442
|
+
readonly type: "string";
|
|
3443
|
+
}, {
|
|
3444
|
+
readonly type: "null";
|
|
3445
|
+
}];
|
|
3446
|
+
readonly default: null;
|
|
3447
|
+
readonly title: "Slow Down";
|
|
3448
|
+
};
|
|
3449
|
+
};
|
|
3450
|
+
readonly title: "ReplyTexts";
|
|
3451
|
+
readonly type: "object";
|
|
3452
|
+
};
|
|
2990
3453
|
readonly TemplatedText: {
|
|
2991
3454
|
readonly additionalProperties: false;
|
|
2992
3455
|
readonly description: "A renderable text: its source plus the parameters its render takes.\n\nEXACTLY ONE source is set — ``content`` (the text inline) or ``id`` (the id of a\nstored resource holding the text); neither and both are refused at construction.\n``kwargs`` are the render parameters for the TEXT and apply either way, so moving a\ntext from inline to stored (or back) leaves its parameters untouched.";
|