Skip to content

Commit f6ddc98

Browse files
[auto-generated] Update structure file for main
1 parent 6acf8b0 commit f6ddc98

File tree

1 file changed

+5
-102
lines changed

1 file changed

+5
-102
lines changed

structure/main.ts

Lines changed: 5 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ export type AddonBadgesGetBadgeWSResponse = {
230230
image: string; // URL to the image.
231231
description: string; // Description of the badge class.
232232
hostedUrl?: string; // Identifier of the open badge for this assertion.
233+
courseid?: number; // Id of the course.
234+
coursefullname?: string; // Full name of the course.
233235
alignment?: { // Alignment.
234236
id?: number; // Alignment id.
235237
badgeid?: number; // Badge id.
@@ -275,6 +277,7 @@ export type AddonBadgesGetUserBadgeByHashWSResponse = {
275277
expireperiod?: number; // Expire period.
276278
type?: number; // Type.
277279
courseid?: number; // Course id.
280+
coursefullname?: string; // Full name of the course.
278281
message?: string; // Message.
279282
messagesubject?: string; // Message subject.
280283
attachment?: number; // Attachment.
@@ -358,6 +361,7 @@ export type AddonBadgesGetUserBadgesWSResponse = {
358361
expireperiod?: number; // Expire period.
359362
type?: number; // Type.
360363
courseid?: number; // Course id.
364+
coursefullname?: string; // Full name of the course.
361365
message?: string; // Message.
362366
messagesubject?: string; // Message subject.
363367
attachment?: number; // Attachment.
@@ -3821,38 +3825,6 @@ export type CoreGetComponentStringsWSResponse = {
38213825
string: string; // Translated string.
38223826
}[];
38233827

3824-
/**
3825-
* Params of core_grades_get_enrolled_users_for_search_widget WS.
3826-
*
3827-
* WS Description: ** DEPRECATED ** Please do not call this function any more. Use core_grades_get_enrolled_users_for_selector instead. Returns the enrolled users within and map some fields to the returned array of user objects.
3828-
*
3829-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
3830-
*/
3831-
type CoreGradesGetEnrolledUsersForSearchWidgetWSParams = {
3832-
courseid: number; // Course Id.
3833-
actionbaseurl: string; // The base URL for the user option.
3834-
groupid?: number; // Group Id.
3835-
};
3836-
3837-
/**
3838-
* Data returned by core_grades_get_enrolled_users_for_search_widget WS.
3839-
*
3840-
* WS Description: ** DEPRECATED ** Please do not call this function any more. Use core_grades_get_enrolled_users_for_selector instead. Returns the enrolled users within and map some fields to the returned array of user objects.
3841-
*
3842-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
3843-
*/
3844-
export type CoreGradesGetEnrolledUsersForSearchWidgetWSResponse = {
3845-
users: {
3846-
id: number; // ID of the user.
3847-
profileimage?: string; // The location of the users larger image.
3848-
url?: string; // The link to the user report.
3849-
fullname?: string; // The full name of the user.
3850-
email?: string; // An email address - allow email as root@localhost.
3851-
active: boolean; // Are we currently on this item?.
3852-
}[];
3853-
warnings?: CoreWSExternalWarning[];
3854-
};
3855-
38563828
/**
38573829
* Params of core_grades_get_enrolled_users_for_selector WS.
38583830
*
@@ -4001,30 +3973,6 @@ export type CoreGradesGetGradeitemsWSResponse = {
40013973
warnings?: CoreWSExternalWarning[];
40023974
};
40033975

4004-
/**
4005-
* Params of core_grades_get_groups_for_search_widget WS.
4006-
*
4007-
* WS Description: ** DEPRECATED ** Please do not call this function any more. Use core_group_get_groups_for_selector instead. Get the group/(s) for a course
4008-
*/
4009-
type CoreGradesGetGroupsForSearchWidgetWSParams = {
4010-
courseid: number; // Course Id.
4011-
cmid?: number; // Course module Id.
4012-
};
4013-
4014-
/**
4015-
* Data returned by core_grades_get_groups_for_search_widget WS.
4016-
*
4017-
* WS Description: ** DEPRECATED ** Please do not call this function any more. Use core_group_get_groups_for_selector instead. Get the group/(s) for a course
4018-
*/
4019-
export type CoreGradesGetGroupsForSearchWidgetWSResponse = {
4020-
groups: {
4021-
id: string; // An ID for the group.
4022-
name: string; // The full name of the group.
4023-
groupimageurl?: string; // Group image URL.
4024-
}[];
4025-
warnings?: CoreWSExternalWarning[];
4026-
};
4027-
40283976
/**
40293977
* Params of core_grades_get_groups_for_selector WS.
40303978
*
@@ -8979,6 +8927,7 @@ export type AddonModChoiceGetChoiceOptionsWSResponse = {
89798927
*/
89808928
type AddonModChoiceGetChoiceResultsWSParams = {
89818929
choiceid: number; // Choice instance id.
8930+
groupid?: number; // Group ID. 0 for all participants, empty for active group.
89828931
};
89838932

89848933
/**
@@ -15961,52 +15910,6 @@ export type AddonReportInsightsActionExecutedWSResponse = {
1596115910
warnings?: CoreWSExternalWarning[];
1596215911
};
1596315912

15964-
/**
15965-
* Params of report_insights_set_fixed_prediction WS.
15966-
*
15967-
* WS Description: Flags a prediction as fixed.
15968-
*
15969-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
15970-
*/
15971-
type AddonReportInsightsSetFixedPredictionWSParams = {
15972-
predictionid: number; // The prediction id.
15973-
};
15974-
15975-
/**
15976-
* Data returned by report_insights_set_fixed_prediction WS.
15977-
*
15978-
* WS Description: Flags a prediction as fixed.
15979-
*
15980-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
15981-
*/
15982-
export type AddonReportInsightsSetFixedPredictionWSResponse = {
15983-
success: boolean; // True if the prediction was successfully flagged as fixed.
15984-
warnings?: CoreWSExternalWarning[];
15985-
};
15986-
15987-
/**
15988-
* Params of report_insights_set_notuseful_prediction WS.
15989-
*
15990-
* WS Description: Flags the prediction as not useful.
15991-
*
15992-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
15993-
*/
15994-
type AddonReportInsightsSetNotusefulPredictionWSParams = {
15995-
predictionid: number; // The prediction id.
15996-
};
15997-
15998-
/**
15999-
* Data returned by report_insights_set_notuseful_prediction WS.
16000-
*
16001-
* WS Description: Flags the prediction as not useful.
16002-
*
16003-
* @deprecatedonmoodle since ADDVERSIONHERE. This WS method is deprecated
16004-
*/
16005-
export type AddonReportInsightsSetNotusefulPredictionWSResponse = {
16006-
success: boolean; // True if the prediction was successfully flagged as not useful.
16007-
warnings?: CoreWSExternalWarning[];
16008-
};
16009-
1601015913
/**
1601115914
* Params of tool_analytics_potential_contexts WS.
1601215915
*

0 commit comments

Comments
 (0)