@microsoft/msgraph-sdk-employeeexperience 1.0.0-preview.12 → 1.0.0-preview.14

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 (52) hide show
  1. package/employeeExperience/index.d.ts +11 -9
  2. package/employeeExperience/index.d.ts.map +1 -1
  3. package/employeeExperience/index.js +9 -12
  4. package/employeeExperience/learningCourseActivities/count/index.d.ts +7 -6
  5. package/employeeExperience/learningCourseActivities/count/index.d.ts.map +1 -1
  6. package/employeeExperience/learningCourseActivities/count/index.js +7 -7
  7. package/employeeExperience/learningCourseActivities/index.d.ts +11 -9
  8. package/employeeExperience/learningCourseActivities/index.d.ts.map +1 -1
  9. package/employeeExperience/learningCourseActivities/index.js +9 -11
  10. package/employeeExperience/learningCourseActivities/item/index.d.ts +12 -9
  11. package/employeeExperience/learningCourseActivities/item/index.d.ts.map +1 -1
  12. package/employeeExperience/learningCourseActivities/item/index.js +11 -11
  13. package/employeeExperience/learningCourseActivitiesWithExternalcourseActivityId/index.d.ts +12 -9
  14. package/employeeExperience/learningCourseActivitiesWithExternalcourseActivityId/index.d.ts.map +1 -1
  15. package/employeeExperience/learningCourseActivitiesWithExternalcourseActivityId/index.js +11 -11
  16. package/employeeExperience/learningProviders/count/index.d.ts +7 -6
  17. package/employeeExperience/learningProviders/count/index.d.ts.map +1 -1
  18. package/employeeExperience/learningProviders/count/index.js +7 -7
  19. package/employeeExperience/learningProviders/index.d.ts +11 -9
  20. package/employeeExperience/learningProviders/index.d.ts.map +1 -1
  21. package/employeeExperience/learningProviders/index.js +9 -11
  22. package/employeeExperience/learningProviders/item/index.d.ts +14 -11
  23. package/employeeExperience/learningProviders/item/index.d.ts.map +1 -1
  24. package/employeeExperience/learningProviders/item/index.js +11 -15
  25. package/employeeExperience/learningProviders/item/learningContents/count/index.d.ts +7 -6
  26. package/employeeExperience/learningProviders/item/learningContents/count/index.d.ts.map +1 -1
  27. package/employeeExperience/learningProviders/item/learningContents/count/index.js +7 -7
  28. package/employeeExperience/learningProviders/item/learningContents/index.d.ts +11 -9
  29. package/employeeExperience/learningProviders/item/learningContents/index.d.ts.map +1 -1
  30. package/employeeExperience/learningProviders/item/learningContents/index.js +9 -11
  31. package/employeeExperience/learningProviders/item/learningContents/item/index.d.ts +12 -9
  32. package/employeeExperience/learningProviders/item/learningContents/item/index.d.ts.map +1 -1
  33. package/employeeExperience/learningProviders/item/learningContents/item/index.js +11 -11
  34. package/employeeExperience/learningProviders/item/learningContentsWithExternalId/index.d.ts +12 -9
  35. package/employeeExperience/learningProviders/item/learningContentsWithExternalId/index.d.ts.map +1 -1
  36. package/employeeExperience/learningProviders/item/learningContentsWithExternalId/index.js +11 -11
  37. package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.d.ts +7 -6
  38. package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.d.ts.map +1 -1
  39. package/employeeExperience/learningProviders/item/learningCourseActivities/count/index.js +7 -7
  40. package/employeeExperience/learningProviders/item/learningCourseActivities/index.d.ts +11 -9
  41. package/employeeExperience/learningProviders/item/learningCourseActivities/index.d.ts.map +1 -1
  42. package/employeeExperience/learningProviders/item/learningCourseActivities/index.js +9 -11
  43. package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.d.ts +12 -9
  44. package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.d.ts.map +1 -1
  45. package/employeeExperience/learningProviders/item/learningCourseActivities/item/index.js +11 -11
  46. package/employeeExperience/learningProviders/item/learningCourseActivitiesWithExternalcourseActivityId/index.d.ts +12 -9
  47. package/employeeExperience/learningProviders/item/learningCourseActivitiesWithExternalcourseActivityId/index.d.ts.map +1 -1
  48. package/employeeExperience/learningProviders/item/learningCourseActivitiesWithExternalcourseActivityId/index.js +11 -11
  49. package/employeeExperienceServiceClient.d.ts.map +1 -1
  50. package/employeeExperienceServiceClient.js +1 -2
  51. package/package.json +3 -3
  52. package/tsconfig.tsbuildinfo +1 -1
@@ -18,33 +18,35 @@ export interface EmployeeExperienceRequestBuilder extends BaseRequestBuilder<Emp
18
18
  /**
19
19
  * Get employeeExperience
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
- * @returns a Promise of EmployeeExperience
21
+ * @returns {Promise<EmployeeExperience>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
22
23
  */
23
24
  get(requestConfiguration?: RequestConfiguration<EmployeeExperienceRequestBuilderGetQueryParameters> | undefined): Promise<EmployeeExperience | undefined>;
24
25
  /**
25
26
  * Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperience entity.
26
27
  * @param externalcourseActivityId Alternate key of learningCourseActivity
27
- * @returns a learningCourseActivitiesWithExternalcourseActivityIdRequestBuilder
28
+ * @returns {LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder}
28
29
  */
29
30
  learningCourseActivitiesWithExternalcourseActivityId(externalcourseActivityId: string | undefined): LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder;
30
31
  /**
31
32
  * Update employeeExperience
32
33
  * @param body The request body
33
34
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
- * @returns a Promise of EmployeeExperience
35
+ * @returns {Promise<EmployeeExperience>}
36
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
35
37
  */
36
38
  patch(body: EmployeeExperience, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EmployeeExperience | undefined>;
37
39
  /**
38
40
  * Get employeeExperience
39
41
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
- * @returns a RequestInformation
42
+ * @returns {RequestInformation}
41
43
  */
42
44
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<EmployeeExperienceRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
45
  /**
44
46
  * Update employeeExperience
45
47
  * @param body The request body
46
48
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
- * @returns a RequestInformation
49
+ * @returns {RequestInformation}
48
50
  */
49
51
  toPatchRequestInformation(body: EmployeeExperience, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
50
52
  }
@@ -57,6 +59,10 @@ export interface EmployeeExperienceRequestBuilderGetQueryParameters {
57
59
  */
58
60
  select?: string[];
59
61
  }
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ export declare const EmployeeExperienceRequestBuilderUriTemplate = "{+baseurl}/employeeExperience{?%24select}";
60
66
  /**
61
67
  * Metadata for all the navigation properties in the request builder.
62
68
  */
@@ -65,8 +71,4 @@ export declare const EmployeeExperienceRequestBuilderNavigationMetadata: Record<
65
71
  * Metadata for all the requests in the request builder.
66
72
  */
67
73
  export declare const EmployeeExperienceRequestBuilderRequestsMetadata: RequestsMetadata;
68
- /**
69
- * Uri template for the request builder.
70
- */
71
- export declare const EmployeeExperienceRequestBuilderUriTemplate = "{+baseurl}/employeeExperience{?%24select}";
72
74
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEtJ,OAAO,EAAuK,KAAK,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AAC/P,OAAO,EAAqK,KAAK,kEAAkE,EAAE,MAAM,yDAAyD,CAAC;AACrT,OAAO,EAAkJ,KAAK,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAC5N,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,wBAAwB,IAAI,sCAAsC,CAAC;IACvE;;OAEG;IACH,IAAI,iBAAiB,IAAI,+BAA+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AAO,MAAM,2CAA2C,8CAA8C,CAAC;AAOvG;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gCAAgC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAY9K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAuB9D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EmployeeExperienceRequestBuilderUriTemplate = exports.EmployeeExperienceRequestBuilderRequestsMetadata = exports.EmployeeExperienceRequestBuilderNavigationMetadata = void 0;
3
+ exports.EmployeeExperienceRequestBuilderRequestsMetadata = exports.EmployeeExperienceRequestBuilderNavigationMetadata = exports.EmployeeExperienceRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,6 +9,10 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const learningCourseActivities_1 = require("./learningCourseActivities/");
10
10
  const learningCourseActivitiesWithExternalcourseActivityId_1 = require("./learningCourseActivitiesWithExternalcourseActivityId/");
11
11
  const learningProviders_1 = require("./learningProviders/");
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ exports.EmployeeExperienceRequestBuilderUriTemplate = "{+baseurl}/employeeExperience{?%24select}";
12
16
  /**
13
17
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
18
  */
@@ -20,16 +24,13 @@ const EmployeeExperienceRequestBuilderGetQueryParametersMapper = {
20
24
  */
21
25
  exports.EmployeeExperienceRequestBuilderNavigationMetadata = {
22
26
  learningCourseActivitiesWithExternalcourseActivityId: {
23
- uriTemplate: learningCourseActivitiesWithExternalcourseActivityId_1.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate,
24
27
  requestsMetadata: learningCourseActivitiesWithExternalcourseActivityId_1.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderRequestsMetadata,
25
28
  },
26
29
  learningCourseActivities: {
27
- uriTemplate: learningCourseActivities_1.LearningCourseActivitiesRequestBuilderUriTemplate,
28
30
  requestsMetadata: learningCourseActivities_1.LearningCourseActivitiesRequestBuilderRequestsMetadata,
29
31
  navigationMetadata: learningCourseActivities_1.LearningCourseActivitiesRequestBuilderNavigationMetadata,
30
32
  },
31
33
  learningProviders: {
32
- uriTemplate: learningProviders_1.LearningProvidersRequestBuilderUriTemplate,
33
34
  requestsMetadata: learningProviders_1.LearningProvidersRequestBuilderRequestsMetadata,
34
35
  navigationMetadata: learningProviders_1.LearningProvidersRequestBuilderNavigationMetadata,
35
36
  },
@@ -39,20 +40,20 @@ exports.EmployeeExperienceRequestBuilderNavigationMetadata = {
39
40
  */
40
41
  exports.EmployeeExperienceRequestBuilderRequestsMetadata = {
41
42
  get: {
43
+ uriTemplate: exports.EmployeeExperienceRequestBuilderUriTemplate,
42
44
  responseBodyContentType: "application/json",
43
45
  errorMappings: {
44
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
45
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
47
  },
47
48
  adapterMethodName: "sendAsync",
48
49
  responseBodyFactory: models_1.createEmployeeExperienceFromDiscriminatorValue,
49
50
  queryParametersMapper: EmployeeExperienceRequestBuilderGetQueryParametersMapper,
50
51
  },
51
52
  patch: {
53
+ uriTemplate: exports.EmployeeExperienceRequestBuilderUriTemplate,
52
54
  responseBodyContentType: "application/json",
53
55
  errorMappings: {
54
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
55
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
57
  },
57
58
  adapterMethodName: "sendAsync",
58
59
  responseBodyFactory: models_1.createEmployeeExperienceFromDiscriminatorValue,
@@ -61,9 +62,5 @@ exports.EmployeeExperienceRequestBuilderRequestsMetadata = {
61
62
  requestInformationContentSetMethod: "setContentFromParsable",
62
63
  },
63
64
  };
64
- /**
65
- * Uri template for the request builder.
66
- */
67
- exports.EmployeeExperienceRequestBuilderUriTemplate = "{+baseurl}/employeeExperience{?%24select}";
68
65
  /* tslint:enable */
69
66
  /* eslint-enable */
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -30,11 +31,11 @@ export interface CountRequestBuilderGetQueryParameters {
30
31
  search?: string;
31
32
  }
32
33
  /**
33
- * Metadata for all the requests in the request builder.
34
+ * Uri template for the request builder.
34
35
  */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities/$count{?%24filter,%24search}";
36
37
  /**
37
- * Uri template for the request builder.
38
+ * Metadata for all the requests in the request builder.
38
39
  */
39
- export declare const CountRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities/$count{?%24search,%24filter}";
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","s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AS,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,wFAAwF,CAAC;AAQpI;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities/$count{?%24search,%24filter}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,33 +13,35 @@ export interface LearningCourseActivitiesRequestBuilder extends BaseRequestBuild
13
13
  /**
14
14
  * Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperience entity.
15
15
  * @param learningCourseActivityId The unique identifier of learningCourseActivity
16
- * @returns a LearningCourseActivityItemRequestBuilder
16
+ * @returns {LearningCourseActivityItemRequestBuilder}
17
17
  */
18
18
  byLearningCourseActivityId(learningCourseActivityId: string): LearningCourseActivityItemRequestBuilder;
19
19
  /**
20
20
  * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of LearningCourseActivityCollectionResponse
22
+ * @returns {Promise<LearningCourseActivityCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  */
24
25
  get(requestConfiguration?: RequestConfiguration<LearningCourseActivitiesRequestBuilderGetQueryParameters> | undefined): Promise<LearningCourseActivityCollectionResponse | undefined>;
25
26
  /**
26
27
  * Create new navigation property to learningCourseActivities for employeeExperience
27
28
  * @param body The request body
28
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a Promise of LearningCourseActivity
30
+ * @returns {Promise<LearningCourseActivity>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
32
  */
31
33
  post(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningCourseActivity | undefined>;
32
34
  /**
33
35
  * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user.
34
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
37
+ * @returns {RequestInformation}
36
38
  */
37
39
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningCourseActivitiesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
40
  /**
39
41
  * Create new navigation property to learningCourseActivities for employeeExperience
40
42
  * @param body The request body
41
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a RequestInformation
44
+ * @returns {RequestInformation}
43
45
  */
44
46
  toPostRequestInformation(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
47
  }
@@ -80,6 +82,10 @@ export interface LearningCourseActivitiesRequestBuilderGetQueryParameters {
80
82
  */
81
83
  top?: number;
82
84
  }
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const LearningCourseActivitiesRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
83
89
  /**
84
90
  * Metadata for all the navigation properties in the request builder.
85
91
  */
@@ -88,8 +94,4 @@ export declare const LearningCourseActivitiesRequestBuilderNavigationMetadata: R
88
94
  * Metadata for all the requests in the request builder.
89
95
  */
90
96
  export declare const LearningCourseActivitiesRequestBuilderRequestsMetadata: RequestsMetadata;
91
- /**
92
- * Uri template for the request builder.
93
- */
94
- export declare const LearningCourseActivitiesRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
95
97
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,kCAAk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AG,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,iDAAiD,wIAAwI,CAAC;AAcvM;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sCAAsC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ1L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBAuBpE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LearningCourseActivitiesRequestBuilderUriTemplate = exports.LearningCourseActivitiesRequestBuilderRequestsMetadata = exports.LearningCourseActivitiesRequestBuilderNavigationMetadata = void 0;
3
+ exports.LearningCourseActivitiesRequestBuilderRequestsMetadata = exports.LearningCourseActivitiesRequestBuilderNavigationMetadata = exports.LearningCourseActivitiesRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.LearningCourseActivitiesRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,12 +30,10 @@ const LearningCourseActivitiesRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.LearningCourseActivitiesRequestBuilderNavigationMetadata = {
28
32
  byLearningCourseActivityId: {
29
- uriTemplate: item_1.LearningCourseActivityItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.LearningCourseActivityItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["learningCourseActivity%2Did"],
32
35
  },
33
36
  count: {
34
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
37
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
38
  },
37
39
  };
@@ -40,20 +42,20 @@ exports.LearningCourseActivitiesRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.LearningCourseActivitiesRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.LearningCourseActivitiesRequestBuilderUriTemplate,
43
46
  responseBodyContentType: "application/json",
44
47
  errorMappings: {
45
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
49
  },
48
50
  adapterMethodName: "sendAsync",
49
51
  responseBodyFactory: models_1.createLearningCourseActivityCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: LearningCourseActivitiesRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.LearningCourseActivitiesRequestBuilderUriTemplate,
53
56
  responseBodyContentType: "application/json",
54
57
  errorMappings: {
55
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
59
  },
58
60
  adapterMethodName: "sendAsync",
59
61
  responseBodyFactory: models_1.createLearningCourseActivityFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.LearningCourseActivitiesRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.LearningCourseActivitiesRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,12 +7,14 @@ export interface LearningCourseActivityItemRequestBuilder extends BaseRequestBui
7
7
  /**
8
8
  * Delete navigation property learningCourseActivities for employeeExperience
9
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
10
11
  */
11
12
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
13
  /**
13
14
  * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user.
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of LearningCourseActivity
16
+ * @returns {Promise<LearningCourseActivity>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  * @see {@link https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0|Find more info here}
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<LearningCourseActivityItemRequestBuilderGetQueryParameters> | undefined): Promise<LearningCourseActivity | undefined>;
@@ -20,26 +22,27 @@ export interface LearningCourseActivityItemRequestBuilder extends BaseRequestBui
20
22
  * Update the navigation property learningCourseActivities in employeeExperience
21
23
  * @param body The request body
22
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
- * @returns a Promise of LearningCourseActivity
25
+ * @returns {Promise<LearningCourseActivity>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  */
25
28
  patch(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningCourseActivity | undefined>;
26
29
  /**
27
30
  * Delete navigation property learningCourseActivities for employeeExperience
28
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a RequestInformation
32
+ * @returns {RequestInformation}
30
33
  */
31
34
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
32
35
  /**
33
36
  * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user.
34
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
36
39
  */
37
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningCourseActivityItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
41
  /**
39
42
  * Update the navigation property learningCourseActivities in employeeExperience
40
43
  * @param body The request body
41
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
43
46
  */
44
47
  toPatchRequestInformation(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
48
  }
@@ -57,11 +60,11 @@ export interface LearningCourseActivityItemRequestBuilderGetQueryParameters {
57
60
  select?: string[];
58
61
  }
59
62
  /**
60
- * Metadata for all the requests in the request builder.
63
+ * Uri template for the request builder.
61
64
  */
62
- export declare const LearningCourseActivityItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ export declare const LearningCourseActivityItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities/{learningCourseActivity%2Did}{?%24expand,%24select}";
63
66
  /**
64
- * Uri template for the request builder.
67
+ * Metadata for all the requests in the request builder.
65
68
  */
66
- export declare const LearningCourseActivityItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities/{learningCourseActivity%2Did}{?%24select,%24expand}";
69
+ export declare const LearningCourseActivityItemRequestBuilderRequestsMetadata: RequestsMetadata;
67
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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;;;OAGG;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,0DAA0D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACxK;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,G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,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;AACD;;GAEG;AACH,eAAO,MAAM,mDAAmD,+GAA+G,CAAC;AAQhL;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,gBA+BtE,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LearningCourseActivityItemRequestBuilderUriTemplate = exports.LearningCourseActivityItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.LearningCourseActivityItemRequestBuilderRequestsMetadata = exports.LearningCourseActivityItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.LearningCourseActivityItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities/{learningCourseActivity%2Did}{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,28 +22,28 @@ const LearningCourseActivityItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.LearningCourseActivityItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.LearningCourseActivityItemRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.LearningCourseActivityItemRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: models_1.createLearningCourseActivityFromDiscriminatorValue,
36
40
  queryParametersMapper: LearningCourseActivityItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.LearningCourseActivityItemRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: models_1.createLearningCourseActivityFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.LearningCourseActivityItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.LearningCourseActivityItemRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities/{learningCourseActivity%2Did}{?%24select,%24expand}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -7,12 +7,14 @@ export interface LearningCourseActivitiesWithExternalcourseActivityIdRequestBuil
7
7
  /**
8
8
  * Delete navigation property learningCourseActivities for employeeExperience
9
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
10
11
  */
11
12
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
13
  /**
13
14
  * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user.
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of LearningCourseActivity
16
+ * @returns {Promise<LearningCourseActivity>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  * @see {@link https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0|Find more info here}
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters> | undefined): Promise<LearningCourseActivity | undefined>;
@@ -20,26 +22,27 @@ export interface LearningCourseActivitiesWithExternalcourseActivityIdRequestBuil
20
22
  * Update the navigation property learningCourseActivities in employeeExperience
21
23
  * @param body The request body
22
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
- * @returns a Promise of LearningCourseActivity
25
+ * @returns {Promise<LearningCourseActivity>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  */
25
28
  patch(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LearningCourseActivity | undefined>;
26
29
  /**
27
30
  * Delete navigation property learningCourseActivities for employeeExperience
28
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a RequestInformation
32
+ * @returns {RequestInformation}
30
33
  */
31
34
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
32
35
  /**
33
36
  * Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user.
34
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
36
39
  */
37
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
41
  /**
39
42
  * Update the navigation property learningCourseActivities in employeeExperience
40
43
  * @param body The request body
41
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
43
46
  */
44
47
  toPatchRequestInformation(body: LearningCourseActivity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
48
  }
@@ -57,11 +60,11 @@ export interface LearningCourseActivitiesWithExternalcourseActivityIdRequestBuil
57
60
  select?: string[];
58
61
  }
59
62
  /**
60
- * Metadata for all the requests in the request builder.
63
+ * Uri template for the request builder.
61
64
  */
62
- export declare const LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ export declare const LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}'){?%24expand,%24select}";
63
66
  /**
64
- * Uri template for the request builder.
67
+ * Metadata for all the requests in the request builder.
65
68
  */
66
- export declare const LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}'){?%24select,%24expand}";
69
+ export declare const LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderRequestsMetadata: RequestsMetadata;
67
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,kEAAmE,SAAQ,kBAAkB,CAAC,kEAAkE,CAAC;IAC9K;;;OAGG;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,oFAAoF,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IAClM;;;;;OAKG;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,oFAAoF,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC7L;;;;;OAK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AC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oFAAoF,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC7L;;;;;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,oFAAoF;IACjG;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,6EAA6E,wIAAwI,CAAC;AAQnO;;GAEG;AACH,eAAO,MAAM,kFAAkF,EAAE,gBA+BhG,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate = exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderRequestsMetadata = void 0;
3
+ exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderRequestsMetadata = exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}'){?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,28 +22,28 @@ const LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQuery
18
22
  */
19
23
  exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: models_1.createLearningCourseActivityFromDiscriminatorValue,
36
40
  queryParametersMapper: LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: models_1.createLearningCourseActivityFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderReques
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderUriTemplate = "{+baseurl}/employeeExperience/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}'){?%24select,%24expand}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */