From a9be671c6925b560333d9e1937bf415a150d91cb Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 21 Nov 2024 00:17:32 +0100 Subject: [PATCH] chore(assets): Recompile assets Signed-off-by: Joas Schilling --- openapi-administration.json | 20 +- openapi-backend-recording.json | 16 +- openapi-backend-signaling.json | 8 +- openapi-backend-sipbridge.json | 8 +- openapi-bots.json | 60 ++- openapi-federation.json | 29 +- openapi-full.json | 371 +++++++++++------- openapi.json | 278 +++++++------ src/types/openapi/openapi-administration.ts | 4 +- .../openapi/openapi-backend-recording.ts | 4 +- .../openapi/openapi-backend-signaling.ts | 4 +- .../openapi/openapi-backend-sipbridge.ts | 4 +- src/types/openapi/openapi-bots.ts | 4 +- src/types/openapi/openapi-federation.ts | 10 +- src/types/openapi/openapi-full.ts | 53 ++- src/types/openapi/openapi.ts | 47 ++- 16 files changed, 574 insertions(+), 346 deletions(-) diff --git a/openapi-administration.json b/openapi-administration.json index f8132697e80..4a8c339fa4d 100644 --- a/openapi-administration.json +++ b/openapi-administration.json @@ -336,7 +336,7 @@ } }, "PublicCapabilities": { - "oneOf": [ + "anyOf": [ { "type": "object", "required": [ @@ -349,8 +349,10 @@ } }, { - "type": "array", - "maxItems": 0 + "type": "object", + "additionalProperties": { + "type": "object" + } } ] } @@ -1223,7 +1225,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -1363,7 +1367,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -1479,7 +1485,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } diff --git a/openapi-backend-recording.json b/openapi-backend-recording.json index 0951a7d89ee..b4755c39317 100644 --- a/openapi-backend-recording.json +++ b/openapi-backend-recording.json @@ -269,7 +269,7 @@ } }, "PublicCapabilities": { - "oneOf": [ + "anyOf": [ { "type": "object", "required": [ @@ -282,8 +282,10 @@ } }, { - "type": "array", - "maxItems": 0 + "type": "object", + "additionalProperties": { + "type": "object" + } } ] } @@ -351,7 +353,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -611,7 +615,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } diff --git a/openapi-backend-signaling.json b/openapi-backend-signaling.json index 745cf8193dc..0843003f8a0 100644 --- a/openapi-backend-signaling.json +++ b/openapi-backend-signaling.json @@ -269,7 +269,7 @@ } }, "PublicCapabilities": { - "oneOf": [ + "anyOf": [ { "type": "object", "required": [ @@ -282,8 +282,10 @@ } }, { - "type": "array", - "maxItems": 0 + "type": "object", + "additionalProperties": { + "type": "object" + } } ] } diff --git a/openapi-backend-sipbridge.json b/openapi-backend-sipbridge.json index cc7882888c6..4675cb57061 100644 --- a/openapi-backend-sipbridge.json +++ b/openapi-backend-sipbridge.json @@ -391,7 +391,7 @@ } }, "PublicCapabilities": { - "oneOf": [ + "anyOf": [ { "type": "object", "required": [ @@ -404,8 +404,10 @@ } }, { - "type": "array", - "maxItems": 0 + "type": "object", + "additionalProperties": { + "type": "object" + } } ] }, diff --git a/openapi-bots.json b/openapi-bots.json index e1671a9bd60..8a83f116ba1 100644 --- a/openapi-bots.json +++ b/openapi-bots.json @@ -269,7 +269,7 @@ } }, "PublicCapabilities": { - "oneOf": [ + "anyOf": [ { "type": "object", "required": [ @@ -282,8 +282,10 @@ } }, { - "type": "array", - "maxItems": 0 + "type": "object", + "additionalProperties": { + "type": "object" + } } ] } @@ -397,7 +399,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -425,7 +429,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -453,7 +459,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -481,7 +489,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -592,7 +602,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -620,7 +632,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -648,7 +662,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -676,7 +692,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -704,7 +722,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -803,7 +823,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -831,7 +853,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -859,7 +883,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -887,7 +913,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } diff --git a/openapi-federation.json b/openapi-federation.json index f8cdaf8deb0..72c5bd6e2f0 100644 --- a/openapi-federation.json +++ b/openapi-federation.json @@ -445,7 +445,7 @@ } }, "PublicCapabilities": { - "oneOf": [ + "anyOf": [ { "type": "object", "required": [ @@ -458,8 +458,10 @@ } }, { - "type": "array", - "maxItems": 0 + "type": "object", + "additionalProperties": { + "type": "object" + } } ] }, @@ -1339,8 +1341,8 @@ } } }, - "410": { - "description": "Remote server could not be reached to notify about the acceptance", + "404": { + "description": "Invite can not be found", "content": { "application/json": { "schema": { @@ -1377,8 +1379,8 @@ } } }, - "404": { - "description": "Invite can not be found", + "410": { + "description": "Remote server could not be reached to notify about the acceptance", "content": { "application/json": { "schema": { @@ -1399,6 +1401,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -1485,7 +1490,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -1515,6 +1522,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -1550,6 +1560,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" diff --git a/openapi-full.json b/openapi-full.json index 967f703e5f5..39f52dce568 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -998,7 +998,7 @@ } }, "PublicCapabilities": { - "oneOf": [ + "anyOf": [ { "type": "object", "required": [ @@ -1011,8 +1011,10 @@ } }, { - "type": "array", - "maxItems": 0 + "type": "object", + "additionalProperties": { + "type": "object" + } } ] }, @@ -1439,6 +1441,37 @@ } ] }, + "SignalingFederationSettings": { + "type": "object", + "required": [ + "server", + "nextcloudServer", + "helloAuthParams", + "roomId" + ], + "properties": { + "server": { + "type": "string" + }, + "nextcloudServer": { + "type": "string" + }, + "helloAuthParams": { + "type": "object", + "required": [ + "token" + ], + "properties": { + "token": { + "type": "string" + } + } + }, + "roomId": { + "type": "string" + } + } + }, "SignalingSession": { "type": "object", "required": [ @@ -1498,43 +1531,8 @@ ], "properties": { "federation": { - "oneOf": [ - { - "type": "object", - "required": [ - "server", - "nextcloudServer", - "helloAuthParams", - "roomId" - ], - "properties": { - "server": { - "type": "string" - }, - "nextcloudServer": { - "type": "string" - }, - "helloAuthParams": { - "type": "object", - "required": [ - "token" - ], - "properties": { - "token": { - "type": "string" - } - } - }, - "roomId": { - "type": "string" - } - } - }, - { - "type": "array", - "maxItems": 0 - } - ] + "$ref": "#/components/schemas/SignalingFederationSettings", + "nullable": true }, "helloAuthParams": { "type": "object", @@ -2454,7 +2452,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4210,7 +4210,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4238,7 +4240,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4268,6 +4272,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -4374,7 +4381,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4402,7 +4411,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4430,7 +4441,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4522,7 +4535,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4550,7 +4565,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4755,7 +4772,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4763,8 +4782,8 @@ } } }, - "400": { - "description": "Conditions to join not met", + "404": { + "description": "Call not found", "content": { "application/json": { "schema": { @@ -4784,12 +4803,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "type": "object", - "properties": { - "error": { - "type": "string" - } - } + "nullable": true } } } @@ -4798,8 +4812,8 @@ } } }, - "404": { - "description": "Call not found", + "400": { + "description": "Conditions to join not met", "content": { "application/json": { "schema": { @@ -4819,7 +4833,15 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "nullable": true + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } } } } @@ -4926,7 +4948,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4954,7 +4978,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -5072,7 +5098,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -5193,7 +5221,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -5221,7 +5251,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -5351,15 +5383,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "message": { - "type": "string" - } - } + "nullable": true } } } @@ -5389,15 +5413,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "message": { - "type": "string" - } - } + "nullable": true } } } @@ -5427,15 +5443,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "message": { - "type": "string" - } - } + "nullable": true } } } @@ -5466,6 +5474,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -8217,7 +8228,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8374,7 +8387,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8402,7 +8417,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8502,7 +8519,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8530,7 +8549,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8558,7 +8579,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10600,7 +10623,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10716,7 +10741,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10845,7 +10872,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10991,7 +11020,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16620,7 +16651,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16648,7 +16681,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16760,7 +16795,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16788,7 +16825,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16889,7 +16928,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17225,7 +17266,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17320,7 +17363,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17348,7 +17393,20 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "avatar" + ] + } + } + } } } } @@ -17833,8 +17891,8 @@ } } }, - "410": { - "description": "Remote server could not be reached to notify about the acceptance", + "404": { + "description": "Invite can not be found", "content": { "application/json": { "schema": { @@ -17871,8 +17929,8 @@ } } }, - "404": { - "description": "Invite can not be found", + "410": { + "description": "Remote server could not be reached to notify about the acceptance", "content": { "application/json": { "schema": { @@ -17893,6 +17951,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -17979,7 +18040,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18009,6 +18072,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -18044,6 +18110,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -18502,7 +18571,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18530,7 +18601,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18558,7 +18631,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18586,7 +18661,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18697,7 +18774,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18725,7 +18804,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18753,7 +18834,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18781,7 +18864,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18809,7 +18894,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18908,7 +18995,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18936,7 +19025,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18964,7 +19055,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18992,7 +19085,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -19869,7 +19964,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -20009,7 +20106,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -20125,7 +20224,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -20238,7 +20339,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -20498,7 +20601,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } diff --git a/openapi.json b/openapi.json index be7a17ecf34..96ceba3d36d 100644 --- a/openapi.json +++ b/openapi.json @@ -885,7 +885,7 @@ } }, "PublicCapabilities": { - "oneOf": [ + "anyOf": [ { "type": "object", "required": [ @@ -898,8 +898,10 @@ } }, { - "type": "array", - "maxItems": 0 + "type": "object", + "additionalProperties": { + "type": "object" + } } ] }, @@ -1326,6 +1328,37 @@ } ] }, + "SignalingFederationSettings": { + "type": "object", + "required": [ + "server", + "nextcloudServer", + "helloAuthParams", + "roomId" + ], + "properties": { + "server": { + "type": "string" + }, + "nextcloudServer": { + "type": "string" + }, + "helloAuthParams": { + "type": "object", + "required": [ + "token" + ], + "properties": { + "token": { + "type": "string" + } + } + }, + "roomId": { + "type": "string" + } + } + }, "SignalingSession": { "type": "object", "required": [ @@ -1385,43 +1418,8 @@ ], "properties": { "federation": { - "oneOf": [ - { - "type": "object", - "required": [ - "server", - "nextcloudServer", - "helloAuthParams", - "roomId" - ], - "properties": { - "server": { - "type": "string" - }, - "nextcloudServer": { - "type": "string" - }, - "helloAuthParams": { - "type": "object", - "required": [ - "token" - ], - "properties": { - "token": { - "type": "string" - } - } - }, - "roomId": { - "type": "string" - } - } - }, - { - "type": "array", - "maxItems": 0 - } - ] + "$ref": "#/components/schemas/SignalingFederationSettings", + "nullable": true }, "helloAuthParams": { "type": "object", @@ -2341,7 +2339,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4097,7 +4097,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4125,7 +4127,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4155,6 +4159,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -4261,7 +4268,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4289,7 +4298,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4317,7 +4328,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4409,7 +4422,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4437,7 +4452,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4642,7 +4659,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4650,8 +4669,8 @@ } } }, - "400": { - "description": "Conditions to join not met", + "404": { + "description": "Call not found", "content": { "application/json": { "schema": { @@ -4671,12 +4690,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "type": "object", - "properties": { - "error": { - "type": "string" - } - } + "nullable": true } } } @@ -4685,8 +4699,8 @@ } } }, - "404": { - "description": "Call not found", + "400": { + "description": "Conditions to join not met", "content": { "application/json": { "schema": { @@ -4706,7 +4720,15 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "nullable": true + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string" + } + } } } } @@ -4813,7 +4835,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4841,7 +4865,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -4959,7 +4985,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -5080,7 +5108,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -5108,7 +5138,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -5238,15 +5270,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "message": { - "type": "string" - } - } + "nullable": true } } } @@ -5276,15 +5300,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "message": { - "type": "string" - } - } + "nullable": true } } } @@ -5314,15 +5330,7 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "message": { - "type": "string" - } - } + "nullable": true } } } @@ -5353,6 +5361,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -8104,7 +8115,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8261,7 +8274,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8289,7 +8304,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8389,7 +8406,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8417,7 +8436,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8445,7 +8466,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10487,7 +10510,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10603,7 +10628,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10732,7 +10759,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10878,7 +10907,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16754,7 +16785,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16782,7 +16815,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16894,7 +16929,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -16922,7 +16959,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17023,7 +17062,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17359,7 +17400,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17454,7 +17497,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17482,7 +17527,20 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "avatar" + ] + } + } + } } } } diff --git a/src/types/openapi/openapi-administration.ts b/src/types/openapi/openapi-administration.ts index 23546e2a823..82a71a26306 100644 --- a/src/types/openapi/openapi-administration.ts +++ b/src/types/openapi/openapi-administration.ts @@ -277,7 +277,9 @@ export type components = { }; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; - } | unknown[]; + } | { + [key: string]: Record; + }; }; responses: never; parameters: never; diff --git a/src/types/openapi/openapi-backend-recording.ts b/src/types/openapi/openapi-backend-recording.ts index f4f9c3bfff0..d8e58c2c4f1 100644 --- a/src/types/openapi/openapi-backend-recording.ts +++ b/src/types/openapi/openapi-backend-recording.ts @@ -111,7 +111,9 @@ export type components = { }; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; - } | unknown[]; + } | { + [key: string]: Record; + }; }; responses: never; parameters: never; diff --git a/src/types/openapi/openapi-backend-signaling.ts b/src/types/openapi/openapi-backend-signaling.ts index 13f736e8d08..03c86ca46c1 100644 --- a/src/types/openapi/openapi-backend-signaling.ts +++ b/src/types/openapi/openapi-backend-signaling.ts @@ -97,7 +97,9 @@ export type components = { }; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; - } | unknown[]; + } | { + [key: string]: Record; + }; }; responses: never; parameters: never; diff --git a/src/types/openapi/openapi-backend-sipbridge.ts b/src/types/openapi/openapi-backend-sipbridge.ts index 6401e017d1b..f8a81873a54 100644 --- a/src/types/openapi/openapi-backend-sipbridge.ts +++ b/src/types/openapi/openapi-backend-sipbridge.ts @@ -215,7 +215,9 @@ export type components = { }; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; - } | unknown[]; + } | { + [key: string]: Record; + }; RichObjectParameter: { type: string; id: string; diff --git a/src/types/openapi/openapi-bots.ts b/src/types/openapi/openapi-bots.ts index cc58aa728c0..2fb421af97f 100644 --- a/src/types/openapi/openapi-bots.ts +++ b/src/types/openapi/openapi-bots.ts @@ -115,7 +115,9 @@ export type components = { }; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; - } | unknown[]; + } | { + [key: string]: Record; + }; }; responses: never; parameters: never; diff --git a/src/types/openapi/openapi-federation.ts b/src/types/openapi/openapi-federation.ts index f45f2602009..2ce7012e577 100644 --- a/src/types/openapi/openapi-federation.ts +++ b/src/types/openapi/openapi-federation.ts @@ -262,7 +262,9 @@ export type components = { }; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; - } | unknown[]; + } | { + [key: string]: Record; + }; RichObjectParameter: { type: string; id: string; @@ -580,7 +582,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -644,7 +646,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -660,7 +662,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index 21ea412361b..1910c95fcbe 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -2146,7 +2146,9 @@ export type components = { }; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; - } | unknown[]; + } | { + [key: string]: Record; + }; Reaction: { actorDisplayName: string; actorId: string; @@ -2280,6 +2282,14 @@ export type components = { isArchived: boolean; }; RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["ChatProxyMessage"]; + SignalingFederationSettings: { + server: string; + nextcloudServer: string; + helloAuthParams: { + token: string; + }; + roomId: string; + }; SignalingSession: { actorId: string; actorType: string; @@ -2295,14 +2305,7 @@ export type components = { userId: string; }; SignalingSettings: { - federation: { - server: string; - nextcloudServer: string; - helloAuthParams: { - token: string; - }; - roomId: string; - } | unknown[]; + federation: components["schemas"]["SignalingFederationSettings"]; helloAuthParams: { "1.0": { userid: string | null; @@ -3421,7 +3424,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -3660,7 +3663,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -3819,10 +3822,7 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: { - error?: string; - message?: string; - }; + data: unknown; }; }; }; @@ -3836,10 +3836,7 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: { - error?: string; - message?: string; - }; + data: unknown; }; }; }; @@ -3853,10 +3850,7 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: { - error?: string; - message?: string; - }; + data: unknown; }; }; }; @@ -3871,7 +3865,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; message?: string; }; }; @@ -8697,7 +8691,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "avatar"; + }; }; }; }; @@ -8886,7 +8883,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -8950,7 +8947,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -8966,7 +8963,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index ea20a29be16..ae466f918ff 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -1627,7 +1627,9 @@ export type components = { }; PublicCapabilities: { spreed: components["schemas"]["Capabilities"]; - } | unknown[]; + } | { + [key: string]: Record; + }; Reaction: { actorDisplayName: string; actorId: string; @@ -1761,6 +1763,14 @@ export type components = { isArchived: boolean; }; RoomLastMessage: components["schemas"]["ChatMessage"] | components["schemas"]["ChatProxyMessage"]; + SignalingFederationSettings: { + server: string; + nextcloudServer: string; + helloAuthParams: { + token: string; + }; + roomId: string; + }; SignalingSession: { actorId: string; actorType: string; @@ -1776,14 +1786,7 @@ export type components = { userId: string; }; SignalingSettings: { - federation: { - server: string; - nextcloudServer: string; - helloAuthParams: { - token: string; - }; - roomId: string; - } | unknown[]; + federation: components["schemas"]["SignalingFederationSettings"]; helloAuthParams: { "1.0": { userid: string | null; @@ -2902,7 +2905,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -3141,7 +3144,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -3300,10 +3303,7 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: { - error?: string; - message?: string; - }; + data: unknown; }; }; }; @@ -3317,10 +3317,7 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: { - error?: string; - message?: string; - }; + data: unknown; }; }; }; @@ -3334,10 +3331,7 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: { - error?: string; - message?: string; - }; + data: unknown; }; }; }; @@ -3352,7 +3346,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; message?: string; }; }; @@ -8278,7 +8272,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "avatar"; + }; }; }; };