@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.
Files changed (50) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/employeeExperience/index.d.ts +69 -0
  4. package/employeeExperience/index.d.ts.map +1 -0
  5. package/employeeExperience/index.js +65 -0
  6. package/employeeExperience/learningCourseActivities/count/index.d.ts +40 -0
  7. package/employeeExperience/learningCourseActivities/count/index.d.ts.map +1 -0
  8. package/employeeExperience/learningCourseActivities/count/index.js +35 -0
  9. package/employeeExperience/learningCourseActivities/index.d.ts +95 -0
  10. package/employeeExperience/learningCourseActivities/index.d.ts.map +1 -0
  11. package/employeeExperience/learningCourseActivities/index.js +70 -0
  12. package/employeeExperience/learningCourseActivities/item/index.d.ts +67 -0
  13. package/employeeExperience/learningCourseActivities/item/index.d.ts.map +1 -0
  14. package/employeeExperience/learningCourseActivities/item/index.js +56 -0
  15. package/employeeExperience/learningProviders/count/index.d.ts +40 -0
  16. package/employeeExperience/learningProviders/count/index.d.ts.map +1 -0
  17. package/employeeExperience/learningProviders/count/index.js +35 -0
  18. package/employeeExperience/learningProviders/index.d.ts +97 -0
  19. package/employeeExperience/learningProviders/index.d.ts.map +1 -0
  20. package/employeeExperience/learningProviders/index.js +71 -0
  21. package/employeeExperience/learningProviders/item/index.d.ts +83 -0
  22. package/employeeExperience/learningProviders/item/index.d.ts.map +1 -0
  23. package/employeeExperience/learningProviders/item/index.js +73 -0
  24. package/employeeExperience/learningProviders/item/learningContents/count/index.d.ts +40 -0
  25. package/employeeExperience/learningProviders/item/learningContents/count/index.d.ts.map +1 -0
  26. package/employeeExperience/learningProviders/item/learningContents/count/index.js +35 -0
  27. package/employeeExperience/learningProviders/item/learningContents/index.d.ts +96 -0
  28. package/employeeExperience/learningProviders/item/learningContents/index.d.ts.map +1 -0
  29. package/employeeExperience/learningProviders/item/learningContents/index.js +70 -0
  30. package/employeeExperience/learningProviders/item/learningContents/item/index.d.ts +68 -0
  31. package/employeeExperience/learningProviders/item/learningContents/item/index.d.ts.map +1 -0
  32. package/employeeExperience/learningProviders/item/learningContents/item/index.js +56 -0
  33. package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.d.ts +40 -0
  34. package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.d.ts.map +1 -0
  35. package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.js +35 -0
  36. package/employeeExperience/learningProviders/item/learningCourseActivities/index.d.ts +96 -0
  37. package/employeeExperience/learningProviders/item/learningCourseActivities/index.d.ts.map +1 -0
  38. package/employeeExperience/learningProviders/item/learningCourseActivities/index.js +70 -0
  39. package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.d.ts +68 -0
  40. package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.d.ts.map +1 -0
  41. package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.js +56 -0
  42. package/employeeExperienceServiceClient.d.ts +25 -0
  43. package/employeeExperienceServiceClient.d.ts.map +1 -0
  44. package/employeeExperienceServiceClient.js +49 -0
  45. package/index.d.ts +11 -0
  46. package/index.d.ts.map +1 -0
  47. package/index.js +20 -0
  48. package/package.json +48 -0
  49. package/tsconfig.json +15 -0
  50. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,97 @@
