@microsoft/msgraph-sdk-users 1.0.0-preview.27 → 1.0.0-preview.28

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 (48) hide show
  1. package/package.json +3 -3
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/users/index.d.ts +5 -5
  4. package/users/item/calendar/index.d.ts.map +1 -1
  5. package/users/item/calendar/index.js +1 -0
  6. package/users/item/calendar/index.js.map +1 -1
  7. package/users/item/calendarGroups/item/calendars/item/index.d.ts.map +1 -1
  8. package/users/item/calendarGroups/item/calendars/item/index.js +1 -0
  9. package/users/item/calendarGroups/item/calendars/item/index.js.map +1 -1
  10. package/users/item/calendars/item/index.d.ts.map +1 -1
  11. package/users/item/calendars/item/index.js +1 -0
  12. package/users/item/calendars/item/index.js.map +1 -1
  13. package/users/item/employeeExperience/index.d.ts.map +1 -1
  14. package/users/item/employeeExperience/index.js +1 -0
  15. package/users/item/employeeExperience/index.js.map +1 -1
  16. package/users/item/index.d.ts +13 -8
  17. package/users/item/index.d.ts.map +1 -1
  18. package/users/item/index.js +8 -0
  19. package/users/item/index.js.map +1 -1
  20. package/users/item/onenote/notebooks/index.d.ts.map +1 -1
  21. package/users/item/onenote/notebooks/index.js +1 -0
  22. package/users/item/onenote/notebooks/index.js.map +1 -1
  23. package/users/item/onlineMeetings/getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/index.d.ts +4 -3
  24. package/users/item/onlineMeetings/getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/index.d.ts.map +1 -1
  25. package/users/item/onlineMeetings/getAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/index.js.map +1 -1
  26. package/users/item/onlineMeetings/getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/index.d.ts +4 -3
  27. package/users/item/onlineMeetings/getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/index.d.ts.map +1 -1
  28. package/users/item/onlineMeetings/getAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/index.js.map +1 -1
  29. package/users/item/outlook/index.d.ts.map +1 -1
  30. package/users/item/outlook/index.js +1 -0
  31. package/users/item/outlook/index.js.map +1 -1
  32. package/users/item/presence/index.d.ts +4 -4
  33. package/users/item/solutions/index.d.ts +78 -0
  34. package/users/item/solutions/index.d.ts.map +1 -0
  35. package/users/item/solutions/index.js +67 -0
  36. package/users/item/solutions/index.js.map +1 -0
  37. package/users/item/solutions/workingTimeSchedule/endWorkingTime/index.d.ts +27 -0
  38. package/users/item/solutions/workingTimeSchedule/endWorkingTime/index.d.ts.map +1 -0
  39. package/users/item/solutions/workingTimeSchedule/endWorkingTime/index.js +25 -0
  40. package/users/item/solutions/workingTimeSchedule/endWorkingTime/index.js.map +1 -0
  41. package/users/item/solutions/workingTimeSchedule/index.d.ts +83 -0
  42. package/users/item/solutions/workingTimeSchedule/index.d.ts.map +1 -0
  43. package/users/item/solutions/workingTimeSchedule/index.js +71 -0
  44. package/users/item/solutions/workingTimeSchedule/index.js.map +1 -0
  45. package/users/item/solutions/workingTimeSchedule/startWorkingTime/index.d.ts +27 -0
  46. package/users/item/solutions/workingTimeSchedule/startWorkingTime/index.d.ts.map +1 -0
  47. package/users/item/solutions/workingTimeSchedule/startWorkingTime/index.js +25 -0
  48. package/users/item/solutions/workingTimeSchedule/startWorkingTime/index.js.map +1 -0
