diff --git a/openapi-administration.json b/openapi-administration.json index f97be4ed9d56..5455b67bdeb8 100644 --- a/openapi-administration.json +++ b/openapi-administration.json @@ -42,7 +42,12 @@ }, "state": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] } } }, @@ -68,7 +73,13 @@ }, "features": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "last_error_date": { "type": "integer", @@ -204,14 +215,22 @@ }, "read-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "has-translation-providers": { "type": "boolean" }, "typing-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] } } }, diff --git a/openapi-backend-recording.json b/openapi-backend-recording.json index 44b0eb6f6151..9edb58622c9a 100644 --- a/openapi-backend-recording.json +++ b/openapi-backend-recording.json @@ -137,14 +137,22 @@ }, "read-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "has-translation-providers": { "type": "boolean" }, "typing-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] } } }, diff --git a/openapi-backend-signaling.json b/openapi-backend-signaling.json index f75b47f01f3a..80f04e3bc588 100644 --- a/openapi-backend-signaling.json +++ b/openapi-backend-signaling.json @@ -137,14 +137,22 @@ }, "read-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "has-translation-providers": { "type": "boolean" }, "typing-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] } } }, diff --git a/openapi-backend-sipbridge.json b/openapi-backend-sipbridge.json index a01946ed84ea..c597b56dfdd9 100644 --- a/openapi-backend-sipbridge.json +++ b/openapi-backend-sipbridge.json @@ -63,6 +63,12 @@ } } }, + "CallFlags": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 15 + }, "Capabilities": { "type": "object", "required": [ @@ -180,14 +186,22 @@ }, "read-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "has-translation-providers": { "type": "boolean" }, "typing-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] } } }, @@ -371,6 +385,24 @@ } } }, + "ParticipantTypes": { + "type": "integer", + "format": "int64", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Permissions": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 255 + }, "PublicCapabilities": { "oneOf": [ { @@ -565,8 +597,7 @@ "format": "int64" }, "attendeePermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "attendeePin": { "type": "string", @@ -577,23 +608,34 @@ }, "breakoutRoomMode": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "breakoutRoomStatus": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "callFlag": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "callPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "callRecording": { "type": "integer", - "format": "int64" + "format": "int64", + "minimum": 0, + "maximum": 5 }, "callStartTime": { "type": "integer", @@ -612,8 +654,7 @@ "type": "boolean" }, "defaultPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "description": { "type": "string" @@ -666,11 +707,20 @@ }, "listable": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "lobbyState": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "lobbyTimer": { "type": "integer", @@ -678,7 +728,11 @@ }, "mentionPermissions": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "messageExpiration": { "type": "integer", @@ -689,11 +743,21 @@ }, "notificationCalls": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "notificationLevel": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "objectId": { "type": "string" @@ -702,34 +766,53 @@ "type": "string" }, "participantFlags": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "participantType": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/ParticipantTypes" }, "permissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "readOnly": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "recordingConsent": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "sessionId": { "type": "string" }, "sipEnabled": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "status": { - "type": "string" + "type": "string", + "enum": [ + "online", + "away", + "dnd", + "busy", + "offline", + "invisible" + ] }, "statusClearAt": { "type": "integer", @@ -748,8 +831,7 @@ "type": "string" }, "type": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/RoomTypes" }, "unreadMention": { "type": "boolean" @@ -772,6 +854,18 @@ "$ref": "#/components/schemas/ChatProxyMessage" } ] + }, + "RoomTypes": { + "type": "integer", + "format": "int64", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] } } }, diff --git a/openapi-bots.json b/openapi-bots.json index e861244d9b13..7bf2c163169b 100644 --- a/openapi-bots.json +++ b/openapi-bots.json @@ -137,14 +137,22 @@ }, "read-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "has-translation-providers": { "type": "boolean" }, "typing-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] } } }, diff --git a/openapi-federation.json b/openapi-federation.json index 1cc8deaacb31..c7bbe2c5ef9f 100644 --- a/openapi-federation.json +++ b/openapi-federation.json @@ -63,6 +63,12 @@ } } }, + "CallFlags": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 15 + }, "Capabilities": { "type": "object", "required": [ @@ -180,14 +186,22 @@ }, "read-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "has-translation-providers": { "type": "boolean" }, "typing-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] } } }, @@ -369,7 +383,11 @@ }, "state": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "localCloudId": { "type": "string" @@ -425,6 +443,24 @@ } } }, + "ParticipantTypes": { + "type": "integer", + "format": "int64", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Permissions": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 255 + }, "PublicCapabilities": { "oneOf": [ { @@ -619,8 +655,7 @@ "format": "int64" }, "attendeePermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "attendeePin": { "type": "string", @@ -631,23 +666,34 @@ }, "breakoutRoomMode": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "breakoutRoomStatus": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "callFlag": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "callPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "callRecording": { "type": "integer", - "format": "int64" + "format": "int64", + "minimum": 0, + "maximum": 5 }, "callStartTime": { "type": "integer", @@ -666,8 +712,7 @@ "type": "boolean" }, "defaultPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "description": { "type": "string" @@ -720,11 +765,20 @@ }, "listable": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "lobbyState": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "lobbyTimer": { "type": "integer", @@ -732,7 +786,11 @@ }, "mentionPermissions": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "messageExpiration": { "type": "integer", @@ -743,11 +801,21 @@ }, "notificationCalls": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "notificationLevel": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "objectId": { "type": "string" @@ -756,34 +824,53 @@ "type": "string" }, "participantFlags": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "participantType": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/ParticipantTypes" }, "permissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "readOnly": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "recordingConsent": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "sessionId": { "type": "string" }, "sipEnabled": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "status": { - "type": "string" + "type": "string", + "enum": [ + "online", + "away", + "dnd", + "busy", + "offline", + "invisible" + ] }, "statusClearAt": { "type": "integer", @@ -802,8 +889,7 @@ "type": "string" }, "type": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/RoomTypes" }, "unreadMention": { "type": "boolean" @@ -826,6 +912,18 @@ "$ref": "#/components/schemas/ChatProxyMessage" } ] + }, + "RoomTypes": { + "type": "integer", + "format": "int64", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] } } }, diff --git a/openapi-full.json b/openapi-full.json index 2f2b1b90a4e4..e41e5aa51e88 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -130,7 +130,12 @@ }, "state": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] } } }, @@ -156,7 +161,13 @@ }, "features": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "last_error_date": { "type": "integer", @@ -193,6 +204,12 @@ } ] }, + "CallFlags": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 15 + }, "CallPeer": { "type": "object", "required": [ @@ -342,14 +359,22 @@ }, "read-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "has-translation-providers": { "type": "boolean" }, "typing-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] } } }, @@ -436,12 +461,7 @@ "id", "label", "source", - "mentionId", - "details", - "status", - "statusClearAt", - "statusIcon", - "statusMessage" + "mentionId" ], "properties": { "id": { @@ -457,12 +477,18 @@ "type": "string" }, "details": { - "type": "string", - "nullable": true + "type": "string" }, "status": { "type": "string", - "nullable": true + "enum": [ + "online", + "away", + "dnd", + "busy", + "offline", + "invisible" + ] }, "statusClearAt": { "type": "integer", @@ -620,7 +646,11 @@ }, "state": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "localCloudId": { "type": "string" @@ -758,8 +788,7 @@ "format": "int64" }, "attendeePermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "attendeePin": { "type": "string" @@ -768,20 +797,17 @@ "type": "string" }, "inCall": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "lastPing": { "type": "integer", "format": "int64" }, "participantType": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/ParticipantTypes" }, "permissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "roomToken": { "type": "string" @@ -793,7 +819,15 @@ } }, "status": { - "type": "string" + "type": "string", + "enum": [ + "online", + "away", + "dnd", + "busy", + "offline", + "invisible" + ] }, "statusClearAt": { "type": "integer", @@ -818,6 +852,24 @@ } } }, + "ParticipantTypes": { + "type": "integer", + "format": "int64", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Permissions": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 255 + }, "Poll": { "type": "object", "required": [ @@ -870,11 +922,19 @@ }, "resultMode": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "status": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "votedSelf": { "type": "array", @@ -1134,8 +1194,7 @@ "format": "int64" }, "attendeePermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "attendeePin": { "type": "string", @@ -1146,23 +1205,34 @@ }, "breakoutRoomMode": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "breakoutRoomStatus": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "callFlag": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "callPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "callRecording": { "type": "integer", - "format": "int64" + "format": "int64", + "minimum": 0, + "maximum": 5 }, "callStartTime": { "type": "integer", @@ -1181,8 +1251,7 @@ "type": "boolean" }, "defaultPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "description": { "type": "string" @@ -1235,11 +1304,20 @@ }, "listable": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "lobbyState": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "lobbyTimer": { "type": "integer", @@ -1247,7 +1325,11 @@ }, "mentionPermissions": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "messageExpiration": { "type": "integer", @@ -1258,11 +1340,21 @@ }, "notificationCalls": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "notificationLevel": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "objectId": { "type": "string" @@ -1271,34 +1363,53 @@ "type": "string" }, "participantFlags": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "participantType": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/ParticipantTypes" }, "permissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "readOnly": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "recordingConsent": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "sessionId": { "type": "string" }, "sipEnabled": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "status": { - "type": "string" + "type": "string", + "enum": [ + "online", + "away", + "dnd", + "busy", + "offline", + "invisible" + ] }, "statusClearAt": { "type": "integer", @@ -1317,8 +1428,7 @@ "type": "string" }, "type": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/RoomTypes" }, "unreadMention": { "type": "boolean" @@ -1342,6 +1452,18 @@ } ] }, + "RoomTypes": { + "type": "integer", + "format": "int64", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, "SignalingSession": { "type": "object", "required": [ @@ -1354,16 +1476,14 @@ ], "properties": { "inCall": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "lastPing": { "type": "integer", "format": "int64" }, "participantPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "roomId": { "type": "integer", diff --git a/openapi.json b/openapi.json index 3c08d8beb51e..9a2ef5b9108b 100644 --- a/openapi.json +++ b/openapi.json @@ -130,10 +130,21 @@ }, "state": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] } } }, + "CallFlags": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 15 + }, "CallPeer": { "type": "object", "required": [ @@ -283,14 +294,22 @@ }, "read-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "has-translation-providers": { "type": "boolean" }, "typing-privacy": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] } } }, @@ -377,12 +396,7 @@ "id", "label", "source", - "mentionId", - "details", - "status", - "statusClearAt", - "statusIcon", - "statusMessage" + "mentionId" ], "properties": { "id": { @@ -398,12 +412,18 @@ "type": "string" }, "details": { - "type": "string", - "nullable": true + "type": "string" }, "status": { "type": "string", - "nullable": true + "enum": [ + "online", + "away", + "dnd", + "busy", + "offline", + "invisible" + ] }, "statusClearAt": { "type": "integer", @@ -645,8 +665,7 @@ "format": "int64" }, "attendeePermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "attendeePin": { "type": "string" @@ -655,20 +674,17 @@ "type": "string" }, "inCall": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "lastPing": { "type": "integer", "format": "int64" }, "participantType": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/ParticipantTypes" }, "permissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "roomToken": { "type": "string" @@ -680,7 +696,15 @@ } }, "status": { - "type": "string" + "type": "string", + "enum": [ + "online", + "away", + "dnd", + "busy", + "offline", + "invisible" + ] }, "statusClearAt": { "type": "integer", @@ -705,6 +729,24 @@ } } }, + "ParticipantTypes": { + "type": "integer", + "format": "int64", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "Permissions": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 255 + }, "Poll": { "type": "object", "required": [ @@ -757,11 +799,19 @@ }, "resultMode": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "status": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "votedSelf": { "type": "array", @@ -1021,8 +1071,7 @@ "format": "int64" }, "attendeePermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "attendeePin": { "type": "string", @@ -1033,23 +1082,34 @@ }, "breakoutRoomMode": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "breakoutRoomStatus": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "callFlag": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "callPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "callRecording": { "type": "integer", - "format": "int64" + "format": "int64", + "minimum": 0, + "maximum": 5 }, "callStartTime": { "type": "integer", @@ -1068,8 +1128,7 @@ "type": "boolean" }, "defaultPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "description": { "type": "string" @@ -1122,11 +1181,20 @@ }, "listable": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "lobbyState": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "lobbyTimer": { "type": "integer", @@ -1134,7 +1202,11 @@ }, "mentionPermissions": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "messageExpiration": { "type": "integer", @@ -1145,11 +1217,21 @@ }, "notificationCalls": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "notificationLevel": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3 + ] }, "objectId": { "type": "string" @@ -1158,34 +1240,53 @@ "type": "string" }, "participantFlags": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "participantType": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/ParticipantTypes" }, "permissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "readOnly": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "recordingConsent": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "sessionId": { "type": "string" }, "sipEnabled": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2 + ] }, "status": { - "type": "string" + "type": "string", + "enum": [ + "online", + "away", + "dnd", + "busy", + "offline", + "invisible" + ] }, "statusClearAt": { "type": "integer", @@ -1204,8 +1305,7 @@ "type": "string" }, "type": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/RoomTypes" }, "unreadMention": { "type": "boolean" @@ -1229,6 +1329,18 @@ } ] }, + "RoomTypes": { + "type": "integer", + "format": "int64", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, "SignalingSession": { "type": "object", "required": [ @@ -1241,16 +1353,14 @@ ], "properties": { "inCall": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/CallFlags" }, "lastPing": { "type": "integer", "format": "int64" }, "participantPermissions": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/Permissions" }, "roomId": { "type": "integer", diff --git a/src/types/openapi/openapi-administration.ts b/src/types/openapi/openapi-administration.ts index 26e8966d3e5f..01bf981f6af6 100644 --- a/src/types/openapi/openapi-administration.ts +++ b/src/types/openapi/openapi-administration.ts @@ -194,14 +194,20 @@ export type components = { /** Format: int64 */ id: number; name: string; - /** Format: int64 */ - state: number; + /** + * Format: int64 + * @enum {integer} + */ + state: 0 | 1 | 2; }; BotWithDetails: components["schemas"]["Bot"] & { /** Format: int64 */ error_count: number; - /** Format: int64 */ - features: number; + /** + * Format: int64 + * @enum {integer} + */ + features: 0 | 1 | 2 | 3; /** Format: int64 */ last_error_date: number; last_error_message: string; @@ -232,11 +238,17 @@ export type components = { chat: { /** Format: int64 */ "max-length": number; - /** Format: int64 */ - "read-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "read-privacy": 0 | 1; "has-translation-providers": boolean; - /** Format: int64 */ - "typing-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "typing-privacy": 0 | 1; }; conversations: { "can-create": boolean; diff --git a/src/types/openapi/openapi-backend-recording.ts b/src/types/openapi/openapi-backend-recording.ts index 44a855289f23..9b9594aede51 100644 --- a/src/types/openapi/openapi-backend-recording.ts +++ b/src/types/openapi/openapi-backend-recording.ts @@ -66,11 +66,17 @@ export type components = { chat: { /** Format: int64 */ "max-length": number; - /** Format: int64 */ - "read-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "read-privacy": 0 | 1; "has-translation-providers": boolean; - /** Format: int64 */ - "typing-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "typing-privacy": 0 | 1; }; conversations: { "can-create": boolean; diff --git a/src/types/openapi/openapi-backend-signaling.ts b/src/types/openapi/openapi-backend-signaling.ts index 15828c91435e..f11bb4b7b4e1 100644 --- a/src/types/openapi/openapi-backend-signaling.ts +++ b/src/types/openapi/openapi-backend-signaling.ts @@ -52,11 +52,17 @@ export type components = { chat: { /** Format: int64 */ "max-length": number; - /** Format: int64 */ - "read-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "read-privacy": 0 | 1; "has-translation-providers": boolean; - /** Format: int64 */ - "typing-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "typing-privacy": 0 | 1; }; conversations: { "can-create": boolean; diff --git a/src/types/openapi/openapi-backend-sipbridge.ts b/src/types/openapi/openapi-backend-sipbridge.ts index 503d32e7126a..ff74d3392ddc 100644 --- a/src/types/openapi/openapi-backend-sipbridge.ts +++ b/src/types/openapi/openapi-backend-sipbridge.ts @@ -123,6 +123,8 @@ export type components = { messageType: string; systemMessage: string; }; + /** Format: int64 */ + CallFlags: number; Capabilities: { features: string[]; "features-local": string[]; @@ -147,11 +149,17 @@ export type components = { chat: { /** Format: int64 */ "max-length": number; - /** Format: int64 */ - "read-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "read-privacy": 0 | 1; "has-translation-providers": boolean; - /** Format: int64 */ - "typing-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "typing-privacy": 0 | 1; }; conversations: { "can-create": boolean; @@ -207,6 +215,13 @@ export type components = { totalitems?: string; itemsperpage?: string; }; + /** + * Format: int64 + * @enum {integer} + */ + ParticipantTypes: 1 | 2 | 3 | 4 | 5 | 6; + /** Format: int64 */ + Permissions: number; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; } | unknown[]; @@ -248,18 +263,21 @@ export type components = { actorType: string; /** Format: int64 */ attendeeId: number; - /** Format: int64 */ - attendeePermissions: number; + attendeePermissions: components["schemas"]["Permissions"]; attendeePin: string | null; avatarVersion: string; - /** Format: int64 */ - breakoutRoomMode: number; - /** Format: int64 */ - breakoutRoomStatus: number; - /** Format: int64 */ - callFlag: number; - /** Format: int64 */ - callPermissions: number; + /** + * Format: int64 + * @enum {integer} + */ + breakoutRoomMode: 0 | 1 | 2 | 3; + /** + * Format: int64 + * @enum {integer} + */ + breakoutRoomStatus: 0 | 1 | 2; + callFlag: components["schemas"]["CallFlags"]; + callPermissions: components["schemas"]["Permissions"]; /** Format: int64 */ callRecording: number; /** Format: int64 */ @@ -268,8 +286,7 @@ export type components = { canEnableSIP: boolean; canLeaveConversation: boolean; canStartCall: boolean; - /** Format: int64 */ - defaultPermissions: number; + defaultPermissions: components["schemas"]["Permissions"]; description: string; displayName: string; hasCall: boolean; @@ -287,50 +304,76 @@ export type components = { lastPing: number; /** Format: int64 */ lastReadMessage: number; - /** Format: int64 */ - listable: number; - /** Format: int64 */ - lobbyState: number; + /** + * Format: int64 + * @enum {integer} + */ + listable: 0 | 1 | 2; + /** + * Format: int64 + * @enum {integer} + */ + lobbyState: 0 | 1; /** Format: int64 */ lobbyTimer: number; - /** Format: int64 */ - mentionPermissions: number; + /** + * Format: int64 + * @enum {integer} + */ + mentionPermissions: 0 | 1; /** Format: int64 */ messageExpiration: number; name: string; - /** Format: int64 */ - notificationCalls: number; - /** Format: int64 */ - notificationLevel: number; + /** + * Format: int64 + * @enum {integer} + */ + notificationCalls: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + notificationLevel: 0 | 1 | 2 | 3; objectId: string; objectType: string; - /** Format: int64 */ - participantFlags: number; - /** Format: int64 */ - participantType: number; - /** Format: int64 */ - permissions: number; - /** Format: int64 */ - readOnly: number; - /** Format: int64 */ - recordingConsent: number; + participantFlags: components["schemas"]["CallFlags"]; + participantType: components["schemas"]["ParticipantTypes"]; + permissions: components["schemas"]["Permissions"]; + /** + * Format: int64 + * @enum {integer} + */ + readOnly: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + recordingConsent: 0 | 1 | 2; sessionId: string; - /** Format: int64 */ - sipEnabled: number; - status?: string; + /** + * Format: int64 + * @enum {integer} + */ + sipEnabled: 0 | 1 | 2; + /** @enum {string} */ + status?: "online" | "away" | "dnd" | "busy" | "offline" | "invisible"; /** Format: int64 */ statusClearAt?: number | null; statusIcon?: string | null; statusMessage?: string | null; token: string; - /** Format: int64 */ - type: number; + type: components["schemas"]["RoomTypes"]; unreadMention: boolean; unreadMentionDirect: boolean; /** Format: int64 */ unreadMessages: number; }; RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["ChatProxyMessage"]; + /** + * Format: int64 + * @enum {integer} + */ + RoomTypes: 1 | 2 | 3 | 4 | 5 | 6; }; responses: never; parameters: never; diff --git a/src/types/openapi/openapi-bots.ts b/src/types/openapi/openapi-bots.ts index 9d81ad30d28b..b8ac3d49d4dc 100644 --- a/src/types/openapi/openapi-bots.ts +++ b/src/types/openapi/openapi-bots.ts @@ -70,11 +70,17 @@ export type components = { chat: { /** Format: int64 */ "max-length": number; - /** Format: int64 */ - "read-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "read-privacy": 0 | 1; "has-translation-providers": boolean; - /** Format: int64 */ - "typing-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "typing-privacy": 0 | 1; }; conversations: { "can-create": boolean; diff --git a/src/types/openapi/openapi-federation.ts b/src/types/openapi/openapi-federation.ts index 35b06381e274..5b7c4f49cae3 100644 --- a/src/types/openapi/openapi-federation.ts +++ b/src/types/openapi/openapi-federation.ts @@ -150,6 +150,8 @@ export type components = { messageType: string; systemMessage: string; }; + /** Format: int64 */ + CallFlags: number; Capabilities: { features: string[]; "features-local": string[]; @@ -174,11 +176,17 @@ export type components = { chat: { /** Format: int64 */ "max-length": number; - /** Format: int64 */ - "read-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "read-privacy": 0 | 1; "has-translation-providers": boolean; - /** Format: int64 */ - "typing-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "typing-privacy": 0 | 1; }; conversations: { "can-create": boolean; @@ -230,8 +238,11 @@ export type components = { FederationInvite: { /** Format: int64 */ id: number; - /** Format: int64 */ - state: number; + /** + * Format: int64 + * @enum {integer} + */ + state: 0 | 1; localCloudId: string; localToken: string; /** Format: int64 */ @@ -250,6 +261,13 @@ export type components = { totalitems?: string; itemsperpage?: string; }; + /** + * Format: int64 + * @enum {integer} + */ + ParticipantTypes: 1 | 2 | 3 | 4 | 5 | 6; + /** Format: int64 */ + Permissions: number; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; } | unknown[]; @@ -291,18 +309,21 @@ export type components = { actorType: string; /** Format: int64 */ attendeeId: number; - /** Format: int64 */ - attendeePermissions: number; + attendeePermissions: components["schemas"]["Permissions"]; attendeePin: string | null; avatarVersion: string; - /** Format: int64 */ - breakoutRoomMode: number; - /** Format: int64 */ - breakoutRoomStatus: number; - /** Format: int64 */ - callFlag: number; - /** Format: int64 */ - callPermissions: number; + /** + * Format: int64 + * @enum {integer} + */ + breakoutRoomMode: 0 | 1 | 2 | 3; + /** + * Format: int64 + * @enum {integer} + */ + breakoutRoomStatus: 0 | 1 | 2; + callFlag: components["schemas"]["CallFlags"]; + callPermissions: components["schemas"]["Permissions"]; /** Format: int64 */ callRecording: number; /** Format: int64 */ @@ -311,8 +332,7 @@ export type components = { canEnableSIP: boolean; canLeaveConversation: boolean; canStartCall: boolean; - /** Format: int64 */ - defaultPermissions: number; + defaultPermissions: components["schemas"]["Permissions"]; description: string; displayName: string; hasCall: boolean; @@ -330,50 +350,76 @@ export type components = { lastPing: number; /** Format: int64 */ lastReadMessage: number; - /** Format: int64 */ - listable: number; - /** Format: int64 */ - lobbyState: number; + /** + * Format: int64 + * @enum {integer} + */ + listable: 0 | 1 | 2; + /** + * Format: int64 + * @enum {integer} + */ + lobbyState: 0 | 1; /** Format: int64 */ lobbyTimer: number; - /** Format: int64 */ - mentionPermissions: number; + /** + * Format: int64 + * @enum {integer} + */ + mentionPermissions: 0 | 1; /** Format: int64 */ messageExpiration: number; name: string; - /** Format: int64 */ - notificationCalls: number; - /** Format: int64 */ - notificationLevel: number; + /** + * Format: int64 + * @enum {integer} + */ + notificationCalls: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + notificationLevel: 0 | 1 | 2 | 3; objectId: string; objectType: string; - /** Format: int64 */ - participantFlags: number; - /** Format: int64 */ - participantType: number; - /** Format: int64 */ - permissions: number; - /** Format: int64 */ - readOnly: number; - /** Format: int64 */ - recordingConsent: number; + participantFlags: components["schemas"]["CallFlags"]; + participantType: components["schemas"]["ParticipantTypes"]; + permissions: components["schemas"]["Permissions"]; + /** + * Format: int64 + * @enum {integer} + */ + readOnly: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + recordingConsent: 0 | 1 | 2; sessionId: string; - /** Format: int64 */ - sipEnabled: number; - status?: string; + /** + * Format: int64 + * @enum {integer} + */ + sipEnabled: 0 | 1 | 2; + /** @enum {string} */ + status?: "online" | "away" | "dnd" | "busy" | "offline" | "invisible"; /** Format: int64 */ statusClearAt?: number | null; statusIcon?: string | null; statusMessage?: string | null; token: string; - /** Format: int64 */ - type: number; + type: components["schemas"]["RoomTypes"]; unreadMention: boolean; unreadMentionDirect: boolean; /** Format: int64 */ unreadMessages: number; }; RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["ChatProxyMessage"]; + /** + * Format: int64 + * @enum {integer} + */ + RoomTypes: 1 | 2 | 3 | 4 | 5 | 6; }; responses: never; parameters: never; diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index 51e0f631eeda..4c3a0b72ab25 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -1792,14 +1792,20 @@ export type components = { /** Format: int64 */ id: number; name: string; - /** Format: int64 */ - state: number; + /** + * Format: int64 + * @enum {integer} + */ + state: 0 | 1 | 2; }; BotWithDetails: components["schemas"]["Bot"] & { /** Format: int64 */ error_count: number; - /** Format: int64 */ - features: number; + /** + * Format: int64 + * @enum {integer} + */ + features: 0 | 1 | 2 | 3; /** Format: int64 */ last_error_date: number; last_error_message: string; @@ -1809,6 +1815,8 @@ export type components = { BotWithDetailsAndSecret: components["schemas"]["BotWithDetails"] & { secret: string; }; + /** Format: int64 */ + CallFlags: number; CallPeer: { actorId: string; actorType: string; @@ -1842,11 +1850,17 @@ export type components = { chat: { /** Format: int64 */ "max-length": number; - /** Format: int64 */ - "read-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "read-privacy": 0 | 1; "has-translation-providers": boolean; - /** Format: int64 */ - "typing-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "typing-privacy": 0 | 1; }; conversations: { "can-create": boolean; @@ -1877,12 +1891,13 @@ export type components = { label: string; source: string; mentionId: string; - details: string | null; - status: string | null; + details?: string; + /** @enum {string} */ + status?: "online" | "away" | "dnd" | "busy" | "offline" | "invisible"; /** Format: int64 */ - statusClearAt: number | null; - statusIcon: string | null; - statusMessage: string | null; + statusClearAt?: number | null; + statusIcon?: string | null; + statusMessage?: string | null; }; ChatMessage: components["schemas"]["BaseMessage"] & { /** @enum {boolean} */ @@ -1921,8 +1936,11 @@ export type components = { FederationInvite: { /** Format: int64 */ id: number; - /** Format: int64 */ - state: number; + /** + * Format: int64 + * @enum {integer} + */ + state: 0 | 1; localCloudId: string; localToken: string; /** Format: int64 */ @@ -1960,21 +1978,18 @@ export type components = { actorType: string; /** Format: int64 */ attendeeId: number; - /** Format: int64 */ - attendeePermissions: number; + attendeePermissions: components["schemas"]["Permissions"]; attendeePin: string; displayName: string; - /** Format: int64 */ - inCall: number; + inCall: components["schemas"]["CallFlags"]; /** Format: int64 */ lastPing: number; - /** Format: int64 */ - participantType: number; - /** Format: int64 */ - permissions: number; + participantType: components["schemas"]["ParticipantTypes"]; + permissions: components["schemas"]["Permissions"]; roomToken: string; sessionIds: string[]; - status?: string; + /** @enum {string} */ + status?: "online" | "away" | "dnd" | "busy" | "offline" | "invisible"; /** Format: int64 */ statusClearAt?: number | null; statusIcon?: string | null; @@ -1982,6 +1997,13 @@ export type components = { phoneNumber?: string | null; callId?: string | null; }; + /** + * Format: int64 + * @enum {integer} + */ + ParticipantTypes: 1 | 2 | 3 | 4 | 5 | 6; + /** Format: int64 */ + Permissions: number; Poll: { actorDisplayName: string; actorId: string; @@ -1995,10 +2017,16 @@ export type components = { numVoters?: number; options: string[]; question: string; - /** Format: int64 */ - resultMode: number; - /** Format: int64 */ - status: number; + /** + * Format: int64 + * @enum {integer} + */ + resultMode: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + status: 0 | 1; votedSelf?: number[]; votes?: { [key: string]: number | undefined; @@ -2059,18 +2087,21 @@ export type components = { actorType: string; /** Format: int64 */ attendeeId: number; - /** Format: int64 */ - attendeePermissions: number; + attendeePermissions: components["schemas"]["Permissions"]; attendeePin: string | null; avatarVersion: string; - /** Format: int64 */ - breakoutRoomMode: number; - /** Format: int64 */ - breakoutRoomStatus: number; - /** Format: int64 */ - callFlag: number; - /** Format: int64 */ - callPermissions: number; + /** + * Format: int64 + * @enum {integer} + */ + breakoutRoomMode: 0 | 1 | 2 | 3; + /** + * Format: int64 + * @enum {integer} + */ + breakoutRoomStatus: 0 | 1 | 2; + callFlag: components["schemas"]["CallFlags"]; + callPermissions: components["schemas"]["Permissions"]; /** Format: int64 */ callRecording: number; /** Format: int64 */ @@ -2079,8 +2110,7 @@ export type components = { canEnableSIP: boolean; canLeaveConversation: boolean; canStartCall: boolean; - /** Format: int64 */ - defaultPermissions: number; + defaultPermissions: components["schemas"]["Permissions"]; description: string; displayName: string; hasCall: boolean; @@ -2098,57 +2128,81 @@ export type components = { lastPing: number; /** Format: int64 */ lastReadMessage: number; - /** Format: int64 */ - listable: number; - /** Format: int64 */ - lobbyState: number; + /** + * Format: int64 + * @enum {integer} + */ + listable: 0 | 1 | 2; + /** + * Format: int64 + * @enum {integer} + */ + lobbyState: 0 | 1; /** Format: int64 */ lobbyTimer: number; - /** Format: int64 */ - mentionPermissions: number; + /** + * Format: int64 + * @enum {integer} + */ + mentionPermissions: 0 | 1; /** Format: int64 */ messageExpiration: number; name: string; - /** Format: int64 */ - notificationCalls: number; - /** Format: int64 */ - notificationLevel: number; + /** + * Format: int64 + * @enum {integer} + */ + notificationCalls: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + notificationLevel: 0 | 1 | 2 | 3; objectId: string; objectType: string; - /** Format: int64 */ - participantFlags: number; - /** Format: int64 */ - participantType: number; - /** Format: int64 */ - permissions: number; - /** Format: int64 */ - readOnly: number; - /** Format: int64 */ - recordingConsent: number; + participantFlags: components["schemas"]["CallFlags"]; + participantType: components["schemas"]["ParticipantTypes"]; + permissions: components["schemas"]["Permissions"]; + /** + * Format: int64 + * @enum {integer} + */ + readOnly: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + recordingConsent: 0 | 1 | 2; sessionId: string; - /** Format: int64 */ - sipEnabled: number; - status?: string; + /** + * Format: int64 + * @enum {integer} + */ + sipEnabled: 0 | 1 | 2; + /** @enum {string} */ + status?: "online" | "away" | "dnd" | "busy" | "offline" | "invisible"; /** Format: int64 */ statusClearAt?: number | null; statusIcon?: string | null; statusMessage?: string | null; token: string; - /** Format: int64 */ - type: number; + type: components["schemas"]["RoomTypes"]; unreadMention: boolean; unreadMentionDirect: boolean; /** Format: int64 */ unreadMessages: number; }; RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["ChatProxyMessage"]; + /** + * Format: int64 + * @enum {integer} + */ + RoomTypes: 1 | 2 | 3 | 4 | 5 | 6; SignalingSession: { - /** Format: int64 */ - inCall: number; + inCall: components["schemas"]["CallFlags"]; /** Format: int64 */ lastPing: number; - /** Format: int64 */ - participantPermissions: number; + participantPermissions: components["schemas"]["Permissions"]; /** Format: int64 */ roomId: number; sessionId: string; diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index 43dfd4134e37..2b19e019d411 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -1307,9 +1307,14 @@ export type components = { /** Format: int64 */ id: number; name: string; - /** Format: int64 */ - state: number; - }; + /** + * Format: int64 + * @enum {integer} + */ + state: 0 | 1 | 2; + }; + /** Format: int64 */ + CallFlags: number; CallPeer: { actorId: string; actorType: string; @@ -1343,11 +1348,17 @@ export type components = { chat: { /** Format: int64 */ "max-length": number; - /** Format: int64 */ - "read-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "read-privacy": 0 | 1; "has-translation-providers": boolean; - /** Format: int64 */ - "typing-privacy": number; + /** + * Format: int64 + * @enum {integer} + */ + "typing-privacy": 0 | 1; }; conversations: { "can-create": boolean; @@ -1378,12 +1389,13 @@ export type components = { label: string; source: string; mentionId: string; - details: string | null; - status: string | null; + details?: string; + /** @enum {string} */ + status?: "online" | "away" | "dnd" | "busy" | "offline" | "invisible"; /** Format: int64 */ - statusClearAt: number | null; - statusIcon: string | null; - statusMessage: string | null; + statusClearAt?: number | null; + statusIcon?: string | null; + statusMessage?: string | null; }; ChatMessage: components["schemas"]["BaseMessage"] & { /** @enum {boolean} */ @@ -1445,21 +1457,18 @@ export type components = { actorType: string; /** Format: int64 */ attendeeId: number; - /** Format: int64 */ - attendeePermissions: number; + attendeePermissions: components["schemas"]["Permissions"]; attendeePin: string; displayName: string; - /** Format: int64 */ - inCall: number; + inCall: components["schemas"]["CallFlags"]; /** Format: int64 */ lastPing: number; - /** Format: int64 */ - participantType: number; - /** Format: int64 */ - permissions: number; + participantType: components["schemas"]["ParticipantTypes"]; + permissions: components["schemas"]["Permissions"]; roomToken: string; sessionIds: string[]; - status?: string; + /** @enum {string} */ + status?: "online" | "away" | "dnd" | "busy" | "offline" | "invisible"; /** Format: int64 */ statusClearAt?: number | null; statusIcon?: string | null; @@ -1467,6 +1476,13 @@ export type components = { phoneNumber?: string | null; callId?: string | null; }; + /** + * Format: int64 + * @enum {integer} + */ + ParticipantTypes: 1 | 2 | 3 | 4 | 5 | 6; + /** Format: int64 */ + Permissions: number; Poll: { actorDisplayName: string; actorId: string; @@ -1480,10 +1496,16 @@ export type components = { numVoters?: number; options: string[]; question: string; - /** Format: int64 */ - resultMode: number; - /** Format: int64 */ - status: number; + /** + * Format: int64 + * @enum {integer} + */ + resultMode: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + status: 0 | 1; votedSelf?: number[]; votes?: { [key: string]: number | undefined; @@ -1544,18 +1566,21 @@ export type components = { actorType: string; /** Format: int64 */ attendeeId: number; - /** Format: int64 */ - attendeePermissions: number; + attendeePermissions: components["schemas"]["Permissions"]; attendeePin: string | null; avatarVersion: string; - /** Format: int64 */ - breakoutRoomMode: number; - /** Format: int64 */ - breakoutRoomStatus: number; - /** Format: int64 */ - callFlag: number; - /** Format: int64 */ - callPermissions: number; + /** + * Format: int64 + * @enum {integer} + */ + breakoutRoomMode: 0 | 1 | 2 | 3; + /** + * Format: int64 + * @enum {integer} + */ + breakoutRoomStatus: 0 | 1 | 2; + callFlag: components["schemas"]["CallFlags"]; + callPermissions: components["schemas"]["Permissions"]; /** Format: int64 */ callRecording: number; /** Format: int64 */ @@ -1564,8 +1589,7 @@ export type components = { canEnableSIP: boolean; canLeaveConversation: boolean; canStartCall: boolean; - /** Format: int64 */ - defaultPermissions: number; + defaultPermissions: components["schemas"]["Permissions"]; description: string; displayName: string; hasCall: boolean; @@ -1583,57 +1607,81 @@ export type components = { lastPing: number; /** Format: int64 */ lastReadMessage: number; - /** Format: int64 */ - listable: number; - /** Format: int64 */ - lobbyState: number; + /** + * Format: int64 + * @enum {integer} + */ + listable: 0 | 1 | 2; + /** + * Format: int64 + * @enum {integer} + */ + lobbyState: 0 | 1; /** Format: int64 */ lobbyTimer: number; - /** Format: int64 */ - mentionPermissions: number; + /** + * Format: int64 + * @enum {integer} + */ + mentionPermissions: 0 | 1; /** Format: int64 */ messageExpiration: number; name: string; - /** Format: int64 */ - notificationCalls: number; - /** Format: int64 */ - notificationLevel: number; + /** + * Format: int64 + * @enum {integer} + */ + notificationCalls: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + notificationLevel: 0 | 1 | 2 | 3; objectId: string; objectType: string; - /** Format: int64 */ - participantFlags: number; - /** Format: int64 */ - participantType: number; - /** Format: int64 */ - permissions: number; - /** Format: int64 */ - readOnly: number; - /** Format: int64 */ - recordingConsent: number; + participantFlags: components["schemas"]["CallFlags"]; + participantType: components["schemas"]["ParticipantTypes"]; + permissions: components["schemas"]["Permissions"]; + /** + * Format: int64 + * @enum {integer} + */ + readOnly: 0 | 1; + /** + * Format: int64 + * @enum {integer} + */ + recordingConsent: 0 | 1 | 2; sessionId: string; - /** Format: int64 */ - sipEnabled: number; - status?: string; + /** + * Format: int64 + * @enum {integer} + */ + sipEnabled: 0 | 1 | 2; + /** @enum {string} */ + status?: "online" | "away" | "dnd" | "busy" | "offline" | "invisible"; /** Format: int64 */ statusClearAt?: number | null; statusIcon?: string | null; statusMessage?: string | null; token: string; - /** Format: int64 */ - type: number; + type: components["schemas"]["RoomTypes"]; unreadMention: boolean; unreadMentionDirect: boolean; /** Format: int64 */ unreadMessages: number; }; RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["ChatProxyMessage"]; + /** + * Format: int64 + * @enum {integer} + */ + RoomTypes: 1 | 2 | 3 | 4 | 5 | 6; SignalingSession: { - /** Format: int64 */ - inCall: number; + inCall: components["schemas"]["CallFlags"]; /** Format: int64 */ lastPing: number; - /** Format: int64 */ - participantPermissions: number; + participantPermissions: components["schemas"]["Permissions"]; /** Format: int64 */ roomId: number; sessionId: string;