@breign/db-schemas 0.1.86 → 0.1.88

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.
@@ -188,12 +188,16 @@ export type TicketAgentSession = {
188
188
  createdAt: string;
189
189
  lastRunAt: string | null;
190
190
  };
191
- export type TicketWakeupReasonKind = 'assigned' | 'go_ahead' | 'reopened' | 'changes_requested' | 'comment' | 'mention' | 'approved' | 'approval_changes_requested' | 'approval_rejected';
191
+ export type TicketWakeupReasonKind = 'assigned' | 'go_ahead' | 'reopened' | 'changes_requested' | 'comment' | 'mention' | 'approved' | 'approval_changes_requested' | 'approval_rejected'
192
+ /** Un humain a écrit à l'agent dans sa session de travail. */
193
+ | 'session_message';
192
194
  export type TicketWakeupReason = {
193
195
  kind: TicketWakeupReasonKind;
194
196
  eventId?: string | null;
195
197
  by: ActorRef;
196
198
  at: string;
199
+ /** Le message écrit dans la session, pour `session_message`. */
200
+ body?: string;
197
201
  };
198
202
  export type TicketWakeupStatus = 'pending' | 'running' | 'done' | 'skipped' | 'error';
199
203
  /** Un réveil d'agent : les raisons de se remettre au travail, regroupées tant qu'il attend. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/db-schemas",
3
- "version": "0.1.86",
3
+ "version": "0.1.88",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -14,7 +14,7 @@
14
14
  "typescript": "^5.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@breign/client": "1.0.158",
17
+ "@breign/client": "1.0.192",
18
18
  "prettier": "^3.5.3",
19
19
  "zx": "^8.5.5"
20
20
  }
@@ -220,13 +220,17 @@ export type TicketWakeupReasonKind =
220
220
  | 'mention'
221
221
  | 'approved'
222
222
  | 'approval_changes_requested'
223
- | 'approval_rejected';
223
+ | 'approval_rejected'
224
+ /** Un humain a écrit à l'agent dans sa session de travail. */
225
+ | 'session_message';
224
226
 
225
227
  export type TicketWakeupReason = {
226
228
  kind: TicketWakeupReasonKind;
227
229
  eventId?: string | null;
228
230
  by: ActorRef;
229
231
  at: string;
232
+ /** Le message écrit dans la session, pour `session_message`. */
233
+ body?: string;
230
234
  };
231
235
 
232
236
  export type TicketWakeupStatus = 'pending' | 'running' | 'done' | 'skipped' | 'error';