From 89200f52e8712a28a83bb8eb621b94e33b226d70 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 04:05:10 +0000 Subject: [PATCH] [auto-generated] Update structure file for main --- structure/main.ts | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/structure/main.ts b/structure/main.ts index cea998d6..730e9764 100644 --- a/structure/main.ts +++ b/structure/main.ts @@ -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. }; @@ -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. * @@ -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. *