@breign/db-schemas 0.1.86 → 0.1.87
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/types/ticket.d.ts +5 -1
- package/package.json +1 -1
- package/src/types/ticket.ts +5 -1
package/dist/types/ticket.d.ts
CHANGED
|
@@ -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
package/src/types/ticket.ts
CHANGED
|
@@ -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';
|