@zextras/carbonio-ws-collaboration-ui-sdk 0.5.0 → 0.6.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.
@@ -1662,6 +1662,22 @@ interface components {
1662
1662
  roomId: string;
1663
1663
  name: string;
1664
1664
  description: string;
1665
+ /** Format: uuid */
1666
+ updatedBy: string;
1667
+ /** @description id of the ROOM_NAME_CHANGED system event (timeline item) created by this action, present only when the name changed */
1668
+ nameSystemEventId?: string;
1669
+ /**
1670
+ * Format: date-time
1671
+ * @description createdAt of the nameSystemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when nameSystemEventId is
1672
+ */
1673
+ nameSystemEventCreatedAt?: string;
1674
+ /** @description id of the ROOM_DESCRIPTION_CHANGED system event (timeline item) created by this action, present only when the description changed */
1675
+ descriptionSystemEventId?: string;
1676
+ /**
1677
+ * Format: date-time
1678
+ * @description createdAt of the descriptionSystemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when descriptionSystemEventId is
1679
+ */
1680
+ descriptionSystemEventCreatedAt?: string;
1665
1681
  } & {
1666
1682
  /**
1667
1683
  * @description discriminator enum property added by openapi-typescript
@@ -1708,6 +1724,15 @@ interface components {
1708
1724
  roomId: string;
1709
1725
  /** Format: date-time */
1710
1726
  updatedAt: string;
1727
+ /** Format: uuid */
1728
+ updatedBy: string;
1729
+ /** @description id of the system event (timeline item) created by this action, if any */
1730
+ systemEventId?: string;
1731
+ /**
1732
+ * Format: date-time
1733
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1734
+ */
1735
+ systemEventCreatedAt?: string;
1711
1736
  } & {
1712
1737
  /**
1713
1738
  * @description discriminator enum property added by openapi-typescript
@@ -1718,6 +1743,15 @@ interface components {
1718
1743
  RoomPictureDeleted: Omit<components["schemas"]["DomainEvent"], "type"> & {
1719
1744
  /** Format: uuid */
1720
1745
  roomId: string;
1746
+ /** Format: uuid */
1747
+ deletedBy: string;
1748
+ /** @description id of the system event (timeline item) created by this action, if any */
1749
+ systemEventId?: string;
1750
+ /**
1751
+ * Format: date-time
1752
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1753
+ */
1754
+ systemEventCreatedAt?: string;
1721
1755
  } & {
1722
1756
  /**
1723
1757
  * @description discriminator enum property added by openapi-typescript
@@ -1735,6 +1769,11 @@ interface components {
1735
1769
  addedBy: string;
1736
1770
  /** @description id of the system event (timeline item) created by this action, if any */
1737
1771
  systemEventId?: string;
1772
+ /**
1773
+ * Format: date-time
1774
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1775
+ */
1776
+ systemEventCreatedAt?: string;
1738
1777
  } & {
1739
1778
  /**
1740
1779
  * @description discriminator enum property added by openapi-typescript
@@ -1749,11 +1788,16 @@ interface components {
1749
1788
  userId: string;
1750
1789
  /**
1751
1790
  * Format: uuid
1752
- * @description user who removed the member (the member itself on leave); absent when the removal is automatic (temporary room clean-up)
1791
+ * @description user who removed the member (the member itself on leave; the first room owner when the removal is automatic, i.e. temporary room clean-up)
1753
1792
  */
1754
1793
  removedBy?: string;
1755
1794
  /** @description id of the system event (timeline item) created by this action, if any */
1756
1795
  systemEventId?: string;
1796
+ /**
1797
+ * Format: date-time
1798
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1799
+ */
1800
+ systemEventCreatedAt?: string;
1757
1801
  } & {
1758
1802
  /**
1759
1803
  * @description discriminator enum property added by openapi-typescript
@@ -1786,6 +1830,18 @@ interface components {
1786
1830
  roomId: string;
1787
1831
  /** Format: date-time */
1788
1832
  clearedAt: string;
1833
+ /**
1834
+ * Format: uuid
1835
+ * @description user who cleared the history for everyone; present only for TEMPORARY rooms, absent for the per-user clear
1836
+ */
1837
+ clearedBy?: string;
1838
+ /** @description id of the ROOM_HISTORY_CLEARED system event (timeline item) created by this action; present only for TEMPORARY rooms */
1839
+ systemEventId?: string;
1840
+ /**
1841
+ * Format: date-time
1842
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1843
+ */
1844
+ systemEventCreatedAt?: string;
1789
1845
  } & {
1790
1846
  /**
1791
1847
  * @description discriminator enum property added by openapi-typescript
@@ -1927,6 +1983,11 @@ interface components {
1927
1983
  startedAt: string;
1928
1984
  /** @description id of the system event (timeline item) created by this action, if any */
1929
1985
  systemEventId?: string;
1986
+ /**
1987
+ * Format: date-time
1988
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1989
+ */
1990
+ systemEventCreatedAt?: string;
1930
1991
  } & {
1931
1992
  /**
1932
1993
  * @description discriminator enum property added by openapi-typescript
@@ -1941,6 +2002,11 @@ interface components {
1941
2002
  endedBy: string;
1942
2003
  /** @description id of the system event (timeline item) created by this action, if any */
1943
2004
  systemEventId?: string;
2005
+ /**
2006
+ * Format: date-time
2007
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
2008
+ */
2009
+ systemEventCreatedAt?: string;
1944
2010
  } & {
1945
2011
  /**
1946
2012
  * @description discriminator enum property added by openapi-typescript
@@ -2096,6 +2162,11 @@ interface components {
2096
2162
  userId: string;
2097
2163
  /** @description id of the system event (timeline item) created by this action, if any */
2098
2164
  systemEventId?: string;
2165
+ /**
2166
+ * Format: date-time
2167
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
2168
+ */
2169
+ systemEventCreatedAt?: string;
2099
2170
  } & {
2100
2171
  /**
2101
2172
  * @description discriminator enum property added by openapi-typescript
@@ -2211,6 +2282,11 @@ interface components {
2211
2282
  message: components["schemas"]["TimelineMessage"];
2212
2283
  /** @description id of the system event (timeline item) created by this action, if any */
2213
2284
  systemEventId?: string;
2285
+ /**
2286
+ * Format: date-time
2287
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
2288
+ */
2289
+ systemEventCreatedAt?: string;
2214
2290
  } & {
2215
2291
  /**
2216
2292
  * @description discriminator enum property added by openapi-typescript
@@ -2228,6 +2304,11 @@ interface components {
2228
2304
  timestamp: string;
2229
2305
  /** @description id of the system event (timeline item) created by this action, if any */
2230
2306
  systemEventId?: string;
2307
+ /**
2308
+ * Format: date-time
2309
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
2310
+ */
2311
+ systemEventCreatedAt?: string;
2231
2312
  } & {
2232
2313
  /**
2233
2314
  * @description discriminator enum property added by openapi-typescript
@@ -1662,6 +1662,22 @@ interface components {
1662
1662
  roomId: string;
1663
1663
  name: string;
1664
1664
  description: string;
1665
+ /** Format: uuid */
1666
+ updatedBy: string;
1667
+ /** @description id of the ROOM_NAME_CHANGED system event (timeline item) created by this action, present only when the name changed */
1668
+ nameSystemEventId?: string;
1669
+ /**
1670
+ * Format: date-time
1671
+ * @description createdAt of the nameSystemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when nameSystemEventId is
1672
+ */
1673
+ nameSystemEventCreatedAt?: string;
1674
+ /** @description id of the ROOM_DESCRIPTION_CHANGED system event (timeline item) created by this action, present only when the description changed */
1675
+ descriptionSystemEventId?: string;
1676
+ /**
1677
+ * Format: date-time
1678
+ * @description createdAt of the descriptionSystemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when descriptionSystemEventId is
1679
+ */
1680
+ descriptionSystemEventCreatedAt?: string;
1665
1681
  } & {
1666
1682
  /**
1667
1683
  * @description discriminator enum property added by openapi-typescript
@@ -1708,6 +1724,15 @@ interface components {
1708
1724
  roomId: string;
1709
1725
  /** Format: date-time */
1710
1726
  updatedAt: string;
1727
+ /** Format: uuid */
1728
+ updatedBy: string;
1729
+ /** @description id of the system event (timeline item) created by this action, if any */
1730
+ systemEventId?: string;
1731
+ /**
1732
+ * Format: date-time
1733
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1734
+ */
1735
+ systemEventCreatedAt?: string;
1711
1736
  } & {
1712
1737
  /**
1713
1738
  * @description discriminator enum property added by openapi-typescript
@@ -1718,6 +1743,15 @@ interface components {
1718
1743
  RoomPictureDeleted: Omit<components["schemas"]["DomainEvent"], "type"> & {
1719
1744
  /** Format: uuid */
1720
1745
  roomId: string;
1746
+ /** Format: uuid */
1747
+ deletedBy: string;
1748
+ /** @description id of the system event (timeline item) created by this action, if any */
1749
+ systemEventId?: string;
1750
+ /**
1751
+ * Format: date-time
1752
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1753
+ */
1754
+ systemEventCreatedAt?: string;
1721
1755
  } & {
1722
1756
  /**
1723
1757
  * @description discriminator enum property added by openapi-typescript
@@ -1735,6 +1769,11 @@ interface components {
1735
1769
  addedBy: string;
1736
1770
  /** @description id of the system event (timeline item) created by this action, if any */
1737
1771
  systemEventId?: string;
1772
+ /**
1773
+ * Format: date-time
1774
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1775
+ */
1776
+ systemEventCreatedAt?: string;
1738
1777
  } & {
1739
1778
  /**
1740
1779
  * @description discriminator enum property added by openapi-typescript
@@ -1749,11 +1788,16 @@ interface components {
1749
1788
  userId: string;
1750
1789
  /**
1751
1790
  * Format: uuid
1752
- * @description user who removed the member (the member itself on leave); absent when the removal is automatic (temporary room clean-up)
1791
+ * @description user who removed the member (the member itself on leave; the first room owner when the removal is automatic, i.e. temporary room clean-up)
1753
1792
  */
1754
1793
  removedBy?: string;
1755
1794
  /** @description id of the system event (timeline item) created by this action, if any */
1756
1795
  systemEventId?: string;
1796
+ /**
1797
+ * Format: date-time
1798
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1799
+ */
1800
+ systemEventCreatedAt?: string;
1757
1801
  } & {
1758
1802
  /**
1759
1803
  * @description discriminator enum property added by openapi-typescript
@@ -1786,6 +1830,18 @@ interface components {
1786
1830
  roomId: string;
1787
1831
  /** Format: date-time */
1788
1832
  clearedAt: string;
1833
+ /**
1834
+ * Format: uuid
1835
+ * @description user who cleared the history for everyone; present only for TEMPORARY rooms, absent for the per-user clear
1836
+ */
1837
+ clearedBy?: string;
1838
+ /** @description id of the ROOM_HISTORY_CLEARED system event (timeline item) created by this action; present only for TEMPORARY rooms */
1839
+ systemEventId?: string;
1840
+ /**
1841
+ * Format: date-time
1842
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1843
+ */
1844
+ systemEventCreatedAt?: string;
1789
1845
  } & {
1790
1846
  /**
1791
1847
  * @description discriminator enum property added by openapi-typescript
@@ -1927,6 +1983,11 @@ interface components {
1927
1983
  startedAt: string;
1928
1984
  /** @description id of the system event (timeline item) created by this action, if any */
1929
1985
  systemEventId?: string;
1986
+ /**
1987
+ * Format: date-time
1988
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
1989
+ */
1990
+ systemEventCreatedAt?: string;
1930
1991
  } & {
1931
1992
  /**
1932
1993
  * @description discriminator enum property added by openapi-typescript
@@ -1941,6 +2002,11 @@ interface components {
1941
2002
  endedBy: string;
1942
2003
  /** @description id of the system event (timeline item) created by this action, if any */
1943
2004
  systemEventId?: string;
2005
+ /**
2006
+ * Format: date-time
2007
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
2008
+ */
2009
+ systemEventCreatedAt?: string;
1944
2010
  } & {
1945
2011
  /**
1946
2012
  * @description discriminator enum property added by openapi-typescript
@@ -2096,6 +2162,11 @@ interface components {
2096
2162
  userId: string;
2097
2163
  /** @description id of the system event (timeline item) created by this action, if any */
2098
2164
  systemEventId?: string;
2165
+ /**
2166
+ * Format: date-time
2167
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
2168
+ */
2169
+ systemEventCreatedAt?: string;
2099
2170
  } & {
2100
2171
  /**
2101
2172
  * @description discriminator enum property added by openapi-typescript
@@ -2211,6 +2282,11 @@ interface components {
2211
2282
  message: components["schemas"]["TimelineMessage"];
2212
2283
  /** @description id of the system event (timeline item) created by this action, if any */
2213
2284
  systemEventId?: string;
2285
+ /**
2286
+ * Format: date-time
2287
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
2288
+ */
2289
+ systemEventCreatedAt?: string;
2214
2290
  } & {
2215
2291
  /**
2216
2292
  * @description discriminator enum property added by openapi-typescript
@@ -2228,6 +2304,11 @@ interface components {
2228
2304
  timestamp: string;
2229
2305
  /** @description id of the system event (timeline item) created by this action, if any */
2230
2306
  systemEventId?: string;
2307
+ /**
2308
+ * Format: date-time
2309
+ * @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets; present exactly when systemEventId is
2310
+ */
2311
+ systemEventCreatedAt?: string;
2231
2312
  } & {
2232
2313
  /**
2233
2314
  * @description discriminator enum property added by openapi-typescript
package/dist/index.cjs CHANGED
@@ -135,6 +135,11 @@ function mapWireMessageToStoreMessage(message) {
135
135
  }
136
136
  var SYSTEM_EVENT_TO_OPERATION = {
137
137
  ROOM_CREATED: "roomCreation",
138
+ ROOM_NAME_CHANGED: "roomNameChanged",
139
+ ROOM_DESCRIPTION_CHANGED: "roomDescriptionChanged",
140
+ ROOM_PICTURE_UPDATED: "roomPictureUpdated",
141
+ ROOM_PICTURE_DELETED: "roomPictureDeleted",
142
+ ROOM_HISTORY_CLEARED: "roomHistoryCleared",
138
143
  MEMBER_ADDED: "memberAdded",
139
144
  MEMBER_REMOVED: "memberRemoved",
140
145
  MESSAGE_PINNED: "messagePinned",
@@ -149,6 +154,11 @@ function extractValue(type, content) {
149
154
  return typeof raw === "string" ? raw : "";
150
155
  };
151
156
  switch (type) {
157
+ // The new name or description, the v1 row value; an empty description is a removal
158
+ case "ROOM_NAME_CHANGED":
159
+ return str("name");
160
+ case "ROOM_DESCRIPTION_CHANGED":
161
+ return str("description");
152
162
  case "MEMBER_ADDED": {
153
163
  const added = content?.addedUserIds;
154
164
  return Array.isArray(added) && typeof added[0] === "string" ? added[0] : "";
@@ -573,7 +583,7 @@ function handleMessagePinned({ bridge }, event, pinnedMessage) {
573
583
  event.roomId,
574
584
  event.messageId,
575
585
  event.pinnedBy,
576
- event.timestamp,
586
+ event.systemEventCreatedAt ?? event.timestamp,
577
587
  event.systemEventId
578
588
  );
579
589
  landPinRow(bridge, row);
@@ -589,7 +599,7 @@ function handleMessageUnpinned({ bridge }, event) {
589
599
  event.roomId,
590
600
  event.messageId,
591
601
  event.unpinnedBy,
592
- event.timestamp,
602
+ event.systemEventCreatedAt ?? event.timestamp,
593
603
  event.systemEventId
594
604
  );
595
605
  landPinRow(bridge, row);
@@ -702,11 +712,11 @@ async function searchMessages({ http, bridge }, roomId, query, options = {}) {
702
712
  }
703
713
 
704
714
  // src/client/systemLines.ts
705
- function buildSystemLine(operation, roomId, systemEventId, from, sentDate, value = "") {
715
+ function buildSystemLine(operation, roomId, systemEventId, from, createdAt, value = "") {
706
716
  return {
707
717
  id: systemEventId,
708
718
  roomId,
709
- date: toTimestamp(sentDate),
719
+ date: toTimestamp(createdAt),
710
720
  type: "configuration",
711
721
  operation,
712
722
  value,
@@ -732,7 +742,7 @@ function handleRoomMemberAdded({ bridge }, event) {
732
742
  event.roomId,
733
743
  event.systemEventId,
734
744
  event.addedBy,
735
- event.sentDate,
745
+ event.systemEventCreatedAt ?? event.sentDate,
736
746
  event.userId
737
747
  );
738
748
  if (isKnownLine(bridge, row)) {
@@ -750,12 +760,83 @@ function handleRoomMemberRemoved({ bridge }, event) {
750
760
  event.roomId,
751
761
  event.systemEventId,
752
762
  event.removedBy,
753
- event.sentDate,
763
+ event.systemEventCreatedAt ?? event.sentDate,
754
764
  event.userId
755
765
  );
756
766
  landSystemLine(bridge, row);
757
767
  return row;
758
768
  }
769
+ function handleRoomUpdated({ bridge }, event) {
770
+ const rows = [];
771
+ if (event.nameSystemEventId) {
772
+ rows.push(
773
+ buildSystemLine(
774
+ "roomNameChanged",
775
+ event.roomId,
776
+ event.nameSystemEventId,
777
+ event.updatedBy,
778
+ event.nameSystemEventCreatedAt ?? event.sentDate,
779
+ event.name
780
+ )
781
+ );
782
+ }
783
+ if (event.descriptionSystemEventId) {
784
+ rows.push(
785
+ buildSystemLine(
786
+ "roomDescriptionChanged",
787
+ event.roomId,
788
+ event.descriptionSystemEventId,
789
+ event.updatedBy,
790
+ event.descriptionSystemEventCreatedAt ?? event.sentDate,
791
+ event.description
792
+ )
793
+ );
794
+ }
795
+ rows.forEach((row) => landSystemLine(bridge, row));
796
+ return rows;
797
+ }
798
+ function handleRoomPictureChanged({ bridge }, event) {
799
+ if (!event.systemEventId) {
800
+ return void 0;
801
+ }
802
+ const row = buildSystemLine(
803
+ "roomPictureUpdated",
804
+ event.roomId,
805
+ event.systemEventId,
806
+ event.updatedBy,
807
+ event.systemEventCreatedAt ?? event.sentDate
808
+ );
809
+ landSystemLine(bridge, row);
810
+ return row;
811
+ }
812
+ function handleRoomPictureDeleted({ bridge }, event) {
813
+ if (!event.systemEventId) {
814
+ return void 0;
815
+ }
816
+ const row = buildSystemLine(
817
+ "roomPictureDeleted",
818
+ event.roomId,
819
+ event.systemEventId,
820
+ event.deletedBy,
821
+ event.systemEventCreatedAt ?? event.sentDate
822
+ );
823
+ landSystemLine(bridge, row);
824
+ return row;
825
+ }
826
+ function handleRoomHistoryCleared({ bridge }, event) {
827
+ if (!event.systemEventId || !event.clearedBy) {
828
+ return void 0;
829
+ }
830
+ const row = buildSystemLine(
831
+ "roomHistoryCleared",
832
+ event.roomId,
833
+ event.systemEventId,
834
+ event.clearedBy,
835
+ event.systemEventCreatedAt ?? event.sentDate
836
+ );
837
+ landSystemLine(bridge, row);
838
+ return row;
839
+ }
759
840
  function handleMeetingStarted({ bridge }, event, roomId) {
760
841
  if (!event.systemEventId) {
761
842
  return void 0;
@@ -765,7 +846,7 @@ function handleMeetingStarted({ bridge }, event, roomId) {
765
846
  roomId,
766
847
  event.systemEventId,
767
848
  event.starterUser,
768
- event.sentDate
849
+ event.systemEventCreatedAt ?? event.sentDate
769
850
  );
770
851
  landSystemLine(bridge, row);
771
852
  return row;
@@ -780,7 +861,7 @@ function handleMeetingStopped({ bridge }, event, roomId, startedAt) {
780
861
  roomId,
781
862
  event.systemEventId,
782
863
  event.endedBy,
783
- event.sentDate,
864
+ event.systemEventCreatedAt ?? event.sentDate,
784
865
  durationSec === void 0 ? "" : String(durationSec)
785
866
  );
786
867
  landSystemLine(bridge, row);
@@ -795,7 +876,7 @@ function handleMeetingDeclined({ bridge }, event, roomId) {
795
876
  roomId,
796
877
  event.systemEventId,
797
878
  event.userId,
798
- event.sentDate
879
+ event.systemEventCreatedAt ?? event.sentDate
799
880
  );
800
881
  landSystemLine(bridge, row);
801
882
  return row;
@@ -1012,6 +1093,10 @@ function createWscClient(deps) {
1012
1093
  handleRoomCreated: (event) => handleRoomCreated(deps, event),
1013
1094
  handleRoomMemberAdded: (event) => handleRoomMemberAdded(deps, event),
1014
1095
  handleRoomMemberRemoved: (event) => handleRoomMemberRemoved(deps, event),
1096
+ handleRoomUpdated: (event) => handleRoomUpdated(deps, event),
1097
+ handleRoomPictureChanged: (event) => handleRoomPictureChanged(deps, event),
1098
+ handleRoomPictureDeleted: (event) => handleRoomPictureDeleted(deps, event),
1099
+ handleRoomHistoryCleared: (event) => handleRoomHistoryCleared(deps, event),
1015
1100
  handleMeetingStarted: (event, roomId) => handleMeetingStarted(deps, event, roomId),
1016
1101
  handleMeetingStopped: (event, roomId, startedAt) => handleMeetingStopped(deps, event, roomId, startedAt),
1017
1102
  handleMeetingDeclined: (event, roomId) => handleMeetingDeclined(deps, event, roomId),