@microsoft/msgraph-sdk-users 1.0.0-preview.75 → 1.0.0-preview.77

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 (150) hide show
  1. package/package.json +2 -3
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/users/item/adhocCalls/count/index.d.ts +41 -0
  4. package/users/item/adhocCalls/count/index.d.ts.map +1 -0
  5. package/users/item/adhocCalls/count/index.js +34 -0
  6. package/users/item/adhocCalls/count/index.js.map +1 -0
  7. package/users/item/adhocCalls/index.d.ts +97 -0
  8. package/users/item/adhocCalls/index.d.ts.map +1 -0
  9. package/users/item/adhocCalls/index.js +71 -0
  10. package/users/item/adhocCalls/index.js.map +1 -0
  11. package/users/item/adhocCalls/item/index.d.ts +83 -0
  12. package/users/item/adhocCalls/item/index.d.ts.map +1 -0
  13. package/users/item/adhocCalls/item/index.js +73 -0
  14. package/users/item/adhocCalls/item/index.js.map +1 -0
  15. package/users/item/adhocCalls/item/recordings/count/index.d.ts +41 -0
  16. package/users/item/adhocCalls/item/recordings/count/index.d.ts.map +1 -0
  17. package/users/item/adhocCalls/item/recordings/count/index.js +34 -0
  18. package/users/item/adhocCalls/item/recordings/count/index.js.map +1 -0
  19. package/users/item/adhocCalls/item/recordings/delta/index.d.ts +91 -0
  20. package/users/item/adhocCalls/item/recordings/delta/index.d.ts.map +1 -0
  21. package/users/item/adhocCalls/item/recordings/delta/index.js +74 -0
  22. package/users/item/adhocCalls/item/recordings/delta/index.js.map +1 -0
  23. package/users/item/adhocCalls/item/recordings/index.d.ts +102 -0
  24. package/users/item/adhocCalls/item/recordings/index.d.ts.map +1 -0
  25. package/users/item/adhocCalls/item/recordings/index.js +76 -0
  26. package/users/item/adhocCalls/item/recordings/index.js.map +1 -0
  27. package/users/item/adhocCalls/item/recordings/item/content/index.d.ts +57 -0
  28. package/users/item/adhocCalls/item/recordings/item/content/index.d.ts.map +1 -0
  29. package/users/item/adhocCalls/item/recordings/item/content/index.js +47 -0
  30. package/users/item/adhocCalls/item/recordings/item/content/index.js.map +1 -0
  31. package/users/item/adhocCalls/item/recordings/item/index.d.ts +79 -0
  32. package/users/item/adhocCalls/item/recordings/item/index.d.ts.map +1 -0
  33. package/users/item/adhocCalls/item/recordings/item/index.js +66 -0
  34. package/users/item/adhocCalls/item/recordings/item/index.js.map +1 -0
  35. package/users/item/adhocCalls/item/transcripts/count/index.d.ts +41 -0
  36. package/users/item/adhocCalls/item/transcripts/count/index.d.ts.map +1 -0
  37. package/users/item/adhocCalls/item/transcripts/count/index.js +34 -0
  38. package/users/item/adhocCalls/item/transcripts/count/index.js.map +1 -0
  39. package/users/item/adhocCalls/item/transcripts/delta/index.d.ts +91 -0
  40. package/users/item/adhocCalls/item/transcripts/delta/index.d.ts.map +1 -0
  41. package/users/item/adhocCalls/item/transcripts/delta/index.js +74 -0
  42. package/users/item/adhocCalls/item/transcripts/delta/index.js.map +1 -0
  43. package/users/item/adhocCalls/item/transcripts/index.d.ts +102 -0
  44. package/users/item/adhocCalls/item/transcripts/index.d.ts.map +1 -0
  45. package/users/item/adhocCalls/item/transcripts/index.js +76 -0
  46. package/users/item/adhocCalls/item/transcripts/index.js.map +1 -0
  47. package/users/item/adhocCalls/item/transcripts/item/content/index.d.ts +57 -0
  48. package/users/item/adhocCalls/item/transcripts/item/content/index.d.ts.map +1 -0
  49. package/users/item/adhocCalls/item/transcripts/item/content/index.js +47 -0
  50. package/users/item/adhocCalls/item/transcripts/item/content/index.js.map +1 -0
  51. package/users/item/adhocCalls/item/transcripts/item/index.d.ts +84 -0
  52. package/users/item/adhocCalls/item/transcripts/item/index.d.ts.map +1 -0
  53. package/users/item/adhocCalls/item/transcripts/item/index.js +71 -0
  54. package/users/item/adhocCalls/item/transcripts/item/index.js.map +1 -0
  55. package/users/item/adhocCalls/item/transcripts/item/metadataContent/index.d.ts +55 -0
  56. package/users/item/adhocCalls/item/transcripts/item/metadataContent/index.d.ts.map +1 -0
  57. package/users/item/adhocCalls/item/transcripts/item/metadataContent/index.js +45 -0
  58. package/users/item/adhocCalls/item/transcripts/item/metadataContent/index.js.map +1 -0
  59. package/users/item/cloudPCs/item/index.d.ts +10 -0
  60. package/users/item/cloudPCs/item/index.d.ts.map +1 -1
  61. package/users/item/cloudPCs/item/index.js +10 -0
  62. package/users/item/cloudPCs/item/index.js.map +1 -1
  63. package/users/item/cloudPCs/item/reprovision/index.d.ts +64 -0
  64. package/users/item/cloudPCs/item/reprovision/index.d.ts.map +1 -0
  65. package/users/item/cloudPCs/item/reprovision/index.js +67 -0
  66. package/users/item/cloudPCs/item/reprovision/index.js.map +1 -0
  67. package/users/item/cloudPCs/item/retrieveCloudPcLaunchDetail/index.d.ts +30 -0
  68. package/users/item/cloudPCs/item/retrieveCloudPcLaunchDetail/index.d.ts.map +1 -0
  69. package/users/item/cloudPCs/item/retrieveCloudPcLaunchDetail/index.js +28 -0
  70. package/users/item/cloudPCs/item/retrieveCloudPcLaunchDetail/index.js.map +1 -0
  71. package/users/item/index.d.ts +10 -0
  72. package/users/item/index.d.ts.map +1 -1
  73. package/users/item/index.js +11 -0
  74. package/users/item/index.js.map +1 -1
  75. package/users/item/mailFolders/item/childFolders/item/messages/delta/index.d.ts +3 -3
  76. package/users/item/mailFolders/item/messages/delta/index.d.ts +3 -3
  77. package/users/item/messages/delta/index.d.ts +3 -3
  78. package/users/item/onPremisesSyncBehavior/index.d.ts +69 -0
  79. package/users/item/onPremisesSyncBehavior/index.d.ts.map +1 -0
  80. package/users/item/onPremisesSyncBehavior/index.js +56 -0
  81. package/users/item/onPremisesSyncBehavior/index.js.map +1 -0
  82. package/users/item/onlineMeetings/item/recordings/index.d.ts +3 -3
  83. package/users/item/onlineMeetings/item/recordings/item/index.d.ts +3 -3
  84. package/users/item/onlineMeetings/item/transcripts/index.d.ts +3 -3
  85. package/users/item/onlineMeetings/item/transcripts/item/content/index.d.ts +2 -2
  86. package/users/item/onlineMeetings/item/transcripts/item/index.d.ts +3 -3
  87. package/users/item/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts +2 -2
  88. package/users/item/presence/clearAutomaticLocation/index.d.ts +28 -0
  89. package/users/item/presence/clearAutomaticLocation/index.d.ts.map +1 -0
  90. package/users/item/presence/clearAutomaticLocation/index.js +25 -0
  91. package/users/item/presence/clearAutomaticLocation/index.js.map +1 -0
  92. package/users/item/presence/clearLocation/index.d.ts +28 -0
  93. package/users/item/presence/clearLocation/index.d.ts.map +1 -0
  94. package/users/item/presence/clearLocation/index.js +25 -0
  95. package/users/item/presence/clearLocation/index.js.map +1 -0
  96. package/users/item/presence/index.d.ts +20 -0
  97. package/users/item/presence/index.d.ts.map +1 -1
  98. package/users/item/presence/index.js +20 -0
  99. package/users/item/presence/index.js.map +1 -1
  100. package/users/item/presence/setAutomaticLocation/index.d.ts +64 -0
  101. package/users/item/presence/setAutomaticLocation/index.d.ts.map +1 -0
  102. package/users/item/presence/setAutomaticLocation/index.js +67 -0
  103. package/users/item/presence/setAutomaticLocation/index.js.map +1 -0
  104. package/users/item/presence/setManualLocation/index.d.ts +64 -0
  105. package/users/item/presence/setManualLocation/index.d.ts.map +1 -0
  106. package/users/item/presence/setManualLocation/index.js +67 -0
  107. package/users/item/presence/setManualLocation/index.js.map +1 -0
  108. package/users/item/settings/index.d.ts +5 -0
  109. package/users/item/settings/index.d.ts.map +1 -1
  110. package/users/item/settings/index.js +6 -0
  111. package/users/item/settings/index.js.map +1 -1
  112. package/users/item/settings/windows/index.d.ts +3 -3
  113. package/users/item/settings/windows/item/index.d.ts +3 -3
  114. package/users/item/settings/workHoursAndLocations/index.d.ts +79 -0
  115. package/users/item/settings/workHoursAndLocations/index.d.ts.map +1 -0
  116. package/users/item/settings/workHoursAndLocations/index.js +71 -0
  117. package/users/item/settings/workHoursAndLocations/index.js.map +1 -0
  118. package/users/item/settings/workHoursAndLocations/occurrences/count/index.d.ts +41 -0
  119. package/users/item/settings/workHoursAndLocations/occurrences/count/index.d.ts.map +1 -0
  120. package/users/item/settings/workHoursAndLocations/occurrences/count/index.js +34 -0
  121. package/users/item/settings/workHoursAndLocations/occurrences/count/index.js.map +1 -0
  122. package/users/item/settings/workHoursAndLocations/occurrences/index.d.ts +102 -0
  123. package/users/item/settings/workHoursAndLocations/occurrences/index.d.ts.map +1 -0
  124. package/users/item/settings/workHoursAndLocations/occurrences/index.js +75 -0
  125. package/users/item/settings/workHoursAndLocations/occurrences/index.js.map +1 -0
  126. package/users/item/settings/workHoursAndLocations/occurrences/item/index.d.ts +69 -0
  127. package/users/item/settings/workHoursAndLocations/occurrences/item/index.d.ts.map +1 -0
  128. package/users/item/settings/workHoursAndLocations/occurrences/item/index.js +56 -0
  129. package/users/item/settings/workHoursAndLocations/occurrences/item/index.js.map +1 -0
  130. package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.d.ts +68 -0
  131. package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.d.ts.map +1 -0
  132. package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.js +69 -0
  133. package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.js.map +1 -0
  134. package/users/item/settings/workHoursAndLocations/occurrencesViewWithStartDateTimeWithEndDateTime/index.d.ts +92 -0
  135. package/users/item/settings/workHoursAndLocations/occurrencesViewWithStartDateTimeWithEndDateTime/index.d.ts.map +1 -0
  136. package/users/item/settings/workHoursAndLocations/occurrencesViewWithStartDateTimeWithEndDateTime/index.js +74 -0
  137. package/users/item/settings/workHoursAndLocations/occurrencesViewWithStartDateTimeWithEndDateTime/index.js.map +1 -0
  138. package/users/item/settings/workHoursAndLocations/recurrences/count/index.d.ts +41 -0
  139. package/users/item/settings/workHoursAndLocations/recurrences/count/index.d.ts.map +1 -0
  140. package/users/item/settings/workHoursAndLocations/recurrences/count/index.js +34 -0
  141. package/users/item/settings/workHoursAndLocations/recurrences/count/index.js.map +1 -0
  142. package/users/item/settings/workHoursAndLocations/recurrences/index.d.ts +97 -0
  143. package/users/item/settings/workHoursAndLocations/recurrences/index.d.ts.map +1 -0
  144. package/users/item/settings/workHoursAndLocations/recurrences/index.js +70 -0
  145. package/users/item/settings/workHoursAndLocations/recurrences/index.js.map +1 -0
  146. package/users/item/settings/workHoursAndLocations/recurrences/item/index.d.ts +69 -0
  147. package/users/item/settings/workHoursAndLocations/recurrences/item/index.d.ts.map +1 -0
  148. package/users/item/settings/workHoursAndLocations/recurrences/item/index.js +56 -0
  149. package/users/item/settings/workHoursAndLocations/recurrences/item/index.js.map +1 -0
  150. package/LICENSE +0 -21
