@dual-os/sdk 0.10.0 → 0.11.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.
@@ -125,10 +125,397 @@ export declare const Fixture: Schema.Struct<{
125
125
  readonly kind: Schema.Literal<"read_asset">;
126
126
  readonly operationKey: Schema.NonEmptyString;
127
127
  readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
128
+ }>] | readonly [Schema.Union<readonly [Schema.Struct<{
129
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
130
+ readonly operationKey: Schema.NonEmptyString;
131
+ readonly kind: Schema.Literal<"activate">;
132
+ readonly ingressUrl: Schema.String;
133
+ readonly state: Schema.optionalKey<Schema.Codec<Schema.Json, Schema.Json, never, never>>;
134
+ }>, Schema.Struct<{
135
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
136
+ readonly operationKey: Schema.NonEmptyString;
137
+ readonly installationKey: Schema.NonEmptyString;
138
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
139
+ readonly kind: Schema.Literal<"deactivate">;
140
+ }>, Schema.Struct<{
141
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
142
+ readonly operationKey: Schema.NonEmptyString;
143
+ readonly installationKey: Schema.NonEmptyString;
144
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
145
+ readonly kind: Schema.Literal<"receive">;
146
+ readonly request: Schema.Struct<{
147
+ readonly body: Schema.String;
148
+ readonly headers: Schema.$Record<Schema.NonEmptyString, Schema.String>;
149
+ readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE"]>;
150
+ readonly url: Schema.String;
151
+ }>;
152
+ }>, Schema.Struct<{
153
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
154
+ readonly operationKey: Schema.NonEmptyString;
155
+ readonly installationKey: Schema.NonEmptyString;
156
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
157
+ readonly kind: Schema.Literal<"deliver">;
158
+ readonly activationMessageKey: Schema.optionalKey<Schema.NonEmptyString>;
159
+ readonly deliveryKey: Schema.NonEmptyString;
160
+ readonly destination: Schema.Struct<{
161
+ readonly conversationKey: Schema.NonEmptyString;
162
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
163
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
164
+ }>;
165
+ readonly operation: Schema.Union<readonly [Schema.Struct<{
166
+ readonly kind: Schema.Literal<"present_outcome">;
167
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
168
+ readonly outcome: Schema.Literals<readonly ["completed", "failed", "awaiting_input"]>;
169
+ readonly text: Schema.String;
170
+ }>, Schema.Struct<{
171
+ readonly kind: Schema.Literal<"create_message">;
172
+ readonly messageKey: Schema.NonEmptyString;
173
+ readonly text: Schema.String;
174
+ }>, Schema.Struct<{
175
+ readonly kind: Schema.Literal<"update_message">;
176
+ readonly messageKey: Schema.NonEmptyString;
177
+ readonly reference: Schema.NonEmptyString;
178
+ readonly text: Schema.String;
179
+ }>, Schema.Struct<{
180
+ readonly kind: Schema.Literal<"delete_message">;
181
+ readonly messageKey: Schema.NonEmptyString;
182
+ readonly reference: Schema.NonEmptyString;
183
+ }>, Schema.Struct<{
184
+ readonly active: Schema.Boolean;
185
+ readonly kind: Schema.Literal<"set_reaction">;
186
+ readonly reaction: Schema.Literals<readonly ["thumbs_up", "thumbs_down", "laugh", "confused", "heart", "hooray", "rocket", "eyes"]>;
187
+ readonly target: Schema.Union<readonly [Schema.Struct<{
188
+ readonly kind: Schema.Literal<"activation">;
189
+ }>, Schema.Struct<{
190
+ readonly kind: Schema.Literal<"message">;
191
+ readonly reference: Schema.NonEmptyString;
192
+ }>]>;
193
+ }>, Schema.Struct<{
194
+ readonly activity: Schema.Union<readonly [Schema.Struct<{
195
+ readonly kind: Schema.Literal<"working">;
196
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
197
+ }>, Schema.Struct<{
198
+ readonly kind: Schema.Literal<"idle">;
199
+ }>]>;
200
+ readonly kind: Schema.Literal<"set_activity">;
201
+ }>, Schema.Struct<{
202
+ readonly kind: Schema.Literal<"render_plan">;
203
+ readonly plan: Schema.Struct<{
204
+ readonly items: Schema.$Array<Schema.Struct<{
205
+ readonly itemKey: Schema.NonEmptyString;
206
+ readonly note: Schema.optionalKey<Schema.NonEmptyString>;
207
+ readonly state: Schema.Literals<readonly ["pending", "in_progress", "completed", "failed"]>;
208
+ readonly title: Schema.NonEmptyString;
209
+ }>>;
210
+ readonly title: Schema.optionalKey<Schema.NonEmptyString>;
211
+ }>;
212
+ readonly reference: Schema.optionalKey<Schema.NonEmptyString>;
213
+ readonly revision: Schema.Int;
214
+ }>]>;
215
+ readonly responseToTimestamp: Schema.optionalKey<Schema.String>;
216
+ }>, Schema.Struct<{
217
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
218
+ readonly operationKey: Schema.NonEmptyString;
219
+ readonly installationKey: Schema.NonEmptyString;
220
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
221
+ readonly kind: Schema.Literal<"read_context">;
222
+ readonly destination: Schema.Struct<{
223
+ readonly conversationKey: Schema.NonEmptyString;
224
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
225
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
226
+ }>;
227
+ readonly limit: Schema.Int;
228
+ }>]>, Schema.Struct<{
229
+ readonly asset: Schema.Struct<{
230
+ readonly assetKey: Schema.NonEmptyString;
231
+ readonly mediaType: Schema.NonEmptyString;
232
+ readonly url: Schema.String;
233
+ }>;
234
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
235
+ readonly identity: Schema.Struct<{
236
+ readonly conversation: Schema.Struct<{
237
+ readonly conversationKey: Schema.NonEmptyString;
238
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
239
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
240
+ }>;
241
+ readonly senderKey: Schema.NonEmptyString;
242
+ }>;
243
+ readonly installationKey: Schema.NonEmptyString;
244
+ readonly kind: Schema.Literal<"read_asset">;
245
+ readonly operationKey: Schema.NonEmptyString;
246
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
247
+ }>, Schema.Struct<{
248
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
249
+ readonly identity: Schema.Struct<{
250
+ readonly conversation: Schema.Struct<{
251
+ readonly conversationKey: Schema.NonEmptyString;
252
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
253
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
254
+ }>;
255
+ readonly senderKey: Schema.NonEmptyString;
256
+ }>;
257
+ readonly installationKey: Schema.NonEmptyString;
258
+ readonly kind: Schema.Literal<"read_sender">;
259
+ readonly operationKey: Schema.NonEmptyString;
260
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
261
+ }>]>;
262
+ readonly channelId: Schema.NonEmptyString;
263
+ readonly connectionId: Schema.optionalKey<Schema.NonEmptyString>;
264
+ readonly deactivate: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
265
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
266
+ readonly operationKey: Schema.NonEmptyString;
267
+ readonly kind: Schema.Literal<"activate">;
268
+ readonly ingressUrl: Schema.String;
269
+ readonly state: Schema.optionalKey<Schema.Codec<Schema.Json, Schema.Json, never, never>>;
270
+ }>, Schema.Struct<{
271
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
272
+ readonly operationKey: Schema.NonEmptyString;
273
+ readonly installationKey: Schema.NonEmptyString;
274
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
275
+ readonly kind: Schema.Literal<"deactivate">;
276
+ }>, Schema.Struct<{
277
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
278
+ readonly operationKey: Schema.NonEmptyString;
279
+ readonly installationKey: Schema.NonEmptyString;
280
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
281
+ readonly kind: Schema.Literal<"receive">;
282
+ readonly request: Schema.Struct<{
283
+ readonly body: Schema.String;
284
+ readonly headers: Schema.$Record<Schema.NonEmptyString, Schema.String>;
285
+ readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE"]>;
286
+ readonly url: Schema.String;
287
+ }>;
288
+ }>, Schema.Struct<{
289
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
290
+ readonly operationKey: Schema.NonEmptyString;
291
+ readonly installationKey: Schema.NonEmptyString;
292
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
293
+ readonly kind: Schema.Literal<"deliver">;
294
+ readonly activationMessageKey: Schema.optionalKey<Schema.NonEmptyString>;
295
+ readonly deliveryKey: Schema.NonEmptyString;
296
+ readonly destination: Schema.Struct<{
297
+ readonly conversationKey: Schema.NonEmptyString;
298
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
299
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
300
+ }>;
301
+ readonly operation: Schema.Union<readonly [Schema.Struct<{
302
+ readonly kind: Schema.Literal<"present_outcome">;
303
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
304
+ readonly outcome: Schema.Literals<readonly ["completed", "failed", "awaiting_input"]>;
305
+ readonly text: Schema.String;
306
+ }>, Schema.Struct<{
307
+ readonly kind: Schema.Literal<"create_message">;
308
+ readonly messageKey: Schema.NonEmptyString;
309
+ readonly text: Schema.String;
310
+ }>, Schema.Struct<{
311
+ readonly kind: Schema.Literal<"update_message">;
312
+ readonly messageKey: Schema.NonEmptyString;
313
+ readonly reference: Schema.NonEmptyString;
314
+ readonly text: Schema.String;
315
+ }>, Schema.Struct<{
316
+ readonly kind: Schema.Literal<"delete_message">;
317
+ readonly messageKey: Schema.NonEmptyString;
318
+ readonly reference: Schema.NonEmptyString;
319
+ }>, Schema.Struct<{
320
+ readonly active: Schema.Boolean;
321
+ readonly kind: Schema.Literal<"set_reaction">;
322
+ readonly reaction: Schema.Literals<readonly ["thumbs_up", "thumbs_down", "laugh", "confused", "heart", "hooray", "rocket", "eyes"]>;
323
+ readonly target: Schema.Union<readonly [Schema.Struct<{
324
+ readonly kind: Schema.Literal<"activation">;
325
+ }>, Schema.Struct<{
326
+ readonly kind: Schema.Literal<"message">;
327
+ readonly reference: Schema.NonEmptyString;
328
+ }>]>;
329
+ }>, Schema.Struct<{
330
+ readonly activity: Schema.Union<readonly [Schema.Struct<{
331
+ readonly kind: Schema.Literal<"working">;
332
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
333
+ }>, Schema.Struct<{
334
+ readonly kind: Schema.Literal<"idle">;
335
+ }>]>;
336
+ readonly kind: Schema.Literal<"set_activity">;
337
+ }>, Schema.Struct<{
338
+ readonly kind: Schema.Literal<"render_plan">;
339
+ readonly plan: Schema.Struct<{
340
+ readonly items: Schema.$Array<Schema.Struct<{
341
+ readonly itemKey: Schema.NonEmptyString;
342
+ readonly note: Schema.optionalKey<Schema.NonEmptyString>;
343
+ readonly state: Schema.Literals<readonly ["pending", "in_progress", "completed", "failed"]>;
344
+ readonly title: Schema.NonEmptyString;
345
+ }>>;
346
+ readonly title: Schema.optionalKey<Schema.NonEmptyString>;
347
+ }>;
348
+ readonly reference: Schema.optionalKey<Schema.NonEmptyString>;
349
+ readonly revision: Schema.Int;
350
+ }>]>;
351
+ readonly responseToTimestamp: Schema.optionalKey<Schema.String>;
352
+ }>, Schema.Struct<{
353
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
354
+ readonly operationKey: Schema.NonEmptyString;
355
+ readonly installationKey: Schema.NonEmptyString;
356
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
357
+ readonly kind: Schema.Literal<"read_context">;
358
+ readonly destination: Schema.Struct<{
359
+ readonly conversationKey: Schema.NonEmptyString;
360
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
361
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
362
+ }>;
363
+ readonly limit: Schema.Int;
364
+ }>]>, Schema.Struct<{
365
+ readonly asset: Schema.Struct<{
366
+ readonly assetKey: Schema.NonEmptyString;
367
+ readonly mediaType: Schema.NonEmptyString;
368
+ readonly url: Schema.String;
369
+ }>;
370
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
371
+ readonly identity: Schema.Struct<{
372
+ readonly conversation: Schema.Struct<{
373
+ readonly conversationKey: Schema.NonEmptyString;
374
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
375
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
376
+ }>;
377
+ readonly senderKey: Schema.NonEmptyString;
378
+ }>;
379
+ readonly installationKey: Schema.NonEmptyString;
380
+ readonly kind: Schema.Literal<"read_asset">;
381
+ readonly operationKey: Schema.NonEmptyString;
382
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
383
+ }>] | readonly [Schema.Union<readonly [Schema.Struct<{
384
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
385
+ readonly operationKey: Schema.NonEmptyString;
386
+ readonly kind: Schema.Literal<"activate">;
387
+ readonly ingressUrl: Schema.String;
388
+ readonly state: Schema.optionalKey<Schema.Codec<Schema.Json, Schema.Json, never, never>>;
389
+ }>, Schema.Struct<{
390
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
391
+ readonly operationKey: Schema.NonEmptyString;
392
+ readonly installationKey: Schema.NonEmptyString;
393
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
394
+ readonly kind: Schema.Literal<"deactivate">;
395
+ }>, Schema.Struct<{
396
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
397
+ readonly operationKey: Schema.NonEmptyString;
398
+ readonly installationKey: Schema.NonEmptyString;
399
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
400
+ readonly kind: Schema.Literal<"receive">;
401
+ readonly request: Schema.Struct<{
402
+ readonly body: Schema.String;
403
+ readonly headers: Schema.$Record<Schema.NonEmptyString, Schema.String>;
404
+ readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE"]>;
405
+ readonly url: Schema.String;
406
+ }>;
407
+ }>, Schema.Struct<{
408
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
409
+ readonly operationKey: Schema.NonEmptyString;
410
+ readonly installationKey: Schema.NonEmptyString;
411
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
412
+ readonly kind: Schema.Literal<"deliver">;
413
+ readonly activationMessageKey: Schema.optionalKey<Schema.NonEmptyString>;
414
+ readonly deliveryKey: Schema.NonEmptyString;
415
+ readonly destination: Schema.Struct<{
416
+ readonly conversationKey: Schema.NonEmptyString;
417
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
418
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
419
+ }>;
420
+ readonly operation: Schema.Union<readonly [Schema.Struct<{
421
+ readonly kind: Schema.Literal<"present_outcome">;
422
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
423
+ readonly outcome: Schema.Literals<readonly ["completed", "failed", "awaiting_input"]>;
424
+ readonly text: Schema.String;
425
+ }>, Schema.Struct<{
426
+ readonly kind: Schema.Literal<"create_message">;
427
+ readonly messageKey: Schema.NonEmptyString;
428
+ readonly text: Schema.String;
429
+ }>, Schema.Struct<{
430
+ readonly kind: Schema.Literal<"update_message">;
431
+ readonly messageKey: Schema.NonEmptyString;
432
+ readonly reference: Schema.NonEmptyString;
433
+ readonly text: Schema.String;
434
+ }>, Schema.Struct<{
435
+ readonly kind: Schema.Literal<"delete_message">;
436
+ readonly messageKey: Schema.NonEmptyString;
437
+ readonly reference: Schema.NonEmptyString;
438
+ }>, Schema.Struct<{
439
+ readonly active: Schema.Boolean;
440
+ readonly kind: Schema.Literal<"set_reaction">;
441
+ readonly reaction: Schema.Literals<readonly ["thumbs_up", "thumbs_down", "laugh", "confused", "heart", "hooray", "rocket", "eyes"]>;
442
+ readonly target: Schema.Union<readonly [Schema.Struct<{
443
+ readonly kind: Schema.Literal<"activation">;
444
+ }>, Schema.Struct<{
445
+ readonly kind: Schema.Literal<"message">;
446
+ readonly reference: Schema.NonEmptyString;
447
+ }>]>;
448
+ }>, Schema.Struct<{
449
+ readonly activity: Schema.Union<readonly [Schema.Struct<{
450
+ readonly kind: Schema.Literal<"working">;
451
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
452
+ }>, Schema.Struct<{
453
+ readonly kind: Schema.Literal<"idle">;
454
+ }>]>;
455
+ readonly kind: Schema.Literal<"set_activity">;
456
+ }>, Schema.Struct<{
457
+ readonly kind: Schema.Literal<"render_plan">;
458
+ readonly plan: Schema.Struct<{
459
+ readonly items: Schema.$Array<Schema.Struct<{
460
+ readonly itemKey: Schema.NonEmptyString;
461
+ readonly note: Schema.optionalKey<Schema.NonEmptyString>;
462
+ readonly state: Schema.Literals<readonly ["pending", "in_progress", "completed", "failed"]>;
463
+ readonly title: Schema.NonEmptyString;
464
+ }>>;
465
+ readonly title: Schema.optionalKey<Schema.NonEmptyString>;
466
+ }>;
467
+ readonly reference: Schema.optionalKey<Schema.NonEmptyString>;
468
+ readonly revision: Schema.Int;
469
+ }>]>;
470
+ readonly responseToTimestamp: Schema.optionalKey<Schema.String>;
471
+ }>, Schema.Struct<{
472
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
473
+ readonly operationKey: Schema.NonEmptyString;
474
+ readonly installationKey: Schema.NonEmptyString;
475
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
476
+ readonly kind: Schema.Literal<"read_context">;
477
+ readonly destination: Schema.Struct<{
478
+ readonly conversationKey: Schema.NonEmptyString;
479
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
480
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
481
+ }>;
482
+ readonly limit: Schema.Int;
483
+ }>]>, Schema.Struct<{
484
+ readonly asset: Schema.Struct<{
485
+ readonly assetKey: Schema.NonEmptyString;
486
+ readonly mediaType: Schema.NonEmptyString;
487
+ readonly url: Schema.String;
488
+ }>;
489
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
490
+ readonly identity: Schema.Struct<{
491
+ readonly conversation: Schema.Struct<{
492
+ readonly conversationKey: Schema.NonEmptyString;
493
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
494
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
495
+ }>;
496
+ readonly senderKey: Schema.NonEmptyString;
497
+ }>;
498
+ readonly installationKey: Schema.NonEmptyString;
499
+ readonly kind: Schema.Literal<"read_asset">;
500
+ readonly operationKey: Schema.NonEmptyString;
501
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
502
+ }>, Schema.Struct<{
503
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
504
+ readonly identity: Schema.Struct<{
505
+ readonly conversation: Schema.Struct<{
506
+ readonly conversationKey: Schema.NonEmptyString;
507
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
508
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
509
+ }>;
510
+ readonly senderKey: Schema.NonEmptyString;
511
+ }>;
512
+ readonly installationKey: Schema.NonEmptyString;
513
+ readonly kind: Schema.Literal<"read_sender">;
514
+ readonly operationKey: Schema.NonEmptyString;
515
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
128
516
  }>]>;
129
- readonly channelId: Schema.NonEmptyString;
130
- readonly connectionId: Schema.optionalKey<Schema.NonEmptyString>;
131
- readonly deactivate: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
517
+ readonly definitionSettings: Schema.Codec<Schema.Json, Schema.Json, never, never>;
518
+ readonly deliver: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
132
519
  readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
133
520
  readonly operationKey: Schema.NonEmptyString;
134
521
  readonly kind: Schema.Literal<"activate">;
@@ -247,9 +634,7 @@ export declare const Fixture: Schema.Struct<{
247
634
  readonly kind: Schema.Literal<"read_asset">;
248
635
  readonly operationKey: Schema.NonEmptyString;
249
636
  readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
250
- }>]>;
251
- readonly definitionSettings: Schema.Codec<Schema.Json, Schema.Json, never, never>;
252
- readonly deliver: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
637
+ }>] | readonly [Schema.Union<readonly [Schema.Struct<{
253
638
  readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
254
639
  readonly operationKey: Schema.NonEmptyString;
255
640
  readonly kind: Schema.Literal<"activate">;
@@ -368,6 +753,20 @@ export declare const Fixture: Schema.Struct<{
368
753
  readonly kind: Schema.Literal<"read_asset">;
369
754
  readonly operationKey: Schema.NonEmptyString;
370
755
  readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
756
+ }>, Schema.Struct<{
757
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
758
+ readonly identity: Schema.Struct<{
759
+ readonly conversation: Schema.Struct<{
760
+ readonly conversationKey: Schema.NonEmptyString;
761
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
762
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
763
+ }>;
764
+ readonly senderKey: Schema.NonEmptyString;
765
+ }>;
766
+ readonly installationKey: Schema.NonEmptyString;
767
+ readonly kind: Schema.Literal<"read_sender">;
768
+ readonly operationKey: Schema.NonEmptyString;
769
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
371
770
  }>]>;
372
771
  readonly deploymentSettings: Schema.Codec<Schema.Json, Schema.Json, never, never>;
373
772
  readonly receive: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -489,6 +888,139 @@ export declare const Fixture: Schema.Struct<{
489
888
  readonly kind: Schema.Literal<"read_asset">;
490
889
  readonly operationKey: Schema.NonEmptyString;
491
890
  readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
891
+ }>] | readonly [Schema.Union<readonly [Schema.Struct<{
892
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
893
+ readonly operationKey: Schema.NonEmptyString;
894
+ readonly kind: Schema.Literal<"activate">;
895
+ readonly ingressUrl: Schema.String;
896
+ readonly state: Schema.optionalKey<Schema.Codec<Schema.Json, Schema.Json, never, never>>;
897
+ }>, Schema.Struct<{
898
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
899
+ readonly operationKey: Schema.NonEmptyString;
900
+ readonly installationKey: Schema.NonEmptyString;
901
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
902
+ readonly kind: Schema.Literal<"deactivate">;
903
+ }>, Schema.Struct<{
904
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
905
+ readonly operationKey: Schema.NonEmptyString;
906
+ readonly installationKey: Schema.NonEmptyString;
907
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
908
+ readonly kind: Schema.Literal<"receive">;
909
+ readonly request: Schema.Struct<{
910
+ readonly body: Schema.String;
911
+ readonly headers: Schema.$Record<Schema.NonEmptyString, Schema.String>;
912
+ readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE"]>;
913
+ readonly url: Schema.String;
914
+ }>;
915
+ }>, Schema.Struct<{
916
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
917
+ readonly operationKey: Schema.NonEmptyString;
918
+ readonly installationKey: Schema.NonEmptyString;
919
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
920
+ readonly kind: Schema.Literal<"deliver">;
921
+ readonly activationMessageKey: Schema.optionalKey<Schema.NonEmptyString>;
922
+ readonly deliveryKey: Schema.NonEmptyString;
923
+ readonly destination: Schema.Struct<{
924
+ readonly conversationKey: Schema.NonEmptyString;
925
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
926
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
927
+ }>;
928
+ readonly operation: Schema.Union<readonly [Schema.Struct<{
929
+ readonly kind: Schema.Literal<"present_outcome">;
930
+ readonly options: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
931
+ readonly outcome: Schema.Literals<readonly ["completed", "failed", "awaiting_input"]>;
932
+ readonly text: Schema.String;
933
+ }>, Schema.Struct<{
934
+ readonly kind: Schema.Literal<"create_message">;
935
+ readonly messageKey: Schema.NonEmptyString;
936
+ readonly text: Schema.String;
937
+ }>, Schema.Struct<{
938
+ readonly kind: Schema.Literal<"update_message">;
939
+ readonly messageKey: Schema.NonEmptyString;
940
+ readonly reference: Schema.NonEmptyString;
941
+ readonly text: Schema.String;
942
+ }>, Schema.Struct<{
943
+ readonly kind: Schema.Literal<"delete_message">;
944
+ readonly messageKey: Schema.NonEmptyString;
945
+ readonly reference: Schema.NonEmptyString;
946
+ }>, Schema.Struct<{
947
+ readonly active: Schema.Boolean;
948
+ readonly kind: Schema.Literal<"set_reaction">;
949
+ readonly reaction: Schema.Literals<readonly ["thumbs_up", "thumbs_down", "laugh", "confused", "heart", "hooray", "rocket", "eyes"]>;
950
+ readonly target: Schema.Union<readonly [Schema.Struct<{
951
+ readonly kind: Schema.Literal<"activation">;
952
+ }>, Schema.Struct<{
953
+ readonly kind: Schema.Literal<"message">;
954
+ readonly reference: Schema.NonEmptyString;
955
+ }>]>;
956
+ }>, Schema.Struct<{
957
+ readonly activity: Schema.Union<readonly [Schema.Struct<{
958
+ readonly kind: Schema.Literal<"working">;
959
+ readonly text: Schema.optionalKey<Schema.NonEmptyString>;
960
+ }>, Schema.Struct<{
961
+ readonly kind: Schema.Literal<"idle">;
962
+ }>]>;
963
+ readonly kind: Schema.Literal<"set_activity">;
964
+ }>, Schema.Struct<{
965
+ readonly kind: Schema.Literal<"render_plan">;
966
+ readonly plan: Schema.Struct<{
967
+ readonly items: Schema.$Array<Schema.Struct<{
968
+ readonly itemKey: Schema.NonEmptyString;
969
+ readonly note: Schema.optionalKey<Schema.NonEmptyString>;
970
+ readonly state: Schema.Literals<readonly ["pending", "in_progress", "completed", "failed"]>;
971
+ readonly title: Schema.NonEmptyString;
972
+ }>>;
973
+ readonly title: Schema.optionalKey<Schema.NonEmptyString>;
974
+ }>;
975
+ readonly reference: Schema.optionalKey<Schema.NonEmptyString>;
976
+ readonly revision: Schema.Int;
977
+ }>]>;
978
+ readonly responseToTimestamp: Schema.optionalKey<Schema.String>;
979
+ }>, Schema.Struct<{
980
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
981
+ readonly operationKey: Schema.NonEmptyString;
982
+ readonly installationKey: Schema.NonEmptyString;
983
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
984
+ readonly kind: Schema.Literal<"read_context">;
985
+ readonly destination: Schema.Struct<{
986
+ readonly conversationKey: Schema.NonEmptyString;
987
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
988
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
989
+ }>;
990
+ readonly limit: Schema.Int;
991
+ }>]>, Schema.Struct<{
992
+ readonly asset: Schema.Struct<{
993
+ readonly assetKey: Schema.NonEmptyString;
994
+ readonly mediaType: Schema.NonEmptyString;
995
+ readonly url: Schema.String;
996
+ }>;
997
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
998
+ readonly identity: Schema.Struct<{
999
+ readonly conversation: Schema.Struct<{
1000
+ readonly conversationKey: Schema.NonEmptyString;
1001
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
1002
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
1003
+ }>;
1004
+ readonly senderKey: Schema.NonEmptyString;
1005
+ }>;
1006
+ readonly installationKey: Schema.NonEmptyString;
1007
+ readonly kind: Schema.Literal<"read_asset">;
1008
+ readonly operationKey: Schema.NonEmptyString;
1009
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
1010
+ }>, Schema.Struct<{
1011
+ readonly extensions: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1012
+ readonly identity: Schema.Struct<{
1013
+ readonly conversation: Schema.Struct<{
1014
+ readonly conversationKey: Schema.NonEmptyString;
1015
+ readonly kind: Schema.Literals<readonly ["direct", "group"]>;
1016
+ readonly threadKey: Schema.optionalKey<Schema.NonEmptyString>;
1017
+ }>;
1018
+ readonly senderKey: Schema.NonEmptyString;
1019
+ }>;
1020
+ readonly installationKey: Schema.NonEmptyString;
1021
+ readonly kind: Schema.Literal<"read_sender">;
1022
+ readonly operationKey: Schema.NonEmptyString;
1023
+ readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
492
1024
  }>]>;
493
1025
  }>;
