@zextras/carbonio-ws-collaboration-ui-sdk 0.6.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-DCETfyZY.d.cts → asyncapi-B8fJWyes.d.cts} +208 -52
- package/dist/{asyncapi-DCETfyZY.d.ts → asyncapi-B8fJWyes.d.ts} +208 -52
- package/dist/index.cjs +810 -292
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +425 -166
- package/dist/index.d.ts +425 -166
- package/dist/index.js +800 -292
- package/dist/index.js.map +1 -1
- package/dist/testing/index.cjs +41 -33
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +7 -4
- package/dist/testing/index.d.ts +7 -4
- package/dist/testing/index.js +39 -32
- package/dist/testing/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ const http = createHttpClient({
|
|
|
46
46
|
const inbox = await http.request<InboxResponse>('inbox', 'GET');
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
The 422 renegotiation mirrors the behavior already in production in both apps (and fixes the mobile bug where the retry counter was never incremented). The SDK changes version **only** through the 422 path; `onServerVersion` reports the version header of every response so the app façade can detect a runtime backend switch and re-init the chat stack.
|
|
49
|
+
The 422 renegotiation mirrors the behavior already in production in both apps (and fixes the mobile bug where the retry counter was never incremented), except that a server version missing from the supported list falls back to the highest listed version not above it instead of failing. The SDK changes version **only** through the 422 path; `onServerVersion` reports the version header of every response so the app façade can detect a runtime backend switch and re-init the chat stack.
|
|
50
50
|
|
|
51
51
|
## Commands
|
|
52
52
|
|
|
@@ -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,33 +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;
|
|
1664
|
-
description: string;
|
|
1665
1729
|
/** Format: uuid */
|
|
1666
1730
|
updatedBy: string;
|
|
1667
|
-
/** @description id of the ROOM_NAME_CHANGED system event (timeline item)
|
|
1668
|
-
|
|
1731
|
+
/** @description id of the ROOM_NAME_CHANGED system event (timeline item) written by this change */
|
|
1732
|
+
systemEventId: string;
|
|
1669
1733
|
/**
|
|
1670
1734
|
* Format: date-time
|
|
1671
|
-
* @description createdAt of the
|
|
1735
|
+
* @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets
|
|
1672
1736
|
*/
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
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 */
|
|
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;
|
|
1676
1754
|
/**
|
|
1677
1755
|
* Format: date-time
|
|
1678
|
-
* @description createdAt of the
|
|
1756
|
+
* @description createdAt of the systemEventId system event: the timeline item's createdAt and the itemCreatedAt a read marker on it gets
|
|
1679
1757
|
*/
|
|
1680
|
-
|
|
1758
|
+
systemEventCreatedAt: string;
|
|
1681
1759
|
} & {
|
|
1682
1760
|
/**
|
|
1683
1761
|
* @description discriminator enum property added by openapi-typescript
|
|
1684
1762
|
* @enum {string}
|
|
1685
1763
|
*/
|
|
1686
|
-
type: "
|
|
1764
|
+
type: "roomDescriptionChanged";
|
|
1687
1765
|
};
|
|
1688
1766
|
RoomDeleted: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
1689
1767
|
/** Format: uuid */
|
|
@@ -1854,6 +1932,11 @@ interface components {
|
|
|
1854
1932
|
meetingId: string;
|
|
1855
1933
|
/** Format: uuid */
|
|
1856
1934
|
roomId: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* Format: date-time
|
|
1937
|
+
* @description the meeting's createdAt, the same value REST returns
|
|
1938
|
+
*/
|
|
1939
|
+
createdAt: string;
|
|
1857
1940
|
} & {
|
|
1858
1941
|
/**
|
|
1859
1942
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1882,6 +1965,11 @@ interface components {
|
|
|
1882
1965
|
* @description UUID of the user who joined
|
|
1883
1966
|
*/
|
|
1884
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;
|
|
1885
1973
|
} & {
|
|
1886
1974
|
/**
|
|
1887
1975
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1894,6 +1982,7 @@ interface components {
|
|
|
1894
1982
|
meetingId: string;
|
|
1895
1983
|
/** Format: uuid */
|
|
1896
1984
|
userId: string;
|
|
1985
|
+
reason: components["schemas"]["MeetingParticipantLeftReason"];
|
|
1897
1986
|
} & {
|
|
1898
1987
|
/**
|
|
1899
1988
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2007,6 +2096,11 @@ interface components {
|
|
|
2007
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
|
|
2008
2097
|
*/
|
|
2009
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;
|
|
2010
2104
|
} & {
|
|
2011
2105
|
/**
|
|
2012
2106
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2107,6 +2201,11 @@ interface components {
|
|
|
2107
2201
|
meetingId: string;
|
|
2108
2202
|
/** Format: uuid */
|
|
2109
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;
|
|
2110
2209
|
} & {
|
|
2111
2210
|
/**
|
|
2112
2211
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2174,6 +2273,29 @@ interface components {
|
|
|
2174
2273
|
*/
|
|
2175
2274
|
type: "meetingDeclined";
|
|
2176
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
|
+
};
|
|
2177
2299
|
WebsocketConnected: Omit<components["schemas"]["DomainEvent"], "type"> & {
|
|
2178
2300
|
/** Format: uuid */
|
|
2179
2301
|
queueId: string;
|
|
@@ -2214,8 +2336,6 @@ interface components {
|
|
|
2214
2336
|
};
|
|
2215
2337
|
WsEvent: {
|
|
2216
2338
|
type: string;
|
|
2217
|
-
/** Format: date-time */
|
|
2218
|
-
sentDate: string;
|
|
2219
2339
|
};
|
|
2220
2340
|
MessageReceived: Omit<components["schemas"]["WsEvent"], "type"> & {
|
|
2221
2341
|
/** @default MessageReceived */
|
|
@@ -2261,7 +2381,10 @@ interface components {
|
|
|
2261
2381
|
messageId: string;
|
|
2262
2382
|
roomId: string;
|
|
2263
2383
|
deletedBy: string;
|
|
2264
|
-
/**
|
|
2384
|
+
/**
|
|
2385
|
+
* Format: date-time
|
|
2386
|
+
* @description the message's deletedAt, the same value REST returns in deletedInfo
|
|
2387
|
+
*/
|
|
2265
2388
|
deletedAt: string;
|
|
2266
2389
|
} & {
|
|
2267
2390
|
/**
|
|
@@ -2276,7 +2399,10 @@ interface components {
|
|
|
2276
2399
|
messageId: string;
|
|
2277
2400
|
roomId: string;
|
|
2278
2401
|
pinnedBy: string;
|
|
2279
|
-
/**
|
|
2402
|
+
/**
|
|
2403
|
+
* Format: date-time
|
|
2404
|
+
* @description the pin time: the room pin's pinnedAt returned by REST, equal to systemEventCreatedAt
|
|
2405
|
+
*/
|
|
2280
2406
|
timestamp: string;
|
|
2281
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 */
|
|
2282
2408
|
message: components["schemas"]["TimelineMessage"];
|
|
@@ -2300,7 +2426,10 @@ interface components {
|
|
|
2300
2426
|
messageId: string;
|
|
2301
2427
|
roomId: string;
|
|
2302
2428
|
unpinnedBy: string;
|
|
2303
|
-
/**
|
|
2429
|
+
/**
|
|
2430
|
+
* Format: date-time
|
|
2431
|
+
* @description the unpin time, equal to systemEventCreatedAt of the MESSAGE_UNPINNED system event
|
|
2432
|
+
*/
|
|
2304
2433
|
timestamp: string;
|
|
2305
2434
|
/** @description id of the system event (timeline item) created by this action, if any */
|
|
2306
2435
|
systemEventId?: string;
|
|
@@ -2322,8 +2451,25 @@ interface components {
|
|
|
2322
2451
|
messageId: string;
|
|
2323
2452
|
roomId: string;
|
|
2324
2453
|
userId: string;
|
|
2454
|
+
/** @description the new emoji on added/updated, the removed emoji on removed */
|
|
2325
2455
|
reaction: string;
|
|
2326
|
-
|
|
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;
|
|
2327
2473
|
} & {
|
|
2328
2474
|
/**
|
|
2329
2475
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2371,9 +2517,11 @@ interface components {
|
|
|
2371
2517
|
type: string;
|
|
2372
2518
|
roomId: string;
|
|
2373
2519
|
userId: string;
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
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";
|
|
2377
2525
|
} & {
|
|
2378
2526
|
/**
|
|
2379
2527
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2426,9 +2574,17 @@ interface components {
|
|
|
2426
2574
|
size: number;
|
|
2427
2575
|
area?: string | null;
|
|
2428
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
|
+
};
|
|
2429
2585
|
ReactionGroup: {
|
|
2430
2586
|
reaction: string;
|
|
2431
|
-
|
|
2587
|
+
users: components["schemas"]["ReactionUser"][];
|
|
2432
2588
|
};
|
|
2433
2589
|
/** @description A message within a timeline item */
|
|
2434
2590
|
TimelineMessage: {
|
|
@@ -2444,7 +2600,7 @@ interface components {
|
|
|
2444
2600
|
forwardedInfo?: components["schemas"]["ForwardedInfo"];
|
|
2445
2601
|
attachment?: components["schemas"]["MessageAttachment"];
|
|
2446
2602
|
reactions?: components["schemas"]["ReactionGroup"][];
|
|
2447
|
-
/** @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). */
|
|
2448
2604
|
repliedMessage?: components["schemas"]["TimelineMessage"];
|
|
2449
2605
|
};
|
|
2450
2606
|
};
|
|
@@ -2455,4 +2611,4 @@ interface components {
|
|
|
2455
2611
|
pathItems: never;
|
|
2456
2612
|
}
|
|
2457
2613
|
|
|
2458
|
-
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 };
|