@microsoft/msgraph-sdk-education 1.0.0-preview.14 → 1.0.0-preview.15

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.
@@ -18,11 +18,12 @@ export interface EducationGradingCategoryItemRequestBuilder extends BaseRequestB
18
18
  */
19
19
  get(requestConfiguration?: RequestConfiguration<EducationGradingCategoryItemRequestBuilderGetQueryParameters> | undefined): Promise<EducationGradingCategory | undefined>;
20
20
  /**
21
- * Update the navigation property gradingCategories in education
21
+ * Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation.
22
22
  * @param body The request body
23
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
24
  * @returns {Promise<EducationGradingCategory>}
25
25
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
+ * @see {@link https://learn.microsoft.com/graph/api/educationgradingcategory-update?view=graph-rest-1.0|Find more info here}
26
27
  */
27
28
  patch(body: EducationGradingCategory, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationGradingCategory | undefined>;
28
29
  /**
@@ -38,7 +39,7 @@ export interface EducationGradingCategoryItemRequestBuilder extends BaseRequestB
38
39
  */
39
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<EducationGradingCategoryItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
41
  /**
41
- * Update the navigation property gradingCategories in education
42
+ * Update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation.
42
43
  * @param body The request body
43
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
45
  * @returns {RequestInformation}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2F,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAExK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE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E,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,qDAAqD,kJAAkJ,CAAC;AAQrN;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,gBA+BxE,CAAC"}
@@ -52,7 +52,7 @@ export interface EducationAssignmentItemRequestBuilder extends BaseRequestBuilde
52
52
  */
53
53
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
54
54
  /**
55
- * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class.
55
+ * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, the response value for the status property is unknownFutureValue.
56
56
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
57
57
  * @returns {Promise<EducationAssignment>}
58
58
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -75,7 +75,7 @@ export interface EducationAssignmentItemRequestBuilder extends BaseRequestBuilde
75
75
  */
76
76
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
77
77
  /**
78
- * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class.
78
+ * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, the response value for the status property is unknownFutureValue.
79
79
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
80
80
  * @returns {RequestInformation}
81
81
  */
@@ -89,7 +89,7 @@ export interface EducationAssignmentItemRequestBuilder extends BaseRequestBuilde
89
89
  toPatchRequestInformation(body: EducationAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
90
90
  }
91
91
  /**
92
- * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class.
92
+ * Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, the response value for the status property is unknownFutureValue.
93
93
  */
94
94
  export interface EducationAssignmentItemRequestBuilderGetQueryParameters {
95
95
  /**
@@ -17,28 +17,30 @@ export interface ModulesRequestBuilder extends BaseRequestBuilder<ModulesRequest
17
17
  */
18
18
  byEducationModuleId(educationModuleId: string): EducationModuleItemRequestBuilder;
19
19
  /**
20
- * Get modules from education
20
+ * Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<EducationModuleCollectionResponse>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ * @see {@link https://learn.microsoft.com/graph/api/educationclass-list-modules?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<ModulesRequestBuilderGetQueryParameters> | undefined): Promise<EducationModuleCollectionResponse | undefined>;
26
27
  /**
27
- * Create new navigation property to modules for education
28
+ * Create a new module in a class. Only teachers in a class can create a module. Modules start in the draft state, which means that students can't see the modules until publication.
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
31
  * @returns {Promise<EducationModule>}
31
32
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
+ * @see {@link https://learn.microsoft.com/graph/api/educationclass-post-module?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: EducationModule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationModule | undefined>;
34
36
  /**
35
- * Get modules from education
37
+ * Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules.
36
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
39
  * @returns {RequestInformation}
38
40
  */
39
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ModulesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
- * Create new navigation property to modules for education
43
+ * Create a new module in a class. Only teachers in a class can create a module. Modules start in the draft state, which means that students can't see the modules until publication.
42
44
  * @param body The request body
43
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
46
  * @returns {RequestInformation}
@@ -46,7 +48,7 @@ export interface ModulesRequestBuilder extends BaseRequestBuilder<ModulesRequest
46
48
  toPostRequestInformation(body: EducationModule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
48
50
  /**
49
- * Get modules from education
51
+ * Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules.
50
52
  */
51
53
  export interface ModulesRequestBuilderGetQueryParameters {
52
54
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwI,KAAK,eAAe,EAAE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEpP,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAA0G,KAAK,iCAAiC,EAAE,MAAM,SAAS,CAAC;AACzK,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC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IACF,wBAAwB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,4IAA4I,CAAC;AAc1L;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC"}
@@ -30,40 +30,43 @@ export interface EducationModuleItemRequestBuilder extends BaseRequestBuilder<Ed
30
30
  */
31
31
  get unpin(): UnpinRequestBuilder;
32
32
  /**
33
- * Delete navigation property modules for education
33
+ * Delete an existing module in a class. Only teachers within a class can delete modules.
34
34
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
35
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
36
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-delete?view=graph-rest-1.0|Find more info here}
36
37
  */
37
38
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
38
39
  /**
39
- * Get modules from education
40
+ * Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class.
40
41
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
42
  * @returns {Promise<EducationModule>}
42
43
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
44
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-get?view=graph-rest-1.0|Find more info here}
43
45
  */
44
46
  get(requestConfiguration?: RequestConfiguration<EducationModuleItemRequestBuilderGetQueryParameters> | undefined): Promise<EducationModule | undefined>;
45
47
  /**
46
- * Update the navigation property modules in education
48
+ * Update an educationModule object in a class. Only teachers in the class can perform this operation. You can't use a PATCH request to change the status of a module. Use the publish action to change the module status.
47
49
  * @param body The request body
48
50
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
51
  * @returns {Promise<EducationModule>}
50
52
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
53
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-update?view=graph-rest-1.0|Find more info here}
51
54
  */
52
55
  patch(body: EducationModule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationModule | undefined>;
53
56
  /**
54
- * Delete navigation property modules for education
57
+ * Delete an existing module in a class. Only teachers within a class can delete modules.
55
58
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
56
59
  * @returns {RequestInformation}
57
60
  */
58
61
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
59
62
  /**
60
- * Get modules from education
63
+ * Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class.
61
64
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
62
65
  * @returns {RequestInformation}
63
66
  */
64
67
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<EducationModuleItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
65
68
  /**
66
- * Update the navigation property modules in education
69
+ * Update an educationModule object in a class. Only teachers in the class can perform this operation. You can't use a PATCH request to change the status of a module. Use the publish action to change the module status.
67
70
  * @param body The request body
68
71
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
69
72
  * @returns {RequestInformation}
@@ -71,7 +74,7 @@ export interface EducationModuleItemRequestBuilder extends BaseRequestBuilder<Ed
71
74
  toPatchRequestInformation(body: EducationModule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
72
75
  }
73
76
  /**
74
- * Get modules from education
77
+ * Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class.
75
78
  */
76
79
  export interface EducationModuleItemRequestBuilderGetQueryParameters {
77
80
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7I,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACnF,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC/F,OAAO,EAAsF,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAChJ,OAAO,EAAsD,KAAK,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AACtI,OAAO,EAAE,KAAK,mBAAmB,EAAuC,MAAM,UAAU,CAAC;AACzF,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;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AoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3I;AACD;;GAEG;AACH,MAAM,WAAW,mDAAmD;IAChE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,4CAA4C,4GAA4G,CAAC;AAQtK;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iCAAiC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAiBhL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBA+B/D,CAAC"}
@@ -5,14 +5,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface PinRequestBuilder extends BaseRequestBuilder<PinRequestBuilder> {
7
7
  /**
8
- * Invoke action pin
8
+ * Pin an educationModule in the class work list. This action sets the isPinned property to true for an educationModule. Only teachers can perform this action and only one module at a time can be pinned in the class work list.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<EducationModule>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-pin?view=graph-rest-1.0|Find more info here}
12
13
  */
13
14
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationModule | undefined>;
14
15
  /**
15
- * Invoke action pin
16
+ * Pin an educationModule in the class work list. This action sets the isPinned property to true for an educationModule. Only teachers can perform this action and only one module at a time can be pinned in the class work list.
16
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
18
  * @returns {RequestInformation}
18
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,0FAA0F,CAAC;AACpI;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAU/C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,0FAA0F,CAAC;AACpI;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAU/C,CAAC"}
@@ -5,14 +5,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface PublishRequestBuilder extends BaseRequestBuilder<PublishRequestBuilder> {
7
7
  /**
8
- * Invoke action publish
8
+ * Change the state of an educationModule from its original draft status to the published status. Only teachers in the class can perform this operation. When a module is in draft status, students can't see the module. When you call this API, the module appears in the student's class work list.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<EducationModule>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-publish?view=graph-rest-1.0|Find more info here}
12
13
  */
13
14
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationModule | undefined>;
14
15
  /**
15
- * Invoke action publish
16
+ * Change the state of an educationModule from its original draft status to the published status. Only teachers in the class can perform this operation. When a module is in draft status, students can't see the module. When you call this API, the module appears in the student's class work list.
16
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
18
  * @returns {RequestInformation}
18
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,8FAA8F,CAAC;AAC5I;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,8FAA8F,CAAC;AAC5I;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC"}
@@ -17,28 +17,30 @@ export interface ResourcesRequestBuilder extends BaseRequestBuilder<ResourcesReq
17
17
  */
18
18
  byEducationModuleResourceId(educationModuleResourceId: string): EducationModuleResourceItemRequestBuilder;
19
19
  /**
20
- * Get resources from education
20
+ * Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<EducationModuleResourceCollectionResponse>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-list-resources?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<ResourcesRequestBuilderGetQueryParameters> | undefined): Promise<EducationModuleResourceCollectionResponse | undefined>;
26
27
  /**
27
- * Create new navigation property to resources for education
28
+ * Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created.
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
31
  * @returns {Promise<EducationModuleResource>}
31
32
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-post-resources?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: EducationModuleResource, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationModuleResource | undefined>;
34
36
  /**
35
- * Get resources from education
37
+ * Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation.
36
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
39
  * @returns {RequestInformation}
38
40
  */
39
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ResourcesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
- * Create new navigation property to resources for education
43
+ * Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created.
42
44
  * @param body The request body
43
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
46
  * @returns {RequestInformation}
@@ -46,7 +48,7 @@ export interface ResourcesRequestBuilder extends BaseRequestBuilder<ResourcesReq
46
48
  toPostRequestInformation(body: EducationModuleResource, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
48
50
  /**
49
- * Get resources from education
51
+ * Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation.
50
52
  */
51
53
  export interface ResourcesRequestBuilderGetQueryParameters {
52
54
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgK,KAAK,uBAAuB,EAAE,KAAK,yCAAyC,EAAE,MAAM,gCAAgC,CAAC;AAE5R,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAA6D,KAAK,yCAAyC,EAAE,MAAM,SAAS,CAAC;AACpI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,2BAA2B,CAAC,yBAAyB,EAAE,MAAM,GAAI,yCAAyC,C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AAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,6KAA6K,CAAC;AAc7N;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
@@ -5,40 +5,43 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface EducationModuleResourceItemRequestBuilder extends BaseRequestBuilder<EducationModuleResourceItemRequestBuilder> {
7
7
  /**
8
- * Delete navigation property resources for education
8
+ * Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ * @see {@link https://learn.microsoft.com/graph/api/educationmoduleresource-delete?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
14
  /**
14
- * Get resources from education
15
+ * Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation.
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
17
  * @returns {Promise<EducationModuleResource>}
17
18
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
19
+ * @see {@link https://learn.microsoft.com/graph/api/educationmoduleresource-get?view=graph-rest-1.0|Find more info here}
18
20
  */
19
21
  get(requestConfiguration?: RequestConfiguration<EducationModuleResourceItemRequestBuilderGetQueryParameters> | undefined): Promise<EducationModuleResource | undefined>;
20
22
  /**
21
- * Update the navigation property resources in education
23
+ * Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types.
22
24
  * @param body The request body
23
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
26
  * @returns {Promise<EducationModuleResource>}
25
27
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
28
+ * @see {@link https://learn.microsoft.com/graph/api/educationmoduleresource-update?view=graph-rest-1.0|Find more info here}
26
29
  */
27
30
  patch(body: EducationModuleResource, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationModuleResource | undefined>;
28
31
  /**
29
- * Delete navigation property resources for education
32
+ * Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource.
30
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
34
  * @returns {RequestInformation}
32
35
  */
33
36
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
37
  /**
35
- * Get resources from education
38
+ * Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation.
36
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
40
  * @returns {RequestInformation}
38
41
  */
39
42
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<EducationModuleResourceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
43
  /**
41
- * Update the navigation property resources in education
44
+ * Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types.
42
45
  * @param body The request body
43
46
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
47
  * @returns {RequestInformation}
@@ -46,7 +49,7 @@ export interface EducationModuleResourceItemRequestBuilder extends BaseRequestBu
46
49
  toPatchRequestInformation(body: EducationModuleResource, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
50
  }
48
51
  /**
49
- * Get resources from education
52
+ * Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation.
50
53
  */
51
54
  export interface EducationModuleResourceItemRequestBuilderGetQueryParameters {
52
55
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyF,KAAK,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAErK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yCAA0C,SAAQ,kBAAkB,CAAC,yCAAyC,CAAC;IAC5H;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2DAA2D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG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AAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2DAA2D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,MAAM,WAAW,2DAA2D;IACxE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,oDAAoD,qJAAqJ,CAAC;AAQvN;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,gBA+BvE,CAAC"}
@@ -5,14 +5,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface SetUpResourcesFolderRequestBuilder extends BaseRequestBuilder<SetUpResourcesFolderRequestBuilder> {
7
7
  /**
8
- * Invoke action setUpResourcesFolder
8
+ * Create a SharePoint folder to upload files for a given educationModule. Only teachers can perform this operation. The teacher determines what resources to upload to the SharePoint folder for the module.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<EducationModule>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-setupresourcesfolder?view=graph-rest-1.0|Find more info here}
12
13
  */
13
14
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationModule | undefined>;
14
15
  /**
15
- * Invoke action setUpResourcesFolder
16
+ * Create a SharePoint folder to upload files for a given educationModule. Only teachers can perform this operation. The teacher determines what resources to upload to the SharePoint folder for the module.
16
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
18
  * @returns {RequestInformation}
18
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,2GAA2G,CAAC;AACtK;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAUhE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,2GAA2G,CAAC;AACtK;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAUhE,CAAC"}
@@ -5,14 +5,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface UnpinRequestBuilder extends BaseRequestBuilder<UnpinRequestBuilder> {
7
7
  /**
8
- * Invoke action unpin
8
+ * Unpin an educationModule in the classwork list. This action sets the isPinned property to false for an educationModule. Only teachers in the class can perform this operation.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<EducationModule>}
11
11
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/educationmodule-unpin?view=graph-rest-1.0|Find more info here}
12
13
  */
13
14
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationModule | undefined>;
14
15
  /**
15
- * Invoke action unpin
16
+ * Unpin an educationModule in the classwork list. This action sets the isPinned property to false for an educationModule. Only teachers in the class can perform this operation.
16
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
18
  * @returns {RequestInformation}
18
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4FAA4F,CAAC;AACxI;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAUjD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4FAA4F,CAAC;AACxI;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAUjD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-education",
3
- "version": "1.0.0-preview.14",
3
+ "version": "1.0.0-preview.15",
4
4
  "description": "Education fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,12 +37,12 @@
37
37
  "@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
38
38
  "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
39
39
  "@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
40
- "@microsoft/msgraph-sdk": "^1.0.0-preview.14",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.15",
41
41
  "guid-typescript": "^1.0.9",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.3.3"
46
46
  },
47
- "gitHead": "8f0089d13ae04831ea3eb32559073b44c011abc7"
47
+ "gitHead": "1dcf0e9093a5645283fea0e91cc30247bc3a76c4"
48
48
  }