494
1026
  export type Fixture = typeof Fixture.Type;
@@ -638,6 +1170,22 @@ export declare const run: (input: {
638
1170
  readonly kind: "read_asset";
639
1171
  readonly operationKey: string;
640
1172
  readonly state: Schema.Json;
1173
+ } | {
1174
+ readonly extensions?: {
1175
+ readonly [x: string]: Schema.Json;
1176
+ };
1177
+ readonly identity: {
1178
+ readonly conversation: {
1179
+ readonly conversationKey: string;
1180
+ readonly kind: "direct" | "group";
1181
+ readonly threadKey?: string;
1182
+ };
1183
+ readonly senderKey: string;
1184
+ };
1185
+ readonly installationKey: string;
1186
+ readonly kind: "read_sender";
1187
+ readonly operationKey: string;
1188
+ readonly state: Schema.Json;
641
1189
  };
642
1190
  readonly channelId: string;
643
1191
  readonly connectionId?: string;
@@ -774,6 +1322,22 @@ export declare const run: (input: {
774
1322
  readonly kind: "read_asset";
775
1323
  readonly operationKey: string;
776
1324
  readonly state: Schema.Json;
1325
+ } | {
1326
+ readonly extensions?: {
1327
+ readonly [x: string]: Schema.Json;
1328
+ };
1329
+ readonly identity: {
1330
+ readonly conversation: {
1331
+ readonly conversationKey: string;
1332
+ readonly kind: "direct" | "group";
1333
+ readonly threadKey?: string;
1334
+ };
1335
+ readonly senderKey: string;
1336
+ };
1337
+ readonly installationKey: string;
1338
+ readonly kind: "read_sender";
1339
+ readonly operationKey: string;
1340
+ readonly state: Schema.Json;
777
1341
  };
778
1342
  readonly definitionSettings: Schema.Json;
779
1343
  readonly deliver: {
@@ -909,6 +1473,22 @@ export declare const run: (input: {
909
1473
  readonly kind: "read_asset";
910
1474
  readonly operationKey: string;
911
1475
  readonly state: Schema.Json;
1476
+ } | {
1477
+ readonly extensions?: {
1478
+ readonly [x: string]: Schema.Json;
1479
+ };
1480
+ readonly identity: {
1481
+ readonly conversation: {
1482
+ readonly conversationKey: string;
1483
+ readonly kind: "direct" | "group";
1484
+ readonly threadKey?: string;
1485
+ };
1486
+ readonly senderKey: string;
1487
+ };
1488
+ readonly installationKey: string;
1489
+ readonly kind: "read_sender";
1490
+ readonly operationKey: string;
1491
+ readonly state: Schema.Json;
912
1492
  };
913
1493
  readonly deploymentSettings: Schema.Json;
914
1494
  readonly receive: {
@@ -1044,6 +1624,22 @@ export declare const run: (input: {
1044
1624
  readonly kind: "read_asset";
1045
1625
  readonly operationKey: string;
1046
1626
  readonly state: Schema.Json;
1627
+ } | {
1628
+ readonly extensions?: {
1629
+ readonly [x: string]: Schema.Json;
1630
+ };
1631
+ readonly identity: {
1632
+ readonly conversation: {
1633
+ readonly conversationKey: string;
1634
+ readonly kind: "direct" | "group";
1635
+ readonly threadKey?: string;
1636
+ };
1637
+ readonly senderKey: string;
1638
+ };
1639
+ readonly installationKey: string;
1640
+ readonly kind: "read_sender";
1641
+ readonly operationKey: string;
1642
+ readonly state: Schema.Json;
1047
1643
  };
1048
1644
  }) => Effect.Effect<undefined, ChannelError | ConformanceError | Schema.SchemaError, Service>;
1049
1645
  export { AgentChannelConformance_d_exports as AgentChannelConformance, AgentChannelConformance_d_exports };
@@ -1 +1 @@
1
- {"version":3,"file":"AgentChannelConformance.d.ts","names":["AgentChannel.ChannelError","DualRuntime.Service"],"sources":["../src/AgentChannelConformance.ts"],"mappings":";;;;;;;qBAOa,SAAO,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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