1
+ import { type LearningProvider, type LearningProviderCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type LearningProviderItemRequestBuilder } 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 learningProviders property of the microsoft.graph.employeeExperience entity.
7
+ */
8
+ export interface LearningProvidersRequestBuilder extends BaseRequestBuilder<LearningProvidersRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the learningProviders property of the microsoft.graph.employeeExperience entity.
15
+ * @param learningProviderId The unique identifier of learningProvider
16
+ * @returns a LearningProviderItemRequestBuilder
17
+ */
18
+ byLearningProviderId(learningProviderId: string): LearningProviderItemRequestBuilder;
19
+ /**
20
+ * Get a list of the learningProvider resources registered in Viva Learning for a tenant.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of LearningProviderCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/employeeexperience-list-learningproviders?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<LearningProvidersRequestBuilderGetQueryParameters> | undefined): Promise<LearningProviderCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of LearningProvider
31
+ * @see {@link https://learn.microsoft.com/graph/api/employeeexperience-post-learningproviders?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: LearningProvider, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningProvider | undefined>;
34
+ /**
35
+ * Get a list of the learningProvider resources registered in Viva Learning for a tenant.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningProvidersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: LearningProvider, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get a list of the learningProvider resources registered in Viva Learning for a tenant.
50
+ */
51
+ export interface LearningProvidersRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const LearningProvidersRequestBuilderNavigationMetadata: Record<Exclude<keyof LearningProvidersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const LearningProvidersRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const LearningProvidersRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2I,KAAK,gBAAgB,EAAE,KAAK,kCAAkC,EAAE,MAAM,gCAAgC,CAAC;AAEzP,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA2J,KAAK,kCAAkC,EAAE,MAAM,SAAS,CAAC;AAC3N,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE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AAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAW5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAuB7D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,iIAAiI,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LearningProvidersRequestBuilderUriTemplate = exports.LearningProvidersRequestBuilderRequestsMetadata = exports.LearningProvidersRequestBuilderNavigationMetadata = 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 LearningProvidersRequestBuilderGetQueryParametersMapper = {
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.LearningProvidersRequestBuilderNavigationMetadata = {
28
+ byLearningProviderId: {
29
+ uriTemplate: item_1.LearningProviderItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.LearningProviderItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.LearningProviderItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["learningProvider%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.LearningProvidersRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createLearningProviderCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: LearningProvidersRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createLearningProviderFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializeLearningProvider,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.LearningProvidersRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,83 @@
1
+ import { type LearningProvider } from '@microsoft/msgraph-sdk/models/';
2
+ import { type LearningContentsRequestBuilder } from './learningContents/';
3
+ import { type LearningCourseActivitiesRequestBuilder } from './learningCourseActivities/';
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 learningProviders property of the microsoft.graph.employeeExperience entity.
7
+ */
8
+ export interface LearningProviderItemRequestBuilder extends BaseRequestBuilder<LearningProviderItemRequestBuilder> {
9
+ /**
10
+ * Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity.
11
+ */
12
+ get learningContents(): LearningContentsRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity.
15
+ */
16
+ get learningCourseActivities(): LearningCourseActivitiesRequestBuilder;
17
+ /**
18
+ * Delete a learningProvider resource and remove its registration in Viva Learning for a tenant.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @see {@link https://learn.microsoft.com/graph/api/employeeexperience-delete-learningproviders?view=graph-rest-1.0|Find more info here}
21
+ */
22
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
23
+ /**
24
+ * Read the properties and relationships of a learningProvider object.
25
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
+ * @returns a Promise of LearningProvider
27
+ * @see {@link https://learn.microsoft.com/graph/api/learningprovider-get?view=graph-rest-1.0|Find more info here}
28
+ */
29
+ get(requestConfiguration?: RequestConfiguration<LearningProviderItemRequestBuilderGetQueryParameters> | undefined): Promise<LearningProvider | undefined>;
30
+ /**
31
+ * Update the properties of a learningProvider object.
32
+ * @param body The request body
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a Promise of LearningProvider
35
+ * @see {@link https://learn.microsoft.com/graph/api/learningprovider-update?view=graph-rest-1.0|Find more info here}
36
+ */
37
+ patch(body: LearningProvider, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningProvider | undefined>;
38
+ /**
39
+ * Delete a learningProvider resource and remove its registration in Viva Learning for a tenant.
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ /**
45
+ * Read the properties and relationships of a learningProvider object.
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns a RequestInformation
48
+ */
49
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningProviderItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
50
+ /**
51
+ * Update the properties of a learningProvider object.
52
+ * @param body The request body
53
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
+ * @returns a RequestInformation
55
+ */
56
+ toPatchRequestInformation(body: LearningProvider, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
57
+ }
58
+ /**
59
+ * Read the properties and relationships of a learningProvider object.
60
+ */
61
+ export interface LearningProviderItemRequestBuilderGetQueryParameters {
62
+ /**
63
+ * Expand related entities
64
+ */
65
+ expand?: string[];
66
+ /**
67
+ * Select properties to be returned
68
+ */
69
+ select?: string[];
70
+ }
71
+ /**
72
+ * Metadata for all the navigation properties in the request builder.
73
+ */
74
+ export declare const LearningProviderItemRequestBuilderNavigationMetadata: Record<Exclude<keyof LearningProviderItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
75
+ /**
76
+ * Metadata for all the requests in the request builder.
77
+ */
78
+ export declare const LearningProviderItemRequestBuilderRequestsMetadata: RequestsMetadata;
79
+ /**
80
+ * Uri template for the request builder.
81
+ */
82
+ export declare const LearningProviderItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}{?%24select,%24expand}";
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2E,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEhJ,OAAO,EAA+I,KAAK,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACvN,OAAO,EAAuK,KAAK,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AAC/P,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,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IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kCAAkC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWlL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBA+BhE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,kGAAkG,CAAC"}
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LearningProviderItemRequestBuilderUriTemplate = exports.LearningProviderItemRequestBuilderRequestsMetadata = exports.LearningProviderItemRequestBuilderNavigationMetadata = 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 learningContents_1 = require("./learningContents/");
10
+ const learningCourseActivities_1 = require("./learningCourseActivities/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const LearningProviderItemRequestBuilderGetQueryParametersMapper = {
15
+ "expand": "%24expand",
16
+ "select": "%24select",
17
+ };
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ exports.LearningProviderItemRequestBuilderNavigationMetadata = {
22
+ learningContents: {
23
+ uriTemplate: learningContents_1.LearningContentsRequestBuilderUriTemplate,
24
+ requestsMetadata: learningContents_1.LearningContentsRequestBuilderRequestsMetadata,
25
+ navigationMetadata: learningContents_1.LearningContentsRequestBuilderNavigationMetadata,
26
+ },
27
+ learningCourseActivities: {
28
+ uriTemplate: learningCourseActivities_1.LearningCourseActivitiesRequestBuilderUriTemplate,
29
+ requestsMetadata: learningCourseActivities_1.LearningCourseActivitiesRequestBuilderRequestsMetadata,
30
+ navigationMetadata: learningCourseActivities_1.LearningCourseActivitiesRequestBuilderNavigationMetadata,
31
+ },
32
+ };
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ exports.LearningProviderItemRequestBuilderRequestsMetadata = {
37
+ delete: {
38
+ responseBodyContentType: "application/json",
39
+ errorMappings: {
40
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ },
43
+ adapterMethodName: "sendNoResponseContentAsync",
44
+ },
45
+ get: {
46
+ responseBodyContentType: "application/json",
47
+ errorMappings: {
48
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
+ },
51
+ adapterMethodName: "sendAsync",
52
+ responseBodyFactory: models_1.createLearningProviderFromDiscriminatorValue,
53
+ queryParametersMapper: LearningProviderItemRequestBuilderGetQueryParametersMapper,
54
+ },
55
+ patch: {
56
+ responseBodyContentType: "application/json",
57
+ errorMappings: {
58
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "sendAsync",
62
+ responseBodyFactory: models_1.createLearningProviderFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: models_1.serializeLearningProvider,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
66
+ },
67
+ };
68
+ /**
69
+ * Uri template for the request builder.
70
+ */
71
+ exports.LearningProviderItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}{?%24select,%24expand}";
72
+ /* tslint:enable */
73
+ /* 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}/learningContents/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -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,0HAA0H,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}/learningContents/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,96 @@
1
+ import { type LearningContent, type LearningContentCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type LearningContentItemRequestBuilder } 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 learningContents property of the microsoft.graph.learningProvider entity.
7
+ */
8
+ export interface LearningContentsRequestBuilder extends BaseRequestBuilder<LearningContentsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity.
15
+ * @param learningContentId The unique identifier of learningContent
16
+ * @returns a LearningContentItemRequestBuilder
17
+ */
18
+ byLearningContentId(learningContentId: string): LearningContentItemRequestBuilder;
19
+ /**
20
+ * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of LearningContentCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/learningprovider-list-learningcontents?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<LearningContentsRequestBuilderGetQueryParameters> | undefined): Promise<LearningContentCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to learningContents for employeeExperience
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of LearningContent
31
+ */
32
+ post(body: LearningContent, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningContent | undefined>;
33
+ /**
34
+ * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a RequestInformation
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningContentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ /**
40
+ * Create new navigation property to learningContents for 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
+ toPostRequestInformation(body: LearningContent, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
+ }
47
+ /**
48
+ * Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning.
49
+ */
50
+ export interface LearningContentsRequestBuilderGetQueryParameters {
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 LearningContentsRequestBuilderNavigationMetadata: Record<Exclude<keyof LearningContentsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
88
+ /**
89
+ * Metadata for all the requests in the request builder.
90
+ */
91
+ export declare const LearningContentsRequestBuilderRequestsMetadata: RequestsMetadata;
92
+ /**
93
+ * Uri template for the request builder.
94
+ */
95
+ export declare const LearningContentsRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents{?%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,EAAwI,KAAK,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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,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAuB5D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,0KAA0K,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LearningContentsRequestBuilderUriTemplate = exports.LearningContentsRequestBuilderRequestsMetadata = exports.LearningContentsRequestBuilderNavigationMetadata = 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 LearningContentsRequestBuilderGetQueryParametersMapper = {
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.LearningContentsRequestBuilderNavigationMetadata = {
28
+ byLearningContentId: {
29
+ uriTemplate: item_1.LearningContentItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.LearningContentItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["learningContent%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.LearningContentsRequestBuilderRequestsMetadata = {
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.createLearningContentCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: LearningContentsRequestBuilderGetQueryParametersMapper,
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.createLearningContentFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeLearningContent,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.LearningContentsRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */