uapp-communication-sdk 1.0.0-dev.64 → 1.0.0-dev.66

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 (116) hide show
  1. package/README.md +80 -2
  2. package/communication-sdk.cjs +15 -15
  3. package/communication-sdk.js +6042 -5682
  4. package/communication-sdk.standalone.js +154 -154
  5. package/package.json +1 -1
  6. package/types/app/App.d.ts.map +1 -1
  7. package/types/app/di/composition-root.d.ts +2 -0
  8. package/types/app/di/composition-root.d.ts.map +1 -1
  9. package/types/app/shell/AccountMenu.d.ts.map +1 -1
  10. package/types/app/shell/AccountProfilePanel.d.ts.map +1 -1
  11. package/types/app/shell/TopBar.d.ts.map +1 -1
  12. package/types/app/shell/use-account-profile.d.ts +1 -0
  13. package/types/app/shell/use-account-profile.d.ts.map +1 -1
  14. package/types/features/chat/domain/entities/conversation.d.ts +20 -0
  15. package/types/features/chat/domain/entities/conversation.d.ts.map +1 -1
  16. package/types/features/chat/infrastructure/chat-mappers.d.ts.map +1 -1
  17. package/types/features/chat/infrastructure/chat-realtime-parsers.d.ts +2 -1
  18. package/types/features/chat/infrastructure/chat-realtime-parsers.d.ts.map +1 -1
  19. package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts +23 -0
  20. package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts.map +1 -1
  21. package/types/features/chat/infrastructure/dto/chat-dtos.d.ts +100 -0
  22. package/types/features/chat/infrastructure/dto/chat-dtos.d.ts.map +1 -1
  23. package/types/features/chat/infrastructure/mock-chat-gateway.d.ts +20 -22
  24. package/types/features/chat/infrastructure/mock-chat-gateway.d.ts.map +1 -1
  25. package/types/features/chat/infrastructure/mock-chat-helpers.d.ts +3 -1
  26. package/types/features/chat/infrastructure/mock-chat-helpers.d.ts.map +1 -1
  27. package/types/features/chat/presentation/ChatConfirmDialogs.d.ts.map +1 -1
  28. package/types/features/chat/presentation/ConversationHeader.d.ts.map +1 -1
  29. package/types/features/chat/presentation/MemberRow.d.ts.map +1 -1
  30. package/types/features/chat/presentation/chat-realtime-handlers.d.ts.map +1 -1
  31. package/types/features/chat/presentation/dm-presence.d.ts +37 -0
  32. package/types/features/chat/presentation/dm-presence.d.ts.map +1 -0
  33. package/types/features/chat/presentation/use-chat.d.ts.map +1 -1
  34. package/types/features/chat/presentation/use-conversations.d.ts +6 -0
  35. package/types/features/chat/presentation/use-conversations.d.ts.map +1 -1
  36. package/types/features/chat/presentation/useChatRealtime.d.ts.map +1 -1
  37. package/types/features/feed/presentation/FeedComposer.d.ts.map +1 -1
  38. package/types/features/feed/presentation/PostComments.d.ts.map +1 -1
  39. package/types/features/feed/presentation/PromotionsPanel.d.ts.map +1 -1
  40. package/types/features/feed/presentation/composer-profile.d.ts +17 -0
  41. package/types/features/feed/presentation/composer-profile.d.ts.map +1 -0
  42. package/types/features/feed/presentation/use-feed.d.ts.map +1 -1
  43. package/types/features/meeting-video/presentation/experiences/CloudflareMeetingExperience.d.ts.map +1 -1
  44. package/types/features/meetings/presentation/ScheduledMeetings.d.ts.map +1 -1
  45. package/types/features/org/presentation/TeamFormModal.d.ts.map +1 -1
  46. package/types/features/presence/application/index.d.ts +2 -0
  47. package/types/features/presence/application/index.d.ts.map +1 -0
  48. package/types/features/presence/application/use-cases/my-presence-use-cases.d.ts +26 -0
  49. package/types/features/presence/application/use-cases/my-presence-use-cases.d.ts.map +1 -0
  50. package/types/features/presence/domain/errors/presence-errors.d.ts +8 -0
  51. package/types/features/presence/domain/errors/presence-errors.d.ts.map +1 -0
  52. package/types/features/presence/domain/index.d.ts +4 -0
  53. package/types/features/presence/domain/index.d.ts.map +1 -0
  54. package/types/features/presence/domain/my-presence.d.ts +28 -0
  55. package/types/features/presence/domain/my-presence.d.ts.map +1 -0
  56. package/types/features/presence/domain/ports/presence-gateway.d.ts +16 -0
  57. package/types/features/presence/domain/ports/presence-gateway.d.ts.map +1 -0
  58. package/types/features/presence/index.d.ts +4 -0
  59. package/types/features/presence/index.d.ts.map +1 -0
  60. package/types/features/presence/infrastructure/dto/presence-dtos.d.ts +29 -0
  61. package/types/features/presence/infrastructure/dto/presence-dtos.d.ts.map +1 -0
  62. package/types/features/presence/infrastructure/http-presence-gateway.d.ts +24 -0
  63. package/types/features/presence/infrastructure/http-presence-gateway.d.ts.map +1 -0
  64. package/types/features/presence/infrastructure/http-presence-routes.d.ts +10 -0
  65. package/types/features/presence/infrastructure/http-presence-routes.d.ts.map +1 -0
  66. package/types/features/presence/infrastructure/index.d.ts +3 -0
  67. package/types/features/presence/infrastructure/index.d.ts.map +1 -0
  68. package/types/features/presence/infrastructure/presence-mappers.d.ts +12 -0
  69. package/types/features/presence/infrastructure/presence-mappers.d.ts.map +1 -0
  70. package/types/features/presence/presence-module.d.ts +16 -0
  71. package/types/features/presence/presence-module.d.ts.map +1 -0
  72. package/types/features/presence/presentation/MyPresenceMenu.d.ts +23 -0
  73. package/types/features/presence/presentation/MyPresenceMenu.d.ts.map +1 -0
  74. package/types/features/presence/presentation/PresenceModuleProvider.d.ts +7 -0
  75. package/types/features/presence/presentation/PresenceModuleProvider.d.ts.map +1 -0
  76. package/types/features/presence/presentation/index.d.ts +5 -0
  77. package/types/features/presence/presentation/index.d.ts.map +1 -0
  78. package/types/features/presence/presentation/presence-module-context.d.ts +3 -0
  79. package/types/features/presence/presentation/presence-module-context.d.ts.map +1 -0
  80. package/types/features/presence/presentation/use-my-presence.d.ts +13 -0
  81. package/types/features/presence/presentation/use-my-presence.d.ts.map +1 -0
  82. package/types/features/presence/presentation/use-presence-module.d.ts +3 -0
  83. package/types/features/presence/presentation/use-presence-module.d.ts.map +1 -0
  84. package/types/features/settings/presentation/FeedTemplatesTab.d.ts.map +1 -1
  85. package/types/features/users/domain/entities/user.d.ts +13 -0
  86. package/types/features/users/domain/entities/user.d.ts.map +1 -1
  87. package/types/features/users/infrastructure/dto/user-dtos.d.ts +16 -0
  88. package/types/features/users/infrastructure/dto/user-dtos.d.ts.map +1 -1
  89. package/types/features/users/infrastructure/user-mappers.d.ts.map +1 -1
  90. package/types/features/users/presentation/UserPresenceCell.d.ts +18 -0
  91. package/types/features/users/presentation/UserPresenceCell.d.ts.map +1 -0
  92. package/types/features/users/presentation/UsersPage.d.ts.map +1 -1
  93. package/types/sdk/SdkProviders.d.ts.map +1 -1
  94. package/types/sdk/index.d.ts +5 -0
  95. package/types/sdk/index.d.ts.map +1 -1
  96. package/types/sdk/notifications/notification-client.d.ts +1 -1
  97. package/types/sdk/notifications/notification-client.d.ts.map +1 -1
  98. package/types/sdk/presence/presence-client.d.ts +75 -0
  99. package/types/sdk/presence/presence-client.d.ts.map +1 -0
  100. package/types/sdk/runtime/headless-session.d.ts +34 -0
  101. package/types/sdk/runtime/headless-session.d.ts.map +1 -0
  102. package/types/sdk/runtime/sdk-composition-root.d.ts +2 -0
  103. package/types/sdk/runtime/sdk-composition-root.d.ts.map +1 -1
  104. package/types/shared/presence/PresenceBadge.d.ts +23 -0
  105. package/types/shared/presence/PresenceBadge.d.ts.map +1 -0
  106. package/types/shared/presence/format-presence-time.d.ts +13 -0
  107. package/types/shared/presence/format-presence-time.d.ts.map +1 -0
  108. package/types/shared/presence/index.d.ts +5 -0
  109. package/types/shared/presence/index.d.ts.map +1 -0
  110. package/types/shared/presence/live-presence-store.d.ts +21 -0
  111. package/types/shared/presence/live-presence-store.d.ts.map +1 -0
  112. package/types/shared/presence/presence-status.d.ts +41 -0
  113. package/types/shared/presence/presence-status.d.ts.map +1 -0
  114. package/types/shared/ui/DropdownMenu/DropdownMenu.d.ts +19 -2
  115. package/types/shared/ui/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  116. package/types/shared/utils/avatar.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uapp-communication-sdk",
3
- "version": "1.0.0-dev.64",
3
+ "version": "1.0.0-dev.66",
4
4
  "description": "Embeddable Communication Hub widgets (chat, feed, bookings, schedule).",
5
5
  "type": "module",
6
6
  "types": "./types/sdk/index.d.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../src/app/App.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA4BnD;;;GAGG;AACH,eAAO,MAAM,GAAG,QAAO,YA4EtB,CAAC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../src/app/App.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA6BnD;;;GAGG;AACH,eAAO,MAAM,GAAG,QAAO,YA8EtB,CAAC"}
@@ -9,6 +9,7 @@ import { type ChatModule } from '@features/chat';
9
9
  import { type FeedModule } from '@features/feed';
10
10
  import { type MeetingsModule } from '@features/meetings';
11
11
  import { type MeetingVideoModule } from '@features/meeting-video';
12
+ import { type PresenceModule } from '@features/presence';
12
13
  import { type CallsModule } from '@features/calls';
13
14
  import { type ScheduleModule } from '@features/schedule';
14
15
  import { type SettingsModule } from '@features/settings';
@@ -25,6 +26,7 @@ export interface AppComposition {
25
26
  readonly feedModule: FeedModule;
26
27
  readonly meetingsModule: MeetingsModule;
27
28
  readonly meetingVideoModule: MeetingVideoModule;
29
+ readonly presenceModule: PresenceModule;
28
30
  readonly callsModule: CallsModule;
29
31
  readonly scheduleModule: ScheduleModule;
30
32
  readonly settingsModule: SettingsModule;
@@ -1 +1 @@
1
- {"version":3,"file":"composition-root.d.ts","sourceRoot":"","sources":["../../../../../src/app/di/composition-root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,OAAO,EAAiB,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAU1D,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAA2B,K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ED;;;;GAIG;AAEH,eAAO,MAAM,iBAAiB,GAAI,kBAAkB,gBAAgB,KAAG,cAyHtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountMenu.d.ts","sourceRoot":"","sources":["../../../../../src/app/shell/AccountMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAY1C;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,YA6D9B,CAAC"}
1
+ {"version":3,"file":"AccountMenu.d.ts","sourceRoot":"","sources":["../../../../../src/app/shell/AccountMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAY1C;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,YA0E9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountProfilePanel.d.ts","sourceRoot":"","sources":["../../../../../src/app/shell/AccountProfilePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5D,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;CAClC;AAED,eAAO,MAAM,mBAAmB,GAAI,cAEjC,wBAAwB,KAAG,YAsB7B,CAAC"}
1
+ {"version":3,"file":"AccountProfilePanel.d.ts","sourceRoot":"","sources":["../../../../../src/app/shell/AccountProfilePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5D,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;CAClC;AAED,eAAO,MAAM,mBAAmB,GAAI,cAEjC,wBAAwB,KAAG,YAoC7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../../src/app/shell/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAS1C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,aAAa,EAAE,MAAM,IAAI,CAAC;IACnC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,IAAI,CAAC;CACxC;AAsBD,eAAO,MAAM,MAAM,GAAI,yDAKpB,WAAW,KAAG,YAkDhB,CAAC"}
1
+ {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../../src/app/shell/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAU1C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,aAAa,EAAE,MAAM,IAAI,CAAC;IACnC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,IAAI,CAAC;CACxC;AA2CD,eAAO,MAAM,MAAM,GAAI,yDAKpB,WAAW,KAAG,YAoDhB,CAAC"}
@@ -7,6 +7,7 @@ export interface AccountProfile {
7
7
  readonly role: string;
8
8
  readonly tenantName: string;
9
9
  readonly isLoading: boolean;
10
+ readonly isViewerLoading?: boolean;
10
11
  }
11
12
  export declare const useAccountProfile: () => AccountProfile;
12
13
  //# sourceMappingURL=use-account-profile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-account-profile.d.ts","sourceRoot":"","sources":["../../../../../src/app/shell/use-account-profile.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B;AAgCD,eAAO,MAAM,iBAAiB,QAAO,cAsBpC,CAAC"}
1
+ {"version":3,"file":"use-account-profile.d.ts","sourceRoot":"","sources":["../../../../../src/app/shell/use-account-profile.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CACpC;AAgCD,eAAO,MAAM,iBAAiB,QAAO,cAuBpC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { PresenceStatus } from '@shared/presence';
1
2
  export type ConversationKind = 'dm' | 'group';
2
3
  /** A member shown in a group conversation's avatar stack + the Manage-members panel. */
3
4
  export interface ConversationMember {
@@ -7,6 +8,13 @@ export interface ConversationMember {
7
8
  readonly color: string;
8
9
  /** Job title shown under the name in the members panel (empty for unknown). */
9
10
  readonly role: string;
11
+ /**
12
+ * The member's status, defaulting to `offline` — which is also what a conversation LIST carries,
13
+ * because a list row draws avatars rather than statuses. The badge hides at offline, so an
14
+ * unresolved member is silent instead of mislabelled.
15
+ */
16
+ readonly status?: PresenceStatus;
17
+ readonly statusUntilUtc?: string | null;
10
18
  }
11
19
  /** The signed-in user, as the chat feature sees them (drives self/admin checks + right-aligned bubbles). */
12
20
  export interface ChatViewer {
@@ -31,6 +39,16 @@ export interface ConversationProps {
31
39
  readonly initials: string;
32
40
  readonly color: string;
33
41
  readonly online: boolean;
42
+ /**
43
+ * The DM peer's status badge. Optional and defaulting to `offline`, which is also what a group
44
+ * carries: a group header shows its member stack, not one person's status.
45
+ *
46
+ * <p>Not derivable from `online` — someone in a meeting is very much online, and that is the half
47
+ * that decides whether to interrupt them.</p>
48
+ */
49
+ readonly status?: PresenceStatus;
50
+ /** When the peer's status ends (ISO UTC), when it is bounded. */
51
+ readonly statusUntilUtc?: string | null;
34
52
  readonly unread: number;
35
53
  readonly pinned: boolean;
36
54
  /** Starred by the viewer — surfaces under the Favourites filter. */
@@ -70,6 +88,8 @@ export declare class Conversation {
70
88
  readonly initials: string;
71
89
  readonly color: string;
72
90
  readonly online: boolean;
91
+ readonly status: PresenceStatus;
92
+ readonly statusUntilUtc: string | null;
73
93
  readonly unread: number;
74
94
  readonly pinned: boolean;
75
95
  readonly favourite: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/domain/entities/conversation.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,OAAO,CAAC;AAE9C,wFAAwF;AACxF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,C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,MAAM,GAAG,OAAO;IAIvC,kEAAkE;IAC3D,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAIhD,uDAAuD;IAChD,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,YAAY;CA8BjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"chat-mappers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chat/infrastructure/chat-mappers.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,EAEf,KAAK,kBAAkB,EACvB,WAAW,EACX,YAAY,EACb,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,eAAe,EACf,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAMzB;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,MAAM,IAAI,EAAE,KAAK,IAAI,KAAG,MAYpD,CAAC;AAiBF,eAAO,MAAM,oBAAoB,GAAI,KAAK,qBAAqB,KAAG,kBAMhE,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,KAAK,aAAa,KAAG,UAKhD,CAAC;AAmBH,eAAO,MAAM,cAAc,GAAI,KAAK,eAAe,EAAE,KAAK,IAAI,KAAG,YAiC7D,CAAC;AAEL,eAAO,MAAM,aAAa,GAAI,KAAK,cAAc,KAAG,WAoCnD,CAAC"}
1
+ {"version":3,"file":"chat-mappers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chat/infrastructure/chat-mappers.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,UAAU,EAEf,KAAK,kBAAkB,EACvB,WAAW,EACX,YAAY,EACb,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,eAAe,EACf,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAMzB;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,MAAM,IAAI,EAAE,KAAK,IAAI,KAAG,MAYpD,CAAC;AAiBF,eAAO,MAAM,oBAAoB,GAAI,KAAK,qBAAqB,KAAG,kBAQhE,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,KAAK,aAAa,KAAG,UAKhD,CAAC;AAmBH,eAAO,MAAM,cAAc,GAAI,KAAK,eAAe,EAAE,KAAK,IAAI,KAAG,YAmC7D,CAAC;AAEL,eAAO,MAAM,aAAa,GAAI,KAAK,cAAc,KAAG,WAoCnD,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import { type Logger } from '@core/logger';
2
2
  import { type ChatMessageDto } from './dto/chat-dtos';
3
- import { type MessageDeletedPayload, type PresencePayload, type ReactionTogglePayload, type ReceiptPayload, type RemovedFromConversationPayload, type TypingPayload } from './chat-realtime-protocol';
3
+ import { type MessageDeletedPayload, type PresencePayload, type ReactionTogglePayload, type ReceiptPayload, type RemovedFromConversationPayload, type StatusPayload, type TypingPayload } from './chat-realtime-protocol';
4
4
  export declare const parseRealtimeMessage: (payload: unknown, event: string, logger: Logger) => ChatMessageDto | null;
5
5
  export declare const parseReceiptPayload: (payload: unknown, event: string, logger: Logger) => ReceiptPayload | null;
6
6
  export declare const parseTypingPayload: (payload: unknown, event: string, logger: Logger) => TypingPayload | null;
7
7
  export declare const parsePresencePayload: (payload: unknown, event: string, logger: Logger) => PresencePayload | null;
8
+ export declare const parseStatusPayload: (payload: unknown, event: string, logger: Logger) => StatusPayload | null;
8
9
  export declare const parseReactionTogglePayload: (payload: unknown, event: string, logger: Logger) => ReactionTogglePayload | null;
9
10
  export declare const parseMessageDeletedPayload: (payload: unknown, event: string, logger: Logger) => MessageDeletedPayload | null;
10
11
  export declare const parseRemovedFromConversationPayload: (payload: unknown, event: string, logger: Logger) => RemovedFromConversationPayload | null;
@@ -1 +1 @@
1
- {"version":3,"file":"chat-realtime-parsers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chat/infrastructure/chat-realtime-parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAOL,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,8BAA8B,EACnC,KAAK,aAAa,EACnB,MAAM,0BAA0B,CAAC;AAsBlC,eAAO,MAAM,oBAAoB,GAC/B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,cAAc,GAAG,IAAwD,CAAC;AAE7E,eAAO,MAAM,mBAAmB,GAC9B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,cAAc,GAAG,IAA2D,CAAC;AAEhF,eAAO,MAAM,kBAAkB,GAC7B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,aAAa,GAAG,IAA0D,CAAC;AAE9E,eAAO,MAAM,oBAAoB,GAC/B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,eAAe,GAAG,IAA4D,CAAC;AAElF,eAAO,MAAM,0BAA0B,GACrC,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,qBAAqB,GAAG,IACiC,CAAC;AAE7D,eAAO,MAAM,0BAA0B,GACrC,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,qBAAqB,GAAG,IACiC,CAAC;AAE7D,eAAO,MAAM,mCAAmC,GAC9C,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,8BAA8B,GAAG,IACiC,CAAC"}
1
+ {"version":3,"file":"chat-realtime-parsers.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chat/infrastructure/chat-realtime-parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAQL,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,8BAA8B,EACnC,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,0BAA0B,CAAC;AAsBlC,eAAO,MAAM,oBAAoB,GAC/B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,cAAc,GAAG,IAAwD,CAAC;AAE7E,eAAO,MAAM,mBAAmB,GAC9B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,cAAc,GAAG,IAA2D,CAAC;AAEhF,eAAO,MAAM,kBAAkB,GAC7B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,aAAa,GAAG,IAA0D,CAAC;AAE9E,eAAO,MAAM,oBAAoB,GAC/B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,eAAe,GAAG,IAA4D,CAAC;AAElF,eAAO,MAAM,kBAAkB,GAC7B,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,aAAa,GAAG,IAA0D,CAAC;AAE9E,eAAO,MAAM,0BAA0B,GACrC,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,qBAAqB,GAAG,IACiC,CAAC;AAE7D,eAAO,MAAM,0BAA0B,GACrC,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,qBAAqB,GAAG,IACiC,CAAC;AAE7D,eAAO,MAAM,mCAAmC,GAC9C,SAAS,OAAO,EAChB,OAAO,MAAM,EACb,QAAQ,MAAM,KACb,8BAA8B,GAAG,IACiC,CAAC"}
@@ -18,6 +18,7 @@ export declare const ClientEvents: {
18
18
  readonly MessageRead: "MessageRead";
19
19
  readonly Typing: "Typing";
20
20
  readonly PresenceChanged: "PresenceChanged";
21
+ readonly StatusChanged: "StatusChanged";
21
22
  readonly ReactionToggled: "ReactionToggled";
22
23
  readonly RemovedFromConversation: "RemovedFromConversation";
23
24
  };
@@ -72,6 +73,28 @@ export declare const PresencePayloadSchema: z.ZodObject<{
72
73
  lastSeenUtc: string | null;
73
74
  }>;
74
75
  export type PresencePayload = z.infer<typeof PresencePayloadSchema>;
76
+ /**
77
+ * `{ userId, status, untilUtc }` — a member's STATUS changed. Separate from the presence frame
78
+ * because the two answer different questions: presence carries the dot, this carries the badge, and
79
+ * joining a meeting emits this one alone.
80
+ *
81
+ * <p>`status` is the wire NUMBER, mapped through `presenceStatusFromNumber` so a value this client
82
+ * predates degrades to `offline` rather than to a confident wrong label.</p>
83
+ */
84
+ export declare const StatusPayloadSchema: z.ZodObject<{
85
+ userId: z.ZodString;
86
+ status: z.ZodNumber;
87
+ untilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ status: number;
90
+ userId: string;
91
+ untilUtc?: string | null | undefined;
92
+ }, {
93
+ status: number;
94
+ userId: string;
95
+ untilUtc?: string | null | undefined;
96
+ }>;
97
+ export type StatusPayload = z.infer<typeof StatusPayloadSchema>;
75
98
  /**
76
99
  * `{ conversationId, messageId, byUserId, emoji, added }` — a per-user reaction toggle DELTA (NOT a
77
100
  * per-viewer count/reacted snapshot). `added` is true when the user added the emoji, false when they
@@ -1 +1 @@
1
- {"version":3,"file":"chat-realtime-protocol.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chat/infrastructure/chat-realtime-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AAEH,gGAAgG;AAChG,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,2EAA2E;AAC3E,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AAEX,iFAAiF;AACjF,eAAO,MAAM,aAAa;;;;CAIhB,CAAC;AAEX,sGAAsG;AACtG,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,kGAAkG;AAClG,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,2GAA2G;AAC3G,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EAMtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,4EAA4E;AAC5E,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,gGAAgG;AAChG,eAAO,MAAM,oCAAoC;;;;;;EAE/C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC"}
1
+ {"version":3,"file":"chat-realtime-protocol.d.ts","sourceRoot":"","sources":["../../../../../../src/features/chat/infrastructure/chat-realtime-protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AAEH,gGAAgG;AAChG,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,2EAA2E;AAC3E,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,iFAAiF;AACjF,eAAO,MAAM,aAAa;;;;CAIhB,CAAC;AAEX,sGAAsG;AACtG,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,kGAAkG;AAClG,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,2GAA2G;AAC3G,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EAMtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,4EAA4E;AAC5E,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,gGAAgG;AAChG,eAAO,MAAM,oCAAoC;;;;;;EAE/C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC"}
@@ -11,18 +11,24 @@ export declare const ConversationMemberSchema: z.ZodObject<{
11
11
  initials: z.ZodString;
12
12
  color: z.ZodString;
13
13
  role: z.ZodString;
14
+ status: z.ZodOptional<z.ZodNumber>;
15
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, "strip", z.ZodTypeAny, {
15
17
  name: string;
16
18
  role: string;
17
19
  id: string;
18
20
  color: string;
19
21
  initials: string;
22
+ status?: number | undefined;
23
+ statusUntilUtc?: string | null | undefined;
20
24
  }, {
21
25
  name: string;
22
26
  role: string;
23
27
  id: string;
24
28
  color: string;
25
29
  initials: string;
30
+ status?: number | undefined;
31
+ statusUntilUtc?: string | null | undefined;
26
32
  }>;
27
33
  export type ConversationMemberDto = z.infer<typeof ConversationMemberSchema>;
28
34
  export declare const ConversationMemberReceiptSchema: z.ZodObject<{
@@ -48,6 +54,8 @@ export declare const ConversationSchema: z.ZodObject<{
48
54
  initials: z.ZodString;
49
55
  color: z.ZodString;
50
56
  online: z.ZodBoolean;
57
+ status: z.ZodOptional<z.ZodNumber>;
58
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
59
  unread: z.ZodNumber;
52
60
  pinned: z.ZodBoolean;
53
61
  favourite: z.ZodBoolean;
@@ -66,18 +74,24 @@ export declare const ConversationSchema: z.ZodObject<{
66
74
  initials: z.ZodString;
67
75
  color: z.ZodString;
68
76
  role: z.ZodString;
77
+ status: z.ZodOptional<z.ZodNumber>;
78
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
79
  }, "strip", z.ZodTypeAny, {
70
80
  name: string;
71
81
  role: string;
72
82
  id: string;
73
83
  color: string;
74
84
  initials: string;
85
+ status?: number | undefined;
86
+ statusUntilUtc?: string | null | undefined;
75
87
  }, {
76
88
  name: string;
77
89
  role: string;
78
90
  id: string;
79
91
  color: string;
80
92
  initials: string;
93
+ status?: number | undefined;
94
+ statusUntilUtc?: string | null | undefined;
81
95
  }>, "many">;
82
96
  adminIds: z.ZodArray<z.ZodString, "many">;
83
97
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -103,6 +117,8 @@ export declare const ConversationSchema: z.ZodObject<{
103
117
  initials: z.ZodString;
104
118
  color: z.ZodString;
105
119
  online: z.ZodBoolean;
120
+ status: z.ZodOptional<z.ZodNumber>;
121
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
122
  unread: z.ZodNumber;
107
123
  pinned: z.ZodBoolean;
108
124
  favourite: z.ZodBoolean;
@@ -121,18 +137,24 @@ export declare const ConversationSchema: z.ZodObject<{
121
137
  initials: z.ZodString;
122
138
  color: z.ZodString;
123
139
  role: z.ZodString;
140
+ status: z.ZodOptional<z.ZodNumber>;
141
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
142
  }, "strip", z.ZodTypeAny, {
125
143
  name: string;
126
144
  role: string;
127
145
  id: string;
128
146
  color: string;
129
147
  initials: string;
148
+ status?: number | undefined;
149
+ statusUntilUtc?: string | null | undefined;
130
150
  }, {
131
151
  name: string;
132
152
  role: string;
133
153
  id: string;
134
154
  color: string;
135
155
  initials: string;
156
+ status?: number | undefined;
157
+ statusUntilUtc?: string | null | undefined;
136
158
  }>, "many">;
137
159
  adminIds: z.ZodArray<z.ZodString, "many">;
138
160
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -158,6 +180,8 @@ export declare const ConversationSchema: z.ZodObject<{
158
180
  initials: z.ZodString;
159
181
  color: z.ZodString;
160
182
  online: z.ZodBoolean;
183
+ status: z.ZodOptional<z.ZodNumber>;
184
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
185
  unread: z.ZodNumber;
162
186
  pinned: z.ZodBoolean;
163
187
  favourite: z.ZodBoolean;
@@ -176,18 +200,24 @@ export declare const ConversationSchema: z.ZodObject<{
176
200
  initials: z.ZodString;
177
201
  color: z.ZodString;
178
202
  role: z.ZodString;
203
+ status: z.ZodOptional<z.ZodNumber>;
204
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
205
  }, "strip", z.ZodTypeAny, {
180
206
  name: string;
181
207
  role: string;
182
208
  id: string;
183
209
  color: string;
184
210
  initials: string;
211
+ status?: number | undefined;
212
+ statusUntilUtc?: string | null | undefined;
185
213
  }, {
186
214
  name: string;
187
215
  role: string;
188
216
  id: string;
189
217
  color: string;
190
218
  initials: string;
219
+ status?: number | undefined;
220
+ statusUntilUtc?: string | null | undefined;
191
221
  }>, "many">;
192
222
  adminIds: z.ZodArray<z.ZodString, "many">;
193
223
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -342,6 +372,8 @@ export declare const ConversationListSchema: z.ZodArray<z.ZodObject<{
342
372
  initials: z.ZodString;
343
373
  color: z.ZodString;
344
374
  online: z.ZodBoolean;
375
+ status: z.ZodOptional<z.ZodNumber>;
376
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
377
  unread: z.ZodNumber;
346
378
  pinned: z.ZodBoolean;
347
379
  favourite: z.ZodBoolean;
@@ -360,18 +392,24 @@ export declare const ConversationListSchema: z.ZodArray<z.ZodObject<{
360
392
  initials: z.ZodString;
361
393
  color: z.ZodString;
362
394
  role: z.ZodString;
395
+ status: z.ZodOptional<z.ZodNumber>;
396
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
397
  }, "strip", z.ZodTypeAny, {
364
398
  name: string;
365
399
  role: string;
366
400
  id: string;
367
401
  color: string;
368
402
  initials: string;
403
+ status?: number | undefined;
404
+ statusUntilUtc?: string | null | undefined;
369
405
  }, {
370
406
  name: string;
371
407
  role: string;
372
408
  id: string;
373
409
  color: string;
374
410
  initials: string;
411
+ status?: number | undefined;
412
+ statusUntilUtc?: string | null | undefined;
375
413
  }>, "many">;
376
414
  adminIds: z.ZodArray<z.ZodString, "many">;
377
415
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -397,6 +435,8 @@ export declare const ConversationListSchema: z.ZodArray<z.ZodObject<{
397
435
  initials: z.ZodString;
398
436
  color: z.ZodString;
399
437
  online: z.ZodBoolean;
438
+ status: z.ZodOptional<z.ZodNumber>;
439
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
440
  unread: z.ZodNumber;
401
441
  pinned: z.ZodBoolean;
402
442
  favourite: z.ZodBoolean;
@@ -415,18 +455,24 @@ export declare const ConversationListSchema: z.ZodArray<z.ZodObject<{
415
455
  initials: z.ZodString;
416
456
  color: z.ZodString;
417
457
  role: z.ZodString;
458
+ status: z.ZodOptional<z.ZodNumber>;
459
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
460
  }, "strip", z.ZodTypeAny, {
419
461
  name: string;
420
462
  role: string;
421
463
  id: string;
422
464
  color: string;
423
465
  initials: string;
466
+ status?: number | undefined;
467
+ statusUntilUtc?: string | null | undefined;
424
468
  }, {
425
469
  name: string;
426
470
  role: string;
427
471
  id: string;
428
472
  color: string;
429
473
  initials: string;
474
+ status?: number | undefined;
475
+ statusUntilUtc?: string | null | undefined;
430
476
  }>, "many">;
431
477
  adminIds: z.ZodArray<z.ZodString, "many">;
432
478
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -452,6 +498,8 @@ export declare const ConversationListSchema: z.ZodArray<z.ZodObject<{
452
498
  initials: z.ZodString;
453
499
  color: z.ZodString;
454
500
  online: z.ZodBoolean;
501
+ status: z.ZodOptional<z.ZodNumber>;
502
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
455
503
  unread: z.ZodNumber;
456
504
  pinned: z.ZodBoolean;
457
505
  favourite: z.ZodBoolean;
@@ -470,18 +518,24 @@ export declare const ConversationListSchema: z.ZodArray<z.ZodObject<{
470
518
  initials: z.ZodString;
471
519
  color: z.ZodString;
472
520
  role: z.ZodString;
521
+ status: z.ZodOptional<z.ZodNumber>;
522
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
523
  }, "strip", z.ZodTypeAny, {
474
524
  name: string;
475
525
  role: string;
476
526
  id: string;
477
527
  color: string;
478
528
  initials: string;
529
+ status?: number | undefined;
530
+ statusUntilUtc?: string | null | undefined;
479
531
  }, {
480
532
  name: string;
481
533
  role: string;
482
534
  id: string;
483
535
  color: string;
484
536
  initials: string;
537
+ status?: number | undefined;
538
+ statusUntilUtc?: string | null | undefined;
485
539
  }>, "many">;
486
540
  adminIds: z.ZodArray<z.ZodString, "many">;
487
541
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -505,18 +559,24 @@ export declare const ConversationMemberListSchema: z.ZodArray<z.ZodObject<{
505
559
  initials: z.ZodString;
506
560
  color: z.ZodString;
507
561
  role: z.ZodString;
562
+ status: z.ZodOptional<z.ZodNumber>;
563
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
564
  }, "strip", z.ZodTypeAny, {
509
565
  name: string;
510
566
  role: string;
511
567
  id: string;
512
568
  color: string;
513
569
  initials: string;
570
+ status?: number | undefined;
571
+ statusUntilUtc?: string | null | undefined;
514
572
  }, {
515
573
  name: string;
516
574
  role: string;
517
575
  id: string;
518
576
  color: string;
519
577
  initials: string;
578
+ status?: number | undefined;
579
+ statusUntilUtc?: string | null | undefined;
520
580
  }>, "many">;
521
581
  /** ABP `PagedResultDto<ConversationDto>` — a page of conversations plus the grand total. */
522
582
  export declare const ConversationsPageSchema: z.ZodObject<{
@@ -530,6 +590,8 @@ export declare const ConversationsPageSchema: z.ZodObject<{
530
590
  initials: z.ZodString;
531
591
  color: z.ZodString;
532
592
  online: z.ZodBoolean;
593
+ status: z.ZodOptional<z.ZodNumber>;
594
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
533
595
  unread: z.ZodNumber;
534
596
  pinned: z.ZodBoolean;
535
597
  favourite: z.ZodBoolean;
@@ -548,18 +610,24 @@ export declare const ConversationsPageSchema: z.ZodObject<{
548
610
  initials: z.ZodString;
549
611
  color: z.ZodString;
550
612
  role: z.ZodString;
613
+ status: z.ZodOptional<z.ZodNumber>;
614
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
551
615
  }, "strip", z.ZodTypeAny, {
552
616
  name: string;
553
617
  role: string;
554
618
  id: string;
555
619
  color: string;
556
620
  initials: string;
621
+ status?: number | undefined;
622
+ statusUntilUtc?: string | null | undefined;
557
623
  }, {
558
624
  name: string;
559
625
  role: string;
560
626
  id: string;
561
627
  color: string;
562
628
  initials: string;
629
+ status?: number | undefined;
630
+ statusUntilUtc?: string | null | undefined;
563
631
  }>, "many">;
564
632
  adminIds: z.ZodArray<z.ZodString, "many">;
565
633
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -585,6 +653,8 @@ export declare const ConversationsPageSchema: z.ZodObject<{
585
653
  initials: z.ZodString;
586
654
  color: z.ZodString;
587
655
  online: z.ZodBoolean;
656
+ status: z.ZodOptional<z.ZodNumber>;
657
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
658
  unread: z.ZodNumber;
589
659
  pinned: z.ZodBoolean;
590
660
  favourite: z.ZodBoolean;
@@ -603,18 +673,24 @@ export declare const ConversationsPageSchema: z.ZodObject<{
603
673
  initials: z.ZodString;
604
674
  color: z.ZodString;
605
675
  role: z.ZodString;
676
+ status: z.ZodOptional<z.ZodNumber>;
677
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
606
678
  }, "strip", z.ZodTypeAny, {
607
679
  name: string;
608
680
  role: string;
609
681
  id: string;
610
682
  color: string;
611
683
  initials: string;
684
+ status?: number | undefined;
685
+ statusUntilUtc?: string | null | undefined;
612
686
  }, {
613
687
  name: string;
614
688
  role: string;
615
689
  id: string;
616
690
  color: string;
617
691
  initials: string;
692
+ status?: number | undefined;
693
+ statusUntilUtc?: string | null | undefined;
618
694
  }>, "many">;
619
695
  adminIds: z.ZodArray<z.ZodString, "many">;
620
696
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -640,6 +716,8 @@ export declare const ConversationsPageSchema: z.ZodObject<{
640
716
  initials: z.ZodString;
641
717
  color: z.ZodString;
642
718
  online: z.ZodBoolean;
719
+ status: z.ZodOptional<z.ZodNumber>;
720
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
643
721
  unread: z.ZodNumber;
644
722
  pinned: z.ZodBoolean;
645
723
  favourite: z.ZodBoolean;
@@ -658,18 +736,24 @@ export declare const ConversationsPageSchema: z.ZodObject<{
658
736
  initials: z.ZodString;
659
737
  color: z.ZodString;
660
738
  role: z.ZodString;
739
+ status: z.ZodOptional<z.ZodNumber>;
740
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
661
741
  }, "strip", z.ZodTypeAny, {
662
742
  name: string;
663
743
  role: string;
664
744
  id: string;
665
745
  color: string;
666
746
  initials: string;
747
+ status?: number | undefined;
748
+ statusUntilUtc?: string | null | undefined;
667
749
  }, {
668
750
  name: string;
669
751
  role: string;
670
752
  id: string;
671
753
  color: string;
672
754
  initials: string;
755
+ status?: number | undefined;
756
+ statusUntilUtc?: string | null | undefined;
673
757
  }>, "many">;
674
758
  adminIds: z.ZodArray<z.ZodString, "many">;
675
759
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -697,6 +781,8 @@ export declare const ConversationsPageSchema: z.ZodObject<{
697
781
  initials: z.ZodString;
698
782
  color: z.ZodString;
699
783
  online: z.ZodBoolean;
784
+ status: z.ZodOptional<z.ZodNumber>;
785
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
700
786
  unread: z.ZodNumber;
701
787
  pinned: z.ZodBoolean;
702
788
  favourite: z.ZodBoolean;
@@ -715,18 +801,24 @@ export declare const ConversationsPageSchema: z.ZodObject<{
715
801
  initials: z.ZodString;
716
802
  color: z.ZodString;
717
803
  role: z.ZodString;
804
+ status: z.ZodOptional<z.ZodNumber>;
805
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
718
806
  }, "strip", z.ZodTypeAny, {
719
807
  name: string;
720
808
  role: string;
721
809
  id: string;
722
810
  color: string;
723
811
  initials: string;
812
+ status?: number | undefined;
813
+ statusUntilUtc?: string | null | undefined;
724
814
  }, {
725
815
  name: string;
726
816
  role: string;
727
817
  id: string;
728
818
  color: string;
729
819
  initials: string;
820
+ status?: number | undefined;
821
+ statusUntilUtc?: string | null | undefined;
730
822
  }>, "many">;
731
823
  adminIds: z.ZodArray<z.ZodString, "many">;
732
824
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -755,6 +847,8 @@ export declare const ConversationsPageSchema: z.ZodObject<{
755
847
  initials: z.ZodString;
756
848
  color: z.ZodString;
757
849
  online: z.ZodBoolean;
850
+ status: z.ZodOptional<z.ZodNumber>;
851
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
758
852
  unread: z.ZodNumber;
759
853
  pinned: z.ZodBoolean;
760
854
  favourite: z.ZodBoolean;
@@ -773,18 +867,24 @@ export declare const ConversationsPageSchema: z.ZodObject<{
773
867
  initials: z.ZodString;
774
868
  color: z.ZodString;
775
869
  role: z.ZodString;
870
+ status: z.ZodOptional<z.ZodNumber>;
871
+ statusUntilUtc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
776
872
  }, "strip", z.ZodTypeAny, {
777
873
  name: string;
778
874
  role: string;
779
875
  id: string;
780
876
  color: string;
781
877
  initials: string;
878
+ status?: number | undefined;
879
+ statusUntilUtc?: string | null | undefined;
782
880
  }, {
783
881
  name: string;
784
882
  role: string;
785
883
  id: string;
786
884
  color: string;
787
885
  initials: string;
886
+ status?: number | undefined;
887
+ statusUntilUtc?: string | null | undefined;
788
888
  }>, "many">;
789
889
  adminIds: z.ZodArray<z.ZodString, "many">;
790
890
  peerUserId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"chat-dtos.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/infr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