@@ -0,0 +1,78 @@
1
+ import { type UserSolutionRoot } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type WorkingTimeScheduleRequestBuilder } from './workingTimeSchedule/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the solutions property of the microsoft.graph.user entity.
6
+ */
7
+ export interface SolutionsRequestBuilder extends BaseRequestBuilder<SolutionsRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the workingTimeSchedule property of the microsoft.graph.userSolutionRoot entity.
10
+ */
11
+ get workingTimeSchedule(): WorkingTimeScheduleRequestBuilder;
12
+ /**
13
+ * Delete navigation property solutions for users
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
+ */
17
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
+ /**
19
+ * Get solutions from users
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {Promise<UserSolutionRoot>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<SolutionsRequestBuilderGetQueryParameters> | undefined): Promise<UserSolutionRoot | undefined>;
25
+ /**
26
+ * Update the navigation property solutions in users
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns {Promise<UserSolutionRoot>}
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
+ */
32
+ patch(body: UserSolutionRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UserSolutionRoot | undefined>;
33
+ /**
34
+ * Delete navigation property solutions for users
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns {RequestInformation}
37
+ */
38
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
+ /**
40
+ * Get solutions from users
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns {RequestInformation}
43
+ */
44
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SolutionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Update the navigation property solutions in users
47
+ * @param body The request body
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns {RequestInformation}
50
+ */
51
+ toPatchRequestInformation(body: UserSolutionRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Get solutions from users
55
+ */
56
+ export interface SolutionsRequestBuilderGetQueryParameters {
57
+ /**
58
+ * Expand related entities
59
+ */
60
+ expand?: string[];
61
+ /**
62
+ * Select properties to be returned
63
+ */
64
+ select?: string[];
65
+ }
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ export declare const SolutionsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions{?%24expand,%24select}";
70
+ /**
71
+ * Metadata for all the navigation properties in the request builder.
72
+ */
73
+ export declare const SolutionsRequestBuilderNavigationMetadata: Record<Exclude<keyof SolutionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
74
+ /**
75
+ * Metadata for all the requests in the request builder.
76
+ */
77
+ export declare const SolutionsRequestBuilderRequestsMetadata: RequestsMetadata;
78
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2E,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAIxJ,OAAO,EAAE,KAAK,iCAAiC,EAA0G,MAAM,gCAAgC,CAAC;AAEhM,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,mBAAmB,IAAI,iCAAiC,CAAC;IAC7D;;;;OAIG;IACF,MAAM,CA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
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createUserSolutionRootFromDiscriminatorValue, serializeUserSolutionRoot } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { WorkingTimeScheduleRequestBuilderNavigationMetadata, WorkingTimeScheduleRequestBuilderRequestsMetadata } from './workingTimeSchedule/index.js';
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ export const SolutionsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions{?%24expand,%24select}";
14
+ /**
15
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
+ */
17
+ const SolutionsRequestBuilderGetQueryParametersMapper = {
18
+ "expand": "%24expand",
19
+ "select": "%24select",
20
+ };
21
+ /**
22
+ * Metadata for all the navigation properties in the request builder.
23
+ */
24
+ export const SolutionsRequestBuilderNavigationMetadata = {
25
+ workingTimeSchedule: {
26
+ requestsMetadata: WorkingTimeScheduleRequestBuilderRequestsMetadata,
27
+ navigationMetadata: WorkingTimeScheduleRequestBuilderNavigationMetadata,
28
+ },
29
+ };
30
+ /**
31
+ * Metadata for all the requests in the request builder.
32
+ */
33
+ export const SolutionsRequestBuilderRequestsMetadata = {
34
+ delete: {
35
+ uriTemplate: SolutionsRequestBuilderUriTemplate,
36
+ responseBodyContentType: "application/json",
37
+ errorMappings: {
38
+ XXX: createODataErrorFromDiscriminatorValue,
39
+ },
40
+ adapterMethodName: "sendNoResponseContent",
41
+ },
42
+ get: {
43
+ uriTemplate: SolutionsRequestBuilderUriTemplate,
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ XXX: createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "send",
49
+ responseBodyFactory: createUserSolutionRootFromDiscriminatorValue,
50
+ queryParametersMapper: SolutionsRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ patch: {
53
+ uriTemplate: SolutionsRequestBuilderUriTemplate,
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ XXX: createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "send",
59
+ responseBodyFactory: createUserSolutionRootFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: serializeUserSolutionRoot,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /* tslint:enable */
66
+ /* eslint-enable */
67
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,yBAAyB,EAAyB,MAAM,wCAAwC,CAAC;AACxJ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAA0C,mDAAmD,EAAE,iDAAiD,EAAE,MAAM,gCAAgC,CAAC;AAkEhM;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,8DAA8D,CAAC;AACjH;;GAEG;AACH,MAAM,+CAA+C,GAA2B;IAC5E,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,mBAAmB,EAAE;QACjB,gBAAgB,EAAE,iDAAiD;QACnE,kBAAkB,EAAE,mDAAmD;KAC1E;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,MAAM,EAAE;QACJ,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,qBAAqB,EAAE,+CAA+C;KACzE;IACD,KAAK,EAAE;QACH,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,yBAAyB;QAChD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,27 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to call the endWorkingTime method.
4
+ */
5
+ export interface EndWorkingTimeRequestBuilder extends BaseRequestBuilder<EndWorkingTimeRequestBuilder> {
6
+ /**
7
+ * Triggers the policies associated with the end of working hours for user.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
+ */
11
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * Triggers the policies associated with the end of working hours for user.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns {RequestInformation}
16
+ */
17
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Uri template for the request builder.
21
+ */
22
+ export declare const EndWorkingTimeRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions/workingTimeSchedule/endWorkingTime";
23
+ /**
24
+ * Metadata for all the requests in the request builder.
25
+ */
26
+ export declare const EndWorkingTimeRequestBuilderRequestsMetadata: RequestsMetadata;
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;OAIG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,8EAA8E,CAAC;AACnI;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAS1D,CAAC"}
@@ -0,0 +1,25 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const EndWorkingTimeRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions/workingTimeSchedule/endWorkingTime";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const EndWorkingTimeRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: EndWorkingTimeRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ XXX: createODataErrorFromDiscriminatorValue,
19
+ },
20
+ adapterMethodName: "sendNoResponseContent",
21
+ },
22
+ };
23
+ /* tslint:enable */
24
+ /* eslint-enable */
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAqB7H;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,2EAA2E,CAAC;AACnI;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,83 @@
1
+ import { type WorkingTimeSchedule } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type EndWorkingTimeRequestBuilder } from './endWorkingTime/index.js';
3
+ import { type StartWorkingTimeRequestBuilder } from './startWorkingTime/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the workingTimeSchedule property of the microsoft.graph.userSolutionRoot entity.
7
+ */
8
+ export interface WorkingTimeScheduleRequestBuilder extends BaseRequestBuilder<WorkingTimeScheduleRequestBuilder> {
9
+ /**
10
+ * Provides operations to call the endWorkingTime method.
11
+ */
12
+ get endWorkingTime(): EndWorkingTimeRequestBuilder;
13
+ /**
14
+ * Provides operations to call the startWorkingTime method.
15
+ */
16
+ get startWorkingTime(): StartWorkingTimeRequestBuilder;
17
+ /**
18
+ * Delete navigation property workingTimeSchedule for users
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
+ */
22
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
23
+ /**
24
+ * Get workingTimeSchedule from users
25
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
+ * @returns {Promise<WorkingTimeSchedule>}
27
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
28
+ */
29
+ get(requestConfiguration?: RequestConfiguration<WorkingTimeScheduleRequestBuilderGetQueryParameters> | undefined): Promise<WorkingTimeSchedule | undefined>;
30
+ /**
31
+ * Update the navigation property workingTimeSchedule in users
32
+ * @param body The request body
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns {Promise<WorkingTimeSchedule>}
35
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
36
+ */
37
+ patch(body: WorkingTimeSchedule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkingTimeSchedule | undefined>;
38
+ /**
39
+ * Delete navigation property workingTimeSchedule for users
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns {RequestInformation}
42
+ */
43
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ /**
45
+ * Get workingTimeSchedule from users
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns {RequestInformation}
48
+ */
49
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WorkingTimeScheduleRequestBuilderGetQueryParameters> | undefined): RequestInformation;
50
+ /**
51
+ * Update the navigation property workingTimeSchedule in users
52
+ * @param body The request body
53
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
+ * @returns {RequestInformation}
55
+ */
56
+ toPatchRequestInformation(body: WorkingTimeSchedule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
57
+ }
58
+ /**
59
+ * Get workingTimeSchedule from users
60
+ */
61
+ export interface WorkingTimeScheduleRequestBuilderGetQueryParameters {
62
+ /**
63
+ * Expand related entities
64
+ */
65
+ expand?: string[];
66
+ /**
67
+ * Select properties to be returned
68
+ */
69
+ select?: string[];
70
+ }
71
+ /**
72
+ * Uri template for the request builder.
73
+ */
74
+ export declare const WorkingTimeScheduleRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions/workingTimeSchedule{?%24expand,%24select}";
75
+ /**
76
+ * Metadata for all the navigation properties in the request builder.
77
+ */
78
+ export declare const WorkingTimeScheduleRequestBuilderNavigationMetadata: Record<Exclude<keyof WorkingTimeScheduleRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
79
+ /**
80
+ * Metadata for all the requests in the request builder.
81
+ */
82
+ export declare const WorkingTimeScheduleRequestBuilderRequestsMetadata: RequestsMetadata;
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAIjK,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAAkD,KAAK,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAElI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;OAEG;IACH,IAAI,cAAc,IAAI,4BAA4B,CAAC;IACnD;;OAEG;IACH,IAAI,gBAAgB,IAAI,8BAA8B,CAAC;IACvD;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB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soft Kiota
4
+ // @ts-ignore
5
+ import { createWorkingTimeScheduleFromDiscriminatorValue, serializeWorkingTimeSchedule } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { EndWorkingTimeRequestBuilderRequestsMetadata } from './endWorkingTime/index.js';
10
+ // @ts-ignore
11
+ import { StartWorkingTimeRequestBuilderRequestsMetadata } from './startWorkingTime/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const WorkingTimeScheduleRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions/workingTimeSchedule{?%24expand,%24select}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const WorkingTimeScheduleRequestBuilderGetQueryParametersMapper = {
20
+ "expand": "%24expand",
21
+ "select": "%24select",
22
+ };
23
+ /**
24
+ * Metadata for all the navigation properties in the request builder.
25
+ */
26
+ export const WorkingTimeScheduleRequestBuilderNavigationMetadata = {
27
+ endWorkingTime: {
28
+ requestsMetadata: EndWorkingTimeRequestBuilderRequestsMetadata,
29
+ },
30
+ startWorkingTime: {
31
+ requestsMetadata: StartWorkingTimeRequestBuilderRequestsMetadata,
32
+ },
33
+ };
34
+ /**
35
+ * Metadata for all the requests in the request builder.
36
+ */
37
+ export const WorkingTimeScheduleRequestBuilderRequestsMetadata = {
38
+ delete: {
39
+ uriTemplate: WorkingTimeScheduleRequestBuilderUriTemplate,
40
+ responseBodyContentType: "application/json",
41
+ errorMappings: {
42
+ XXX: createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendNoResponseContent",
45
+ },
46
+ get: {
47
+ uriTemplate: WorkingTimeScheduleRequestBuilderUriTemplate,
48
+ responseBodyContentType: "application/json",
49
+ errorMappings: {
50
+ XXX: createODataErrorFromDiscriminatorValue,
51
+ },
52
+ adapterMethodName: "send",
53
+ responseBodyFactory: createWorkingTimeScheduleFromDiscriminatorValue,
54
+ queryParametersMapper: WorkingTimeScheduleRequestBuilderGetQueryParametersMapper,
55
+ },
56
+ patch: {
57
+ uriTemplate: WorkingTimeScheduleRequestBuilderUriTemplate,
58
+ responseBodyContentType: "application/json",
59
+ errorMappings: {
60
+ XXX: createODataErrorFromDiscriminatorValue,
61
+ },
62
+ adapterMethodName: "send",
63
+ responseBodyFactory: createWorkingTimeScheduleFromDiscriminatorValue,
64
+ requestBodyContentType: "application/json",
65
+ requestBodySerializer: serializeWorkingTimeSchedule,
66
+ requestInformationContentSetMethod: "setContentFromParsable",
67
+ },
68
+ };
69
+ /* tslint:enable */
70
+ /* eslint-enable */
71
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,4BAA4B,EAA4B,MAAM,wCAAwC,CAAC;AACjK,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAqC,MAAM,2BAA2B,CAAC;AAC5H,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAuC,MAAM,6BAA6B,CAAC;AAsElI;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAG,kFAAkF,CAAC;AAC/I;;GAEG;AACH,MAAM,yDAAyD,GAA2B;IACtF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAqH;IACjL,cAAc,EAAE;QACZ,gBAAgB,EAAE,4CAA4C;KACjE;IACD,gBAAgB,EAAE;QACd,gBAAgB,EAAE,8CAA8C;KACnE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAqB;IAC/E,MAAM,EAAE;QACJ,WAAW,EAAE,4CAA4C;QACzD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,4CAA4C;QACzD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,qBAAqB,EAAE,yDAAyD;KACnF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,4CAA4C;QACzD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,4BAA4B;QACnD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,27 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to call the startWorkingTime method.
4
+ */
5
+ export interface StartWorkingTimeRequestBuilder extends BaseRequestBuilder<StartWorkingTimeRequestBuilder> {
6
+ /**
7
+ * Triggers the policies associated with the start of working hours for user.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
+ */
11
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * Triggers the policies associated with the start of working hours for user.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns {RequestInformation}
16
+ */
17
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Uri template for the request builder.
21
+ */
22
+ export declare const StartWorkingTimeRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions/workingTimeSchedule/startWorkingTime";
23
+ /**
24
+ * Metadata for all the requests in the request builder.
25
+ */
26
+ export declare const StartWorkingTimeRequestBuilderRequestsMetadata: RequestsMetadata;
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;;;OAIG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,gFAAgF,CAAC;AACvI;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAS5D,CAAC"}
@@ -0,0 +1,25 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const StartWorkingTimeRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions/workingTimeSchedule/startWorkingTime";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const StartWorkingTimeRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: StartWorkingTimeRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ XXX: createODataErrorFromDiscriminatorValue,
19
+ },
20
+ adapterMethodName: "sendNoResponseContent",
21
+ },
22
+ };
23
+ /* tslint:enable */
24
+ /* eslint-enable */
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAqB7H;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,6EAA6E,CAAC;AACvI;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAqB;IAC5E,IAAI,EAAE;QACF,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}