@zextras/carbonio-ws-collaboration-ui-sdk 0.5.0 → 0.7.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.
- package/README.md +1 -1
- package/dist/{asyncapi-DB0usrAf.d.cts → asyncapi-B8fJWyes.d.cts} +281 -44
- package/dist/{asyncapi-DB0usrAf.d.ts → asyncapi-B8fJWyes.d.ts} +281 -44
- package/dist/index.cjs +825 -222
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +459 -159
- package/dist/index.d.ts +459 -159
- package/dist/index.js +815 -222
- package/dist/index.js.map +1 -1
- package/dist/testing/index.cjs +84 -24
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +10 -3
- package/dist/testing/index.d.ts +10 -3
- package/dist/testing/index.js +79 -24
- package/dist/testing/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,6 +13,13 @@ type ResponseLike = {
|
|
|
13
13
|
json: () => Promise<unknown>;
|
|
14
14
|
blob: () => Promise<unknown>;
|
|
15
15
|
};
|
|
16
|
+
/** The part of the platform's AbortSignal (browser, React Native, Node) the SDK uses. */
|
|
17
|
+
type AbortSignalLike = {
|
|
18
|
+
readonly aborted: boolean;
|
|
19
|
+
addEventListener: (type: 'abort', listener: () => void) => void;
|
|
20
|
+
removeEventListener?: (type: 'abort', listener: () => void) => void;
|
|
21
|
+
};
|
|
22
|
+
/** A timed request also carries an abort `signal`, untyped to fit `RequestInit`: pass `init` through. */
|
|
16
23
|
type RequestInitLike = {
|
|
17
24
|
method: HttpMethod;
|
|
18
25
|
headers: Record<string, string>;
|
|
@@ -152,6 +159,8 @@ interface components$1 {
|
|
|
152
159
|
showUsersPresence: boolean;
|
|
153
160
|
/** @description whether the user can see the read status of messages */
|
|
154
161
|
showMessageReads: boolean;
|
|
162
|
+
/** @description Ordered simulcast layers a client should publish for the webcam (highest first). Server defaults are 720/360/144 (pixel height), each overridable via the Consul KV keys carbonio-ws-collaboration/meeting/simulcast-{high,medium,low}-height. */
|
|
163
|
+
videoSimulcastTiers?: components$1["schemas"]["SimulcastTier"][];
|
|
155
164
|
};
|
|
156
165
|
/** @description User data */
|
|
157
166
|
User: {
|
|
@@ -275,8 +284,7 @@ interface components$1 {
|
|
|
275
284
|
/** @description Information about the members to insert in the room */
|
|
276
285
|
MemberToInsert: components$1["schemas"]["Member"] & {
|
|
277
286
|
/**
|
|
278
|
-
* @description
|
|
279
|
-
* after it has been added to the room
|
|
287
|
+
* @description true: the new member does NOT see the messages sent before they were added (their cleared-history instant is set to the time of the add and returned as clearedAt); false: the new member sees the whole room history.
|
|
280
288
|
* @default false
|
|
281
289
|
*/
|
|
282
290
|
historyCleared: boolean;
|
|
@@ -323,7 +331,7 @@ interface components$1 {
|
|
|
323
331
|
* @description creation date
|
|
324
332
|
*/
|
|
325
333
|
readonly createdAt?: string;
|
|
326
|
-
/** @description identifier of the
|
|
334
|
+
/** @description identifier of the message that carries this attachment */
|
|
327
335
|
readonly messageId?: string;
|
|
328
336
|
/** @description attachment's area */
|
|
329
337
|
readonly area?: string;
|
|
@@ -589,6 +597,30 @@ interface components$1 {
|
|
|
589
597
|
/** @description folder id where the recording will be saved */
|
|
590
598
|
folderId?: string;
|
|
591
599
|
};
|
|
600
|
+
MediaQualityRequest: {
|
|
601
|
+
/** @description UUID of the participant whose published feed is being subscribed to */
|
|
602
|
+
userId: string;
|
|
603
|
+
/**
|
|
604
|
+
* @description media type; only video feeds support simulcast layer selection
|
|
605
|
+
* @enum {string}
|
|
606
|
+
*/
|
|
607
|
+
type: "video";
|
|
608
|
+
/** @description Janus media ID (mid) of the subscribed feed to reconfigure */
|
|
609
|
+
mid: string;
|
|
610
|
+
/** @description spatial/resolution layer index (0 = lowest, 2 = highest) */
|
|
611
|
+
substream: number;
|
|
612
|
+
/** @description framerate layer index (0 = lowest, 2 = highest); omit to keep current */
|
|
613
|
+
temporal?: number;
|
|
614
|
+
};
|
|
615
|
+
SimulcastTier: {
|
|
616
|
+
/**
|
|
617
|
+
* @description tier label that identifies the quality level
|
|
618
|
+
* @enum {string}
|
|
619
|
+
*/
|
|
620
|
+
name: "high" | "medium" | "low";
|
|
621
|
+
/** @description video frame height in pixels for this tier */
|
|
622
|
+
height: number;
|
|
623
|
+
};
|
|
592
624
|
/** @description the hand action the user wants to perform */
|
|
593
625
|
HandStatus: {
|
|
594
626
|
/** @description indicates the status to change the hand to */
|
|
@@ -621,7 +653,7 @@ interface components$1 {
|
|
|
621
653
|
};
|
|
622
654
|
/** @description Inbox payload, one entry per room the user is subscribed to */
|
|
623
655
|
InboxResponse: {
|
|
624
|
-
conversations: components$1["schemas"]["
|
|
656
|
+
conversations: components$1["schemas"]["InboxEntry"][];
|
|
625
657
|
};
|
|
626
658
|
/**
|
|
627
659
|
* @description A single conversation in the inbox. Carries everything needed to render a
|
|
@@ -629,7 +661,7 @@ interface components$1 {
|
|
|
629
661
|
* presence-enriched members, the last item, the unread count and the
|
|
630
662
|
* room's read markers.
|
|
631
663
|
*/
|
|
632
|
-
|
|
664
|
+
InboxEntry: {
|
|
633
665
|
/** Format: uuid */
|
|
634
666
|
roomId: string;
|
|
635
667
|
room: components$1["schemas"]["InboxRoom"];
|
|
@@ -677,7 +709,7 @@ interface components$1 {
|
|
|
677
709
|
/** Format: date-time */
|
|
678
710
|
createdAt?: string;
|
|
679
711
|
/** Format: date-time */
|
|
680
|
-
updatedAt
|
|
712
|
+
updatedAt: string;
|
|
681
713
|
};
|
|
682
714
|
/** @description A room member, enriched with presence state */
|
|
683
715
|
InboxMember: {
|
|
@@ -716,8 +748,8 @@ interface components$1 {
|
|
|
716
748
|
PresenceBatchRequest: {
|
|
717
749
|
userIds: string[];
|
|
718
750
|
};
|
|
719
|
-
PresenceBatchResponse: components$1["schemas"]["
|
|
720
|
-
|
|
751
|
+
PresenceBatchResponse: components$1["schemas"]["PresenceStatus"][];
|
|
752
|
+
PresenceStatus: {
|
|
721
753
|
/** Format: uuid */
|
|
722
754
|
userId: string;
|
|
723
755
|
online: boolean;
|
|
@@ -773,7 +805,7 @@ interface components$1 {
|
|
|
773
805
|
forwardedInfo?: components$1["schemas"]["ForwardedInfo"];
|
|
774
806
|
attachment?: components$1["schemas"]["MessageAttachment"];
|
|
775
807
|
reactions?: components$1["schemas"]["ReactionGroup"][];
|
|
776
|
-
/** @description The full message this one replies to, embedded depth-1 (the embedded message never carries its own repliedMessage). Absent when the message is not a reply or when the original is not visible to the caller (
|
|
808
|
+
/** @description The full message this one replies to, embedded depth-1 (the embedded message never carries its own repliedMessage). Absent when the message is not a reply or when the original is not visible to the caller (created at or before the caller's cleared-history instant, or hard-removed). */
|
|
777
809
|
repliedMessage?: components$1["schemas"]["TimelineMessage"];
|
|
778
810
|
};
|
|
779
811
|
EditedInfo: {
|
|
@@ -798,9 +830,21 @@ interface components$1 {
|
|
|
798
830
|
size: number;
|
|
799
831
|
area?: string | null;
|
|
800
832
|
};
|
|
833
|
+
SetReactionRequest: {
|
|
834
|
+
/** @description The emoji; at most 32 UTF-16 code units (blank is rejected with 400) */
|
|
835
|
+
reaction: string;
|
|
836
|
+
};
|
|
837
|
+
ReactionUser: {
|
|
838
|
+
userId: string;
|
|
839
|
+
/**
|
|
840
|
+
* Format: date-time
|
|
841
|
+
* @description database time of the last set of this reaction (insert or replace)
|
|
842
|
+
*/
|
|
843
|
+
updatedAt: string;
|
|
844
|
+
};
|
|
801
845
|
ReactionGroup: {
|
|
802
846
|
reaction: string;
|
|
803
|
-
|
|
847
|
+
users: components$1["schemas"]["ReactionUser"][];
|
|
804
848
|
};
|
|
805
849
|
SystemEvent: {
|
|
806
850
|
id: string;
|
|
@@ -837,6 +881,14 @@ interface components$1 {
|
|
|
837
881
|
*/
|
|
838
882
|
message: components$1["schemas"]["TimelineMessage"];
|
|
839
883
|
};
|
|
884
|
+
/** @description the participant a moderator wants to kick out of the meeting */
|
|
885
|
+
KickParticipant: {
|
|
886
|
+
/**
|
|
887
|
+
* Format: uuid
|
|
888
|
+
* @description the participant to kick out of the meeting
|
|
889
|
+
*/
|
|
890
|
+
userToModerate: string;
|
|
891
|
+
};
|
|
840
892
|
};
|
|
841
893
|
responses: {
|
|
842
894
|
/** @description license info */
|
|
@@ -1237,6 +1289,13 @@ interface components$1 {
|
|
|
1237
1289
|
};
|
|
1238
1290
|
content?: never;
|
|
1239
1291
|
};
|
|
1292
|
+
/** @description The user was kicked out of the meeting successfully */
|
|
1293
|
+
"204KickMeetingParticipantResponse": {
|
|
1294
|
+
headers: {
|
|
1295
|
+
[name: string]: unknown;
|
|
1296
|
+
};
|
|
1297
|
+
content?: never;
|
|
1298
|
+
};
|
|
1240
1299
|
/** @description The status of audio stream changed successfully */
|
|
1241
1300
|
"204AudioStreamResponse": {
|
|
1242
1301
|
headers: {
|
|
@@ -1356,13 +1415,6 @@ interface components$1 {
|
|
|
1356
1415
|
};
|
|
1357
1416
|
content?: never;
|
|
1358
1417
|
};
|
|
1359
|
-
/** @description The request had a payload that was too big */
|
|
1360
|
-
"413PayloadTooLargeResponse": {
|
|
1361
|
-
headers: {
|
|
1362
|
-
[name: string]: unknown;
|
|
1363
|
-
};
|
|
1364
|
-
content?: never;
|
|
1365
|
-
};
|
|
1366
1418
|
/** @description The source video exceeds the configured maximum size for preview generation, so no preview will ever be produced. Terminal: the client should stop polling. */
|
|
1367
1419
|
"413VideoPreviewTooLargeResponse": {
|
|
1368
1420
|
headers: {
|
|
@@ -1391,6 +1443,13 @@ interface components$1 {
|
|
|
1391
1443
|
};
|
|
1392
1444
|
content?: never;
|
|
1393
1445
|
};
|
|
1446
|
+
/** @description Failed Dependency: the message broker is down or the video server is not ready, so the meeting operation cannot run. Retry later; after a broker outage the server sends the MessageBrokerRestored WebSocket event when meeting operations are available again. */
|
|
1447
|
+
"424MeetingFailedDependencyResponse": {
|
|
1448
|
+
headers: {
|
|
1449
|
+
[name: string]: unknown;
|
|
1450
|
+
};
|
|
1451
|
+
content?: never;
|
|
1452
|
+
};
|
|
1394
1453
|
/** @description The service was unavailable */
|
|
1395
1454
|
"502BadGatewayResponse": {
|
|
1396
1455
|
headers: {
|
|
@@ -1417,7 +1476,7 @@ interface components$1 {
|
|
|
1417
1476
|
queryImageShape: components$1["schemas"]["ImageShapeEnum"];
|
|
1418
1477
|
queryFirstPage: number;
|
|
1419
1478
|
queryLastPage: number;
|
|
1420
|
-
/** @description
|
|
1479
|
+
/** @description File name, every character written as a 6-character Unicode escape (backslash, u, 4 hex digits per UTF-16 unit), as the official clients send it. */
|
|
1421
1480
|
headerFileName: string;
|
|
1422
1481
|
/** @description content type */
|
|
1423
1482
|
headerMimeType: string;
|
|
@@ -1499,7 +1558,7 @@ interface components$1 {
|
|
|
1499
1558
|
"multipart/form-data": {
|
|
1500
1559
|
/**
|
|
1501
1560
|
* Format: binary
|
|
1502
|
-
* @description
|
|
1561
|
+
* @description File to upload. The file name of this part (Content-Disposition filename) is either the raw name or the whole name written as 6-character Unicode escapes (backslash, u, 4 hex digits per UTF-16 unit), which is what the official clients send; a name that cannot be decoded, or longer than 256 characters once decoded, answers 400.
|
|
1503
1562
|
*/
|
|
1504
1563
|
file: string;
|
|
1505
1564
|
/**
|
|
@@ -1509,7 +1568,7 @@ interface components$1 {
|
|
|
1509
1568
|
contentLength: number;
|
|
1510
1569
|
/** @description client-generated temporary identifier for optimistic UI matching */
|
|
1511
1570
|
tempId?: string;
|
|
1512
|
-
/** @description
|
|
1571
|
+
/** @description Caption of the attachment, sent as raw UTF-8 text (not escaped). Set Content-Type text/plain; charset=UTF-8 on this part; a text part without a content type is read as UTF-8. */
|
|
1513
1572
|
description?: string;
|
|
1514
1573
|
/** @description identifier of the message being replied to */
|
|
1515
1574
|
replyToId?: string;
|
|
@@ -1578,6 +1637,12 @@ interface components$1 {
|
|
|
1578
1637
|
"application/json": components$1["schemas"]["HandStatus"];
|
|
1579
1638
|
};
|
|
1580
1639
|
};
|
|
1640
|
+
/** @description moderator request to kick a participant out of the meeting */
|
|
1641
|
+
KickMeetingParticipantRequest: {
|
|
1642
|
+
content: {
|
|
1643
|
+
"application/json": components$1["schemas"]["KickParticipant"];
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1581
1646
|
};
|
|
1582
1647
|
headers: never;
|
|
1583
1648
|
pathItems: never;
|
|
@@ -1603,7 +1668,7 @@ type WireTimelineItem = components$1['schemas']['ChatMessageTimelineItem'] | com
|
|
|
1603
1668
|
type WireTimeline = Omit<components$1['schemas']['Timeline'], 'items'> & {
|
|
1604
1669
|
items: Array<WireTimelineItem>;
|
|
1605
1670
|
};
|
|
1606
|
-
type WirePresenceStatus = components$1['schemas']['
|
|
1671
|
+
type WirePresenceStatus = components$1['schemas']['PresenceStatus'];
|
|
1607
1672
|
/**
|
|
1608
1673
|
* The `Message` DTO the write endpoints answer with (send, edit, forward) and
|
|
1609
1674
|
* the search returns: the timeline message without reactions and quote, and
|
|
@@ -1619,7 +1684,7 @@ type WireMessage = components$1['schemas']['Message'];
|
|
|
1619
1684
|
type WirePinnedMessage = components$1['schemas']['PinnedMessage'];
|
|
1620
1685
|
type WireMessageSearchResult = components$1['schemas']['MessageSearchResult'];
|
|
1621
1686
|
/** `lastItem` is typed with the base `TimelineItem` by openapi-typescript, like `Timeline['items']`. */
|
|
1622
|
-
type WireInboxEntry = Omit<components$1['schemas']['
|
|
1687
|
+
type WireInboxEntry = Omit<components$1['schemas']['InboxEntry'], 'lastItem'> & {
|
|
1623
1688
|
lastItem?: WireTimelineItem;
|
|
1624
1689
|
};
|
|
1625
1690
|
type WireInboxResponse = Omit<components$1['schemas']['InboxResponse'], 'conversations'> & {
|
|
@@ -1632,17 +1697,16 @@ interface components {
|
|
|
1632
1697
|
* @description Type of event being published
|
|
1633
1698
|
* @enum {string}
|
|
1634
1699
|
*/
|
|
1635
|
-
EventType: "RoomCreated" | "
|
|
1700
|
+
EventType: "RoomCreated" | "RoomNameChanged" | "RoomDescriptionChanged" | "RoomDeleted" | "RoomOwnerPromoted" | "RoomOwnerDemoted" | "RoomPictureChanged" | "RoomPictureDeleted" | "RoomMemberAdded" | "RoomMemberRemoved" | "RoomMuted" | "RoomUnmuted" | "RoomHistoryCleared" | "MeetingCreated" | "MeetingDeleted" | "MeetingParticipantJoined" | "MeetingParticipantLeft" | "MeetingAudioStreamChanged" | "MeetingAudioAnswered" | "MeetingMediaStreamChanged" | "MeetingSdpOffered" | "MeetingSdpAnswered" | "MeetingStarted" | "MeetingStopped" | "MeetingParticipantTalking" | "MeetingParticipantClashed" | "MeetingWaitingParticipantJoined" | "MeetingWaitingParticipantClashed" | "MeetingWaitingParticipantAccepted" | "MeetingWaitingParticipantRejected" | "MeetingParticipantSubscribed" | "MeetingRecordingStarted" | "MeetingRecordingStopped" | "MeetingParticipantHandRaised" | "MeetingParticipantHandRaisedList" | "MeetingDeclined" | "MeetingParticipantUplinkStatusChanged" | "WebsocketConnected" | "MessageBrokerDisconnected" | "MessageBrokerRestored" | "Ping" | "Pong";
|
|
1636
1701
|
/** @enum {string} */
|
|
1637
1702
|
MediaType: "AUDIO" | "VIDEO" | "SCREEN";
|
|
1703
|
+
/**
|
|
1704
|
+
* @description LEFT when the participant left the meeting, KICKED when a moderator removed them
|
|
1705
|
+
* @enum {string}
|
|
1706
|
+
*/
|
|
1707
|
+
MeetingParticipantLeftReason: "LEFT" | "KICKED";
|
|
1638
1708
|
DomainEvent: {
|
|
1639
1709
|
type: components["schemas"]["EventType"];
|
|
1640
|
-
/**
|
|
1641
|
-
* Format: date-time
|
|
1642
|
-
* @description Timestamp when the event was sent (ISO 8601 format with offset)
|
|
1643
|
-
* @example 2025-07-09T10:30:00.000Z
|
|
1644
|
-
*/
|
|
1645
|
-
sentDate: string;
|
|
1646
1710
|
};
|
|
1647
1711
|
RoomCreated: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
1648
1712
|
/**
|
|
@@ -1657,17 +1721,47 @@ interface components {
|
|
|
1657
1721
|
*/
|
|
1658
1722
|
type: "roomCreated";
|
|
1659
1723
|
};
|
|
1660
|
-
|
|
1724
|
+
RoomNameChanged: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
1661
1725
|
/** Format: uuid */
|
|
1662
1726
|
roomId: string;
|
|
1727
|
+
/** @description The new room name */
|
|
1663
1728
|
name: string;
|
|
1729
|
+
/** Format: uuid */
|
|
1730
|
+
updatedBy: string;
|
|
1731
|
+
/** @description id of the ROOM_NAME_CHANGED system event (timeline item) written by this change */
|
|
1732
|
+
systemEventId: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* Format: date-time
|
|
1735
|
+
* @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets
|
|
1736
|
+
*/
|
|
1737
|
+
systemEventCreatedAt: string;
|
|
1738
|
+
} & {
|
|
1739
|
+
/**
|
|
1740
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1741
|
+
* @enum {string}
|
|
1742
|
+
*/
|
|
1743
|
+
type: "roomNameChanged";
|
|
1744
|
+
};
|
|
1745
|
+
RoomDescriptionChanged: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
1746
|
+
/** Format: uuid */
|
|
1747
|
+
roomId: string;
|
|
1748
|
+
/** @description The new room description, empty when it was cleared */
|
|
1664
1749
|
description: string;
|
|
1750
|
+
/** Format: uuid */
|
|
1751
|
+
updatedBy: string;
|
|
1752
|
+
/** @description id of the ROOM_DESCRIPTION_CHANGED system event (timeline item) written by this change */
|
|
1753
|
+
systemEventId: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* Format: date-time
|
|
1756
|
+
* @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets
|
|
1757
|
+
*/
|
|
1758
|
+
systemEventCreatedAt: string;
|
|
1665
1759
|
} & {
|
|
1666
1760
|
/**
|
|
1667
1761
|
* @description discriminator enum property added by openapi-typescript
|
|
1668
1762
|
* @enum {string}
|
|
1669
1763
|
*/
|
|
1670
|
-
type: "
|
|
1764
|
+
type: "roomDescriptionChanged";
|
|
1671
1765
|
};
|
|
1672
1766
|
RoomDeleted: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
1673
1767
|
/** Format: uuid */
|
|
@@ -1708,6 +1802,15 @@ interface components {
|
|
|
1708
1802
|
roomId: string;
|
|
1709
1803
|
/** Format: date-time */
|
|
1710
1804
|
updatedAt: string;
|
|
1805
|
+
/** Format: uuid */
|
|
1806
|
+
updatedBy: string;
|
|
1807
|
+
/** @description id of the system event (timeline item) created by this action, if any */
|
|
1808
|
+
systemEventId?: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* Format: date-time
|
|
1811
|
+
* @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
|
|
1812
|
+
*/
|
|
1813
|
+
systemEventCreatedAt?: string;
|
|
1711
1814
|
} & {
|
|
1712
1815
|
/**
|
|
1713
1816
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1718,6 +1821,15 @@ interface components {
|
|
|
1718
1821
|
RoomPictureDeleted: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
1719
1822
|
/** Format: uuid */
|
|
1720
1823
|
roomId: string;
|
|
1824
|
+
/** Format: uuid */
|
|
1825
|
+
deletedBy: string;
|
|
1826
|
+
/** @description id of the system event (timeline item) created by this action, if any */
|
|
1827
|
+
systemEventId?: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* Format: date-time
|
|
1830
|
+
* @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
|
|
1831
|
+
*/
|
|
1832
|
+
systemEventCreatedAt?: string;
|
|
1721
1833
|
} & {
|
|
1722
1834
|
/**
|
|
1723
1835
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1735,6 +1847,11 @@ interface components {
|
|
|
1735
1847
|
addedBy: string;
|
|
1736
1848
|
/** @description id of the system event (timeline item) created by this action, if any */
|
|
1737
1849
|
systemEventId?: string;
|
|
1850
|
+
/**
|
|
1851
|
+
* Format: date-time
|
|
1852
|
+
* @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
|
|
1853
|
+
*/
|
|
1854
|
+
systemEventCreatedAt?: string;
|
|
1738
1855
|
} & {
|
|
1739
1856
|
/**
|
|
1740
1857
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1749,11 +1866,16 @@ interface components {
|
|
|
1749
1866
|
userId: string;
|
|
1750
1867
|
/**
|
|
1751
1868
|
* Format: uuid
|
|
1752
|
-
* @description user who removed the member (the member itself on leave
|
|
1869
|
+
* @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
1870
|
*/
|
|
1754
1871
|
removedBy?: string;
|
|
1755
1872
|
/** @description id of the system event (timeline item) created by this action, if any */
|
|
1756
1873
|
systemEventId?: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* Format: date-time
|
|
1876
|
+
* @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
|
|
1877
|
+
*/
|
|
1878
|
+
systemEventCreatedAt?: string;
|
|
1757
1879
|
} & {
|
|
1758
1880
|
/**
|
|
1759
1881
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1786,6 +1908,18 @@ interface components {
|
|
|
1786
1908
|
roomId: string;
|
|
1787
1909
|
/** Format: date-time */
|
|
1788
1910
|
clearedAt: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* Format: uuid
|
|
1913
|
+
* @description user who cleared the history for everyone; present only for TEMPORARY rooms, absent for the per-user clear
|
|
1914
|
+
*/
|
|
1915
|
+
clearedBy?: string;
|
|
1916
|
+
/** @description id of the ROOM_HISTORY_CLEARED system event (timeline item) created by this action; present only for TEMPORARY rooms */
|
|
1917
|
+
systemEventId?: string;
|
|
1918
|
+
/**
|
|
1919
|
+
* Format: date-time
|
|
1920
|
+
* @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
|
|
1921
|
+
*/
|
|
1922
|
+
systemEventCreatedAt?: string;
|
|
1789
1923
|
} & {
|
|
1790
1924
|
/**
|
|
1791
1925
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1798,6 +1932,11 @@ interface components {
|
|
|
1798
1932
|
meetingId: string;
|
|
1799
1933
|
/** Format: uuid */
|
|
1800
1934
|
roomId: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* Format: date-time
|
|
1937
|
+
* @description the meeting's createdAt, the same value REST returns
|
|
1938
|
+
*/
|
|
1939
|
+
createdAt: string;
|
|
1801
1940
|
} & {
|
|
1802
1941
|
/**
|
|
1803
1942
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1826,6 +1965,11 @@ interface components {
|
|
|
1826
1965
|
* @description UUID of the user who joined
|
|
1827
1966
|
*/
|
|
1828
1967
|
userId: string;
|
|
1968
|
+
/**
|
|
1969
|
+
* Format: date-time
|
|
1970
|
+
* @description the participant's joinedAt, the same value REST returns; published after the participant is stored
|
|
1971
|
+
*/
|
|
1972
|
+
joinedAt: string;
|
|
1829
1973
|
} & {
|
|
1830
1974
|
/**
|
|
1831
1975
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1838,6 +1982,7 @@ interface components {
|
|
|
1838
1982
|
meetingId: string;
|
|
1839
1983
|
/** Format: uuid */
|
|
1840
1984
|
userId: string;
|
|
1985
|
+
reason: components["schemas"]["MeetingParticipantLeftReason"];
|
|
1841
1986
|
} & {
|
|
1842
1987
|
/**
|
|
1843
1988
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1927,6 +2072,11 @@ interface components {
|
|
|
1927
2072
|
startedAt: string;
|
|
1928
2073
|
/** @description id of the system event (timeline item) created by this action, if any */
|
|
1929
2074
|
systemEventId?: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* Format: date-time
|
|
2077
|
+
* @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
|
|
2078
|
+
*/
|
|
2079
|
+
systemEventCreatedAt?: string;
|
|
1930
2080
|
} & {
|
|
1931
2081
|
/**
|
|
1932
2082
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1941,6 +2091,16 @@ interface components {
|
|
|
1941
2091
|
endedBy: string;
|
|
1942
2092
|
/** @description id of the system event (timeline item) created by this action, if any */
|
|
1943
2093
|
systemEventId?: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* Format: date-time
|
|
2096
|
+
* @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
|
|
2097
|
+
*/
|
|
2098
|
+
systemEventCreatedAt?: string;
|
|
2099
|
+
/**
|
|
2100
|
+
* Format: int64
|
|
2101
|
+
* @description durationSec of the MEETING_ENDED system event (whole seconds between the meeting's startedAt and the line's createdAt); present exactly when systemEventId is
|
|
2102
|
+
*/
|
|
2103
|
+
durationSec?: number;
|
|
1944
2104
|
} & {
|
|
1945
2105
|
/**
|
|
1946
2106
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2041,6 +2201,11 @@ interface components {
|
|
|
2041
2201
|
meetingId: string;
|
|
2042
2202
|
/** Format: uuid */
|
|
2043
2203
|
userId: string;
|
|
2204
|
+
/**
|
|
2205
|
+
* Format: date-time
|
|
2206
|
+
* @description the recording's startedAt, the same value REST returns as the meeting's recStartedAt
|
|
2207
|
+
*/
|
|
2208
|
+
startedAt: string;
|
|
2044
2209
|
} & {
|
|
2045
2210
|
/**
|
|
2046
2211
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2096,6 +2261,11 @@ interface components {
|
|
|
2096
2261
|
userId: string;
|
|
2097
2262
|
/** @description id of the system event (timeline item) created by this action, if any */
|
|
2098
2263
|
systemEventId?: string;
|
|
2264
|
+
/**
|
|
2265
|
+
* Format: date-time
|
|
2266
|
+
* @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
|
|
2267
|
+
*/
|
|
2268
|
+
systemEventCreatedAt?: string;
|
|
2099
2269
|
} & {
|
|
2100
2270
|
/**
|
|
2101
2271
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2103,6 +2273,29 @@ interface components {
|
|
|
2103
2273
|
*/
|
|
2104
2274
|
type: "meetingDeclined";
|
|
2105
2275
|
};
|
|
2276
|
+
MeetingParticipantUplinkStatusChanged: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
2277
|
+
/** Format: uuid */
|
|
2278
|
+
meetingId: string;
|
|
2279
|
+
/** Format: uuid */
|
|
2280
|
+
userId: string;
|
|
2281
|
+
/** @description tier-weighted network score, 0-10, or null when LOST */
|
|
2282
|
+
networkScore?: number | null;
|
|
2283
|
+
/**
|
|
2284
|
+
* Format: int64
|
|
2285
|
+
* @description client wall-clock (epoch ms) when this level was committed; latest wins per user
|
|
2286
|
+
*/
|
|
2287
|
+
changedAt: number;
|
|
2288
|
+
/** @description publisher webcam GCC tier (0=LOW, 1=MEDIUM, 2=HIGH); absent when not applicable */
|
|
2289
|
+
maxUplinkTier?: number | null;
|
|
2290
|
+
/** @description top rung the camera can physically produce (0=LOW, 1=MEDIUM, 2=HIGH); absent when not applicable */
|
|
2291
|
+
maxHardwareTier?: number | null;
|
|
2292
|
+
} & {
|
|
2293
|
+
/**
|
|
2294
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2295
|
+
* @enum {string}
|
|
2296
|
+
*/
|
|
2297
|
+
type: "meetingParticipantUplinkStatusChanged";
|
|
2298
|
+
};
|
|
2106
2299
|
WebsocketConnected: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
2107
2300
|
/** Format: uuid */
|
|
2108
2301
|
queueId: string;
|
|
@@ -2143,8 +2336,6 @@ interface components {
|
|
|
2143
2336
|
};
|
|
2144
2337
|
WsEvent: {
|
|
2145
2338
|
type: string;
|
|
2146
|
-
/** Format: date-time */
|
|
2147
|
-
sentDate: string;
|
|
2148
2339
|
};
|
|
2149
2340
|
MessageReceived: Omit<components["schemas"]["WsEvent"], "type"> & {
|
|
2150
2341
|
/** @default MessageReceived */
|
|
@@ -2190,7 +2381,10 @@ interface components {
|
|
|
2190
2381
|
messageId: string;
|
|
2191
2382
|
roomId: string;
|
|
2192
2383
|
deletedBy: string;
|
|
2193
|
-
/**
|
|
2384
|
+
/**
|
|
2385
|
+
* Format: date-time
|
|
2386
|
+
* @description the message's deletedAt, the same value REST returns in deletedInfo
|
|
2387
|
+
*/
|
|
2194
2388
|
deletedAt: string;
|
|
2195
2389
|
} & {
|
|
2196
2390
|
/**
|
|
@@ -2205,12 +2399,20 @@ interface components {
|
|
|
2205
2399
|
messageId: string;
|
|
2206
2400
|
roomId: string;
|
|
2207
2401
|
pinnedBy: string;
|
|
2208
|
-
/**
|
|
2402
|
+
/**
|
|
2403
|
+
* Format: date-time
|
|
2404
|
+
* @description the pin time: the room pin's pinnedAt returned by REST, equal to systemEventCreatedAt
|
|
2405
|
+
*/
|
|
2209
2406
|
timestamp: string;
|
|
2210
2407
|
/** @description the pinned message, same shape as a timeline message; a reply carries replyToId/repliedMessage only when the original is visible to the recipient */
|
|
2211
2408
|
message: components["schemas"]["TimelineMessage"];
|
|
2212
2409
|
/** @description id of the system event (timeline item) created by this action, if any */
|
|
2213
2410
|
systemEventId?: string;
|
|
2411
|
+
/**
|
|
2412
|
+
* Format: date-time
|
|
2413
|
+
* @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
|
|
2414
|
+
*/
|
|
2415
|
+
systemEventCreatedAt?: string;
|
|
2214
2416
|
} & {
|
|
2215
2417
|
/**
|
|
2216
2418
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2224,10 +2426,18 @@ interface components {
|
|
|
2224
2426
|
messageId: string;
|
|
2225
2427
|
roomId: string;
|
|
2226
2428
|
unpinnedBy: string;
|
|
2227
|
-
/**
|
|
2429
|
+
/**
|
|
2430
|
+
* Format: date-time
|
|
2431
|
+
* @description the unpin time, equal to systemEventCreatedAt of the MESSAGE_UNPINNED system event
|
|
2432
|
+
*/
|
|
2228
2433
|
timestamp: string;
|
|
2229
2434
|
/** @description id of the system event (timeline item) created by this action, if any */
|
|
2230
2435
|
systemEventId?: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* Format: date-time
|
|
2438
|
+
* @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
|
|
2439
|
+
*/
|
|
2440
|
+
systemEventCreatedAt?: string;
|
|
2231
2441
|
} & {
|
|
2232
2442
|
/**
|
|
2233
2443
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2241,8 +2451,25 @@ interface components {
|
|
|
2241
2451
|
messageId: string;
|
|
2242
2452
|
roomId: string;
|
|
2243
2453
|
userId: string;
|
|
2454
|
+
/** @description the new emoji on added/updated, the removed emoji on removed */
|
|
2244
2455
|
reaction: string;
|
|
2245
|
-
|
|
2456
|
+
/**
|
|
2457
|
+
* @description added: the user had no reaction; updated: the user replaced a different reaction (previousReaction); removed: the user removed it. One event per write.
|
|
2458
|
+
* @enum {string}
|
|
2459
|
+
*/
|
|
2460
|
+
operation: "added" | "updated" | "removed";
|
|
2461
|
+
/** @description the replaced emoji, only on updated */
|
|
2462
|
+
previousReaction?: string;
|
|
2463
|
+
/**
|
|
2464
|
+
* Format: date-time
|
|
2465
|
+
* @description the reaction's updatedAt, the same value REST returns; on added and updated
|
|
2466
|
+
*/
|
|
2467
|
+
updatedAt?: string;
|
|
2468
|
+
/**
|
|
2469
|
+
* Format: date-time
|
|
2470
|
+
* @description database time of the removal, not stored; only on removed
|
|
2471
|
+
*/
|
|
2472
|
+
deletedAt?: string;
|
|
2246
2473
|
} & {
|
|
2247
2474
|
/**
|
|
2248
2475
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2290,9 +2517,11 @@ interface components {
|
|
|
2290
2517
|
type: string;
|
|
2291
2518
|
roomId: string;
|
|
2292
2519
|
userId: string;
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2520
|
+
/**
|
|
2521
|
+
* @description started while the user is typing, stopped when they stop. The server relays any other value sent by a client as started. Best-effort: hide the indicator after about 7 seconds without a new started.
|
|
2522
|
+
* @enum {string}
|
|
2523
|
+
*/
|
|
2524
|
+
status: "started" | "stopped";
|
|
2296
2525
|
} & {
|
|
2297
2526
|
/**
|
|
2298
2527
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2345,9 +2574,17 @@ interface components {
|
|
|
2345
2574
|
size: number;
|
|
2346
2575
|
area?: string | null;
|
|
2347
2576
|
};
|
|
2577
|
+
ReactionUser: {
|
|
2578
|
+
userId: string;
|
|
2579
|
+
/**
|
|
2580
|
+
* Format: date-time
|
|
2581
|
+
* @description database time of the last set of this reaction (insert or replace)
|
|
2582
|
+
*/
|
|
2583
|
+
updatedAt: string;
|
|
2584
|
+
};
|
|
2348
2585
|
ReactionGroup: {
|
|
2349
2586
|
reaction: string;
|
|
2350
|
-
|
|
2587
|
+
users: components["schemas"]["ReactionUser"][];
|
|
2351
2588
|
};
|
|
2352
2589
|
/** @description A message within a timeline item */
|
|
2353
2590
|
TimelineMessage: {
|
|
@@ -2363,7 +2600,7 @@ interface components {
|
|
|
2363
2600
|
forwardedInfo?: components["schemas"]["ForwardedInfo"];
|
|
2364
2601
|
attachment?: components["schemas"]["MessageAttachment"];
|
|
2365
2602
|
reactions?: components["schemas"]["ReactionGroup"][];
|
|
2366
|
-
/** @description The full message this one replies to, embedded depth-1 (the embedded message never carries its own repliedMessage). Absent when the message is not a reply or when the original is not visible to the caller (
|
|
2603
|
+
/** @description The full message this one replies to, embedded depth-1 (the embedded message never carries its own repliedMessage). Absent when the message is not a reply or when the original is not visible to the caller (created at or before the caller's cleared-history instant, or hard-removed). */
|
|
2367
2604
|
repliedMessage?: components["schemas"]["TimelineMessage"];
|
|
2368
2605
|
};
|
|
2369
2606
|
};
|
|
@@ -2374,4 +2611,4 @@ interface components {
|
|
|
2374
2611
|
pathItems: never;
|
|
2375
2612
|
}
|
|
2376
2613
|
|
|
2377
|
-
export type { FetchLike as F, HttpMethod as H, Logger as L, RequestInitLike as R, VersionStore as V, WireMessage as W, HttpPorts as a, WireInboxEntry as b, components as c, WireSystemEvent as d, WireReadMarker as e, WireTimelineMessage as f, WirePresenceStatus as g, WireTimeline as h, HeadersLike as i, ResponseLike as j, WireInboxMember as k, WireInboxResponse as l, WireInboxRoom as m, WireMessageSearchResult as n, WirePinnedMessage as o, WireTimelineItem as p };
|
|
2614
|
+
export type { AbortSignalLike as A, FetchLike as F, HttpMethod as H, Logger as L, RequestInitLike as R, VersionStore as V, WireMessage as W, HttpPorts as a, WireInboxEntry as b, components as c, WireSystemEvent as d, WireReadMarker as e, WireTimelineMessage as f, WirePresenceStatus as g, WireTimeline as h, HeadersLike as i, ResponseLike as j, WireInboxMember as k, WireInboxResponse as l, WireInboxRoom as m, WireMessageSearchResult as n, WirePinnedMessage as o, WireTimelineItem as p };
|