@microsoft/msgraph-sdk-education 1.0.0-preview.73 → 1.0.0-preview.74
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/education/classes/item/assignmentSettings/defaultGradingScheme/index.d.ts +42 -0
- package/education/classes/item/assignmentSettings/defaultGradingScheme/index.d.ts.map +1 -0
- package/education/classes/item/assignmentSettings/defaultGradingScheme/index.js +36 -0
- package/education/classes/item/assignmentSettings/defaultGradingScheme/index.js.map +1 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/count/index.d.ts +41 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/count/index.d.ts.map +1 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/count/index.js +34 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/count/index.js.map +1 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/index.d.ts +98 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/index.d.ts.map +1 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/index.js +70 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/index.js.map +1 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/item/index.d.ts +71 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/item/index.d.ts.map +1 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/item/index.js +56 -0
- package/education/classes/item/assignmentSettings/gradingSchemes/item/index.js.map +1 -0
- package/education/classes/item/assignmentSettings/index.d.ts +10 -0
- package/education/classes/item/assignmentSettings/index.d.ts.map +1 -1
- package/education/classes/item/assignmentSettings/index.js +11 -0
- package/education/classes/item/assignmentSettings/index.js.map +1 -1
- package/education/classes/item/assignments/item/gradingScheme/index.d.ts +42 -0
- package/education/classes/item/assignments/item/gradingScheme/index.d.ts.map +1 -0
- package/education/classes/item/assignments/item/gradingScheme/index.js +36 -0
- package/education/classes/item/assignments/item/gradingScheme/index.js.map +1 -0
- package/education/classes/item/assignments/item/index.d.ts +5 -0
- package/education/classes/item/assignments/item/index.d.ts.map +1 -1
- package/education/classes/item/assignments/item/index.js +5 -0
- package/education/classes/item/assignments/item/index.js.map +1 -1
- package/education/me/assignments/item/gradingScheme/index.d.ts +42 -0
- package/education/me/assignments/item/gradingScheme/index.d.ts.map +1 -0
- package/education/me/assignments/item/gradingScheme/index.js +36 -0
- package/education/me/assignments/item/gradingScheme/index.js.map +1 -0
- package/education/me/assignments/item/index.d.ts +5 -0
- package/education/me/assignments/item/index.d.ts.map +1 -1
- package/education/me/assignments/item/index.js +5 -0
- package/education/me/assignments/item/index.js.map +1 -1
- package/education/users/item/assignments/item/gradingScheme/index.d.ts +42 -0
- package/education/users/item/assignments/item/gradingScheme/index.d.ts.map +1 -0
- package/education/users/item/assignments/item/gradingScheme/index.js +36 -0
- package/education/users/item/assignments/item/gradingScheme/index.js.map +1 -0
- package/education/users/item/assignments/item/index.d.ts +5 -0
- package/education/users/item/assignments/item/index.d.ts.map +1 -1
- package/education/users/item/assignments/item/index.js +5 -0
- package/education/users/item/assignments/item/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type EducationGradingScheme } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface DefaultGradingSchemeRequestBuilder extends BaseRequestBuilder<DefaultGradingSchemeRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The default grading scheme for assignments created in this class.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<EducationGradingScheme>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<DefaultGradingSchemeRequestBuilderGetQueryParameters> | undefined): Promise<EducationGradingScheme | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* The default grading scheme for assignments created in this class.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {RequestInformation}
|
|
18
|
+
*/
|
|
19
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DefaultGradingSchemeRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The default grading scheme for assignments created in this class.
|
|
23
|
+
*/
|
|
24
|
+
export interface DefaultGradingSchemeRequestBuilderGetQueryParameters {
|
|
25
|
+
/**
|
|
26
|
+
* Expand related entities
|
|
27
|
+
*/
|
|
28
|
+
expand?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Select properties to be returned
|
|
31
|
+
*/
|
|
32
|
+
select?: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Uri template for the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const DefaultGradingSchemeRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/defaultGradingScheme{?%24expand,%24select}";
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
export declare const DefaultGradingSchemeRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsD,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAIzI,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,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oDAAoD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IAClK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oDAAoD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChK;AACD;;GAEG;AACH,MAAM,WAAW,oDAAoD;IACjE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,qHAAqH,CAAC;AAQhL;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAWhE,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createEducationGradingSchemeFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const DefaultGradingSchemeRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/defaultGradingScheme{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const DefaultGradingSchemeRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const DefaultGradingSchemeRequestBuilderRequestsMetadata = {
|
|
23
|
+
get: {
|
|
24
|
+
uriTemplate: DefaultGradingSchemeRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "send",
|
|
30
|
+
responseBodyFactory: createEducationGradingSchemeFromDiscriminatorValue,
|
|
31
|
+
queryParametersMapper: DefaultGradingSchemeRequestBuilderGetQueryParametersMapper,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,kDAAkD,EAA+B,MAAM,wCAAwC,CAAC;AACzI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,kHAAkH,CAAC;AAChL;;GAEG;AACH,MAAM,0DAA0D,GAA2B;IACvF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAqB;IAChF,GAAG,EAAE;QACD,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;QACxE,qBAAqB,EAAE,0DAA0D;KACpF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,sHAAsH,CAAC;AAQlK;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,mHAAmH,CAAC;AAClK;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { type EducationGradingScheme, type EducationGradingSchemeCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type EducationGradingSchemeItemRequestBuilder } from './item/index.js';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface GradingSchemesRequestBuilder extends BaseRequestBuilder<GradingSchemesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity.
|
|
15
|
+
* @param educationGradingSchemeId The unique identifier of educationGradingScheme
|
|
16
|
+
* @returns {EducationGradingSchemeItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byEducationGradingSchemeId(educationGradingSchemeId: string): EducationGradingSchemeItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Read the properties and relationships of an educationGradingScheme object.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<EducationGradingSchemeCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<GradingSchemesRequestBuilderGetQueryParameters> | undefined): Promise<EducationGradingSchemeCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new educationGradingScheme on an educationClass. Only teachers can perform this operation.
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {Promise<EducationGradingScheme>}
|
|
31
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
32
|
+
* @see {@link https://learn.microsoft.com/graph/api/educationassignmentsettings-post-gradingschemes?view=graph-rest-1.0|Find more info here}
|
|
33
|
+
*/
|
|
34
|
+
post(body: EducationGradingScheme, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationGradingScheme | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Read the properties and relationships of an educationGradingScheme object.
|
|
37
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
* @returns {RequestInformation}
|
|
39
|
+
*/
|
|
40
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GradingSchemesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
41
|
+
/**
|
|
42
|
+
* Create a new educationGradingScheme on an educationClass. Only teachers can perform this operation.
|
|
43
|
+
* @param body The request body
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns {RequestInformation}
|
|
46
|
+
*/
|
|
47
|
+
toPostRequestInformation(body: EducationGradingScheme, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Read the properties and relationships of an educationGradingScheme object.
|
|
51
|
+
*/
|
|
52
|
+
export interface GradingSchemesRequestBuilderGetQueryParameters {
|
|
53
|
+
/**
|
|
54
|
+
* Include count of items
|
|
55
|
+
*/
|
|
56
|
+
count?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Filter items by property values
|
|
63
|
+
*/
|
|
64
|
+
filter?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Order items by property values
|
|
67
|
+
*/
|
|
68
|
+
orderby?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* Search items by search phrases
|
|
71
|
+
*/
|
|
72
|
+
search?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Select properties to be returned
|
|
75
|
+
*/
|
|
76
|
+
select?: string[];
|
|
77
|
+
/**
|
|
78
|
+
* Skip the first n items
|
|
79
|
+
*/
|
|
80
|
+
skip?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Show only the first n items
|
|
83
|
+
*/
|
|
84
|
+
top?: number;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Uri template for the request builder.
|
|
88
|
+
*/
|
|
89
|
+
export declare const GradingSchemesRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
90
|
+
/**
|
|
91
|
+
* Metadata for all the navigation properties in the request builder.
|
|
92
|
+
*/
|
|
93
|
+
export declare const GradingSchemesRequestBuilderNavigationMetadata: Record<Exclude<keyof GradingSchemesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for all the requests in the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export declare const GradingSchemesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
98
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6J,KAAK,sBAAsB,EAAE,KAAK,wCAAwC,EAAE,MAAM,wC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B;;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,uCAAuC,sKAAsK,CAAC;AAc3N;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAuB1D,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createEducationGradingSchemeCollectionResponseFromDiscriminatorValue, createEducationGradingSchemeFromDiscriminatorValue, serializeEducationGradingScheme } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { EducationGradingSchemeItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const GradingSchemesRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const GradingSchemesRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"count": "%24count",
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"filter": "%24filter",
|
|
23
|
+
"orderby": "%24orderby",
|
|
24
|
+
"search": "%24search",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const GradingSchemesRequestBuilderNavigationMetadata = {
|
|
33
|
+
byEducationGradingSchemeId: {
|
|
34
|
+
requestsMetadata: EducationGradingSchemeItemRequestBuilderRequestsMetadata,
|
|
35
|
+
pathParametersMappings: ["educationGradingScheme%2Did"],
|
|
36
|
+
},
|
|
37
|
+
count: {
|
|
38
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the requests in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const GradingSchemesRequestBuilderRequestsMetadata = {
|
|
45
|
+
get: {
|
|
46
|
+
uriTemplate: GradingSchemesRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "send",
|
|
52
|
+
responseBodyFactory: createEducationGradingSchemeCollectionResponseFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: GradingSchemesRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
post: {
|
|
56
|
+
uriTemplate: GradingSchemesRequestBuilderUriTemplate,
|
|
57
|
+
responseBodyContentType: "application/json",
|
|
58
|
+
errorMappings: {
|
|
59
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "send",
|
|
62
|
+
responseBodyFactory: createEducationGradingSchemeFromDiscriminatorValue,
|
|
63
|
+
requestBodyContentType: "application/json",
|
|
64
|
+
requestBodySerializer: serializeEducationGradingScheme,
|
|
65
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/* tslint:enable */
|
|
69
|
+
/* eslint-enable */
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oEAAoE,EAAE,kDAAkD,EAAE,+BAA+B,EAA8E,MAAM,wCAAwC,CAAC;AAC/R,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,wDAAwD,EAAiD,MAAM,iBAAiB,CAAC;AAqF1I;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,mKAAmK,CAAC;AAC3N;;GAEG;AACH,MAAM,oDAAoD,GAA2B;IACjF,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,0BAA0B,EAAE;QACxB,gBAAgB,EAAE,wDAAwD;QAC1E,sBAAsB,EAAE,CAAC,6BAA6B,CAAC;KAC1D;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oEAAoE;QAC1F,qBAAqB,EAAE,oDAAoD;KAC9E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;QACxE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { type EducationGradingScheme } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface EducationGradingSchemeItemRequestBuilder extends BaseRequestBuilder<EducationGradingSchemeItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete an educationGradingScheme object.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/educationgradingscheme-delete?view=graph-rest-1.0|Find more info here}
|
|
12
|
+
*/
|
|
13
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Read the properties and relationships of an educationGradingScheme object.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {Promise<EducationGradingScheme>}
|
|
18
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
|
+
* @see {@link https://learn.microsoft.com/graph/api/educationgradingscheme-get?view=graph-rest-1.0|Find more info here}
|
|
20
|
+
*/
|
|
21
|
+
get(requestConfiguration?: RequestConfiguration<EducationGradingSchemeItemRequestBuilderGetQueryParameters> | undefined): Promise<EducationGradingScheme | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Update the navigation property gradingSchemes in education
|
|
24
|
+
* @param body The request body
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {Promise<EducationGradingScheme>}
|
|
27
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
+
*/
|
|
29
|
+
patch(body: EducationGradingScheme, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationGradingScheme | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Delete an educationGradingScheme object.
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns {RequestInformation}
|
|
34
|
+
*/
|
|
35
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
36
|
+
/**
|
|
37
|
+
* Read the properties and relationships of an educationGradingScheme object.
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns {RequestInformation}
|
|
40
|
+
*/
|
|
41
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<EducationGradingSchemeItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
|
+
/**
|
|
43
|
+
* Update the navigation property gradingSchemes in education
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {RequestInformation}
|
|
47
|
+
*/
|
|
48
|
+
toPatchRequestInformation(body: EducationGradingScheme, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Read the properties and relationships of an educationGradingScheme object.
|
|
52
|
+
*/
|
|
53
|
+
export interface EducationGradingSchemeItemRequestBuilderGetQueryParameters {
|
|
54
|
+
/**
|
|
55
|
+
* Expand related entities
|
|
56
|
+
*/
|
|
57
|
+
expand?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Select properties to be returned
|
|
60
|
+
*/
|
|
61
|
+
select?: string[];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Uri template for the request builder.
|
|
65
|
+
*/
|
|
66
|
+
export declare const EducationGradingSchemeItemRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/{educationGradingScheme%2Did}{?%24expand,%24select}";
|
|
67
|
+
/**
|
|
68
|
+
* Metadata for all the requests in the request builder.
|
|
69
|
+
*/
|
|
70
|
+
export declare const EducationGradingSchemeItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
71
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuF,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAI1K,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wCAAyC,SAAQ,kBAAkB,CAAC,wCAAwC,CAAC;I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
+
import { createEducationGradingSchemeFromDiscriminatorValue, serializeEducationGradingScheme } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const EducationGradingSchemeItemRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/{educationGradingScheme%2Did}{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const EducationGradingSchemeItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const EducationGradingSchemeItemRequestBuilderRequestsMetadata = {
|
|
23
|
+
delete: {
|
|
24
|
+
uriTemplate: EducationGradingSchemeItemRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "sendNoResponseContent",
|
|
30
|
+
},
|
|
31
|
+
get: {
|
|
32
|
+
uriTemplate: EducationGradingSchemeItemRequestBuilderUriTemplate,
|
|
33
|
+
responseBodyContentType: "application/json",
|
|
34
|
+
errorMappings: {
|
|
35
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "send",
|
|
38
|
+
responseBodyFactory: createEducationGradingSchemeFromDiscriminatorValue,
|
|
39
|
+
queryParametersMapper: EducationGradingSchemeItemRequestBuilderGetQueryParametersMapper,
|
|
40
|
+
},
|
|
41
|
+
patch: {
|
|
42
|
+
uriTemplate: EducationGradingSchemeItemRequestBuilderUriTemplate,
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "send",
|
|
48
|
+
responseBodyFactory: createEducationGradingSchemeFromDiscriminatorValue,
|
|
49
|
+
requestBodyContentType: "application/json",
|
|
50
|
+
requestBodySerializer: serializeEducationGradingScheme,
|
|
51
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
/* tslint:enable */
|
|
55
|
+
/* eslint-enable */
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,+BAA+B,EAA+B,MAAM,wCAAwC,CAAC;AAC1K,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAgE7H;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAG,0IAA0I,CAAC;AAC9M;;GAEG;AACH,MAAM,gEAAgE,GAA2B;IAC7F,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wDAAwD,GAAqB;IACtF,MAAM,EAAE;QACJ,WAAW,EAAE,mDAAmD;QAChE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,mDAAmD;QAChE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;QACxE,qBAAqB,EAAE,gEAAgE;KAC1F;IACD,KAAK,EAAE;QACH,WAAW,EAAE,mDAAmD;QAChE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;QACxE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
import { type EducationAssignmentSettings } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type DefaultGradingSchemeRequestBuilder } from './defaultGradingScheme/index.js';
|
|
2
3
|
import { type GradingCategoriesRequestBuilder } from './gradingCategories/index.js';
|
|
4
|
+
import { type GradingSchemesRequestBuilder } from './gradingSchemes/index.js';
|
|
3
5
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
6
|
/**
|
|
5
7
|
* Provides operations to manage the assignmentSettings property of the microsoft.graph.educationClass entity.
|
|
6
8
|
*/
|
|
7
9
|
export interface AssignmentSettingsRequestBuilder extends BaseRequestBuilder<AssignmentSettingsRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to manage the defaultGradingScheme property of the microsoft.graph.educationAssignmentSettings entity.
|
|
12
|
+
*/
|
|
13
|
+
get defaultGradingScheme(): DefaultGradingSchemeRequestBuilder;
|
|
8
14
|
/**
|
|
9
15
|
* Provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity.
|
|
10
16
|
*/
|
|
11
17
|
get gradingCategories(): GradingCategoriesRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to manage the gradingSchemes property of the microsoft.graph.educationAssignmentSettings entity.
|
|
20
|
+
*/
|
|
21
|
+
get gradingSchemes(): GradingSchemesRequestBuilder;
|
|
12
22
|
/**
|
|
13
23
|
* Delete navigation property assignmentSettings for education
|
|
14
24
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiG,KAAK,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAIzL,OAAO,EAAsG,KAAK,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAExL,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,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;OAEG;IACH,IAAI,iBAAiB,IAAI,+BAA+B,CAAC;IACzD;;;;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,kDAAkD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IACrK;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAC9J;;;;OAIG;IACF,0BAA0B,CAAC,oBAAo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AC,OAAO,CAAC,MAAM,gCAAgC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAY9K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBA+B9D,CAAC"}
|
|
@@ -6,7 +6,11 @@ import { createEducationAssignmentSettingsFromDiscriminatorValue, serializeEduca
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
+
import { DefaultGradingSchemeRequestBuilderRequestsMetadata } from './defaultGradingScheme/index.js';
|
|
10
|
+
// @ts-ignore
|
|
9
11
|
import { GradingCategoriesRequestBuilderNavigationMetadata, GradingCategoriesRequestBuilderRequestsMetadata } from './gradingCategories/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { GradingSchemesRequestBuilderNavigationMetadata, GradingSchemesRequestBuilderRequestsMetadata } from './gradingSchemes/index.js';
|
|
10
14
|
/**
|
|
11
15
|
* Uri template for the request builder.
|
|
12
16
|
*/
|
|
@@ -22,10 +26,17 @@ const AssignmentSettingsRequestBuilderGetQueryParametersMapper = {
|
|
|
22
26
|
* Metadata for all the navigation properties in the request builder.
|
|
23
27
|
*/
|
|
24
28
|
export const AssignmentSettingsRequestBuilderNavigationMetadata = {
|
|
29
|
+
defaultGradingScheme: {
|
|
30
|
+
requestsMetadata: DefaultGradingSchemeRequestBuilderRequestsMetadata,
|
|
31
|
+
},
|
|
25
32
|
gradingCategories: {
|
|
26
33
|
requestsMetadata: GradingCategoriesRequestBuilderRequestsMetadata,
|
|
27
34
|
navigationMetadata: GradingCategoriesRequestBuilderNavigationMetadata,
|
|
28
35
|
},
|
|
36
|
+
gradingSchemes: {
|
|
37
|
+
requestsMetadata: GradingSchemesRequestBuilderRequestsMetadata,
|
|
38
|
+
navigationMetadata: GradingSchemesRequestBuilderNavigationMetadata,
|
|
39
|
+
},
|
|
29
40
|
};
|
|
30
41
|
/**
|
|
31
42
|
* Metadata for all the requests in the request builder.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,uDAAuD,EAAE,oCAAoC,EAAoC,MAAM,wCAAwC,CAAC;AACzL,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,iDAAiD,EAAE,+CAA+C,EAAwC,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,uDAAuD,EAAE,oCAAoC,EAAoC,MAAM,wCAAwC,CAAC;AACzL,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,kDAAkD,EAA2C,MAAM,iCAAiC,CAAC;AAC9I,aAAa;AACb,OAAO,EAAE,iDAAiD,EAAE,+CAA+C,EAAwC,MAAM,8BAA8B,CAAC;AACxL,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,4CAA4C,EAAqC,MAAM,2BAA2B,CAAC;AA2E5K;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,6FAA6F,CAAC;AACzJ;;GAEG;AACH,MAAM,wDAAwD,GAA2B;IACrF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAoH;IAC/K,oBAAoB,EAAE;QAClB,gBAAgB,EAAE,kDAAkD;KACvE;IACD,iBAAiB,EAAE;QACf,gBAAgB,EAAE,+CAA+C;QACjE,kBAAkB,EAAE,iDAAiD;KACxE;IACD,cAAc,EAAE;QACZ,gBAAgB,EAAE,4CAA4C;QAC9D,kBAAkB,EAAE,8CAA8C;KACrE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAqB;IAC9E,MAAM,EAAE;QACJ,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uDAAuD;QAC7E,qBAAqB,EAAE,wDAAwD;KAClF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uDAAuD;QAC7E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oCAAoC;QAC3D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type EducationGradingScheme } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the gradingScheme property of the microsoft.graph.educationAssignment entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface GradingSchemeRequestBuilder extends BaseRequestBuilder<GradingSchemeRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<EducationGradingScheme>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<GradingSchemeRequestBuilderGetQueryParameters> | undefined): Promise<EducationGradingScheme | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {RequestInformation}
|
|
18
|
+
*/
|
|
19
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GradingSchemeRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* When set, enables users to configure custom string grades based on the percentage of total points earned on this assignment.
|
|
23
|
+
*/
|
|
24
|
+
export interface GradingSchemeRequestBuilderGetQueryParameters {
|
|
25
|
+
/**
|
|
26
|
+
* Expand related entities
|
|
27
|
+
*/
|
|
28
|
+
expand?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Select properties to be returned
|
|
31
|
+
*/
|
|
32
|
+
select?: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Uri template for the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const GradingSchemeRequestBuilderUriTemplate = "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/gradingScheme{?%24expand,%24select}";
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
export declare const GradingSchemeRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsD,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAIzI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,kIAAkI,CAAC;AAQtL;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC"}
|