@@ -0,0 +1,41 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
13
+ /**
14
+ * Get the number of the resource
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the number of the resource
22
+ */
23
+ export interface CountRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Filter items by property values
26
+ */
27
+ filter?: string;
28
+ /**
29
+ * Search items by search phrases
30
+ */
31
+ search?: string;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,yGAAyG,CAAC;AAQrJ;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/$count{?%24filter,%24search}";
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const CountRequestBuilderGetQueryParametersMapper = {
14
+ "filter": "%24filter",
15
+ "search": "%24search",
16
+ };
17
+ /**
18
+ * Metadata for all the requests in the request builder.
19
+ */
20
+ export const CountRequestBuilderRequestsMetadata = {
21
+ get: {
22
+ uriTemplate: CountRequestBuilderUriTemplate,
23
+ responseBodyContentType: "text/plain;q=0.9",
24
+ errorMappings: {
25
+ XXX: createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitive",
28
+ responseBodyFactory: "number",
29
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
30
+ },
31
+ };
32
+ /* tslint:enable */
33
+ /* eslint-enable */
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,sGAAsG,CAAC;AACrJ;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,102 @@
1
+ import { type WorkPlanOccurrence, type WorkPlanOccurrenceCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type CountRequestBuilder } from './count/index.js';
3
+ import { type WorkPlanOccurrenceItemRequestBuilder } from './item/index.js';
4
+ import { type SetCurrentLocationRequestBuilder } from './setCurrentLocation/index.js';
5
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
6
+ /**
7
+ * Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity.
8
+ */
9
+ export interface OccurrencesRequestBuilder extends BaseRequestBuilder<OccurrencesRequestBuilder> {
10
+ /**
11
+ * Provides operations to count the resources in the collection.
12
+ */
13
+ get count(): CountRequestBuilder;
14
+ /**
15
+ * Provides operations to call the setCurrentLocation method.
16
+ */
17
+ get setCurrentLocation(): SetCurrentLocationRequestBuilder;
18
+ /**
19
+ * Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity.
20
+ * @param workPlanOccurrenceId The unique identifier of workPlanOccurrence
21
+ * @returns {WorkPlanOccurrenceItemRequestBuilder}
22
+ */
23
+ byWorkPlanOccurrenceId(workPlanOccurrenceId: string): WorkPlanOccurrenceItemRequestBuilder;
24
+ /**
25
+ * Collection of work plan occurrences.
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns {Promise<WorkPlanOccurrenceCollectionResponse>}
28
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
+ */
30
+ get(requestConfiguration?: RequestConfiguration<OccurrencesRequestBuilderGetQueryParameters> | undefined): Promise<WorkPlanOccurrenceCollectionResponse | undefined>;
31
+ /**
32
+ * Create new navigation property to occurrences for users
33
+ * @param body The request body
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns {Promise<WorkPlanOccurrence>}
36
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
37
+ */
38
+ post(body: WorkPlanOccurrence, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkPlanOccurrence | undefined>;
39
+ /**
40
+ * Collection of work plan occurrences.
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns {RequestInformation}
43
+ */
44
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<OccurrencesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Create new navigation property to occurrences for 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
+ toPostRequestInformation(body: WorkPlanOccurrence, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Collection of work plan occurrences.
55
+ */
56
+ export interface OccurrencesRequestBuilderGetQueryParameters {
57
+ /**
58
+ * Include count of items
59
+ */
60
+ count?: boolean;
61
+ /**
62
+ * Expand related entities
63
+ */
64
+ expand?: string[];
65
+ /**
66
+ * Filter items by property values
67
+ */
68
+ filter?: string;
69
+ /**
70
+ * Order items by property values
71
+ */
72
+ orderby?: string[];
73
+ /**
74
+ * Search items by search phrases
75
+ */
76
+ search?: string;
77
+ /**
78
+ * Select properties to be returned
79
+ */
80
+ select?: string[];
81
+ /**
82
+ * Skip the first n items
83
+ */
84
+ skip?: number;
85
+ /**
86
+ * Show only the first n items
87
+ */
88
+ top?: number;
89
+ }
90
+ /**
91
+ * Uri template for the request builder.
92
+ */
93
+ export declare const OccurrencesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
94
+ /**
95
+ * Metadata for all the navigation properties in the request builder.
96
+ */
97
+ export declare const OccurrencesRequestBuilderNavigationMetadata: Record<Exclude<keyof OccurrencesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
98
+ /**
99
+ * Metadata for all the requests in the request builder.
100
+ */
101
+ export declare const OccurrencesRequestBuilderRequestsMetadata: RequestsMetadata;
102
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAI3Q,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,KAAK,oCAAoC,EAAwD,MAAM,iBAAiB,CAAC;AAElI,OAAO,EAAoD,KAAK,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAExI,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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;;;OAIG;IACF,sBAAsB,CAAC,oBAAoB,EAAE,MAAM,GAAI,oCAAoC,CAAC;IAC7F;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACvK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;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,oCAAoC,yJAAyJ,CAAC;AAc3M;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAuBvD,CAAC"}
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createWorkPlanOccurrenceCollectionResponseFromDiscriminatorValue, createWorkPlanOccurrenceFromDiscriminatorValue, serializeWorkPlanOccurrence } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
+ // @ts-ignore
11
+ import { WorkPlanOccurrenceItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ // @ts-ignore
13
+ import { SetCurrentLocationRequestBuilderRequestsMetadata } from './setCurrentLocation/index.js';
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export const OccurrencesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
18
+ /**
19
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
20
+ */
21
+ const OccurrencesRequestBuilderGetQueryParametersMapper = {
22
+ "count": "%24count",
23
+ "expand": "%24expand",
24
+ "filter": "%24filter",
25
+ "orderby": "%24orderby",
26
+ "search": "%24search",
27
+ "select": "%24select",
28
+ "skip": "%24skip",
29
+ "top": "%24top",
30
+ };
31
+ /**
32
+ * Metadata for all the navigation properties in the request builder.
33
+ */
34
+ export const OccurrencesRequestBuilderNavigationMetadata = {
35
+ byWorkPlanOccurrenceId: {
36
+ requestsMetadata: WorkPlanOccurrenceItemRequestBuilderRequestsMetadata,
37
+ pathParametersMappings: ["workPlanOccurrence%2Did"],
38
+ },
39
+ count: {
40
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
41
+ },
42
+ setCurrentLocation: {
43
+ requestsMetadata: SetCurrentLocationRequestBuilderRequestsMetadata,
44
+ },
45
+ };
46
+ /**
47
+ * Metadata for all the requests in the request builder.
48
+ */
49
+ export const OccurrencesRequestBuilderRequestsMetadata = {
50
+ get: {
51
+ uriTemplate: OccurrencesRequestBuilderUriTemplate,
52
+ responseBodyContentType: "application/json",
53
+ errorMappings: {
54
+ XXX: createODataErrorFromDiscriminatorValue,
55
+ },
56
+ adapterMethodName: "send",
57
+ responseBodyFactory: createWorkPlanOccurrenceCollectionResponseFromDiscriminatorValue,
58
+ queryParametersMapper: OccurrencesRequestBuilderGetQueryParametersMapper,
59
+ },
60
+ post: {
61
+ uriTemplate: OccurrencesRequestBuilderUriTemplate,
62
+ responseBodyContentType: "application/json",
63
+ errorMappings: {
64
+ XXX: createODataErrorFromDiscriminatorValue,
65
+ },
66
+ adapterMethodName: "send",
67
+ responseBodyFactory: createWorkPlanOccurrenceFromDiscriminatorValue,
68
+ requestBodyContentType: "application/json",
69
+ requestBodySerializer: serializeWorkPlanOccurrence,
70
+ requestInformationContentSetMethod: "setContentFromParsable",
71
+ },
72
+ };
73
+ /* tslint:enable */
74
+ /* eslint-enable */
75
+ //# 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,gEAAgE,EAAE,8CAA8C,EAAE,2BAA2B,EAAsE,MAAM,wCAAwC,CAAC;AAC3Q,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAA6C,oDAAoD,EAAE,MAAM,iBAAiB,CAAC;AAClI,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAyC,MAAM,+BAA+B,CAAC;AAwFxI;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,sJAAsJ,CAAC;AAC3M;;GAEG;AACH,MAAM,iDAAiD,GAA2B;IAC9E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,sBAAsB,EAAE;QACpB,gBAAgB,EAAE,oDAAoD;QACtE,sBAAsB,EAAE,CAAC,yBAAyB,CAAC;KACtD;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,kBAAkB,EAAE;QAChB,gBAAgB,EAAE,gDAAgD;KACrE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gEAAgE;QACtF,qBAAqB,EAAE,iDAAiD;KAC3E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,69 @@
1
+ import { type WorkPlanOccurrence } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity.
5
+ */
6
+ export interface WorkPlanOccurrenceItemRequestBuilder extends BaseRequestBuilder<WorkPlanOccurrenceItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property occurrences for users
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * Collection of work plan occurrences.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {Promise<WorkPlanOccurrence>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<WorkPlanOccurrenceItemRequestBuilderGetQueryParameters> | undefined): Promise<WorkPlanOccurrence | undefined>;
20
+ /**
21
+ * Update the navigation property occurrences in users
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns {Promise<WorkPlanOccurrence>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
+ */
27
+ put(body: WorkPlanOccurrence, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkPlanOccurrence | undefined>;
28
+ /**
29
+ * Delete navigation property occurrences for users
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns {RequestInformation}
32
+ */
33
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ /**
35
+ * Collection of work plan occurrences.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WorkPlanOccurrenceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the navigation property occurrences in users
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toPutRequestInformation(body: WorkPlanOccurrence, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Collection of work plan occurrences.
50
+ */
51
+ export interface WorkPlanOccurrenceItemRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Expand related entities
54
+ */
55
+ expand?: string[];
56
+ /**
57
+ * Select properties to be returned
58
+ */
59
+ select?: string[];
60
+ }
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ export declare const WorkPlanOccurrenceItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const WorkPlanOccurrenceItemRequestBuilderRequestsMetadata: RequestsMetadata;
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAI9J,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;;OAMG;IACF,GAAG,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;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,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/J;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,4HAA4H,CAAC;AAQzL;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBA+BlE,CAAC"}
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createWorkPlanOccurrenceFromDiscriminatorValue, serializeWorkPlanOccurrence } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ export const WorkPlanOccurrenceItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const WorkPlanOccurrenceItemRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export const WorkPlanOccurrenceItemRequestBuilderRequestsMetadata = {
23
+ delete: {
24
+ uriTemplate: WorkPlanOccurrenceItemRequestBuilderUriTemplate,
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ XXX: createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "sendNoResponseContent",
30
+ },
31
+ get: {
32
+ uriTemplate: WorkPlanOccurrenceItemRequestBuilderUriTemplate,
33
+ responseBodyContentType: "application/json",
34
+ errorMappings: {
35
+ XXX: createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "send",
38
+ responseBodyFactory: createWorkPlanOccurrenceFromDiscriminatorValue,
39
+ queryParametersMapper: WorkPlanOccurrenceItemRequestBuilderGetQueryParametersMapper,
40
+ },
41
+ put: {
42
+ uriTemplate: WorkPlanOccurrenceItemRequestBuilderUriTemplate,
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ XXX: createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "send",
48
+ responseBodyFactory: createWorkPlanOccurrenceFromDiscriminatorValue,
49
+ requestBodyContentType: "application/json",
50
+ requestBodySerializer: serializeWorkPlanOccurrence,
51
+ requestInformationContentSetMethod: "setContentFromParsable",
52
+ },
53
+ };
54
+ /* tslint:enable */
55
+ /* eslint-enable */
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,2BAA2B,EAA2B,MAAM,wCAAwC,CAAC;AAC9J,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA8D7H;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,yHAAyH,CAAC;AACzL;;GAEG;AACH,MAAM,4DAA4D,GAA2B;IACzF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAqB;IAClF,MAAM,EAAE;QACJ,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,qBAAqB,EAAE,4DAA4D;KACtF;IACD,GAAG,EAAE;QACD,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,68 @@
1
+ import { WorkLocationType, WorkLocationUpdateScope } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns {SetCurrentLocationPostRequestBody}
7
+ */
8
+ export declare function createSetCurrentLocationPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @param SetCurrentLocationPostRequestBody The instance to deserialize into.
12
+ * @returns {Record<string, (node: ParseNode) => void>}
13
+ */
14
+ export declare function deserializeIntoSetCurrentLocationPostRequestBody(setCurrentLocationPostRequestBody?: Partial<SetCurrentLocationPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
15
+ /**
16
+ * Serializes information the current object
17
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
18
+ * @param SetCurrentLocationPostRequestBody The instance to serialize from.
19
+ * @param writer Serialization writer to use to serialize this model
20
+ */
21
+ export declare function serializeSetCurrentLocationPostRequestBody(writer: SerializationWriter, setCurrentLocationPostRequestBody?: Partial<SetCurrentLocationPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
22
+ export interface SetCurrentLocationPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
23
+ /**
24
+ * Stores model information.
25
+ */
26
+ backingStoreEnabled?: boolean | null;
27
+ /**
28
+ * The placeId property
29
+ */
30
+ placeId?: string | null;
31
+ /**
32
+ * The updateScope property
33
+ */
34
+ updateScope?: WorkLocationUpdateScope | null;
35
+ /**
36
+ * The workLocationType property
37
+ */
38
+ workLocationType?: WorkLocationType | null;
39
+ }
40
+ /**
41
+ * Provides operations to call the setCurrentLocation method.
42
+ */
43
+ export interface SetCurrentLocationRequestBuilder extends BaseRequestBuilder<SetCurrentLocationRequestBuilder> {
44
+ /**
45
+ * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences.
46
+ * @param body The request body
47
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
49
+ * @see {@link https://learn.microsoft.com/graph/api/workplanoccurrence-setcurrentlocation?view=graph-rest-1.0|Find more info here}
50
+ */
51
+ post(body: SetCurrentLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
52
+ /**
53
+ * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences.
54
+ * @param body The request body
55
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
56
+ * @returns {RequestInformation}
57
+ */
58
+ toPostRequestInformation(body: SetCurrentLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
59
+ }
60
+ /**
61
+ * Uri template for the request builder.
62
+ */
63
+ export declare const SetCurrentLocationRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/setCurrentLocation";
64
+ /**
65
+ * Metadata for all the requests in the request builder.
66
+ */
67
+ export declare const SetCurrentLocationRequestBuilderRequestsMetadata: RequestsMetadata;
68
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAA0B,uBAAuB,EAAiC,MAAM,wCAAwC,CAAC;AAI1J,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AAEH,wBAAgB,6DAA6D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAErL;AACD;;;;GAIG;AAEH,wBAAgB,gDAAgD,CAAC,iCAAiC,GAAE,OAAO,CAAC,iCAAiC,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAO3M;AACD;;;;;GAKG;AAEH,wBAAgB,0CAA0C,CAAC,MAAM,EAAE,mBAAmB,EAAE,iCAAiC,GAAE,OAAO,CAAC,iCAAiC,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAM/O;AACD,MAAM,WAAW,iCAAkC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAClG;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAC7C;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC9C;AACD;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAChI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,+FAA+F,CAAC;AACxJ;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAY9D,CAAC"}
@@ -0,0 +1,69 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { WorkLocationTypeObject, WorkLocationUpdateScopeObject } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ /**
9
+ * Creates a new instance of the appropriate class based on discriminator value
10
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11
+ * @returns {SetCurrentLocationPostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createSetCurrentLocationPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoSetCurrentLocationPostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @param SetCurrentLocationPostRequestBody The instance to deserialize into.
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
+ */
22
+ // @ts-ignore
23
+ export function deserializeIntoSetCurrentLocationPostRequestBody(setCurrentLocationPostRequestBody = {}) {
24
+ return {
25
+ "backingStoreEnabled": n => { setCurrentLocationPostRequestBody.backingStoreEnabled = true; },
26
+ "placeId": n => { setCurrentLocationPostRequestBody.placeId = n.getStringValue(); },
27
+ "updateScope": n => { setCurrentLocationPostRequestBody.updateScope = n.getEnumValue(WorkLocationUpdateScopeObject); },
28
+ "workLocationType": n => { setCurrentLocationPostRequestBody.workLocationType = n.getEnumValue(WorkLocationTypeObject); },
29
+ };
30
+ }
31
+ /**
32
+ * Serializes information the current object
33
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
34
+ * @param SetCurrentLocationPostRequestBody The instance to serialize from.
35
+ * @param writer Serialization writer to use to serialize this model
36
+ */
37
+ // @ts-ignore
38
+ export function serializeSetCurrentLocationPostRequestBody(writer, setCurrentLocationPostRequestBody = {}, isSerializingDerivedType = false) {
39
+ if (!setCurrentLocationPostRequestBody || isSerializingDerivedType) {
40
+ return;
41
+ }
42
+ writer.writeStringValue("placeId", setCurrentLocationPostRequestBody.placeId);
43
+ writer.writeEnumValue("updateScope", setCurrentLocationPostRequestBody.updateScope);
44
+ writer.writeEnumValue("workLocationType", setCurrentLocationPostRequestBody.workLocationType);
45
+ writer.writeAdditionalData(setCurrentLocationPostRequestBody.additionalData);
46
+ }
47
+ /**
48
+ * Uri template for the request builder.
49
+ */
50
+ export const SetCurrentLocationRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/setCurrentLocation";
51
+ /**
52
+ * Metadata for all the requests in the request builder.
53
+ */
54
+ export const SetCurrentLocationRequestBuilderRequestsMetadata = {
55
+ post: {
56
+ uriTemplate: SetCurrentLocationRequestBuilderUriTemplate,
57
+ responseBodyContentType: "application/json",
58
+ errorMappings: {
59
+ XXX: createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "sendNoResponseContent",
62
+ requestBodyContentType: "application/json",
63
+ requestBodySerializer: serializeSetCurrentLocationPostRequestBody,
64
+ requestInformationContentSetMethod: "setContentFromParsable",
65
+ },
66
+ };
67
+ /* tslint:enable */
68
+ /* eslint-enable */
69
+ //# 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,EAAoB,sBAAsB,EAA2B,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAC1J,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,6DAA6D,CAAC,SAAgC;IAC1G,OAAO,gDAAgD,CAAC;AAC5D,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gDAAgD,CAAC,oCAA4F,EAAE;IAC3J,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,iCAAiC,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QAC7F,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,iCAAiC,CAAC,OAAO,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACnF,aAAa,EAAE,CAAC,CAAC,EAAE,GAAG,iCAAiC,CAAC,WAAW,GAAG,CAAC,CAAC,YAAY,CAA0B,6BAA6B,CAAC,CAAC,CAAC,CAAC;QAC/I,kBAAkB,EAAE,CAAC,CAAC,EAAE,GAAG,iCAAiC,CAAC,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAmB,sBAAsB,CAAC,CAAC,CAAC,CAAC;KAC9I,CAAA;AACL,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,0CAA0C,CAAC,MAA2B,EAAE,oCAAmG,EAAE,EAAE,2BAAoC,KAAK;IACpO,IAAI,CAAC,iCAAiC,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC/E,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,iCAAiC,CAAC,OAAO,CAAC,CAAC;IAC9E,MAAM,CAAC,cAAc,CAA0B,aAAa,EAAE,iCAAiC,CAAC,WAAW,CAAC,CAAC;IAC7G,MAAM,CAAC,cAAc,CAAmB,kBAAkB,EAAE,iCAAiC,CAAC,gBAAgB,CAAC,CAAC;IAChH,MAAM,CAAC,mBAAmB,CAAC,iCAAiC,CAAC,cAAc,CAAC,CAAC;AACjF,CAAC;AAuCD;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,4FAA4F,CAAC;AACxJ;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAqB;IAC9E,IAAI,EAAE;QACF,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0CAA0C;QACjE,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}