Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions src/types/openapi/core/openapi_core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1221,6 +1218,7 @@ export type components = {
allowCleanup: boolean;
includeWatermark: boolean;
userFacingErrorMessage: string | null;
preferStreaming: boolean;
};
TaskProcessingTaskType: {
name: string;
Expand Down Expand Up @@ -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[];
Expand Down Expand Up @@ -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;
};
};
};
Expand Down
3 changes: 3 additions & 0 deletions src/types/openapi/core/openapi_dav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 5 additions & 2 deletions src/types/openapi/core/openapi_files_sharing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ export type components = {
};
};
sharee: {
/** Format: int64 */
minSearchStringLength: number;
query_lookup_default: boolean;
always_show_unique: boolean;
};
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 */
Expand Down
121 changes: 120 additions & 1 deletion src/types/openapi/core/openapi_provisioning_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -556,6 +561,10 @@ export type components = {
website: string;
websiteScope?: components["schemas"]["UserDetailsScope"];
};
UserDetailsGroupDisplayname: {
id: string;
displayname: string;
};
UserDetailsQuota: {
free?: number;
quota?: number | string;
Expand Down Expand Up @@ -788,6 +797,7 @@ export interface operations {
id: string;
};
};
groups: components["schemas"]["UserDetailsGroupDisplayname"][];
};
};
};
Expand Down Expand Up @@ -1046,6 +1056,7 @@ export interface operations {
id: string;
};
};
groups: components["schemas"]["UserDetailsGroupDisplayname"][];
};
};
};
Expand Down Expand Up @@ -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;
Expand Down
Loading