diff --git a/src/types/openapi/core/openapi_core.ts b/src/types/openapi/core/openapi_core.ts index b7447b93fe0..fd17b410843 100644 --- a/src/types/openapi/core/openapi_core.ts +++ b/src/types/openapi/core/openapi_core.ts @@ -82,10 +82,7 @@ export type paths = { path?: never; cookie?: never; }; - /** - * Get app password with one-time password - * @description This endpoint requires password confirmation - */ + /** Get app password with one-time password */ get: operations["app_password-get-app-password-with-one-time-password"]; put?: never; post?: never; @@ -1221,6 +1218,7 @@ export type components = { allowCleanup: boolean; includeWatermark: boolean; userFacingErrorMessage: string | null; + preferStreaming: boolean; }; TaskProcessingTaskType: { name: string; @@ -1668,7 +1666,7 @@ export interface operations { itemType?: string | null; /** @description ID of the items to search for */ itemId?: string | null; - /** @description can be piped, top prio first, e.g.: "commenters|share-recipients" */ + /** @description can be piped, top priority first, e.g.: "commenters|share-recipients" */ sorter?: string | null; /** @description Types of shares to search for */ "shareTypes[]"?: number[]; @@ -3112,6 +3110,11 @@ export interface operations { * @default true */ includeWatermark?: boolean; + /** + * @description Whether to prefer getting a progressive output from the provider or not + * @default false + */ + preferStreaming?: boolean; }; }; }; diff --git a/src/types/openapi/core/openapi_dav.ts b/src/types/openapi/core/openapi_dav.ts index ca19b04eef1..479ecd638f1 100644 --- a/src/types/openapi/core/openapi_dav.ts +++ b/src/types/openapi/core/openapi_dav.ts @@ -82,6 +82,9 @@ export type components = { dav: { chunking: string; public_shares_chunking: boolean; + search_supports_creation_time: boolean; + search_supports_upload_time: boolean; + search_supports_last_activity: boolean; bulkupload?: string; "absence-supported"?: boolean; "absence-replacement"?: boolean; diff --git a/src/types/openapi/core/openapi_files_sharing.ts b/src/types/openapi/core/openapi_files_sharing.ts index 1cfebef8bdc..286ada92b42 100644 --- a/src/types/openapi/core/openapi_files_sharing.ts +++ b/src/types/openapi/core/openapi_files_sharing.ts @@ -380,6 +380,8 @@ export type components = { }; }; sharee: { + /** Format: int64 */ + minSearchStringLength: number; query_lookup_default: boolean; always_show_unique: boolean; }; @@ -444,11 +446,12 @@ export type components = { permissions: number | null; remote: string; remote_id: string; - share_token: string; + refresh_token: string; /** Format: int64 */ share_type: number; type: string | null; user: string; + item_size: (number) | null; }; Share: { attributes: string | null; @@ -518,7 +521,7 @@ export type components = { token: string | null; uid_file_owner: string; uid_owner: string; - url?: string; + url?: string | null; }; ShareInfo: { /** Format: int64 */ diff --git a/src/types/openapi/core/openapi_provisioning_api.ts b/src/types/openapi/core/openapi_provisioning_api.ts index 18b3b13c08d..c77f8ec176f 100644 --- a/src/types/openapi/core/openapi_provisioning_api.ts +++ b/src/types/openapi/core/openapi_provisioning_api.ts @@ -186,7 +186,12 @@ export type paths = { delete: operations["users-delete-user"]; options?: never; head?: never; - patch?: never; + /** + * Update multiple user account fields atomically. All submitted fields are validated first; if any fail, no changes are applied. + * @description Unlike editUser (which updates one field at a time via key/value), this method accepts named fields and applies them all in a single request. + * This endpoint requires password confirmation + */ + patch: operations["users-edit-user-multi-field"]; trace?: never; }; "/ocs/v2.php/cloud/user": { @@ -556,6 +561,10 @@ export type components = { website: string; websiteScope?: components["schemas"]["UserDetailsScope"]; }; + UserDetailsGroupDisplayname: { + id: string; + displayname: string; + }; UserDetailsQuota: { free?: number; quota?: number | string; @@ -788,6 +797,7 @@ export interface operations { id: string; }; }; + groups: components["schemas"]["UserDetailsGroupDisplayname"][]; }; }; }; @@ -1046,6 +1056,7 @@ export interface operations { id: string; }; }; + groups: components["schemas"]["UserDetailsGroupDisplayname"][]; }; }; }; @@ -1335,6 +1346,114 @@ export interface operations { }; }; }; + "users-edit-user-multi-field": { + parameters: { + query?: never; + header: { + /** @description Required to be true for the API request to pass */ + "OCS-APIRequest": boolean; + }; + path: { + /** @description The user to update */ + userId: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "application/json": { + /** + * @description New display name (null = no change) + * @default null + */ + displayName?: string | null; + /** + * @description New password (null = no change) + * @default null + */ + password?: string | null; + /** + * @description New primary email (null = no change, '' = clear) + * @default null + */ + email?: string | null; + /** + * @description New quota e.g. "5 GB" (null = no change) + * @default null + */ + quota?: string | null; + /** + * @description Language code e.g. "de" (null = no change) + * @default null + */ + language?: string | null; + /** + * @description Manager user ID (null = no change, '' = clear) + * @default null + */ + manager?: string | null; + /** + * @description Group IDs to assign (null = no change, [] = remove all) + * @default null + */ + groups?: string[] | null; + /** + * @description Subadmin group IDs (null = no change, [] = remove all) + * @default null + */ + subadminGroups?: string[] | null; + }; + }; + }; + responses: { + /** @description User updated successfully */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + ocs: { + meta: components["schemas"]["OCSMeta"]; + data: components["schemas"]["UserDetails"]; + }; + }; + }; + }; + /** @description Current user is not logged in */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + ocs: { + meta: components["schemas"]["OCSMeta"]; + data: unknown; + }; + }; + }; + }; + /** @description One or more submitted fields failed validation */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + ocs: { + meta: components["schemas"]["OCSMeta"]; + data: { + errors: { + [key: string]: string; + }; + }; + }; + }; + }; + }; + }; + }; "users-get-current-user": { parameters: { query?: never;