@acorex/modules 21.0.0-next.56 → 21.0.0-next.57

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.
Files changed (68) hide show
  1. package/fesm2022/acorex-modules-application-management.mjs +1 -1
  2. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  3. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-NPUjHz-F.mjs → acorex-modules-auth-acorex-modules-auth-wfCSNwXC.mjs} +14 -14
  4. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-NPUjHz-F.mjs.map → acorex-modules-auth-acorex-modules-auth-wfCSNwXC.mjs.map} +1 -1
  5. package/fesm2022/{acorex-modules-auth-app-chooser.component-h61xNtRT.mjs → acorex-modules-auth-app-chooser.component-BY281-Cl.mjs} +2 -2
  6. package/fesm2022/{acorex-modules-auth-app-chooser.component-h61xNtRT.mjs.map → acorex-modules-auth-app-chooser.component-BY281-Cl.mjs.map} +1 -1
  7. package/fesm2022/{acorex-modules-auth-login.module-DF5AHqYe.mjs → acorex-modules-auth-login.module-CjgYlyOv.mjs} +4 -4
  8. package/fesm2022/{acorex-modules-auth-login.module-DF5AHqYe.mjs.map → acorex-modules-auth-login.module-CjgYlyOv.mjs.map} +1 -1
  9. package/fesm2022/{acorex-modules-auth-master.layout-00ZTMhc3.mjs → acorex-modules-auth-master.layout-Clx8QDYW.mjs} +2 -2
  10. package/fesm2022/{acorex-modules-auth-master.layout-00ZTMhc3.mjs.map → acorex-modules-auth-master.layout-Clx8QDYW.mjs.map} +1 -1
  11. package/fesm2022/{acorex-modules-auth-oauth-callback.component-Ce5Fw8Qd.mjs → acorex-modules-auth-oauth-callback.component-CGnGAPJ2.mjs} +2 -2
  12. package/fesm2022/{acorex-modules-auth-oauth-callback.component-Ce5Fw8Qd.mjs.map → acorex-modules-auth-oauth-callback.component-CGnGAPJ2.mjs.map} +1 -1
  13. package/fesm2022/{acorex-modules-auth-password.component-DQYCm8wg.mjs → acorex-modules-auth-password.component-8eEX0lRP.mjs} +2 -2
  14. package/fesm2022/{acorex-modules-auth-password.component-DQYCm8wg.mjs.map → acorex-modules-auth-password.component-8eEX0lRP.mjs.map} +1 -1
  15. package/fesm2022/{acorex-modules-auth-password.component-CU0AY-Ia.mjs → acorex-modules-auth-password.component-CUxwThnN.mjs} +2 -2
  16. package/fesm2022/{acorex-modules-auth-password.component-CU0AY-Ia.mjs.map → acorex-modules-auth-password.component-CUxwThnN.mjs.map} +1 -1
  17. package/fesm2022/{acorex-modules-auth-routes-CM4fRaWb.mjs → acorex-modules-auth-routes-CYLKJm9g.mjs} +2 -2
  18. package/fesm2022/{acorex-modules-auth-routes-CM4fRaWb.mjs.map → acorex-modules-auth-routes-CYLKJm9g.mjs.map} +1 -1
  19. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-BBztdcvq.mjs → acorex-modules-auth-tenant-chooser.component-DDK1KW-8.mjs} +2 -2
  20. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-BBztdcvq.mjs.map → acorex-modules-auth-tenant-chooser.component-DDK1KW-8.mjs.map} +1 -1
  21. package/fesm2022/{acorex-modules-auth-two-factor.module-C9AafF86.mjs → acorex-modules-auth-two-factor.module-Iw2U7Cy5.mjs} +2 -2
  22. package/fesm2022/{acorex-modules-auth-two-factor.module-C9AafF86.mjs.map → acorex-modules-auth-two-factor.module-Iw2U7Cy5.mjs.map} +1 -1
  23. package/fesm2022/{acorex-modules-auth-user-sessions.component-Qw2sgsEe.mjs → acorex-modules-auth-user-sessions.component-sKDANprs.mjs} +2 -2
  24. package/fesm2022/{acorex-modules-auth-user-sessions.component-Qw2sgsEe.mjs.map → acorex-modules-auth-user-sessions.component-sKDANprs.mjs.map} +1 -1
  25. package/fesm2022/acorex-modules-auth.mjs +1 -1
  26. package/fesm2022/{acorex-modules-common-audit-info-column.component-SiqKcBMQ.mjs → acorex-modules-common-audit-info-column.component-MSYPMPZJ.mjs} +2 -2
  27. package/fesm2022/{acorex-modules-common-audit-info-column.component-SiqKcBMQ.mjs.map → acorex-modules-common-audit-info-column.component-MSYPMPZJ.mjs.map} +1 -1
  28. package/fesm2022/acorex-modules-common.mjs +1 -1
  29. package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-UNhA-qi5.mjs → acorex-modules-conversation-acorex-modules-conversation-DlteA_jC.mjs} +343 -1008
  30. package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DlteA_jC.mjs.map +1 -0
  31. package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Be58gcns.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BAgBuxlz.mjs} +2 -2
  32. package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Be58gcns.mjs.map → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BAgBuxlz.mjs.map} +1 -1
  33. package/fesm2022/{acorex-modules-conversation-comments-page.component-3XBLeMW8.mjs → acorex-modules-conversation-comments-page.component-BrwP9l7M.mjs} +2 -2
  34. package/fesm2022/{acorex-modules-conversation-comments-page.component-3XBLeMW8.mjs.map → acorex-modules-conversation-comments-page.component-BrwP9l7M.mjs.map} +1 -1
  35. package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-CSu-lJuu.mjs → acorex-modules-conversation-send-assist-chat-message.command-BzKawEoN.mjs} +2 -2
  36. package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-CSu-lJuu.mjs.map → acorex-modules-conversation-send-assist-chat-message.command-BzKawEoN.mjs.map} +1 -1
  37. package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-CyoncQB1.mjs → acorex-modules-conversation-start-assist-chat.command-BUOGUMl0.mjs} +2 -2
  38. package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-CyoncQB1.mjs.map → acorex-modules-conversation-start-assist-chat.command-BUOGUMl0.mjs.map} +1 -1
  39. package/fesm2022/acorex-modules-conversation.mjs +1 -1
  40. package/fesm2022/acorex-modules-locale-management.mjs +27 -22
  41. package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
  42. package/fesm2022/acorex-modules-notification-management.mjs +1 -1
  43. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  44. package/fesm2022/acorex-modules-platform-dev-tools.mjs +2 -2
  45. package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
  46. package/fesm2022/acorex-modules-report-management.mjs +1 -1
  47. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  48. package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Di6Sxtq3.mjs → acorex-modules-settings-management-acorex-modules-settings-management-B4Ee8USF.mjs} +6 -6
  49. package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Di6Sxtq3.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-B4Ee8USF.mjs.map} +1 -1
  50. package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-Bml5VZUT.mjs → acorex-modules-settings-management-permission-definition.provider-nNhEFyc-.mjs} +2 -2
  51. package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-Bml5VZUT.mjs.map → acorex-modules-settings-management-permission-definition.provider-nNhEFyc-.mjs.map} +1 -1
  52. package/fesm2022/{acorex-modules-settings-management-setting-page.component-lN-7sTpD.mjs → acorex-modules-settings-management-setting-page.component-CEvWwS_a.mjs} +2 -2
  53. package/fesm2022/{acorex-modules-settings-management-setting-page.component-lN-7sTpD.mjs.map → acorex-modules-settings-management-setting-page.component-CEvWwS_a.mjs.map} +1 -1
  54. package/fesm2022/{acorex-modules-settings-management-setting-view.component-D17G4RNQ.mjs → acorex-modules-settings-management-setting-view.component-C6ftmjuK.mjs} +2 -2
  55. package/fesm2022/{acorex-modules-settings-management-setting-view.component-D17G4RNQ.mjs.map → acorex-modules-settings-management-setting-view.component-C6ftmjuK.mjs.map} +1 -1
  56. package/fesm2022/acorex-modules-settings-management.mjs +1 -1
  57. package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-LQn5gZ6p.mjs → acorex-modules-task-management-acorex-modules-task-management-CrybKNgo.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-LQn5gZ6p.mjs.map → acorex-modules-task-management-acorex-modules-task-management-CrybKNgo.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-task-management-task-board.page-BokG-G6Z.mjs → acorex-modules-task-management-task-board.page-B2xxXscG.mjs} +4 -4
  60. package/fesm2022/{acorex-modules-task-management-task-board.page-BokG-G6Z.mjs.map → acorex-modules-task-management-task-board.page-B2xxXscG.mjs.map} +1 -1
  61. package/fesm2022/acorex-modules-task-management.mjs +1 -1
  62. package/fesm2022/{acorex-modules-workflow-management-index-BxqOP8AA.mjs → acorex-modules-workflow-management-index-RRzkvrNM.mjs} +102 -21
  63. package/fesm2022/acorex-modules-workflow-management-index-RRzkvrNM.mjs.map +1 -0
  64. package/fesm2022/acorex-modules-workflow-management.mjs +2 -2
  65. package/package.json +2 -2
  66. package/types/acorex-modules-conversation.d.ts +35 -198
  67. package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-UNhA-qi5.mjs.map +0 -1
  68. package/fesm2022/acorex-modules-workflow-management-index-BxqOP8AA.mjs.map +0 -1
@@ -7,11 +7,11 @@ import { AXPWorkflowAction, AXPWorkflowContext, AXPWorkflow } from '@acorex/plat
7
7
  import * as i6 from '@angular/router';
8
8
  import { AXPEntity } from '@acorex/platform/common';
9
9
  import { AXPEntityModel, AXMEntityCrudServiceImpl, AXPEntityActionPlugin } from '@acorex/platform/layout/entity';
10
- import { AXPContent, AXPUserReference, AXPFileListItem, AXPContentType, AXPDeviceService, AXPEntityReference } from '@acorex/platform/core';
11
- import { Observable } from 'rxjs';
10
+ import { AXPContent, AXPUserReference, AXPFileListItem, AXPDeviceService, AXPContentType, AXPEntityReference } from '@acorex/platform/core';
12
11
  import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
13
12
  import { AXConversationApi, AXMessageApi, AXRealtimeApi, AXUserApi, AXMessage, AXParticipant } from '@acorex/components/conversation2';
14
13
  import { AXPAiChatMessage, AXPAiChatFollowUpItem } from '@acorex/modules/ai-management';
14
+ import { Observable } from 'rxjs';
15
15
  import * as _angular_platform_browser from '@angular/platform-browser';
16
16
  import { AXWysiwygContainerComponent } from '@acorex/components/wysiwyg';
17
17
  import { AXStyleLookType } from '@acorex/cdk/common';
@@ -204,135 +204,6 @@ declare class AXMMessageServiceImpl extends AXMMessageService {
204
204
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMMessageServiceImpl>;
205
205
  }
206
206
 
207
- /**
208
- * Extended message interface for chat messages with UI-specific properties
209
- */
210
- interface AXMChatMessage extends AXMConversationMessage {
211
- }
212
- /**
213
- * Extended room interface for chat rooms with UI-specific properties
214
- */
215
- interface AXMChatRoom extends AXMConversationRoom {
216
- lastMessage?: AXMChatMessage;
217
- unreadCount: number;
218
- }
219
- type AXMChatRoomEvent = {
220
- type: 'add' | 'update';
221
- payload: AXMChatRoom;
222
- } | {
223
- type: 'remove' | 'seen';
224
- payload: string;
225
- };
226
- type AXMChatMessageEvent = {
227
- type: 'add' | 'update';
228
- payload: AXMChatMessage;
229
- } | {
230
- type: 'remove';
231
- payload: string;
232
- };
233
- type AXMChatTabEvent = {
234
- type: 'add' | 'update';
235
- payload: AXMConversationTab;
236
- } | {
237
- type: 'remove';
238
- payload: string;
239
- };
240
-
241
- declare class AXMChatManagementService {
242
- private readonly chatService;
243
- private readonly sessionService;
244
- private readonly usersService;
245
- private readonly realtimeService;
246
- private readonly notificationConnectorService;
247
- private readonly userCache;
248
- private readonly messagePageSize;
249
- private getCurrentUser;
250
- private getUserInfo;
251
- private formatMessage;
252
- private formatRoom;
253
- private mapWithConcurrency;
254
- createRoom(memberIds: string[], title?: string, avatar?: string | null): Promise<AXMChatRoom>;
255
- getRoom(roomId: string): Promise<AXMChatRoom>;
256
- listRooms(skip?: number, take?: number): Promise<{
257
- items: AXMChatRoom[];
258
- total: number;
259
- }>;
260
- updateRoom(roomId: string, data: Partial<AXMConversationRoom>): Promise<AXMConversationRoom>;
261
- deleteRoom(roomId: string): Promise<boolean>;
262
- addParticipant(roomId: string, userId: string): Promise<AXMConversationRoom>;
263
- removeParticipant(roomId: string, userId: string): Promise<AXMConversationRoom>;
264
- createTab(data: Omit<AXMConversationTab, 'id'>): Promise<AXMConversationTab>;
265
- getTab(tabId: string): Promise<AXMConversationTab>;
266
- listTabs(skip?: number, take?: number): Promise<{
267
- items: AXMConversationTab[];
268
- total: number;
269
- }>;
270
- updateTab(tabId: string, data: Partial<AXMConversationTab>): Promise<AXMConversationTab>;
271
- deleteTab(tabId: string): Promise<boolean>;
272
- addIncludeRoomToTab(tabId: string, roomId: string): Promise<AXMConversationTab>;
273
- removeIncludeRoomFromTab(tabId: string, roomId: string): Promise<AXMConversationTab>;
274
- addExcludeRoomToTab(tabId: string, roomId: string): Promise<AXMConversationTab>;
275
- removeExcludeRoomFromTab(tabId: string, roomId: string): Promise<AXMConversationTab>;
276
- sendMessage(roomId: string, content: string, contentType?: AXPContentType, replyId?: string, userId?: string): Promise<AXMChatMessage>;
277
- getMessages(roomId: string, skip?: number, take?: number): Promise<{
278
- items: AXMChatMessage[];
279
- total: number;
280
- }>;
281
- getMessage(messageId: string): Promise<AXMChatMessage>;
282
- editMessage(messageId: string, content: string, contentType?: AXPContentType): Promise<AXMConversationMessage>;
283
- deleteMessage(messageId: string): Promise<boolean>;
284
- replyMessage(replyToMessageId: string, content: string, contentType?: AXPContentType): Promise<AXMConversationMessage>;
285
- pinMessage(messageId: string): Promise<AXMConversationMessage>;
286
- unpinMessage(messageId: string): Promise<AXMConversationMessage>;
287
- addReaction(messageId: string, type: AXMReactionType): Promise<AXMConversationMessage>;
288
- removeReaction(messageId: string, type: AXMReactionType): Promise<AXMConversationMessage>;
289
- getReactions(messageId: string): Promise<AXMConversationReaction[]>;
290
- markSeen(messageId: string, notify?: boolean): Promise<AXMConversationMessage>;
291
- getSeenBy(messageId: string): Promise<AXMConversationSeen[]>;
292
- markRoomSeen(roomId: string): Promise<boolean>;
293
- startTyping(roomId: string, userId?: string): Promise<void>;
294
- stopTyping(roomId: string, userId?: string): Promise<void>;
295
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMChatManagementService, never>;
296
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMChatManagementService>;
297
- }
298
-
299
- declare abstract class AXMChatRealtimeService {
300
- abstract readonly room$: Observable<AXMChatRoomEvent>;
301
- abstract readonly message$: Observable<AXMChatMessageEvent>;
302
- abstract readonly tab$: Observable<AXMChatTabEvent>;
303
- abstract readonly typingStatus$: Observable<{
304
- roomId: string;
305
- user: AXPUserReference;
306
- isTyping: boolean;
307
- }>;
308
- abstract notifyRoom(event: AXMChatRoomEvent): void;
309
- abstract notifyMessage(event: AXMChatMessageEvent): void;
310
- abstract notifyTab(event: AXMChatTabEvent): void;
311
- abstract startTyping(user: AXPUserReference, roomId: string): void;
312
- abstract stopTyping(user: AXPUserReference, roomId: string): void;
313
- }
314
- declare class AXMChatRealtimeServiceImpl extends AXMChatRealtimeService {
315
- private readonly _room$;
316
- readonly room$: Observable<AXMChatRoomEvent>;
317
- private readonly _message$;
318
- readonly message$: Observable<AXMChatMessageEvent>;
319
- private readonly _tab$;
320
- readonly tab$: Observable<AXMChatTabEvent>;
321
- private readonly _typingStatus$;
322
- readonly typingStatus$: Observable<{
323
- roomId: string;
324
- user: AXPUserReference;
325
- isTyping: boolean;
326
- }>;
327
- notifyRoom(event: AXMChatRoomEvent): void;
328
- notifyMessage(event: AXMChatMessageEvent): void;
329
- notifyTab(event: AXMChatTabEvent): void;
330
- startTyping(user: AXPUserReference, roomId: string): void;
331
- stopTyping(user: AXPUserReference, roomId: string): void;
332
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMChatRealtimeServiceImpl, never>;
333
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMChatRealtimeServiceImpl>;
334
- }
335
-
336
207
  declare class AXMChatComponent extends AXPPageLayoutBaseComponent {
337
208
  #private;
338
209
  private readonly conversationService;
@@ -378,73 +249,39 @@ declare class AXMChatComponent extends AXPPageLayoutBaseComponent {
378
249
  static ɵcmp: i0.ɵɵComponentDeclaration<AXMChatComponent, "axm-chat", never, {}, {}, never, never, true, never>;
379
250
  }
380
251
 
381
- declare abstract class AXMChatService {
382
- abstract createRoom(members: AXPUserReference[], title: string | undefined, currentUser: AXPUserReference, avatar?: string): Promise<AXMConversationRoom>;
383
- abstract getRoom(roomId: string): Promise<AXMConversationRoom>;
384
- abstract listRooms(skip?: number, take?: number): Promise<{
385
- items: AXMConversationRoom[];
386
- total: number;
387
- }>;
388
- abstract updateRoom(roomId: string, data: Partial<AXMConversationRoom>, currentUser: AXPUserReference): Promise<AXMConversationRoom>;
389
- abstract deleteRoom(roomId: string): Promise<boolean>;
390
- abstract createTab(data: Omit<AXMConversationTab, 'id'>): Promise<AXMConversationTab>;
391
- abstract getTab(tabId: string): Promise<AXMConversationTab>;
392
- abstract listTabs(skip?: number, take?: number): Promise<{
393
- items: AXMConversationTab[];
394
- total: number;
395
- }>;
396
- abstract updateTab(tabId: string, data: Partial<AXMConversationTab>): Promise<AXMConversationTab>;
397
- abstract deleteTab(tabId: string): Promise<boolean>;
398
- abstract sendMessage(roomId: string, content: string, author: AXPUserReference, contentType?: AXPContentType, replyId?: string): Promise<AXMConversationMessage>;
399
- abstract getMessages(roomId: string, skip?: number, take?: number): Promise<{
400
- items: AXMConversationMessage[];
401
- total: number;
402
- }>;
403
- abstract getMessage(messageId: string): Promise<AXMConversationMessage>;
404
- abstract editMessage(messageId: string, content: string, currentUser: AXPUserReference, contentType?: AXPContentType): Promise<AXMConversationMessage>;
405
- abstract deleteMessage(messageId: string): Promise<boolean>;
406
- abstract pinMessage(messageId: string, isPinned: boolean, currentUser: AXPUserReference): Promise<AXMConversationMessage>;
407
- abstract updateReactions(messageId: string, reactions: AXMConversationReaction[], currentUser: AXPUserReference): Promise<AXMConversationMessage>;
408
- abstract getReactions(messageId: string): Promise<AXMConversationReaction[]>;
409
- abstract updateSeen(messageId: string, seen: AXMConversationSeen[], currentUser: AXPUserReference): Promise<AXMConversationMessage>;
410
- abstract getSeenBy(messageId: string): Promise<AXMConversationSeen[]>;
411
- }
412
- declare class AXMChatServiceImpl extends AXMChatService {
413
- private readonly roomService;
414
- private readonly messageService;
415
- private readonly tabService;
416
- createRoom(members: AXPUserReference[], title: string | undefined, currentUser: AXPUserReference, avatar?: string): Promise<AXMConversationRoom>;
417
- getRoom(roomId: string): Promise<AXMConversationRoom>;
418
- listRooms(skip?: number, take?: number): Promise<{
419
- items: AXMConversationRoom[];
420
- total: number;
421
- }>;
422
- updateRoom(roomId: string, data: Partial<AXMConversationRoom>, currentUser: AXPUserReference): Promise<AXMConversationRoom>;
423
- deleteRoom(roomId: string): Promise<boolean>;
424
- createTab(data: Omit<AXMConversationTab, 'id'>): Promise<AXMConversationTab>;
425
- getTab(tabId: string): Promise<AXMConversationTab>;
426
- listTabs(skip?: number, take?: number): Promise<{
427
- items: AXMConversationTab[];
428
- total: number;
429
- }>;
430
- updateTab(tabId: string, data: Partial<AXMConversationTab>): Promise<AXMConversationTab>;
431
- deleteTab(tabId: string): Promise<boolean>;
432
- sendMessage(roomId: string, content: string, author: AXPUserReference, contentType?: AXPContentType, replyId?: string): Promise<AXMConversationMessage>;
433
- getMessages(roomId: string, skip?: number, take?: number): Promise<{
434
- items: AXMConversationMessage[];
435
- total: number;
436
- }>;
437
- getMessage(messageId: string): Promise<AXMConversationMessage>;
438
- editMessage(messageId: string, content: string, currentUser: AXPUserReference, contentType?: AXPContentType): Promise<AXMConversationMessage>;
439
- deleteMessage(messageId: string): Promise<boolean>;
440
- pinMessage(messageId: string, isPinned: boolean, currentUser: AXPUserReference): Promise<AXMConversationMessage>;
441
- updateReactions(messageId: string, reactions: AXMConversationReaction[], currentUser: AXPUserReference): Promise<AXMConversationMessage>;
442
- getReactions(messageId: string): Promise<AXMConversationReaction[]>;
443
- updateSeen(messageId: string, seen: AXMConversationSeen[], currentUser: AXPUserReference): Promise<AXMConversationMessage>;
444
- getSeenBy(messageId: string): Promise<AXMConversationSeen[]>;
445
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMChatServiceImpl, never>;
446
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMChatServiceImpl>;
252
+ /**
253
+ * Extended message interface for chat messages with UI-specific properties
254
+ */
255
+ interface AXMChatMessage extends AXMConversationMessage {
447
256
  }
257
+ /**
258
+ * Extended room interface for chat rooms with UI-specific properties
259
+ */
260
+ interface AXMChatRoom extends AXMConversationRoom {
261
+ lastMessage?: AXMChatMessage;
262
+ unreadCount: number;
263
+ }
264
+ type AXMChatRoomEvent = {
265
+ type: 'add' | 'update';
266
+ payload: AXMChatRoom;
267
+ } | {
268
+ type: 'remove' | 'seen';
269
+ payload: string;
270
+ };
271
+ type AXMChatMessageEvent = {
272
+ type: 'add' | 'update';
273
+ payload: AXMChatMessage;
274
+ } | {
275
+ type: 'remove';
276
+ payload: string;
277
+ };
278
+ type AXMChatTabEvent = {
279
+ type: 'add' | 'update';
280
+ payload: AXMConversationTab;
281
+ } | {
282
+ type: 'remove';
283
+ payload: string;
284
+ };
448
285
 
449
286
  declare abstract class AXMChatUserApi extends AXUserApi {
450
287
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMChatUserApi, never>;
@@ -749,5 +586,5 @@ declare const AXMPermissionsKeys: {
749
586
  };
750
587
  };
751
588
 
752
- export { AXMChatComponent, AXMChatConversationApi, AXMChatManagementService, AXMChatMessageApi, AXMChatRealtimeApi, AXMChatRealtimeService, AXMChatRealtimeServiceImpl, AXMChatService, AXMChatServiceImpl, AXMChatUserApi, AXMCommentComponent, AXMCommentManagementService, AXMCommentPopupComponent, AXMCommentPopupStartAction, AXMCommentPopupWorkflow, AXMCommentRealtimeService, AXMCommentRealtimeServiceImpl, AXMCommentService, AXMCommentServiceImpl, AXMCommentWidgetViewComponent, AXMConversationModule, AXMConversationTabEntityModule, AXMConversationTabService, AXMConversationTabServiceImpl, AXMMessageEntityModule, AXMMessageService, AXMMessageServiceImpl, AXMPermissionsKeys, AXMRoomEntityModule, AXMRoomService, AXMRoomServiceImpl, AXM_ASSIST_TRANSCRIPT_LINE_PAYLOAD_TYPE, AXPCommentWidget, COMMENTS_PAGE_COMPONENT_KEY, RootConfig, axmAssistFollowUpItemsFromUnknown, axmAssistLastTranscriptLine, axmAssistUserFacingPayloadLine, axmAssistUserVisibleItemsForLine, axmAssistWidgetNodeFromUnknown, axmBuildAssistTranscriptLinePayload, axmIsAssistPeerParticipant, axmNormalizeAssistTranscriptForChatUi, axmNormalizeAssistTranscriptLineResponses, axmParseAssistTranscriptLinePayload, axmParseAssistTranscriptTextEnvelope, axmReadAssistAiTranscript, axmReadAssistAiTranscriptRaw, axmSyntheticEmbedMessage, commentsPlugin, messageFactory, roomFactory, tabFactory };
589
+ export { AXMChatComponent, AXMChatConversationApi, AXMChatMessageApi, AXMChatRealtimeApi, AXMChatUserApi, AXMCommentComponent, AXMCommentManagementService, AXMCommentPopupComponent, AXMCommentPopupStartAction, AXMCommentPopupWorkflow, AXMCommentRealtimeService, AXMCommentRealtimeServiceImpl, AXMCommentService, AXMCommentServiceImpl, AXMCommentWidgetViewComponent, AXMConversationModule, AXMConversationTabEntityModule, AXMConversationTabService, AXMConversationTabServiceImpl, AXMMessageEntityModule, AXMMessageService, AXMMessageServiceImpl, AXMPermissionsKeys, AXMRoomEntityModule, AXMRoomService, AXMRoomServiceImpl, AXM_ASSIST_TRANSCRIPT_LINE_PAYLOAD_TYPE, AXPCommentWidget, COMMENTS_PAGE_COMPONENT_KEY, RootConfig, axmAssistFollowUpItemsFromUnknown, axmAssistLastTranscriptLine, axmAssistUserFacingPayloadLine, axmAssistUserVisibleItemsForLine, axmAssistWidgetNodeFromUnknown, axmBuildAssistTranscriptLinePayload, axmIsAssistPeerParticipant, axmNormalizeAssistTranscriptForChatUi, axmNormalizeAssistTranscriptLineResponses, axmParseAssistTranscriptLinePayload, axmParseAssistTranscriptTextEnvelope, axmReadAssistAiTranscript, axmReadAssistAiTranscriptRaw, axmSyntheticEmbedMessage, commentsPlugin, messageFactory, roomFactory, tabFactory };
753
590
  export type { AXMChatMessage, AXMChatMessageEvent, AXMChatRoom, AXMChatRoomEvent, AXMChatTabEvent, AXMComment, AXMCommentEntityData, AXMCommentEvent, AXMCommentEventType, AXMCommentThread, AXMConversationMessage, AXMConversationReaction, AXMConversationRoom, AXMConversationSeen, AXMConversationTab, AXMReactionType, AXMSeenType, AXMThreadEvent, AXMThreadEventType, AxmAssistTranscriptLinePayload, AxmAssistUserVisibleItem, CommentsDisplayMode, CommentsPluginOptions };