@pairlobby/protocol 0.12.0 → 0.14.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/http.d.ts CHANGED
@@ -53,6 +53,10 @@ export declare const ROUTES: {
53
53
  readonly method: "POST";
54
54
  readonly path: "/v1/rooms/:roomId/requests/:eventId/pass";
55
55
  };
56
+ readonly resolveRequest: {
57
+ readonly method: "POST";
58
+ readonly path: "/v1/rooms/:roomId/requests/:eventId/resolve";
59
+ };
56
60
  readonly readEvents: {
57
61
  readonly method: "GET";
58
62
  readonly path: "/v1/rooms/:roomId/events";
@@ -190,6 +194,8 @@ export declare const CreateRoomResponse: z.ZodObject<{
190
194
  roomId: z.ZodString;
191
195
  messageReceiptScope: z.ZodOptional<z.ZodEnum<["recipient", "members"]>>;
192
196
  messageStagesSupported: z.ZodOptional<z.ZodBoolean>;
197
+ requestRecoverySupported: z.ZodOptional<z.ZodBoolean>;
198
+ requestResolutionSupported: z.ZodOptional<z.ZodBoolean>;
193
199
  rejoinSupported: z.ZodOptional<z.ZodBoolean>;
194
200
  renameSelfSupported: z.ZodOptional<z.ZodBoolean>;
195
201
  adminRolesSupported: z.ZodOptional<z.ZodBoolean>;
@@ -447,6 +453,8 @@ export declare const CreateRoomResponse: z.ZodObject<{
447
453
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
448
454
  messageReceiptScope?: "recipient" | "members" | undefined;
449
455
  messageStagesSupported?: boolean | undefined;
456
+ requestRecoverySupported?: boolean | undefined;
457
+ requestResolutionSupported?: boolean | undefined;
450
458
  rejoinSupported?: boolean | undefined;
451
459
  renameSelfSupported?: boolean | undefined;
452
460
  adminRolesSupported?: boolean | undefined;
@@ -521,6 +529,8 @@ export declare const CreateRoomResponse: z.ZodObject<{
521
529
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
522
530
  messageReceiptScope?: "recipient" | "members" | undefined;
523
531
  messageStagesSupported?: boolean | undefined;
532
+ requestRecoverySupported?: boolean | undefined;
533
+ requestResolutionSupported?: boolean | undefined;
524
534
  rejoinSupported?: boolean | undefined;
525
535
  renameSelfSupported?: boolean | undefined;
526
536
  adminRolesSupported?: boolean | undefined;
@@ -608,6 +618,8 @@ export declare const CreateRoomResponse: z.ZodObject<{
608
618
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
609
619
  messageReceiptScope?: "recipient" | "members" | undefined;
610
620
  messageStagesSupported?: boolean | undefined;
621
+ requestRecoverySupported?: boolean | undefined;
622
+ requestResolutionSupported?: boolean | undefined;
611
623
  rejoinSupported?: boolean | undefined;
612
624
  renameSelfSupported?: boolean | undefined;
613
625
  adminRolesSupported?: boolean | undefined;
@@ -689,6 +701,8 @@ export declare const CreateRoomResponse: z.ZodObject<{
689
701
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
690
702
  messageReceiptScope?: "recipient" | "members" | undefined;
691
703
  messageStagesSupported?: boolean | undefined;
704
+ requestRecoverySupported?: boolean | undefined;
705
+ requestResolutionSupported?: boolean | undefined;
692
706
  rejoinSupported?: boolean | undefined;
693
707
  renameSelfSupported?: boolean | undefined;
694
708
  adminRolesSupported?: boolean | undefined;
@@ -851,6 +865,8 @@ export declare const RedeemInviteResponse: z.ZodObject<{
851
865
  roomId: z.ZodString;
852
866
  messageReceiptScope: z.ZodOptional<z.ZodEnum<["recipient", "members"]>>;
853
867
  messageStagesSupported: z.ZodOptional<z.ZodBoolean>;
868
+ requestRecoverySupported: z.ZodOptional<z.ZodBoolean>;
869
+ requestResolutionSupported: z.ZodOptional<z.ZodBoolean>;
854
870
  rejoinSupported: z.ZodOptional<z.ZodBoolean>;
855
871
  renameSelfSupported: z.ZodOptional<z.ZodBoolean>;
856
872
  adminRolesSupported: z.ZodOptional<z.ZodBoolean>;
@@ -1108,6 +1124,8 @@ export declare const RedeemInviteResponse: z.ZodObject<{
1108
1124
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
1109
1125
  messageReceiptScope?: "recipient" | "members" | undefined;
1110
1126
  messageStagesSupported?: boolean | undefined;
1127
+ requestRecoverySupported?: boolean | undefined;
1128
+ requestResolutionSupported?: boolean | undefined;
1111
1129
  rejoinSupported?: boolean | undefined;
1112
1130
  renameSelfSupported?: boolean | undefined;
1113
1131
  adminRolesSupported?: boolean | undefined;
@@ -1182,6 +1200,8 @@ export declare const RedeemInviteResponse: z.ZodObject<{
1182
1200
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
1183
1201
  messageReceiptScope?: "recipient" | "members" | undefined;
1184
1202
  messageStagesSupported?: boolean | undefined;
1203
+ requestRecoverySupported?: boolean | undefined;
1204
+ requestResolutionSupported?: boolean | undefined;
1185
1205
  rejoinSupported?: boolean | undefined;
1186
1206
  renameSelfSupported?: boolean | undefined;
1187
1207
  adminRolesSupported?: boolean | undefined;
@@ -1258,6 +1278,8 @@ export declare const RedeemInviteResponse: z.ZodObject<{
1258
1278
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
1259
1279
  messageReceiptScope?: "recipient" | "members" | undefined;
1260
1280
  messageStagesSupported?: boolean | undefined;
1281
+ requestRecoverySupported?: boolean | undefined;
1282
+ requestResolutionSupported?: boolean | undefined;
1261
1283
  rejoinSupported?: boolean | undefined;
1262
1284
  renameSelfSupported?: boolean | undefined;
1263
1285
  adminRolesSupported?: boolean | undefined;
@@ -1337,6 +1359,8 @@ export declare const RedeemInviteResponse: z.ZodObject<{
1337
1359
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
1338
1360
  messageReceiptScope?: "recipient" | "members" | undefined;
1339
1361
  messageStagesSupported?: boolean | undefined;
1362
+ requestRecoverySupported?: boolean | undefined;
1363
+ requestResolutionSupported?: boolean | undefined;
1340
1364
  rejoinSupported?: boolean | undefined;
1341
1365
  renameSelfSupported?: boolean | undefined;
1342
1366
  adminRolesSupported?: boolean | undefined;
@@ -1407,6 +1431,17 @@ export declare const TurnActionRequest: z.ZodObject<{
1407
1431
  participantId?: string | undefined;
1408
1432
  requestId?: string | undefined;
1409
1433
  }>;
1434
+ export declare const ResolveRequestRequest: z.ZodObject<{
1435
+ action: z.ZodEnum<["dismiss", "cancel"]>;
1436
+ reason: z.ZodOptional<z.ZodString>;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ action: "cancel" | "dismiss";
1439
+ reason?: string | undefined;
1440
+ }, {
1441
+ action: "cancel" | "dismiss";
1442
+ reason?: string | undefined;
1443
+ }>;
1444
+ export type ResolveRequestRequest = z.infer<typeof ResolveRequestRequest>;
1410
1445
  export declare const CreateInviteRequest: z.ZodObject<{
1411
1446
  defaultName: z.ZodOptional<z.ZodString>;
1412
1447
  role: z.ZodDefault<z.ZodEnum<["guest", "member", "controller"]>>;
@@ -1495,14 +1530,17 @@ export declare const ReadEventsResponse: z.ZodObject<{
1495
1530
  text: z.ZodEffects<z.ZodString, string, string>;
1496
1531
  priority: z.ZodDefault<z.ZodEnum<["normal", "priority"]>>;
1497
1532
  responseStage: z.ZodOptional<z.ZodEnum<["progress", "final"]>>;
1533
+ recovers: z.ZodOptional<z.ZodString>;
1498
1534
  }, "strip", z.ZodTypeAny, {
1499
1535
  text: string;
1500
1536
  priority: "normal" | "priority";
1501
1537
  responseStage?: "progress" | "final" | undefined;
1538
+ recovers?: string | undefined;
1502
1539
  }, {
1503
1540
  text: string;
1504
1541
  priority?: "normal" | "priority" | undefined;
1505
1542
  responseStage?: "progress" | "final" | undefined;
1543
+ recovers?: string | undefined;
1506
1544
  }>;
1507
1545
  }, "strip", z.ZodTypeAny, {
1508
1546
  type: "message";
@@ -1510,6 +1548,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
1510
1548
  text: string;
1511
1549
  priority: "normal" | "priority";
1512
1550
  responseStage?: "progress" | "final" | undefined;
1551
+ recovers?: string | undefined;
1513
1552
  };
1514
1553
  }, {
1515
1554
  type: "message";
@@ -1517,6 +1556,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
1517
1556
  text: string;
1518
1557
  priority?: "normal" | "priority" | undefined;
1519
1558
  responseStage?: "progress" | "final" | undefined;
1559
+ recovers?: string | undefined;
1520
1560
  };
1521
1561
  }>, z.ZodObject<{
1522
1562
  type: z.ZodLiteral<"message.received">;
@@ -1586,6 +1626,35 @@ export declare const ReadEventsResponse: z.ZodObject<{
1586
1626
  reason: string;
1587
1627
  stage?: "delivery" | "execution" | "publishing" | undefined;
1588
1628
  };
1629
+ }>, z.ZodObject<{
1630
+ type: z.ZodLiteral<"message.request_closed">;
1631
+ payload: z.ZodObject<{
1632
+ eventId: z.ZodString;
1633
+ outcome: z.ZodEnum<["dismissed", "cancelled"]>;
1634
+ reason: z.ZodOptional<z.ZodString>;
1635
+ }, "strip", z.ZodTypeAny, {
1636
+ eventId: string;
1637
+ outcome: "dismissed" | "cancelled";
1638
+ reason?: string | undefined;
1639
+ }, {
1640
+ eventId: string;
1641
+ outcome: "dismissed" | "cancelled";
1642
+ reason?: string | undefined;
1643
+ }>;
1644
+ }, "strip", z.ZodTypeAny, {
1645
+ type: "message.request_closed";
1646
+ payload: {
1647
+ eventId: string;
1648
+ outcome: "dismissed" | "cancelled";
1649
+ reason?: string | undefined;
1650
+ };
1651
+ }, {
1652
+ type: "message.request_closed";
1653
+ payload: {
1654
+ eventId: string;
1655
+ outcome: "dismissed" | "cancelled";
1656
+ reason?: string | undefined;
1657
+ };
1589
1658
  }>, z.ZodObject<{
1590
1659
  type: z.ZodLiteral<"handover.offered">;
1591
1660
  payload: z.ZodObject<{
@@ -2115,30 +2184,30 @@ export declare const ReadEventsResponse: z.ZodObject<{
2115
2184
  outcome: z.ZodEnum<["pause_requested", "paused_between_turns", "current_turn_cancelled", "tool_cancellation_unknown", "resumed", "unsupported", "disconnected"]>;
2116
2185
  detail: z.ZodOptional<z.ZodString>;
2117
2186
  }, "strip", z.ZodTypeAny, {
2187
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2118
2188
  revision: number;
2119
2189
  targetParticipantId: string;
2120
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2121
2190
  detail?: string | undefined;
2122
2191
  }, {
2192
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2123
2193
  revision: number;
2124
2194
  targetParticipantId: string;
2125
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2126
2195
  detail?: string | undefined;
2127
2196
  }>;
2128
2197
  }, "strip", z.ZodTypeAny, {
2129
2198
  type: "control.ack";
2130
2199
  payload: {
2200
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2131
2201
  revision: number;
2132
2202
  targetParticipantId: string;
2133
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2134
2203
  detail?: string | undefined;
2135
2204
  };
2136
2205
  }, {
2137
2206
  type: "control.ack";
2138
2207
  payload: {
2208
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2139
2209
  revision: number;
2140
2210
  targetParticipantId: string;
2141
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2142
2211
  detail?: string | undefined;
2143
2212
  };
2144
2213
  }>, z.ZodObject<{
@@ -2535,12 +2604,12 @@ export declare const ReadEventsResponse: z.ZodObject<{
2535
2604
  mode: z.ZodEnum<["sequential", "parallel"]>;
2536
2605
  }, "strip", z.ZodTypeAny, {
2537
2606
  mode: "sequential" | "parallel";
2538
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
2607
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
2539
2608
  requestIds: string[];
2540
2609
  participantIds: string[];
2541
2610
  }, {
2542
2611
  mode: "sequential" | "parallel";
2543
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
2612
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
2544
2613
  requestIds: string[];
2545
2614
  participantIds: string[];
2546
2615
  }>;
@@ -2548,7 +2617,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
2548
2617
  type: "conversation.turn_changed";
2549
2618
  payload: {
2550
2619
  mode: "sequential" | "parallel";
2551
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
2620
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
2552
2621
  requestIds: string[];
2553
2622
  participantIds: string[];
2554
2623
  };
@@ -2556,7 +2625,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
2556
2625
  type: "conversation.turn_changed";
2557
2626
  payload: {
2558
2627
  mode: "sequential" | "parallel";
2559
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
2628
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
2560
2629
  requestIds: string[];
2561
2630
  participantIds: string[];
2562
2631
  };
@@ -2586,6 +2655,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
2586
2655
  text: string;
2587
2656
  priority: "normal" | "priority";
2588
2657
  responseStage?: "progress" | "final" | undefined;
2658
+ recovers?: string | undefined;
2589
2659
  };
2590
2660
  } | {
2591
2661
  type: "message.received";
@@ -2603,6 +2673,13 @@ export declare const ReadEventsResponse: z.ZodObject<{
2603
2673
  reason: string;
2604
2674
  stage?: "delivery" | "execution" | "publishing" | undefined;
2605
2675
  };
2676
+ } | {
2677
+ type: "message.request_closed";
2678
+ payload: {
2679
+ eventId: string;
2680
+ outcome: "dismissed" | "cancelled";
2681
+ reason?: string | undefined;
2682
+ };
2606
2683
  } | {
2607
2684
  type: "handover.offered";
2608
2685
  payload: {
@@ -2697,9 +2774,9 @@ export declare const ReadEventsResponse: z.ZodObject<{
2697
2774
  } | {
2698
2775
  type: "control.ack";
2699
2776
  payload: {
2777
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2700
2778
  revision: number;
2701
2779
  targetParticipantId: string;
2702
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2703
2780
  detail?: string | undefined;
2704
2781
  };
2705
2782
  } | {
@@ -2787,7 +2864,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
2787
2864
  type: "conversation.turn_changed";
2788
2865
  payload: {
2789
2866
  mode: "sequential" | "parallel";
2790
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
2867
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
2791
2868
  requestIds: string[];
2792
2869
  participantIds: string[];
2793
2870
  };
@@ -2815,6 +2892,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
2815
2892
  text: string;
2816
2893
  priority?: "normal" | "priority" | undefined;
2817
2894
  responseStage?: "progress" | "final" | undefined;
2895
+ recovers?: string | undefined;
2818
2896
  };
2819
2897
  } | {
2820
2898
  type: "message.received";
@@ -2832,6 +2910,13 @@ export declare const ReadEventsResponse: z.ZodObject<{
2832
2910
  reason: string;
2833
2911
  stage?: "delivery" | "execution" | "publishing" | undefined;
2834
2912
  };
2913
+ } | {
2914
+ type: "message.request_closed";
2915
+ payload: {
2916
+ eventId: string;
2917
+ outcome: "dismissed" | "cancelled";
2918
+ reason?: string | undefined;
2919
+ };
2835
2920
  } | {
2836
2921
  type: "handover.offered";
2837
2922
  payload: {
@@ -2926,9 +3011,9 @@ export declare const ReadEventsResponse: z.ZodObject<{
2926
3011
  } | {
2927
3012
  type: "control.ack";
2928
3013
  payload: {
3014
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2929
3015
  revision: number;
2930
3016
  targetParticipantId: string;
2931
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
2932
3017
  detail?: string | undefined;
2933
3018
  };
2934
3019
  } | {
@@ -3016,7 +3101,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
3016
3101
  type: "conversation.turn_changed";
3017
3102
  payload: {
3018
3103
  mode: "sequential" | "parallel";
3019
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
3104
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
3020
3105
  requestIds: string[];
3021
3106
  participantIds: string[];
3022
3107
  };
@@ -3071,14 +3156,17 @@ export declare const SendEventResponse: z.ZodObject<{
3071
3156
  text: z.ZodEffects<z.ZodString, string, string>;
3072
3157
  priority: z.ZodDefault<z.ZodEnum<["normal", "priority"]>>;
3073
3158
  responseStage: z.ZodOptional<z.ZodEnum<["progress", "final"]>>;
3159
+ recovers: z.ZodOptional<z.ZodString>;
3074
3160
  }, "strip", z.ZodTypeAny, {
3075
3161
  text: string;
3076
3162
  priority: "normal" | "priority";
3077
3163
  responseStage?: "progress" | "final" | undefined;
3164
+ recovers?: string | undefined;
3078
3165
  }, {
3079
3166
  text: string;
3080
3167
  priority?: "normal" | "priority" | undefined;
3081
3168
  responseStage?: "progress" | "final" | undefined;
3169
+ recovers?: string | undefined;
3082
3170
  }>;
3083
3171
  }, "strip", z.ZodTypeAny, {
3084
3172
  type: "message";
@@ -3086,6 +3174,7 @@ export declare const SendEventResponse: z.ZodObject<{
3086
3174
  text: string;
3087
3175
  priority: "normal" | "priority";
3088
3176
  responseStage?: "progress" | "final" | undefined;
3177
+ recovers?: string | undefined;
3089
3178
  };
3090
3179
  }, {
3091
3180
  type: "message";
@@ -3093,6 +3182,7 @@ export declare const SendEventResponse: z.ZodObject<{
3093
3182
  text: string;
3094
3183
  priority?: "normal" | "priority" | undefined;
3095
3184
  responseStage?: "progress" | "final" | undefined;
3185
+ recovers?: string | undefined;
3096
3186
  };
3097
3187
  }>, z.ZodObject<{
3098
3188
  type: z.ZodLiteral<"message.received">;
@@ -3162,6 +3252,35 @@ export declare const SendEventResponse: z.ZodObject<{
3162
3252
  reason: string;
3163
3253
  stage?: "delivery" | "execution" | "publishing" | undefined;
3164
3254
  };
3255
+ }>, z.ZodObject<{
3256
+ type: z.ZodLiteral<"message.request_closed">;
3257
+ payload: z.ZodObject<{
3258
+ eventId: z.ZodString;
3259
+ outcome: z.ZodEnum<["dismissed", "cancelled"]>;
3260
+ reason: z.ZodOptional<z.ZodString>;
3261
+ }, "strip", z.ZodTypeAny, {
3262
+ eventId: string;
3263
+ outcome: "dismissed" | "cancelled";
3264
+ reason?: string | undefined;
3265
+ }, {
3266
+ eventId: string;
3267
+ outcome: "dismissed" | "cancelled";
3268
+ reason?: string | undefined;
3269
+ }>;
3270
+ }, "strip", z.ZodTypeAny, {
3271
+ type: "message.request_closed";
3272
+ payload: {
3273
+ eventId: string;
3274
+ outcome: "dismissed" | "cancelled";
3275
+ reason?: string | undefined;
3276
+ };
3277
+ }, {
3278
+ type: "message.request_closed";
3279
+ payload: {
3280
+ eventId: string;
3281
+ outcome: "dismissed" | "cancelled";
3282
+ reason?: string | undefined;
3283
+ };
3165
3284
  }>, z.ZodObject<{
3166
3285
  type: z.ZodLiteral<"handover.offered">;
3167
3286
  payload: z.ZodObject<{
@@ -3691,30 +3810,30 @@ export declare const SendEventResponse: z.ZodObject<{
3691
3810
  outcome: z.ZodEnum<["pause_requested", "paused_between_turns", "current_turn_cancelled", "tool_cancellation_unknown", "resumed", "unsupported", "disconnected"]>;
3692
3811
  detail: z.ZodOptional<z.ZodString>;
3693
3812
  }, "strip", z.ZodTypeAny, {
3813
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
3694
3814
  revision: number;
3695
3815
  targetParticipantId: string;
3696
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
3697
3816
  detail?: string | undefined;
3698
3817
  }, {
3818
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
3699
3819
  revision: number;
3700
3820
  targetParticipantId: string;
3701
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
3702
3821
  detail?: string | undefined;
3703
3822
  }>;
3704
3823
  }, "strip", z.ZodTypeAny, {
3705
3824
  type: "control.ack";
3706
3825
  payload: {
3826
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
3707
3827
  revision: number;
3708
3828
  targetParticipantId: string;
3709
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
3710
3829
  detail?: string | undefined;
3711
3830
  };
3712
3831
  }, {
3713
3832
  type: "control.ack";
3714
3833
  payload: {
3834
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
3715
3835
  revision: number;
3716
3836
  targetParticipantId: string;
3717
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
3718
3837
  detail?: string | undefined;
3719
3838
  };
3720
3839
  }>, z.ZodObject<{
@@ -4111,12 +4230,12 @@ export declare const SendEventResponse: z.ZodObject<{
4111
4230
  mode: z.ZodEnum<["sequential", "parallel"]>;
4112
4231
  }, "strip", z.ZodTypeAny, {
4113
4232
  mode: "sequential" | "parallel";
4114
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
4233
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
4115
4234
  requestIds: string[];
4116
4235
  participantIds: string[];
4117
4236
  }, {
4118
4237
  mode: "sequential" | "parallel";
4119
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
4238
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
4120
4239
  requestIds: string[];
4121
4240
  participantIds: string[];
4122
4241
  }>;
@@ -4124,7 +4243,7 @@ export declare const SendEventResponse: z.ZodObject<{
4124
4243
  type: "conversation.turn_changed";
4125
4244
  payload: {
4126
4245
  mode: "sequential" | "parallel";
4127
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
4246
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
4128
4247
  requestIds: string[];
4129
4248
  participantIds: string[];
4130
4249
  };
@@ -4132,7 +4251,7 @@ export declare const SendEventResponse: z.ZodObject<{
4132
4251
  type: "conversation.turn_changed";
4133
4252
  payload: {
4134
4253
  mode: "sequential" | "parallel";
4135
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
4254
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
4136
4255
  requestIds: string[];
4137
4256
  participantIds: string[];
4138
4257
  };
@@ -4159,6 +4278,7 @@ export declare const SendEventResponse: z.ZodObject<{
4159
4278
  text: string;
4160
4279
  priority: "normal" | "priority";
4161
4280
  responseStage?: "progress" | "final" | undefined;
4281
+ recovers?: string | undefined;
4162
4282
  };
4163
4283
  } | {
4164
4284
  type: "message.received";
@@ -4176,6 +4296,13 @@ export declare const SendEventResponse: z.ZodObject<{
4176
4296
  reason: string;
4177
4297
  stage?: "delivery" | "execution" | "publishing" | undefined;
4178
4298
  };
4299
+ } | {
4300
+ type: "message.request_closed";
4301
+ payload: {
4302
+ eventId: string;
4303
+ outcome: "dismissed" | "cancelled";
4304
+ reason?: string | undefined;
4305
+ };
4179
4306
  } | {
4180
4307
  type: "handover.offered";
4181
4308
  payload: {
@@ -4270,9 +4397,9 @@ export declare const SendEventResponse: z.ZodObject<{
4270
4397
  } | {
4271
4398
  type: "control.ack";
4272
4399
  payload: {
4400
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
4273
4401
  revision: number;
4274
4402
  targetParticipantId: string;
4275
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
4276
4403
  detail?: string | undefined;
4277
4404
  };
4278
4405
  } | {
@@ -4360,7 +4487,7 @@ export declare const SendEventResponse: z.ZodObject<{
4360
4487
  type: "conversation.turn_changed";
4361
4488
  payload: {
4362
4489
  mode: "sequential" | "parallel";
4363
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
4490
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
4364
4491
  requestIds: string[];
4365
4492
  participantIds: string[];
4366
4493
  };
@@ -4386,6 +4513,7 @@ export declare const SendEventResponse: z.ZodObject<{
4386
4513
  text: string;
4387
4514
  priority?: "normal" | "priority" | undefined;
4388
4515
  responseStage?: "progress" | "final" | undefined;
4516
+ recovers?: string | undefined;
4389
4517
  };
4390
4518
  } | {
4391
4519
  type: "message.received";
@@ -4403,6 +4531,13 @@ export declare const SendEventResponse: z.ZodObject<{
4403
4531
  reason: string;
4404
4532
  stage?: "delivery" | "execution" | "publishing" | undefined;
4405
4533
  };
4534
+ } | {
4535
+ type: "message.request_closed";
4536
+ payload: {
4537
+ eventId: string;
4538
+ outcome: "dismissed" | "cancelled";
4539
+ reason?: string | undefined;
4540
+ };
4406
4541
  } | {
4407
4542
  type: "handover.offered";
4408
4543
  payload: {
@@ -4497,9 +4632,9 @@ export declare const SendEventResponse: z.ZodObject<{
4497
4632
  } | {
4498
4633
  type: "control.ack";
4499
4634
  payload: {
4635
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
4500
4636
  revision: number;
4501
4637
  targetParticipantId: string;
4502
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
4503
4638
  detail?: string | undefined;
4504
4639
  };
4505
4640
  } | {
@@ -4587,7 +4722,7 @@ export declare const SendEventResponse: z.ZodObject<{
4587
4722
  type: "conversation.turn_changed";
4588
4723
  payload: {
4589
4724
  mode: "sequential" | "parallel";
4590
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
4725
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
4591
4726
  requestIds: string[];
4592
4727
  participantIds: string[];
4593
4728
  };
@@ -4937,14 +5072,17 @@ export declare const ControlResponse: z.ZodObject<{
4937
5072
  text: z.ZodEffects<z.ZodString, string, string>;
4938
5073
  priority: z.ZodDefault<z.ZodEnum<["normal", "priority"]>>;
4939
5074
  responseStage: z.ZodOptional<z.ZodEnum<["progress", "final"]>>;
5075
+ recovers: z.ZodOptional<z.ZodString>;
4940
5076
  }, "strip", z.ZodTypeAny, {
4941
5077
  text: string;
4942
5078
  priority: "normal" | "priority";
4943
5079
  responseStage?: "progress" | "final" | undefined;
5080
+ recovers?: string | undefined;
4944
5081
  }, {
4945
5082
  text: string;
4946
5083
  priority?: "normal" | "priority" | undefined;
4947
5084
  responseStage?: "progress" | "final" | undefined;
5085
+ recovers?: string | undefined;
4948
5086
  }>;
4949
5087
  }, "strip", z.ZodTypeAny, {
4950
5088
  type: "message";
@@ -4952,6 +5090,7 @@ export declare const ControlResponse: z.ZodObject<{
4952
5090
  text: string;
4953
5091
  priority: "normal" | "priority";
4954
5092
  responseStage?: "progress" | "final" | undefined;
5093
+ recovers?: string | undefined;
4955
5094
  };
4956
5095
  }, {
4957
5096
  type: "message";
@@ -4959,6 +5098,7 @@ export declare const ControlResponse: z.ZodObject<{
4959
5098
  text: string;
4960
5099
  priority?: "normal" | "priority" | undefined;
4961
5100
  responseStage?: "progress" | "final" | undefined;
5101
+ recovers?: string | undefined;
4962
5102
  };
4963
5103
  }>, z.ZodObject<{
4964
5104
  type: z.ZodLiteral<"message.received">;
@@ -5028,6 +5168,35 @@ export declare const ControlResponse: z.ZodObject<{
5028
5168
  reason: string;
5029
5169
  stage?: "delivery" | "execution" | "publishing" | undefined;
5030
5170
  };
5171
+ }>, z.ZodObject<{
5172
+ type: z.ZodLiteral<"message.request_closed">;
5173
+ payload: z.ZodObject<{
5174
+ eventId: z.ZodString;
5175
+ outcome: z.ZodEnum<["dismissed", "cancelled"]>;
5176
+ reason: z.ZodOptional<z.ZodString>;
5177
+ }, "strip", z.ZodTypeAny, {
5178
+ eventId: string;
5179
+ outcome: "dismissed" | "cancelled";
5180
+ reason?: string | undefined;
5181
+ }, {
5182
+ eventId: string;
5183
+ outcome: "dismissed" | "cancelled";
5184
+ reason?: string | undefined;
5185
+ }>;
5186
+ }, "strip", z.ZodTypeAny, {
5187
+ type: "message.request_closed";
5188
+ payload: {
5189
+ eventId: string;
5190
+ outcome: "dismissed" | "cancelled";
5191
+ reason?: string | undefined;
5192
+ };
5193
+ }, {
5194
+ type: "message.request_closed";
5195
+ payload: {
5196
+ eventId: string;
5197
+ outcome: "dismissed" | "cancelled";
5198
+ reason?: string | undefined;
5199
+ };
5031
5200
  }>, z.ZodObject<{
5032
5201
  type: z.ZodLiteral<"handover.offered">;
5033
5202
  payload: z.ZodObject<{
@@ -5557,30 +5726,30 @@ export declare const ControlResponse: z.ZodObject<{
5557
5726
  outcome: z.ZodEnum<["pause_requested", "paused_between_turns", "current_turn_cancelled", "tool_cancellation_unknown", "resumed", "unsupported", "disconnected"]>;
5558
5727
  detail: z.ZodOptional<z.ZodString>;
5559
5728
  }, "strip", z.ZodTypeAny, {
5729
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
5560
5730
  revision: number;
5561
5731
  targetParticipantId: string;
5562
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
5563
5732
  detail?: string | undefined;
5564
5733
  }, {
5734
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
5565
5735
  revision: number;
5566
5736
  targetParticipantId: string;
5567
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
5568
5737
  detail?: string | undefined;
5569
5738
  }>;
5570
5739
  }, "strip", z.ZodTypeAny, {
5571
5740
  type: "control.ack";
5572
5741
  payload: {
5742
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
5573
5743
  revision: number;
5574
5744
  targetParticipantId: string;
5575
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
5576
5745
  detail?: string | undefined;
5577
5746
  };
5578
5747
  }, {
5579
5748
  type: "control.ack";
5580
5749
  payload: {
5750
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
5581
5751
  revision: number;
5582
5752
  targetParticipantId: string;
5583
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
5584
5753
  detail?: string | undefined;
5585
5754
  };
5586
5755
  }>, z.ZodObject<{
@@ -5977,12 +6146,12 @@ export declare const ControlResponse: z.ZodObject<{
5977
6146
  mode: z.ZodEnum<["sequential", "parallel"]>;
5978
6147
  }, "strip", z.ZodTypeAny, {
5979
6148
  mode: "sequential" | "parallel";
5980
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
6149
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
5981
6150
  requestIds: string[];
5982
6151
  participantIds: string[];
5983
6152
  }, {
5984
6153
  mode: "sequential" | "parallel";
5985
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
6154
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
5986
6155
  requestIds: string[];
5987
6156
  participantIds: string[];
5988
6157
  }>;
@@ -5990,7 +6159,7 @@ export declare const ControlResponse: z.ZodObject<{
5990
6159
  type: "conversation.turn_changed";
5991
6160
  payload: {
5992
6161
  mode: "sequential" | "parallel";
5993
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
6162
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
5994
6163
  requestIds: string[];
5995
6164
  participantIds: string[];
5996
6165
  };
@@ -5998,7 +6167,7 @@ export declare const ControlResponse: z.ZodObject<{
5998
6167
  type: "conversation.turn_changed";
5999
6168
  payload: {
6000
6169
  mode: "sequential" | "parallel";
6001
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
6170
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
6002
6171
  requestIds: string[];
6003
6172
  participantIds: string[];
6004
6173
  };
@@ -6023,6 +6192,7 @@ export declare const ControlResponse: z.ZodObject<{
6023
6192
  text: string;
6024
6193
  priority: "normal" | "priority";
6025
6194
  responseStage?: "progress" | "final" | undefined;
6195
+ recovers?: string | undefined;
6026
6196
  };
6027
6197
  } | {
6028
6198
  type: "message.received";
@@ -6040,6 +6210,13 @@ export declare const ControlResponse: z.ZodObject<{
6040
6210
  reason: string;
6041
6211
  stage?: "delivery" | "execution" | "publishing" | undefined;
6042
6212
  };
6213
+ } | {
6214
+ type: "message.request_closed";
6215
+ payload: {
6216
+ eventId: string;
6217
+ outcome: "dismissed" | "cancelled";
6218
+ reason?: string | undefined;
6219
+ };
6043
6220
  } | {
6044
6221
  type: "handover.offered";
6045
6222
  payload: {
@@ -6134,9 +6311,9 @@ export declare const ControlResponse: z.ZodObject<{
6134
6311
  } | {
6135
6312
  type: "control.ack";
6136
6313
  payload: {
6314
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
6137
6315
  revision: number;
6138
6316
  targetParticipantId: string;
6139
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
6140
6317
  detail?: string | undefined;
6141
6318
  };
6142
6319
  } | {
@@ -6224,7 +6401,7 @@ export declare const ControlResponse: z.ZodObject<{
6224
6401
  type: "conversation.turn_changed";
6225
6402
  payload: {
6226
6403
  mode: "sequential" | "parallel";
6227
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
6404
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
6228
6405
  requestIds: string[];
6229
6406
  participantIds: string[];
6230
6407
  };
@@ -6250,6 +6427,7 @@ export declare const ControlResponse: z.ZodObject<{
6250
6427
  text: string;
6251
6428
  priority?: "normal" | "priority" | undefined;
6252
6429
  responseStage?: "progress" | "final" | undefined;
6430
+ recovers?: string | undefined;
6253
6431
  };
6254
6432
  } | {
6255
6433
  type: "message.received";
@@ -6267,6 +6445,13 @@ export declare const ControlResponse: z.ZodObject<{
6267
6445
  reason: string;
6268
6446
  stage?: "delivery" | "execution" | "publishing" | undefined;
6269
6447
  };
6448
+ } | {
6449
+ type: "message.request_closed";
6450
+ payload: {
6451
+ eventId: string;
6452
+ outcome: "dismissed" | "cancelled";
6453
+ reason?: string | undefined;
6454
+ };
6270
6455
  } | {
6271
6456
  type: "handover.offered";
6272
6457
  payload: {
@@ -6361,9 +6546,9 @@ export declare const ControlResponse: z.ZodObject<{
6361
6546
  } | {
6362
6547
  type: "control.ack";
6363
6548
  payload: {
6549
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
6364
6550
  revision: number;
6365
6551
  targetParticipantId: string;
6366
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
6367
6552
  detail?: string | undefined;
6368
6553
  };
6369
6554
  } | {
@@ -6451,7 +6636,7 @@ export declare const ControlResponse: z.ZodObject<{
6451
6636
  type: "conversation.turn_changed";
6452
6637
  payload: {
6453
6638
  mode: "sequential" | "parallel";
6454
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
6639
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
6455
6640
  requestIds: string[];
6456
6641
  participantIds: string[];
6457
6642
  };
@@ -6464,6 +6649,8 @@ export declare const ExportResponse: z.ZodObject<{
6464
6649
  roomId: z.ZodString;
6465
6650
  messageReceiptScope: z.ZodOptional<z.ZodEnum<["recipient", "members"]>>;
6466
6651
  messageStagesSupported: z.ZodOptional<z.ZodBoolean>;
6652
+ requestRecoverySupported: z.ZodOptional<z.ZodBoolean>;
6653
+ requestResolutionSupported: z.ZodOptional<z.ZodBoolean>;
6467
6654
  rejoinSupported: z.ZodOptional<z.ZodBoolean>;
6468
6655
  renameSelfSupported: z.ZodOptional<z.ZodBoolean>;
6469
6656
  adminRolesSupported: z.ZodOptional<z.ZodBoolean>;
@@ -6721,6 +6908,8 @@ export declare const ExportResponse: z.ZodObject<{
6721
6908
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
6722
6909
  messageReceiptScope?: "recipient" | "members" | undefined;
6723
6910
  messageStagesSupported?: boolean | undefined;
6911
+ requestRecoverySupported?: boolean | undefined;
6912
+ requestResolutionSupported?: boolean | undefined;
6724
6913
  rejoinSupported?: boolean | undefined;
6725
6914
  renameSelfSupported?: boolean | undefined;
6726
6915
  adminRolesSupported?: boolean | undefined;
@@ -6795,6 +6984,8 @@ export declare const ExportResponse: z.ZodObject<{
6795
6984
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
6796
6985
  messageReceiptScope?: "recipient" | "members" | undefined;
6797
6986
  messageStagesSupported?: boolean | undefined;
6987
+ requestRecoverySupported?: boolean | undefined;
6988
+ requestResolutionSupported?: boolean | undefined;
6798
6989
  rejoinSupported?: boolean | undefined;
6799
6990
  renameSelfSupported?: boolean | undefined;
6800
6991
  adminRolesSupported?: boolean | undefined;
@@ -6850,14 +7041,17 @@ export declare const ExportResponse: z.ZodObject<{
6850
7041
  text: z.ZodEffects<z.ZodString, string, string>;
6851
7042
  priority: z.ZodDefault<z.ZodEnum<["normal", "priority"]>>;
6852
7043
  responseStage: z.ZodOptional<z.ZodEnum<["progress", "final"]>>;
7044
+ recovers: z.ZodOptional<z.ZodString>;
6853
7045
  }, "strip", z.ZodTypeAny, {
6854
7046
  text: string;
6855
7047
  priority: "normal" | "priority";
6856
7048
  responseStage?: "progress" | "final" | undefined;
7049
+ recovers?: string | undefined;
6857
7050
  }, {
6858
7051
  text: string;
6859
7052
  priority?: "normal" | "priority" | undefined;
6860
7053
  responseStage?: "progress" | "final" | undefined;
7054
+ recovers?: string | undefined;
6861
7055
  }>;
6862
7056
  }, "strip", z.ZodTypeAny, {
6863
7057
  type: "message";
@@ -6865,6 +7059,7 @@ export declare const ExportResponse: z.ZodObject<{
6865
7059
  text: string;
6866
7060
  priority: "normal" | "priority";
6867
7061
  responseStage?: "progress" | "final" | undefined;
7062
+ recovers?: string | undefined;
6868
7063
  };
6869
7064
  }, {
6870
7065
  type: "message";
@@ -6872,6 +7067,7 @@ export declare const ExportResponse: z.ZodObject<{
6872
7067
  text: string;
6873
7068
  priority?: "normal" | "priority" | undefined;
6874
7069
  responseStage?: "progress" | "final" | undefined;
7070
+ recovers?: string | undefined;
6875
7071
  };
6876
7072
  }>, z.ZodObject<{
6877
7073
  type: z.ZodLiteral<"message.received">;
@@ -6941,6 +7137,35 @@ export declare const ExportResponse: z.ZodObject<{
6941
7137
  reason: string;
6942
7138
  stage?: "delivery" | "execution" | "publishing" | undefined;
6943
7139
  };
7140
+ }>, z.ZodObject<{
7141
+ type: z.ZodLiteral<"message.request_closed">;
7142
+ payload: z.ZodObject<{
7143
+ eventId: z.ZodString;
7144
+ outcome: z.ZodEnum<["dismissed", "cancelled"]>;
7145
+ reason: z.ZodOptional<z.ZodString>;
7146
+ }, "strip", z.ZodTypeAny, {
7147
+ eventId: string;
7148
+ outcome: "dismissed" | "cancelled";
7149
+ reason?: string | undefined;
7150
+ }, {
7151
+ eventId: string;
7152
+ outcome: "dismissed" | "cancelled";
7153
+ reason?: string | undefined;
7154
+ }>;
7155
+ }, "strip", z.ZodTypeAny, {
7156
+ type: "message.request_closed";
7157
+ payload: {
7158
+ eventId: string;
7159
+ outcome: "dismissed" | "cancelled";
7160
+ reason?: string | undefined;
7161
+ };
7162
+ }, {
7163
+ type: "message.request_closed";
7164
+ payload: {
7165
+ eventId: string;
7166
+ outcome: "dismissed" | "cancelled";
7167
+ reason?: string | undefined;
7168
+ };
6944
7169
  }>, z.ZodObject<{
6945
7170
  type: z.ZodLiteral<"handover.offered">;
6946
7171
  payload: z.ZodObject<{
@@ -7470,30 +7695,30 @@ export declare const ExportResponse: z.ZodObject<{
7470
7695
  outcome: z.ZodEnum<["pause_requested", "paused_between_turns", "current_turn_cancelled", "tool_cancellation_unknown", "resumed", "unsupported", "disconnected"]>;
7471
7696
  detail: z.ZodOptional<z.ZodString>;
7472
7697
  }, "strip", z.ZodTypeAny, {
7698
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
7473
7699
  revision: number;
7474
7700
  targetParticipantId: string;
7475
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
7476
7701
  detail?: string | undefined;
7477
7702
  }, {
7703
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
7478
7704
  revision: number;
7479
7705
  targetParticipantId: string;
7480
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
7481
7706
  detail?: string | undefined;
7482
7707
  }>;
7483
7708
  }, "strip", z.ZodTypeAny, {
7484
7709
  type: "control.ack";
7485
7710
  payload: {
7711
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
7486
7712
  revision: number;
7487
7713
  targetParticipantId: string;
7488
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
7489
7714
  detail?: string | undefined;
7490
7715
  };
7491
7716
  }, {
7492
7717
  type: "control.ack";
7493
7718
  payload: {
7719
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
7494
7720
  revision: number;
7495
7721
  targetParticipantId: string;
7496
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
7497
7722
  detail?: string | undefined;
7498
7723
  };
7499
7724
  }>, z.ZodObject<{
@@ -7890,12 +8115,12 @@ export declare const ExportResponse: z.ZodObject<{
7890
8115
  mode: z.ZodEnum<["sequential", "parallel"]>;
7891
8116
  }, "strip", z.ZodTypeAny, {
7892
8117
  mode: "sequential" | "parallel";
7893
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
8118
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
7894
8119
  requestIds: string[];
7895
8120
  participantIds: string[];
7896
8121
  }, {
7897
8122
  mode: "sequential" | "parallel";
7898
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
8123
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
7899
8124
  requestIds: string[];
7900
8125
  participantIds: string[];
7901
8126
  }>;
@@ -7903,7 +8128,7 @@ export declare const ExportResponse: z.ZodObject<{
7903
8128
  type: "conversation.turn_changed";
7904
8129
  payload: {
7905
8130
  mode: "sequential" | "parallel";
7906
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
8131
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
7907
8132
  requestIds: string[];
7908
8133
  participantIds: string[];
7909
8134
  };
@@ -7911,7 +8136,7 @@ export declare const ExportResponse: z.ZodObject<{
7911
8136
  type: "conversation.turn_changed";
7912
8137
  payload: {
7913
8138
  mode: "sequential" | "parallel";
7914
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
8139
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
7915
8140
  requestIds: string[];
7916
8141
  participantIds: string[];
7917
8142
  };
@@ -8196,6 +8421,8 @@ export declare const ExportResponse: z.ZodObject<{
8196
8421
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
8197
8422
  messageReceiptScope?: "recipient" | "members" | undefined;
8198
8423
  messageStagesSupported?: boolean | undefined;
8424
+ requestRecoverySupported?: boolean | undefined;
8425
+ requestResolutionSupported?: boolean | undefined;
8199
8426
  rejoinSupported?: boolean | undefined;
8200
8427
  renameSelfSupported?: boolean | undefined;
8201
8428
  adminRolesSupported?: boolean | undefined;
@@ -8225,6 +8452,7 @@ export declare const ExportResponse: z.ZodObject<{
8225
8452
  text: string;
8226
8453
  priority: "normal" | "priority";
8227
8454
  responseStage?: "progress" | "final" | undefined;
8455
+ recovers?: string | undefined;
8228
8456
  };
8229
8457
  } | {
8230
8458
  type: "message.received";
@@ -8242,6 +8470,13 @@ export declare const ExportResponse: z.ZodObject<{
8242
8470
  reason: string;
8243
8471
  stage?: "delivery" | "execution" | "publishing" | undefined;
8244
8472
  };
8473
+ } | {
8474
+ type: "message.request_closed";
8475
+ payload: {
8476
+ eventId: string;
8477
+ outcome: "dismissed" | "cancelled";
8478
+ reason?: string | undefined;
8479
+ };
8245
8480
  } | {
8246
8481
  type: "handover.offered";
8247
8482
  payload: {
@@ -8336,9 +8571,9 @@ export declare const ExportResponse: z.ZodObject<{
8336
8571
  } | {
8337
8572
  type: "control.ack";
8338
8573
  payload: {
8574
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
8339
8575
  revision: number;
8340
8576
  targetParticipantId: string;
8341
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
8342
8577
  detail?: string | undefined;
8343
8578
  };
8344
8579
  } | {
@@ -8426,7 +8661,7 @@ export declare const ExportResponse: z.ZodObject<{
8426
8661
  type: "conversation.turn_changed";
8427
8662
  payload: {
8428
8663
  mode: "sequential" | "parallel";
8429
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
8664
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
8430
8665
  requestIds: string[];
8431
8666
  participantIds: string[];
8432
8667
  };
@@ -8534,6 +8769,8 @@ export declare const ExportResponse: z.ZodObject<{
8534
8769
  closeReason?: "inactivity" | "age" | "agents_and_guests_left" | "manual" | undefined;
8535
8770
  messageReceiptScope?: "recipient" | "members" | undefined;
8536
8771
  messageStagesSupported?: boolean | undefined;
8772
+ requestRecoverySupported?: boolean | undefined;
8773
+ requestResolutionSupported?: boolean | undefined;
8537
8774
  rejoinSupported?: boolean | undefined;
8538
8775
  renameSelfSupported?: boolean | undefined;
8539
8776
  adminRolesSupported?: boolean | undefined;
@@ -8563,6 +8800,7 @@ export declare const ExportResponse: z.ZodObject<{
8563
8800
  text: string;
8564
8801
  priority?: "normal" | "priority" | undefined;
8565
8802
  responseStage?: "progress" | "final" | undefined;
8803
+ recovers?: string | undefined;
8566
8804
  };
8567
8805
  } | {
8568
8806
  type: "message.received";
@@ -8580,6 +8818,13 @@ export declare const ExportResponse: z.ZodObject<{
8580
8818
  reason: string;
8581
8819
  stage?: "delivery" | "execution" | "publishing" | undefined;
8582
8820
  };
8821
+ } | {
8822
+ type: "message.request_closed";
8823
+ payload: {
8824
+ eventId: string;
8825
+ outcome: "dismissed" | "cancelled";
8826
+ reason?: string | undefined;
8827
+ };
8583
8828
  } | {
8584
8829
  type: "handover.offered";
8585
8830
  payload: {
@@ -8674,9 +8919,9 @@ export declare const ExportResponse: z.ZodObject<{
8674
8919
  } | {
8675
8920
  type: "control.ack";
8676
8921
  payload: {
8922
+ outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
8677
8923
  revision: number;
8678
8924
  targetParticipantId: string;
8679
- outcome: "pause_requested" | "paused_between_turns" | "current_turn_cancelled" | "tool_cancellation_unknown" | "resumed" | "unsupported" | "disconnected";
8680
8925
  detail?: string | undefined;
8681
8926
  };
8682
8927
  } | {
@@ -8764,7 +9009,7 @@ export declare const ExportResponse: z.ZodObject<{
8764
9009
  type: "conversation.turn_changed";
8765
9010
  payload: {
8766
9011
  mode: "sequential" | "parallel";
8767
- action: "mode" | "passed" | "working" | "claimed" | "skipped" | "cancelled";
9012
+ action: "mode" | "passed" | "working" | "cancelled" | "claimed" | "skipped";
8768
9013
  requestIds: string[];
8769
9014
  participantIds: string[];
8770
9015
  };