@microsoft/msgraph-sdk-employeeexperience 1.0.0-preview.10
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/LICENSE +21 -0
- package/README.md +11 -0
- package/employeeExperience/index.d.ts +69 -0
- package/employeeExperience/index.d.ts.map +1 -0
- package/employeeExperience/index.js +65 -0
- package/employeeExperience/learningCourseActivities/count/index.d.ts +40 -0
- package/employeeExperience/learningCourseActivities/count/index.d.ts.map +1 -0
- package/employeeExperience/learningCourseActivities/count/index.js +35 -0
- package/employeeExperience/learningCourseActivities/index.d.ts +95 -0
- package/employeeExperience/learningCourseActivities/index.d.ts.map +1 -0
- package/employeeExperience/learningCourseActivities/index.js +70 -0
- package/employeeExperience/learningCourseActivities/item/index.d.ts +67 -0
- package/employeeExperience/learningCourseActivities/item/index.d.ts.map +1 -0
- package/employeeExperience/learningCourseActivities/item/index.js +56 -0
- package/employeeExperience/learningProviders/count/index.d.ts +40 -0
- package/employeeExperience/learningProviders/count/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/count/index.js +35 -0
- package/employeeExperience/learningProviders/index.d.ts +97 -0
- package/employeeExperience/learningProviders/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/index.js +71 -0
- package/employeeExperience/learningProviders/item/index.d.ts +83 -0
- package/employeeExperience/learningProviders/item/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/item/index.js +73 -0
- package/employeeExperience/learningProviders/item/learningContents/count/index.d.ts +40 -0
- package/employeeExperience/learningProviders/item/learningContents/count/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/item/learningContents/count/index.js +35 -0
- package/employeeExperience/learningProviders/item/learningContents/index.d.ts +96 -0
- package/employeeExperience/learningProviders/item/learningContents/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/item/learningContents/index.js +70 -0
- package/employeeExperience/learningProviders/item/learningContents/item/index.d.ts +68 -0
- package/employeeExperience/learningProviders/item/learningContents/item/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/item/learningContents/item/index.js +56 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.d.ts +40 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.js +35 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/index.d.ts +96 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/index.js +70 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.d.ts +68 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.d.ts.map +1 -0
- package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.js +56 -0
- package/employeeExperienceServiceClient.d.ts +25 -0
- package/employeeExperienceServiceClient.d.ts.map +1 -0
- package/employeeExperienceServiceClient.js +49 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type LearningContent } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface LearningContentItemRequestBuilder extends BaseRequestBuilder<LearningContentItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete the specified learningContent resource that represents the metadata of the specified provider's ingested content.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/learningprovider-delete-learningcontents?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the specified learningContent resource which represents the metadata of the specified provider's ingested content.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a Promise of LearningContent
|
|
17
|
+
* @see {@link https://learn.microsoft.com/graph/api/learningcontent-get?view=graph-rest-1.0|Find more info here}
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<LearningContentItemRequestBuilderGetQueryParameters> | undefined): Promise<LearningContent | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the navigation property learningContents in employeeExperience
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns a Promise of LearningContent
|
|
25
|
+
*/
|
|
26
|
+
patch(body: LearningContent, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningContent | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete the specified learningContent resource that represents the metadata of the specified provider's ingested content.
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a RequestInformation
|
|
31
|
+
*/
|
|
32
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
+
/**
|
|
34
|
+
* Get the specified learningContent resource which represents the metadata of the specified provider's ingested content.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningContentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Update the navigation property learningContents in employeeExperience
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPatchRequestInformation(body: LearningContent, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get the specified learningContent resource which represents the metadata of the specified provider's ingested content.
|
|
49
|
+
*/
|
|
50
|
+
export interface LearningContentItemRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Expand related entities
|
|
53
|
+
*/
|
|
54
|
+
expand?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Select properties to be returned
|
|
57
|
+
*/
|
|
58
|
+
select?: string[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const LearningContentItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const LearningContentItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents/{learningContent%2Did}{?%24select,%24expand}";
|
|
68
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;;;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,mDAAmD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;;OAKG;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;AAQD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBA+B/D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,0IAA0I,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LearningContentItemRequestBuilderUriTemplate = exports.LearningContentItemRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const LearningContentItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.LearningContentItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
delete: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
|
+
},
|
|
28
|
+
get: {
|
|
29
|
+
responseBodyContentType: "application/json",
|
|
30
|
+
errorMappings: {
|
|
31
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
32
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
adapterMethodName: "sendAsync",
|
|
35
|
+
responseBodyFactory: models_1.createLearningContentFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: LearningContentItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
patch: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createLearningContentFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeLearningContent,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.LearningContentItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents/{learningContent%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
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 a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,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;;;;OAIG;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;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,kIAAkI,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type LearningCourseActivity, type LearningCourseActivityCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type LearningCourseActivityItemRequestBuilder } from './item/';
|
|
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 learningCourseActivities property of the microsoft.graph.learningProvider entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface LearningCourseActivitiesRequestBuilder extends BaseRequestBuilder<LearningCourseActivitiesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity.
|
|
15
|
+
* @param learningCourseActivityId The unique identifier of learningCourseActivity
|
|
16
|
+
* @returns a LearningCourseActivityItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byLearningCourseActivityId(learningCourseActivityId: string): LearningCourseActivityItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get learningCourseActivities from employeeExperience
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of LearningCourseActivityCollectionResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<LearningCourseActivitiesRequestBuilderGetQueryParameters> | undefined): Promise<LearningCourseActivityCollectionResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity.
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a Promise of LearningCourseActivity
|
|
30
|
+
* @see {@link https://learn.microsoft.com/graph/api/employeeexperienceuser-post-learningcourseactivities?view=graph-rest-1.0|Find more info here}
|
|
31
|
+
*/
|
|
32
|
+
post(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningCourseActivity | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Get learningCourseActivities from employeeExperience
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningCourseActivitiesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity.
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get learningCourseActivities from employeeExperience
|
|
49
|
+
*/
|
|
50
|
+
export interface LearningCourseActivitiesRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Include count of items
|
|
53
|
+
*/
|
|
54
|
+
count?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Filter items by property values
|
|
61
|
+
*/
|
|
62
|
+
filter?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Order items by property values
|
|
65
|
+
*/
|
|
66
|
+
orderby?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Search items by search phrases
|
|
69
|
+
*/
|
|
70
|
+
search?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Select properties to be returned
|
|
73
|
+
*/
|
|
74
|
+
select?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Skip the first n items
|
|
77
|
+
*/
|
|
78
|
+
skip?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Show only the first n items
|
|
81
|
+
*/
|
|
82
|
+
top?: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the navigation properties in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const LearningCourseActivitiesRequestBuilderNavigationMetadata: Record<Exclude<keyof LearningCourseActivitiesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const LearningCourseActivitiesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const LearningCourseActivitiesRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6J,KAAK,sBAAsB,EAAE,KAAK,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAEvR,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiH,KAAK,wCAAwC,EAAE,MAAM,SAAS,CAAC;AACvL,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,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,0BAA0B,CAAC,wBAAwB,EAAE,MAAM,GAAI,wCAAwC,CAAC;IACzG;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wCAAwC,GAAG,SAAS,CAAC,CAAC;IACxL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;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,wDAAwD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sCAAsC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU1L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBAuBpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,kLAAkL,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LearningCourseActivitiesRequestBuilderUriTemplate = exports.LearningCourseActivitiesRequestBuilderRequestsMetadata = exports.LearningCourseActivitiesRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const LearningCourseActivitiesRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.LearningCourseActivitiesRequestBuilderNavigationMetadata = {
|
|
28
|
+
byLearningCourseActivityId: {
|
|
29
|
+
uriTemplate: item_1.LearningCourseActivityItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.LearningCourseActivityItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["learningCourseActivity%2Did"],
|
|
32
|
+
},
|
|
33
|
+
count: {
|
|
34
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.LearningCourseActivitiesRequestBuilderRequestsMetadata = {
|
|
42
|
+
get: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: models_1.createLearningCourseActivityCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: LearningCourseActivitiesRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
post: {
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "sendAsync",
|
|
59
|
+
responseBodyFactory: models_1.createLearningCourseActivityFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializeLearningCourseActivity,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.LearningCourseActivitiesRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type LearningCourseActivity } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface LearningCourseActivityItemRequestBuilder extends BaseRequestBuilder<LearningCourseActivityItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete a learningCourseActivity object using the course activity ID of either an assignment or a self-initiated activity.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/learningcourseactivity-delete?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Get learningCourseActivities from employeeExperience
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a Promise of LearningCourseActivity
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<LearningCourseActivityItemRequestBuilderGetQueryParameters> | undefined): Promise<LearningCourseActivity | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Update the properties of a learningCourseActivity object.
|
|
21
|
+
* @param body The request body
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns a Promise of LearningCourseActivity
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/learningcourseactivity-update?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
patch(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningCourseActivity | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete a learningCourseActivity object using the course activity ID of either an assignment or a self-initiated activity.
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a RequestInformation
|
|
31
|
+
*/
|
|
32
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
+
/**
|
|
34
|
+
* Get learningCourseActivities from employeeExperience
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningCourseActivityItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Update the properties of a learningCourseActivity object.
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPatchRequestInformation(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get learningCourseActivities from employeeExperience
|
|
49
|
+
*/
|
|
50
|
+
export interface LearningCourseActivityItemRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Expand related entities
|
|
53
|
+
*/
|
|
54
|
+
expand?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Select properties to be returned
|
|
57
|
+
*/
|
|
58
|
+
select?: string[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const LearningCourseActivityItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const LearningCourseActivityItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities/{learningCourseActivity%2Did}{?%24select,%24expand}";
|
|
68
|
+
//# sourceMappingURL=index.d.ts.map
|
package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuF,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAElK,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;IAC1H;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0DAA0D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACxK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;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,0DAA0D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,0DAA0D;IACvE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,gBA+BtE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,yJAAyJ,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LearningCourseActivityItemRequestBuilderUriTemplate = exports.LearningCourseActivityItemRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const LearningCourseActivityItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.LearningCourseActivityItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
delete: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
|
+
},
|
|
28
|
+
get: {
|
|
29
|
+
responseBodyContentType: "application/json",
|
|
30
|
+
errorMappings: {
|
|
31
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
32
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
adapterMethodName: "sendAsync",
|
|
35
|
+
responseBodyFactory: models_1.createLearningCourseActivityFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: LearningCourseActivityItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
patch: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createLearningCourseActivityFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeLearningCourseActivity,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.LearningCourseActivityItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities/{learningCourseActivity%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type EmployeeExperienceRequestBuilder } from './employeeExperience/';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* The main entry point of the SDK, exposes the configuration and the fluent API.
|
|
5
|
+
*/
|
|
6
|
+
export interface EmployeeExperienceServiceClient extends BaseRequestBuilder<EmployeeExperienceServiceClient> {
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the employeeExperience singleton.
|
|
9
|
+
*/
|
|
10
|
+
get employeeExperience(): EmployeeExperienceRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Instantiates a new EmployeeExperienceServiceClient and sets the default values.
|
|
14
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
15
|
+
*/
|
|
16
|
+
export declare function createEmployeeExperienceServiceClient(requestAdapter: RequestAdapter): EmployeeExperienceServiceClient;
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export declare const EmployeeExperienceServiceClientNavigationMetadata: Record<Exclude<keyof EmployeeExperienceServiceClient, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const EmployeeExperienceServiceClientUriTemplate = "{+baseurl}";
|
|
25
|
+
//# sourceMappingURL=employeeExperienceServiceClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"employeeExperienceServiceClient.d.ts","sourceRoot":"","sources":["employeeExperienceServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqJ,KAAK,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AACjO,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;CAC9D;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,cAAc,EAAE,cAAc,mCAenF;AACD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,eAAe,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmployeeExperienceServiceClientUriTemplate = exports.EmployeeExperienceServiceClientNavigationMetadata = exports.createEmployeeExperienceServiceClient = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const employeeExperience_1 = require("./employeeExperience/");
|
|
8
|
+
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
9
|
+
const kiota_serialization_form_1 = require("@microsoft/kiota-serialization-form");
|
|
10
|
+
const kiota_serialization_json_1 = require("@microsoft/kiota-serialization-json");
|
|
11
|
+
const kiota_serialization_multipart_1 = require("@microsoft/kiota-serialization-multipart");
|
|
12
|
+
const kiota_serialization_text_1 = require("@microsoft/kiota-serialization-text");
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a new EmployeeExperienceServiceClient and sets the default values.
|
|
15
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
16
|
+
*/
|
|
17
|
+
function createEmployeeExperienceServiceClient(requestAdapter) {
|
|
18
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_json_1.JsonSerializationWriterFactory);
|
|
19
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_text_1.TextSerializationWriterFactory);
|
|
20
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_form_1.FormSerializationWriterFactory);
|
|
21
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_multipart_1.MultipartSerializationWriterFactory);
|
|
22
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_json_1.JsonParseNodeFactory);
|
|
23
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_text_1.TextParseNodeFactory);
|
|
24
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_form_1.FormParseNodeFactory);
|
|
25
|
+
if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") {
|
|
26
|
+
requestAdapter.baseUrl = "https://graph.microsoft.com/v1.0";
|
|
27
|
+
}
|
|
28
|
+
const pathParameters = {
|
|
29
|
+
"baseurl": requestAdapter.baseUrl,
|
|
30
|
+
};
|
|
31
|
+
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.EmployeeExperienceServiceClientUriTemplate, exports.EmployeeExperienceServiceClientNavigationMetadata, undefined);
|
|
32
|
+
}
|
|
33
|
+
exports.createEmployeeExperienceServiceClient = createEmployeeExperienceServiceClient;
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the navigation properties in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
exports.EmployeeExperienceServiceClientNavigationMetadata = {
|
|
38
|
+
employeeExperience: {
|
|
39
|
+
uriTemplate: employeeExperience_1.EmployeeExperienceRequestBuilderUriTemplate,
|
|
40
|
+
requestsMetadata: employeeExperience_1.EmployeeExperienceRequestBuilderRequestsMetadata,
|
|
41
|
+
navigationMetadata: employeeExperience_1.EmployeeExperienceRequestBuilderNavigationMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Uri template for the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.EmployeeExperienceServiceClientUriTemplate = "{+baseurl}";
|
|
48
|
+
/* tslint:enable */
|
|
49
|
+
/* eslint-enable */
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { EmployeeExperienceRequestBuilder } from "./employeeExperience";
|
|
2
|
+
declare module "@microsoft/msgraph-sdk" {
|
|
3
|
+
interface GraphServiceClient {
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the employeeExperience singleton.
|
|
6
|
+
*/
|
|
7
|
+
get employeeExperience(): EmployeeExperienceRequestBuilder;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export * from "./employeeExperienceServiceClient";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAG7E,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;KAC5D;CACF;AAED,cAAc,mCAAmC,CAAC"}
|
package/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
|
|
18
|
+
const employeeExperienceServiceClient_1 = require("./employeeExperienceServiceClient");
|
|
19
|
+
(0, msgraph_sdk_1.extendGraphServiceClient)(employeeExperienceServiceClient_1.EmployeeExperienceServiceClientNavigationMetadata);
|
|
20
|
+
__exportStar(require("./employeeExperienceServiceClient"), exports);
|