@maxim_mazurok/gapi.client.classroom-v1 0.2.20260622 → 0.3.20260629
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +10 -30
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://classroom.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260629
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -87,9 +87,7 @@ declare namespace gapi.client {
|
|
|
87
87
|
alternateLink?: string;
|
|
88
88
|
/** Assignee mode of the announcement. If unspecified, the default value is `ALL_STUDENTS`. */
|
|
89
89
|
assigneeMode?:
|
|
90
|
-
| '
|
|
91
|
-
| 'ALL_STUDENTS'
|
|
92
|
-
| 'INDIVIDUAL_STUDENTS';
|
|
90
|
+
'ASSIGNEE_MODE_UNSPECIFIED' | 'ALL_STUDENTS' | 'INDIVIDUAL_STUDENTS';
|
|
93
91
|
/** Identifier of the course. Read-only. */
|
|
94
92
|
courseId?: string;
|
|
95
93
|
/** Timestamp when this announcement was created. Read-only. */
|
|
@@ -106,10 +104,7 @@ declare namespace gapi.client {
|
|
|
106
104
|
scheduledTime?: string;
|
|
107
105
|
/** Status of this announcement. If unspecified, the default state is `DRAFT`. */
|
|
108
106
|
state?:
|
|
109
|
-
| '
|
|
110
|
-
| 'PUBLISHED'
|
|
111
|
-
| 'DRAFT'
|
|
112
|
-
| 'DELETED';
|
|
107
|
+
'ANNOUNCEMENT_STATE_UNSPECIFIED' | 'PUBLISHED' | 'DRAFT' | 'DELETED';
|
|
113
108
|
/** Description of this announcement. The text must be a valid UTF-8 string containing no more than 30,000 characters. */
|
|
114
109
|
text?: string;
|
|
115
110
|
/** Timestamp of the most recent change to this announcement. Read-only. */
|
|
@@ -226,9 +221,7 @@ declare namespace gapi.client {
|
|
|
226
221
|
alternateLink?: string;
|
|
227
222
|
/** Assignee mode of the coursework. If unspecified, the default value is `ALL_STUDENTS`. */
|
|
228
223
|
assigneeMode?:
|
|
229
|
-
| '
|
|
230
|
-
| 'ALL_STUDENTS'
|
|
231
|
-
| 'INDIVIDUAL_STUDENTS';
|
|
224
|
+
'ASSIGNEE_MODE_UNSPECIFIED' | 'ALL_STUDENTS' | 'INDIVIDUAL_STUDENTS';
|
|
232
225
|
/** Assignment details. This is populated only when `work_type` is `ASSIGNMENT`. Read-only. */
|
|
233
226
|
assignment?: Assignment;
|
|
234
227
|
/** Whether this course work item is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only. */
|
|
@@ -263,10 +256,7 @@ declare namespace gapi.client {
|
|
|
263
256
|
scheduledTime?: string;
|
|
264
257
|
/** Status of this course work. If unspecified, the default state is `DRAFT`. */
|
|
265
258
|
state?:
|
|
266
|
-
| '
|
|
267
|
-
| 'PUBLISHED'
|
|
268
|
-
| 'DRAFT'
|
|
269
|
-
| 'DELETED';
|
|
259
|
+
'COURSE_WORK_STATE_UNSPECIFIED' | 'PUBLISHED' | 'DRAFT' | 'DELETED';
|
|
270
260
|
/** Setting to determine when students are allowed to modify submissions. If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`. */
|
|
271
261
|
submissionModificationMode?:
|
|
272
262
|
| 'SUBMISSION_MODIFICATION_MODE_UNSPECIFIED'
|
|
@@ -294,9 +284,7 @@ declare namespace gapi.client {
|
|
|
294
284
|
alternateLink?: string;
|
|
295
285
|
/** Assignee mode of the course work material. If unspecified, the default value is `ALL_STUDENTS`. */
|
|
296
286
|
assigneeMode?:
|
|
297
|
-
| '
|
|
298
|
-
| 'ALL_STUDENTS'
|
|
299
|
-
| 'INDIVIDUAL_STUDENTS';
|
|
287
|
+
'ASSIGNEE_MODE_UNSPECIFIED' | 'ALL_STUDENTS' | 'INDIVIDUAL_STUDENTS';
|
|
300
288
|
/** Identifier of the course. Read-only. */
|
|
301
289
|
courseId?: string;
|
|
302
290
|
/** Timestamp when this course work material was created. Read-only. */
|
|
@@ -404,9 +392,7 @@ declare namespace gapi.client {
|
|
|
404
392
|
interface GradebookSettings {
|
|
405
393
|
/** Indicates how the overall grade is calculated. */
|
|
406
394
|
calculationType?:
|
|
407
|
-
| '
|
|
408
|
-
| 'TOTAL_POINTS'
|
|
409
|
-
| 'WEIGHTED_CATEGORIES';
|
|
395
|
+
'CALCULATION_TYPE_UNSPECIFIED' | 'TOTAL_POINTS' | 'WEIGHTED_CATEGORIES';
|
|
410
396
|
/** Indicates who can see the overall grade.. */
|
|
411
397
|
displaySetting?:
|
|
412
398
|
| 'DISPLAY_SETTING_UNSPECIFIED'
|
|
@@ -625,9 +611,7 @@ declare namespace gapi.client {
|
|
|
625
611
|
interface ModifyAnnouncementAssigneesRequest {
|
|
626
612
|
/** Mode of the announcement describing whether it is accessible by all students or specified individual students. */
|
|
627
613
|
assigneeMode?:
|
|
628
|
-
| '
|
|
629
|
-
| 'ALL_STUDENTS'
|
|
630
|
-
| 'INDIVIDUAL_STUDENTS';
|
|
614
|
+
'ASSIGNEE_MODE_UNSPECIFIED' | 'ALL_STUDENTS' | 'INDIVIDUAL_STUDENTS';
|
|
631
615
|
/** Set which students can view or cannot view the announcement. Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`. */
|
|
632
616
|
modifyIndividualStudentsOptions?: ModifyIndividualStudentsOptions;
|
|
633
617
|
}
|
|
@@ -638,9 +622,7 @@ declare namespace gapi.client {
|
|
|
638
622
|
interface ModifyCourseWorkAssigneesRequest {
|
|
639
623
|
/** Mode of the coursework describing whether it will be assigned to all students or specified individual students. */
|
|
640
624
|
assigneeMode?:
|
|
641
|
-
| '
|
|
642
|
-
| 'ALL_STUDENTS'
|
|
643
|
-
| 'INDIVIDUAL_STUDENTS';
|
|
625
|
+
'ASSIGNEE_MODE_UNSPECIFIED' | 'ALL_STUDENTS' | 'INDIVIDUAL_STUDENTS';
|
|
644
626
|
/** Set which students are assigned or not assigned to the coursework. Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`. */
|
|
645
627
|
modifyIndividualStudentsOptions?: ModifyIndividualStudentsOptions;
|
|
646
628
|
}
|
|
@@ -5478,9 +5460,7 @@ declare namespace gapi.client {
|
|
|
5478
5460
|
| 'PENDING'
|
|
5479
5461
|
| 'COMPLETE'
|
|
5480
5462
|
| (
|
|
5481
|
-
| '
|
|
5482
|
-
| 'PENDING'
|
|
5483
|
-
| 'COMPLETE'
|
|
5463
|
+
'GUARDIAN_INVITATION_STATE_UNSPECIFIED' | 'PENDING' | 'COMPLETE'
|
|
5484
5464
|
)[];
|
|
5485
5465
|
/** The ID of the student whose guardian invitations are to be returned. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `"me"`, indicating the requesting user * the string literal `"-"`, indicating that results should be returned for all students that the requesting user is permitted to view guardian invitations. */
|
|
5486
5466
|
studentId: string;
|