From e2f59b070946ff3e2631cf8f81912b012762251a Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sat, 13 Dec 2025 14:16:15 +0000 Subject: [PATCH] fix(openapi): Regenerate OpenAPI assets Signed-off-by: nextcloud-command --- openapi-full.json | 12 +----------- openapi.json | 12 +----------- src/types/openapi/openapi-full.ts | 18 +++++++++--------- src/types/openapi/openapi.ts | 18 +++++++++--------- 4 files changed, 20 insertions(+), 40 deletions(-) diff --git a/openapi-full.json b/openapi-full.json index 31ce9dc4f9..ad06be8aa8 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -15882,21 +15882,11 @@ } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", - "required": [ - "roomType", - "readOnly", - "listable", - "lobbyState", - "sipEnabled", - "permissions", - "recordingConsent", - "mentionPermissions" - ], "properties": { "roomType": { "type": "integer", diff --git a/openapi.json b/openapi.json index ab7e788621..936e587ca6 100644 --- a/openapi.json +++ b/openapi.json @@ -15787,21 +15787,11 @@ } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", - "required": [ - "roomType", - "readOnly", - "listable", - "lobbyState", - "sipEnabled", - "permissions", - "recordingConsent", - "mentionPermissions" - ], "properties": { "roomType": { "type": "integer", diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index cd66b30234..0f6b41369d 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -8554,14 +8554,14 @@ export interface operations { }; cookie?: never; }; - requestBody: { + requestBody?: { content: { "application/json": { /** * Format: int64 * @description Type of the room */ - roomType: number; + roomType?: number; /** * @deprecated * @description User, group, … ID to invite Deprecated: Use the `$participants` array instead @@ -8599,13 +8599,13 @@ export interface operations { * @description Read only state of the conversation (Default writable) (only available with `conversation-creation-all` capability) * @enum {integer} */ - readOnly: 0 | 1; + readOnly?: 0 | 1; /** * Format: int64 * @description Scope where the conversation is listable (Default not listable for anyone) (only available with `conversation-creation-all` capability) * @enum {integer} */ - listable: 0 | 1 | 2; + listable?: 0 | 1 | 2; /** * Format: int64 * @description Seconds after which messages will disappear, 0 disables expiration (Default 0) (only available with `conversation-creation-all` capability) @@ -8617,7 +8617,7 @@ export interface operations { * @description Lobby state of the conversation (Default lobby is disabled) (only available with `conversation-creation-all` capability) * @enum {integer} */ - lobbyState: 0 | 1; + lobbyState?: 0 | 1; /** * Format: int64 * @description Timer when the lobby will be removed (Default null, will not be disabled automatically) (only available with `conversation-creation-all` capability) @@ -8629,24 +8629,24 @@ export interface operations { * @description Whether SIP dial-in shall be enabled (only available with `conversation-creation-all` capability) * @enum {integer} */ - sipEnabled: 0 | 1 | 2; + sipEnabled?: 0 | 1 | 2; /** * Format: int64 * @description Default permissions for participants (only available with `conversation-creation-all` capability) */ - permissions: number; + permissions?: number; /** * Format: int64 * @description Whether participants need to agree to a recording before joining a call (only available with `conversation-creation-all` capability) * @enum {integer} */ - recordingConsent: 0 | 1; + recordingConsent?: 0 | 1; /** * Format: int64 * @description Who can mention at-all in the chat (only available with `conversation-creation-all` capability) * @enum {integer} */ - mentionPermissions: 0 | 1; + mentionPermissions?: 0 | 1; /** * @description Description for the conversation (limited to 2.000 characters) (only available with `conversation-creation-all` capability) * @default diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index a2cde05a0d..9529b534d7 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -8016,14 +8016,14 @@ export interface operations { }; cookie?: never; }; - requestBody: { + requestBody?: { content: { "application/json": { /** * Format: int64 * @description Type of the room */ - roomType: number; + roomType?: number; /** * @deprecated * @description User, group, … ID to invite Deprecated: Use the `$participants` array instead @@ -8061,13 +8061,13 @@ export interface operations { * @description Read only state of the conversation (Default writable) (only available with `conversation-creation-all` capability) * @enum {integer} */ - readOnly: 0 | 1; + readOnly?: 0 | 1; /** * Format: int64 * @description Scope where the conversation is listable (Default not listable for anyone) (only available with `conversation-creation-all` capability) * @enum {integer} */ - listable: 0 | 1 | 2; + listable?: 0 | 1 | 2; /** * Format: int64 * @description Seconds after which messages will disappear, 0 disables expiration (Default 0) (only available with `conversation-creation-all` capability) @@ -8079,7 +8079,7 @@ export interface operations { * @description Lobby state of the conversation (Default lobby is disabled) (only available with `conversation-creation-all` capability) * @enum {integer} */ - lobbyState: 0 | 1; + lobbyState?: 0 | 1; /** * Format: int64 * @description Timer when the lobby will be removed (Default null, will not be disabled automatically) (only available with `conversation-creation-all` capability) @@ -8091,24 +8091,24 @@ export interface operations { * @description Whether SIP dial-in shall be enabled (only available with `conversation-creation-all` capability) * @enum {integer} */ - sipEnabled: 0 | 1 | 2; + sipEnabled?: 0 | 1 | 2; /** * Format: int64 * @description Default permissions for participants (only available with `conversation-creation-all` capability) */ - permissions: number; + permissions?: number; /** * Format: int64 * @description Whether participants need to agree to a recording before joining a call (only available with `conversation-creation-all` capability) * @enum {integer} */ - recordingConsent: 0 | 1; + recordingConsent?: 0 | 1; /** * Format: int64 * @description Who can mention at-all in the chat (only available with `conversation-creation-all` capability) * @enum {integer} */ - mentionPermissions: 0 | 1; + mentionPermissions?: 0 | 1; /** * @description Description for the conversation (limited to 2.000 characters) (only available with `conversation-creation-all` capability) * @default