Skip to content

Commit

Permalink
[auto-generated] Update structure file for main
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 22, 2024
1 parent 8fa4214 commit 89200f5
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion structure/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2861,7 +2861,8 @@ type CoreCourseGetCoursesByFieldWSParams = {
// ids: comma separated course ids
// shortname: course short name
// idnumber: course id number
// category: category id the course belongs to.
// category: category id the course belongs to
// sectionid: section id that belongs to a course.

value?: string; // The value to match.
};
Expand Down Expand Up @@ -6524,6 +6525,28 @@ export type CoreUserGetUsersByFieldWSResponse = {
}[];
}[];

/**
* Params of core_user_prepare_private_files_for_edition WS.
*
* WS Description: Prepares the draft area for user private files.
*/
type CoreUserPreparePrivateFilesForEditionWSParams = {
};

/**
* Data returned by core_user_prepare_private_files_for_edition WS.
*
* WS Description: Prepares the draft area for user private files.
*/
export type CoreUserPreparePrivateFilesForEditionWSResponse = {
draftitemid: number; // Draft item id for the file area.
areaoptions: { // Draft file area options.
name: string; // Name of option.
value: string; // Value of option.
}[];
warnings?: CoreWSExternalWarning[];
};

/**
* Params of core_user_remove_user_device WS.
*
Expand Down Expand Up @@ -6592,6 +6615,25 @@ export type CoreUserUpdatePictureWSResponse = {
warnings?: CoreWSExternalWarning[];
};

/**
* Params of core_user_update_private_files WS.
*
* WS Description: Copy files from a draft area to users private files area.
*/
type CoreUserUpdatePrivateFilesWSParams = {
draftitemid: number; // The draft item id with the files.
};

/**
* Data returned by core_user_update_private_files WS.
*
* WS Description: Copy files from a draft area to users private files area.
*/
export type CoreUserUpdatePrivateFilesWSResponse = {
status: boolean; // The update result, true if everything went well.
warnings?: CoreWSExternalWarning[];
};

/**
* Params of core_user_update_user_device_public_key WS.
*
Expand Down

0 comments on commit 89200f5

Please sign in to comment.