Skip to content

Commit

Permalink
[auto-generated] Update structure file for MOODLE_38_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 23, 2023
1 parent 1025b30 commit b7c8924
Showing 1 changed file with 145 additions and 145 deletions.
290 changes: 145 additions & 145 deletions structure/MOODLE_38_STABLE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5639,6 +5639,52 @@ export type ModAssignGetParticipantWSResponse = {
};
};

/**
* Params of mod_assign_get_submissions WS.
*/
export type ModAssignGetSubmissionsWSParams = {
assignmentids: number[]; // 1 or more assignment ids.
status?: string; // Status.
since?: number; // Submitted since.
before?: number; // Submitted before.
};

/**
* Data returned by mod_assign_get_submissions WS.
*/
export type ModAssignGetSubmissionsWSResponse = {
assignments: { // Assignment submissions.
assignmentid: number; // Assignment id.
submissions: {
id: number; // Submission id.
userid: number; // Student id.
attemptnumber: number; // Attempt number.
timecreated: number; // Submission creation time.
timemodified: number; // Submission last modified time.
status: string; // Submission status.
groupid: number; // Group id.
assignment?: number; // Assignment id.
latest?: number; // Latest attempt.
plugins?: { // Plugins.
type: string; // Submission plugin type.
name: string; // Submission plugin name.
fileareas?: { // Fileareas.
area: string; // File area.
files?: CoreWSExternalFile[];
}[];
editorfields?: { // Editorfields.
name: string; // Field name.
description: string; // Field description.
text: string; // Field value.
format: number; // Text format (1 = HTML, 0 = MOODLE, 2 = PLAIN or 4 = MARKDOWN).
}[];
}[];
gradingstatus?: string; // Grading status.
}[];
}[];
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_assign_get_submission_status WS.
*/
Expand Down Expand Up @@ -5818,52 +5864,6 @@ export type ModAssignGetSubmissionStatusWSResponse = {
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_assign_get_submissions WS.
*/
export type ModAssignGetSubmissionsWSParams = {
assignmentids: number[]; // 1 or more assignment ids.
status?: string; // Status.
since?: number; // Submitted since.
before?: number; // Submitted before.
};

/**
* Data returned by mod_assign_get_submissions WS.
*/
export type ModAssignGetSubmissionsWSResponse = {
assignments: { // Assignment submissions.
assignmentid: number; // Assignment id.
submissions: {
id: number; // Submission id.
userid: number; // Student id.
attemptnumber: number; // Attempt number.
timecreated: number; // Submission creation time.
timemodified: number; // Submission last modified time.
status: string; // Submission status.
groupid: number; // Group id.
assignment?: number; // Assignment id.
latest?: number; // Latest attempt.
plugins?: { // Plugins.
type: string; // Submission plugin type.
name: string; // Submission plugin name.
fileareas?: { // Fileareas.
area: string; // File area.
files?: CoreWSExternalFile[];
}[];
editorfields?: { // Editorfields.
name: string; // Field name.
description: string; // Field description.
text: string; // Field value.
format: number; // Text format (1 = HTML, 0 = MOODLE, 2 = PLAIN or 4 = MARKDOWN).
}[];
}[];
gradingstatus?: string; // Grading status.
}[];
}[];
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_assign_get_user_flags WS.
*/
Expand Down Expand Up @@ -6346,25 +6346,6 @@ export type ModChatGetChatLatestMessagesWSResponse = {
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_chat_get_chat_users WS.
*/
export type ModChatGetChatUsersWSParams = {
chatsid: string; // Chat session id (obtained via mod_chat_login_user).
};

/**
* Data returned by mod_chat_get_chat_users WS.
*/
export type ModChatGetChatUsersWSResponse = {
users: { // List of users.
id: number; // User id.
fullname: string; // User full name.
profileimageurl: string; // User picture URL.
}[];
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_chat_get_chats_by_courses WS.
*/
Expand Down Expand Up @@ -6398,6 +6379,25 @@ export type ModChatGetChatsByCoursesWSResponse = {
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_chat_get_chat_users WS.
*/
export type ModChatGetChatUsersWSParams = {
chatsid: string; // Chat session id (obtained via mod_chat_login_user).
};

/**
* Data returned by mod_chat_get_chat_users WS.
*/
export type ModChatGetChatUsersWSResponse = {
users: { // List of users.
id: number; // User id.
fullname: string; // User full name.
profileimageurl: string; // User picture URL.
}[];
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_chat_get_session_messages WS.
*/
Expand Down Expand Up @@ -11149,86 +11149,6 @@ export type ModScormGetScormAttemptCountWSResponse = {
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_scorm_get_scorm_sco_tracks WS.
*/
export type ModScormGetScormScoTracksWSParams = {
scoid: number; // Sco id.
userid: number; // User id.
attempt?: number; // Attempt number (0 for last attempt).
};

/**
* Data returned by mod_scorm_get_scorm_sco_tracks WS.
*/
export type ModScormGetScormScoTracksWSResponse = {
data: {
attempt: number; // Attempt number.
tracks: {
element: string; // Element name.
value: string; // Element value.
}[];
}; // SCO data.
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_scorm_get_scorm_scoes WS.
*/
export type ModScormGetScormScoesWSParams = {
scormid: number; // Scorm instance id.
organization?: string; // Organization id.
};

/**
* Data returned by mod_scorm_get_scorm_scoes WS.
*/
export type ModScormGetScormScoesWSResponse = {
scoes: {
id: number; // Sco id.
scorm: number; // Scorm id.
manifest: string; // Manifest id.
organization: string; // Organization id.
parent: string; // Parent.
identifier: string; // Identifier.
launch: string; // Launch file.
scormtype: string; // Scorm type (asset, sco).
title: string; // Sco title.
sortorder: number; // Sort order.
extradata?: { // Additional SCO data.
element: string; // Element name.
value: string; // Element value.
}[];
}[];
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_scorm_get_scorm_user_data WS.
*/
export type ModScormGetScormUserDataWSParams = {
scormid: number; // Scorm instance id.
attempt: number; // Attempt number.
};

/**
* Data returned by mod_scorm_get_scorm_user_data WS.
*/
export type ModScormGetScormUserDataWSResponse = {
data: {
scoid: number; // Sco id.
userdata: {
element: string; // Element name.
value: string; // Element value.
}[];
defaultdata: {
element: string; // Element name.
value: string; // Element value.
}[];
}[];
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_scorm_get_scorms_by_courses WS.
*/
Expand Down Expand Up @@ -11295,6 +11215,86 @@ export type ModScormGetScormsByCoursesWSResponse = {
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_scorm_get_scorm_scoes WS.
*/
export type ModScormGetScormScoesWSParams = {
scormid: number; // Scorm instance id.
organization?: string; // Organization id.
};

/**
* Data returned by mod_scorm_get_scorm_scoes WS.
*/
export type ModScormGetScormScoesWSResponse = {
scoes: {
id: number; // Sco id.
scorm: number; // Scorm id.
manifest: string; // Manifest id.
organization: string; // Organization id.
parent: string; // Parent.
identifier: string; // Identifier.
launch: string; // Launch file.
scormtype: string; // Scorm type (asset, sco).
title: string; // Sco title.
sortorder: number; // Sort order.
extradata?: { // Additional SCO data.
element: string; // Element name.
value: string; // Element value.
}[];
}[];
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_scorm_get_scorm_sco_tracks WS.
*/
export type ModScormGetScormScoTracksWSParams = {
scoid: number; // Sco id.
userid: number; // User id.
attempt?: number; // Attempt number (0 for last attempt).
};

/**
* Data returned by mod_scorm_get_scorm_sco_tracks WS.
*/
export type ModScormGetScormScoTracksWSResponse = {
data: {
attempt: number; // Attempt number.
tracks: {
element: string; // Element name.
value: string; // Element value.
}[];
}; // SCO data.
warnings?: CoreWSExternalWarning[];
};

/**
* Params of mod_scorm_get_scorm_user_data WS.
*/
export type ModScormGetScormUserDataWSParams = {
scormid: number; // Scorm instance id.
attempt: number; // Attempt number.
};

/**
* Data returned by mod_scorm_get_scorm_user_data WS.
*/
export type ModScormGetScormUserDataWSResponse = {
data: {
scoid: number; // Sco id.
userdata: {
element: string; // Element name.
value: string; // Element value.
}[];
defaultdata: {
element: string; // Element name.
value: string; // Element value.
}[];
}[];
warnings?: CoreWSExternalWarning[];
};

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

0 comments on commit b7c8924

Please sign in to comment.