@microsoft/msgraph-sdk-communications 1.0.0-preview.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/communications/callRecords/count/index.d.ts +40 -0
  4. package/communications/callRecords/count/index.d.ts.map +1 -0
  5. package/communications/callRecords/count/index.js +35 -0
  6. package/communications/callRecords/index.d.ts +111 -0
  7. package/communications/callRecords/index.d.ts.map +1 -0
  8. package/communications/callRecords/index.js +81 -0
  9. package/communications/callRecords/item/index.d.ts +76 -0
  10. package/communications/callRecords/item/index.d.ts.map +1 -0
  11. package/communications/callRecords/item/index.js +67 -0
  12. package/communications/callRecords/item/sessions/count/index.d.ts +40 -0
  13. package/communications/callRecords/item/sessions/count/index.d.ts.map +1 -0
  14. package/communications/callRecords/item/sessions/count/index.js +35 -0
  15. package/communications/callRecords/item/sessions/index.d.ts +96 -0
  16. package/communications/callRecords/item/sessions/index.d.ts.map +1 -0
  17. package/communications/callRecords/item/sessions/index.js +71 -0
  18. package/communications/callRecords/item/sessions/item/index.d.ts +75 -0
  19. package/communications/callRecords/item/sessions/item/index.d.ts.map +1 -0
  20. package/communications/callRecords/item/sessions/item/index.js +67 -0
  21. package/communications/callRecords/item/sessions/item/segments/count/index.d.ts +40 -0
  22. package/communications/callRecords/item/sessions/item/segments/count/index.d.ts.map +1 -0
  23. package/communications/callRecords/item/sessions/item/segments/count/index.js +35 -0
  24. package/communications/callRecords/item/sessions/item/segments/index.d.ts +95 -0
  25. package/communications/callRecords/item/sessions/item/segments/index.d.ts.map +1 -0
  26. package/communications/callRecords/item/sessions/item/segments/index.js +70 -0
  27. package/communications/callRecords/item/sessions/item/segments/item/index.d.ts +66 -0
  28. package/communications/callRecords/item/sessions/item/segments/item/index.d.ts.map +1 -0
  29. package/communications/callRecords/item/sessions/item/segments/item/index.js +56 -0
  30. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.d.ts +76 -0
  31. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.d.ts.map +1 -0
  32. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.js +66 -0
  33. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.d.ts +76 -0
  34. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.d.ts.map +1 -0
  35. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.js +66 -0
  36. package/communications/calls/count/index.d.ts +40 -0
  37. package/communications/calls/count/index.d.ts.map +1 -0
  38. package/communications/calls/count/index.js +35 -0
  39. package/communications/calls/index.d.ts +101 -0
  40. package/communications/calls/index.d.ts.map +1 -0
  41. package/communications/calls/index.js +76 -0
  42. package/communications/calls/item/addLargeGalleryView/index.d.ts +61 -0
  43. package/communications/calls/item/addLargeGalleryView/index.d.ts.map +1 -0
  44. package/communications/calls/item/addLargeGalleryView/index.js +60 -0
  45. package/communications/calls/item/answer/index.d.ts +76 -0
  46. package/communications/calls/item/answer/index.d.ts.map +1 -0
  47. package/communications/calls/item/answer/index.js +68 -0
  48. package/communications/calls/item/audioRoutingGroups/count/index.d.ts +40 -0
  49. package/communications/calls/item/audioRoutingGroups/count/index.d.ts.map +1 -0
  50. package/communications/calls/item/audioRoutingGroups/count/index.js +35 -0
  51. package/communications/calls/item/audioRoutingGroups/index.d.ts +97 -0
  52. package/communications/calls/item/audioRoutingGroups/index.d.ts.map +1 -0
  53. package/communications/calls/item/audioRoutingGroups/index.js +70 -0
  54. package/communications/calls/item/audioRoutingGroups/item/index.d.ts +69 -0
  55. package/communications/calls/item/audioRoutingGroups/item/index.d.ts.map +1 -0
  56. package/communications/calls/item/audioRoutingGroups/item/index.js +56 -0
  57. package/communications/calls/item/cancelMediaProcessing/index.d.ts +61 -0
  58. package/communications/calls/item/cancelMediaProcessing/index.d.ts.map +1 -0
  59. package/communications/calls/item/cancelMediaProcessing/index.js +60 -0
  60. package/communications/calls/item/changeScreenSharingRole/index.d.ts +60 -0
  61. package/communications/calls/item/changeScreenSharingRole/index.d.ts.map +1 -0
  62. package/communications/calls/item/changeScreenSharingRole/index.js +59 -0
  63. package/communications/calls/item/contentSharingSessions/count/index.d.ts +40 -0
  64. package/communications/calls/item/contentSharingSessions/count/index.d.ts.map +1 -0
  65. package/communications/calls/item/contentSharingSessions/count/index.js +35 -0
  66. package/communications/calls/item/contentSharingSessions/index.d.ts +96 -0
  67. package/communications/calls/item/contentSharingSessions/index.d.ts.map +1 -0
  68. package/communications/calls/item/contentSharingSessions/index.js +70 -0
  69. package/communications/calls/item/contentSharingSessions/item/index.d.ts +67 -0
  70. package/communications/calls/item/contentSharingSessions/item/index.d.ts.map +1 -0
  71. package/communications/calls/item/contentSharingSessions/item/index.js +56 -0
  72. package/communications/calls/item/index.d.ts +167 -0
  73. package/communications/calls/item/index.d.ts.map +1 -0
  74. package/communications/calls/item/index.js +160 -0
  75. package/communications/calls/item/keepAlive/index.d.ts +27 -0
  76. package/communications/calls/item/keepAlive/index.d.ts.map +1 -0
  77. package/communications/calls/item/keepAlive/index.js +26 -0
  78. package/communications/calls/item/mute/index.d.ts +61 -0
  79. package/communications/calls/item/mute/index.d.ts.map +1 -0
  80. package/communications/calls/item/mute/index.js +60 -0
  81. package/communications/calls/item/operations/count/index.d.ts +40 -0
  82. package/communications/calls/item/operations/count/index.d.ts.map +1 -0
  83. package/communications/calls/item/operations/count/index.js +35 -0
  84. package/communications/calls/item/operations/index.d.ts +95 -0
  85. package/communications/calls/item/operations/index.d.ts.map +1 -0
  86. package/communications/calls/item/operations/index.js +70 -0
  87. package/communications/calls/item/operations/item/index.d.ts +67 -0
  88. package/communications/calls/item/operations/item/index.d.ts.map +1 -0
  89. package/communications/calls/item/operations/item/index.js +56 -0
  90. package/communications/calls/item/participants/count/index.d.ts +40 -0
  91. package/communications/calls/item/participants/count/index.d.ts.map +1 -0
  92. package/communications/calls/item/participants/count/index.js +35 -0
  93. package/communications/calls/item/participants/index.d.ts +101 -0
  94. package/communications/calls/item/participants/index.d.ts.map +1 -0
  95. package/communications/calls/item/participants/index.js +76 -0
  96. package/communications/calls/item/participants/invite/index.d.ts +65 -0
  97. package/communications/calls/item/participants/invite/index.d.ts.map +1 -0
  98. package/communications/calls/item/participants/invite/index.js +62 -0
  99. package/communications/calls/item/participants/item/index.d.ts +87 -0
  100. package/communications/calls/item/participants/item/index.d.ts.map +1 -0
  101. package/communications/calls/item/participants/item/index.js +76 -0
  102. package/communications/calls/item/participants/item/mute/index.d.ts +61 -0
  103. package/communications/calls/item/participants/item/mute/index.d.ts.map +1 -0
  104. package/communications/calls/item/participants/item/mute/index.js +60 -0
  105. package/communications/calls/item/participants/item/startHoldMusic/index.d.ts +65 -0
  106. package/communications/calls/item/participants/item/startHoldMusic/index.d.ts.map +1 -0
  107. package/communications/calls/item/participants/item/startHoldMusic/index.js +62 -0
  108. package/communications/calls/item/participants/item/stopHoldMusic/index.d.ts +61 -0
  109. package/communications/calls/item/participants/item/stopHoldMusic/index.d.ts.map +1 -0
  110. package/communications/calls/item/participants/item/stopHoldMusic/index.js +60 -0
  111. package/communications/calls/item/playPrompt/index.d.ts +65 -0
  112. package/communications/calls/item/playPrompt/index.d.ts.map +1 -0
  113. package/communications/calls/item/playPrompt/index.js +62 -0
  114. package/communications/calls/item/recordResponse/index.d.ts +89 -0
  115. package/communications/calls/item/recordResponse/index.d.ts.map +1 -0
  116. package/communications/calls/item/recordResponse/index.js +74 -0
  117. package/communications/calls/item/redirect/index.d.ts +68 -0
  118. package/communications/calls/item/redirect/index.d.ts.map +1 -0
  119. package/communications/calls/item/redirect/index.js +63 -0
  120. package/communications/calls/item/reject/index.d.ts +64 -0
  121. package/communications/calls/item/reject/index.d.ts.map +1 -0
  122. package/communications/calls/item/reject/index.js +61 -0
  123. package/communications/calls/item/sendDtmfTones/index.d.ts +68 -0
  124. package/communications/calls/item/sendDtmfTones/index.d.ts.map +1 -0
  125. package/communications/calls/item/sendDtmfTones/index.js +65 -0
  126. package/communications/calls/item/subscribeToTone/index.d.ts +61 -0
  127. package/communications/calls/item/subscribeToTone/index.d.ts.map +1 -0
  128. package/communications/calls/item/subscribeToTone/index.js +60 -0
  129. package/communications/calls/item/transfer/index.d.ts +64 -0
  130. package/communications/calls/item/transfer/index.d.ts.map +1 -0
  131. package/communications/calls/item/transfer/index.js +61 -0
  132. package/communications/calls/item/unmute/index.d.ts +61 -0
  133. package/communications/calls/item/unmute/index.d.ts.map +1 -0
  134. package/communications/calls/item/unmute/index.js +60 -0
  135. package/communications/calls/item/updateRecordingStatus/index.d.ts +65 -0
  136. package/communications/calls/item/updateRecordingStatus/index.d.ts.map +1 -0
  137. package/communications/calls/item/updateRecordingStatus/index.js +62 -0
  138. package/communications/calls/logTeleconferenceDeviceQuality/index.d.ts +60 -0
  139. package/communications/calls/logTeleconferenceDeviceQuality/index.d.ts.map +1 -0
  140. package/communications/calls/logTeleconferenceDeviceQuality/index.js +59 -0
  141. package/communications/getPresencesByUserId/index.d.ts +83 -0
  142. package/communications/getPresencesByUserId/index.d.ts.map +1 -0
  143. package/communications/getPresencesByUserId/index.js +86 -0
  144. package/communications/index.d.ts +84 -0
  145. package/communications/index.d.ts.map +1 -0
  146. package/communications/index.js +82 -0
  147. package/communications/onlineMeetings/count/index.d.ts +40 -0
  148. package/communications/onlineMeetings/count/index.d.ts.map +1 -0
  149. package/communications/onlineMeetings/count/index.js +35 -0
  150. package/communications/onlineMeetings/createOrGet/index.d.ts +81 -0
  151. package/communications/onlineMeetings/createOrGet/index.d.ts.map +1 -0
  152. package/communications/onlineMeetings/createOrGet/index.js +70 -0
  153. package/communications/onlineMeetings/index.d.ts +101 -0
  154. package/communications/onlineMeetings/index.d.ts.map +1 -0
  155. package/communications/onlineMeetings/index.js +76 -0
  156. package/communications/onlineMeetings/item/attendanceReports/count/index.d.ts +40 -0
  157. package/communications/onlineMeetings/item/attendanceReports/count/index.d.ts.map +1 -0
  158. package/communications/onlineMeetings/item/attendanceReports/count/index.js +35 -0
  159. package/communications/onlineMeetings/item/attendanceReports/index.d.ts +95 -0
  160. package/communications/onlineMeetings/item/attendanceReports/index.d.ts.map +1 -0
  161. package/communications/onlineMeetings/item/attendanceReports/index.js +71 -0
  162. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.d.ts +40 -0
  163. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -0
  164. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.js +35 -0
  165. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.d.ts +96 -0
  166. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -0
  167. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.js +70 -0
  168. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.d.ts +66 -0
  169. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -0
  170. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.js +56 -0
  171. package/communications/onlineMeetings/item/attendanceReports/item/index.d.ts +75 -0
  172. package/communications/onlineMeetings/item/attendanceReports/item/index.d.ts.map +1 -0
  173. package/communications/onlineMeetings/item/attendanceReports/item/index.js +67 -0
  174. package/communications/onlineMeetings/item/attendeeReport/index.d.ts +42 -0
  175. package/communications/onlineMeetings/item/attendeeReport/index.d.ts.map +1 -0
  176. package/communications/onlineMeetings/item/attendeeReport/index.js +38 -0
  177. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.d.ts +57 -0
  178. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.d.ts.map +1 -0
  179. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.js +56 -0
  180. package/communications/onlineMeetings/item/index.d.ts +95 -0
  181. package/communications/onlineMeetings/item/index.d.ts.map +1 -0
  182. package/communications/onlineMeetings/item/index.js +89 -0
  183. package/communications/onlineMeetings/item/recordings/count/index.d.ts +40 -0
  184. package/communications/onlineMeetings/item/recordings/count/index.d.ts.map +1 -0
  185. package/communications/onlineMeetings/item/recordings/count/index.js +35 -0
  186. package/communications/onlineMeetings/item/recordings/index.d.ts +95 -0
  187. package/communications/onlineMeetings/item/recordings/index.d.ts.map +1 -0
  188. package/communications/onlineMeetings/item/recordings/index.js +71 -0
  189. package/communications/onlineMeetings/item/recordings/item/content/index.d.ts +42 -0
  190. package/communications/onlineMeetings/item/recordings/item/content/index.d.ts.map +1 -0
  191. package/communications/onlineMeetings/item/recordings/item/content/index.js +39 -0
  192. package/communications/onlineMeetings/item/recordings/item/index.d.ts +76 -0
  193. package/communications/onlineMeetings/item/recordings/item/index.d.ts.map +1 -0
  194. package/communications/onlineMeetings/item/recordings/item/index.js +66 -0
  195. package/communications/onlineMeetings/item/transcripts/count/index.d.ts +40 -0
  196. package/communications/onlineMeetings/item/transcripts/count/index.d.ts.map +1 -0
  197. package/communications/onlineMeetings/item/transcripts/count/index.js +35 -0
  198. package/communications/onlineMeetings/item/transcripts/index.d.ts +96 -0
  199. package/communications/onlineMeetings/item/transcripts/index.d.ts.map +1 -0
  200. package/communications/onlineMeetings/item/transcripts/index.js +71 -0
  201. package/communications/onlineMeetings/item/transcripts/item/content/index.d.ts +43 -0
  202. package/communications/onlineMeetings/item/transcripts/item/content/index.d.ts.map +1 -0
  203. package/communications/onlineMeetings/item/transcripts/item/content/index.js +39 -0
  204. package/communications/onlineMeetings/item/transcripts/item/index.d.ts +81 -0
  205. package/communications/onlineMeetings/item/transcripts/item/index.d.ts.map +1 -0
  206. package/communications/onlineMeetings/item/transcripts/item/index.js +71 -0
  207. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts +42 -0
  208. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts.map +1 -0
  209. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.js +38 -0
  210. package/communications/presences/count/index.d.ts +40 -0
  211. package/communications/presences/count/index.d.ts.map +1 -0
  212. package/communications/presences/count/index.js +35 -0
  213. package/communications/presences/index.d.ts +95 -0
  214. package/communications/presences/index.d.ts.map +1 -0
  215. package/communications/presences/index.js +71 -0
  216. package/communications/presences/item/clearPresence/index.d.ts +59 -0
  217. package/communications/presences/item/clearPresence/index.d.ts.map +1 -0
  218. package/communications/presences/item/clearPresence/index.js +58 -0
  219. package/communications/presences/item/clearUserPreferredPresence/index.d.ts +27 -0
  220. package/communications/presences/item/clearUserPreferredPresence/index.d.ts.map +1 -0
  221. package/communications/presences/item/clearUserPreferredPresence/index.js +26 -0
  222. package/communications/presences/item/index.d.ts +96 -0
  223. package/communications/presences/item/index.d.ts.map +1 -0
  224. package/communications/presences/item/index.js +86 -0
  225. package/communications/presences/item/setPresence/index.d.ts +71 -0
  226. package/communications/presences/item/setPresence/index.d.ts.map +1 -0
  227. package/communications/presences/item/setPresence/index.js +64 -0
  228. package/communications/presences/item/setStatusMessage/index.d.ts +60 -0
  229. package/communications/presences/item/setStatusMessage/index.d.ts.map +1 -0
  230. package/communications/presences/item/setStatusMessage/index.js +59 -0
  231. package/communications/presences/item/setUserPreferredPresence/index.d.ts +67 -0
  232. package/communications/presences/item/setUserPreferredPresence/index.d.ts.map +1 -0
  233. package/communications/presences/item/setUserPreferredPresence/index.js +62 -0
  234. package/communicationsServiceClient.d.ts +25 -0
  235. package/communicationsServiceClient.d.ts.map +1 -0
  236. package/communicationsServiceClient.js +49 -0
  237. package/index.d.ts +11 -0
  238. package/index.d.ts.map +1 -0
  239. package/index.js +20 -0
  240. package/package.json +48 -0
  241. package/tsconfig.json +15 -0
  242. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,42 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to manage the media for the cloudCommunications entity.
4
+ */
5
+ export interface MetadataContentRequestBuilder extends BaseRequestBuilder<MetadataContentRequestBuilder> {
6
+ /**
7
+ * The time-aligned metadata of the utterances in the transcript. Read-only.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of ArrayBuffer
10
+ * @see {@link https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0|Find more info here}
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
13
+ /**
14
+ * The time-aligned metadata of the utterances in the transcript. Read-only.
15
+ * @param body Binary request body
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns a Promise of ArrayBuffer
18
+ */
19
+ put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
20
+ /**
21
+ * The time-aligned metadata of the utterances in the transcript. Read-only.
22
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @returns a RequestInformation
24
+ */
25
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
26
+ /**
27
+ * The time-aligned metadata of the utterances in the transcript. Read-only.
28
+ * @param body Binary request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a RequestInformation
31
+ */
32
+ toPutRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
33
+ }
34
+ /**
35
+ * Metadata for all the requests in the request builder.
36
+ */
37
+ export declare const MetadataContentRequestBuilderRequestsMetadata: RequestsMetadata;
38
+ /**
39
+ * Uri template for the request builder.
40
+ */
41
+ export declare const MetadataContentRequestBuilderUriTemplate = "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%2Did}/metadataContent";
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;OAKG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACxI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAqB3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,oHAAoH,CAAC"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MetadataContentRequestBuilderUriTemplate = exports.MetadataContentRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Metadata for all the requests in the request builder.
10
+ */
11
+ exports.MetadataContentRequestBuilderRequestsMetadata = {
12
+ get: {
13
+ responseBodyContentType: "application/octet-stream, application/json",
14
+ errorMappings: {
15
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
+ },
18
+ adapterMethodName: "sendPrimitiveAsync",
19
+ responseBodyFactory: "ArrayBuffer",
20
+ },
21
+ put: {
22
+ responseBodyContentType: "application/json",
23
+ errorMappings: {
24
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitiveAsync",
28
+ responseBodyFactory: "ArrayBuffer",
29
+ requestBodyContentType: "application/octet-stream",
30
+ requestInformationContentSetMethod: "setStreamContent",
31
+ },
32
+ };
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ exports.MetadataContentRequestBuilderUriTemplate = "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%2Did}/metadataContent";
37
+ /* tslint:enable */
38
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/communications/presences/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,qEAAqE,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/communications/presences/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,95 @@
1
+ import { type Presence, type PresenceCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type PresenceItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity.
7
+ */
8
+ export interface PresencesRequestBuilder extends BaseRequestBuilder<PresencesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity.
15
+ * @param presenceId The unique identifier of presence
16
+ * @returns a PresenceItemRequestBuilder
17
+ */
18
+ byPresenceId(presenceId: string): PresenceItemRequestBuilder;
19
+ /**
20
+ * Get a user's presence information.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of PresenceCollectionResponse
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<PresencesRequestBuilderGetQueryParameters> | undefined): Promise<PresenceCollectionResponse | undefined>;
25
+ /**
26
+ * Create new navigation property to presences for communications
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns a Promise of Presence
30
+ */
31
+ post(body: Presence, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Presence | undefined>;
32
+ /**
33
+ * Get a user's presence information.
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns a RequestInformation
36
+ */
37
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PresencesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
+ /**
39
+ * Create new navigation property to presences for communications
40
+ * @param body The request body
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns a RequestInformation
43
+ */
44
+ toPostRequestInformation(body: Presence, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
+ }
46
+ /**
47
+ * Get a user's presence information.
48
+ */
49
+ export interface PresencesRequestBuilderGetQueryParameters {
50
+ /**
51
+ * Include count of items
52
+ */
53
+ count?: boolean;
54
+ /**
55
+ * Expand related entities
56
+ */
57
+ expand?: string[];
58
+ /**
59
+ * Filter items by property values
60
+ */
61
+ filter?: string;
62
+ /**
63
+ * Order items by property values
64
+ */
65
+ orderby?: string[];
66
+ /**
67
+ * Search items by search phrases
68
+ */
69
+ search?: string;
70
+ /**
71
+ * Select properties to be returned
72
+ */
73
+ select?: string[];
74
+ /**
75
+ * Skip the first n items
76
+ */
77
+ skip?: number;
78
+ /**
79
+ * Show only the first n items
80
+ */
81
+ top?: number;
82
+ }
83
+ /**
84
+ * Metadata for all the navigation properties in the request builder.
85
+ */
86
+ export declare const PresencesRequestBuilderNavigationMetadata: Record<Exclude<keyof PresencesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
87
+ /**
88
+ * Metadata for all the requests in the request builder.
89
+ */
90
+ export declare const PresencesRequestBuilderRequestsMetadata: RequestsMetadata;
91
+ /**
92
+ * Uri template for the request builder.
93
+ */
94
+ export declare const PresencesRequestBuilderUriTemplate = "{+baseurl}/communications/presences{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
95
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAEjN,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAC3L,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,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,0BAA0B,CAAC;IAC/D;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI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
3
+ exports.PresencesRequestBuilderUriTemplate = exports.PresencesRequestBuilderRequestsMetadata = exports.PresencesRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const PresencesRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.PresencesRequestBuilderNavigationMetadata = {
28
+ byPresenceId: {
29
+ uriTemplate: item_1.PresenceItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.PresenceItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.PresenceItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["presence%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.PresencesRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createPresenceCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: PresencesRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createPresenceFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializePresence,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.PresencesRequestBuilderUriTemplate = "{+baseurl}/communications/presences{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,59 @@
1
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
2
+ export interface ClearPresencePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
3
+ /**
4
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
5
+ */
6
+ additionalData?: Record<string, unknown>;
7
+ /**
8
+ * Stores model information.
9
+ */
10
+ backingStoreEnabled?: boolean;
11
+ /**
12
+ * The sessionId property
13
+ */
14
+ sessionId?: string;
15
+ }
16
+ /**
17
+ * Provides operations to call the clearPresence method.
18
+ */
19
+ export interface ClearPresenceRequestBuilder extends BaseRequestBuilder<ClearPresenceRequestBuilder> {
20
+ /**
21
+ * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence.
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @see {@link https://learn.microsoft.com/graph/api/presence-clearpresence?view=graph-rest-1.0|Find more info here}
25
+ */
26
+ post(body: ClearPresencePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
27
+ /**
28
+ * Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence.
29
+ * @param body The request body
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns a RequestInformation
32
+ */
33
+ toPostRequestInformation(body: ClearPresencePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ }
35
+ /**
36
+ * Creates a new instance of the appropriate class based on discriminator value
37
+ * @param parseNode The parse node to use to read the discriminator value and create the object
38
+ * @returns a clearPresencePostRequestBody
39
+ */
40
+ export declare function createClearPresencePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoClearPresencePostRequestBody;
41
+ /**
42
+ * The deserialization information for the current model
43
+ * @returns a Record<string, (node: ParseNode) => void>
44
+ */
45
+ export declare function deserializeIntoClearPresencePostRequestBody(clearPresencePostRequestBody?: ClearPresencePostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
46
+ /**
47
+ * Serializes information the current object
48
+ * @param writer Serialization writer to use to serialize this model
49
+ */
50
+ export declare function serializeClearPresencePostRequestBody(writer: SerializationWriter, clearPresencePostRequestBody?: ClearPresencePostRequestBody | undefined): void;
51
+ /**
52
+ * Metadata for all the requests in the request builder.
53
+ */
54
+ export declare const ClearPresenceRequestBuilderRequestsMetadata: RequestsMetadata;
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ export declare const ClearPresenceRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/clearPresence";
59
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KA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"__esModule", { value: true });
3
+ exports.ClearPresenceRequestBuilderUriTemplate = exports.ClearPresenceRequestBuilderRequestsMetadata = exports.serializeClearPresencePostRequestBody = exports.deserializeIntoClearPresencePostRequestBody = exports.createClearPresencePostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * 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 a clearPresencePostRequestBody
12
+ */
13
+ function createClearPresencePostRequestBodyFromDiscriminatorValue(parseNode) {
14
+ return deserializeIntoClearPresencePostRequestBody;
15
+ }
16
+ exports.createClearPresencePostRequestBodyFromDiscriminatorValue = createClearPresencePostRequestBodyFromDiscriminatorValue;
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @returns a Record<string, (node: ParseNode) => void>
20
+ */
21
+ function deserializeIntoClearPresencePostRequestBody(clearPresencePostRequestBody = {}) {
22
+ return {
23
+ "backingStoreEnabled": n => { clearPresencePostRequestBody.backingStoreEnabled = true; },
24
+ "sessionId": n => { clearPresencePostRequestBody.sessionId = n.getStringValue(); },
25
+ };
26
+ }
27
+ exports.deserializeIntoClearPresencePostRequestBody = deserializeIntoClearPresencePostRequestBody;
28
+ /**
29
+ * Serializes information the current object
30
+ * @param writer Serialization writer to use to serialize this model
31
+ */
32
+ function serializeClearPresencePostRequestBody(writer, clearPresencePostRequestBody = {}) {
33
+ writer.writeStringValue("sessionId", clearPresencePostRequestBody.sessionId);
34
+ writer.writeAdditionalData(clearPresencePostRequestBody.additionalData);
35
+ }
36
+ exports.serializeClearPresencePostRequestBody = serializeClearPresencePostRequestBody;
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ exports.ClearPresenceRequestBuilderRequestsMetadata = {
41
+ post: {
42
+ responseBodyContentType: "application/json",
43
+ errorMappings: {
44
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
45
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "sendNoResponseContentAsync",
48
+ requestBodyContentType: "application/json",
49
+ requestBodySerializer: serializeClearPresencePostRequestBody,
50
+ requestInformationContentSetMethod: "setContentFromParsable",
51
+ },
52
+ };
53
+ /**
54
+ * Uri template for the request builder.
55
+ */
56
+ exports.ClearPresenceRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/clearPresence";
57
+ /* tslint:enable */
58
+ /* eslint-enable */
@@ -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 clearUserPreferredPresence method.
4
+ */
5
+ export interface ClearUserPreferredPresenceRequestBuilder extends BaseRequestBuilder<ClearUserPreferredPresenceRequestBuilder> {
6
+ /**
7
+ * Clear the preferred availability and activity status for a user.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @see {@link https://learn.microsoft.com/graph/api/presence-clearuserpreferredpresence?view=graph-rest-1.0|Find more info here}
10
+ */
11
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * Clear the preferred availability and activity status for a user.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export declare const ClearUserPreferredPresenceRequestBuilderRequestsMetadata: RequestsMetadata;
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ export declare const ClearUserPreferredPresenceRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/clearUserPreferredPresence";
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wCAAyC,SAAQ,kBAAkB,CAAC,wCAAwC,CAAC;IAC1H;;;;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,wDAAwD,EAAE,gBAStE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,mFAAmF,CAAC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClearUserPreferredPresenceRequestBuilderUriTemplate = exports.ClearUserPreferredPresenceRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Metadata for all the requests in the request builder.
10
+ */
11
+ exports.ClearUserPreferredPresenceRequestBuilderRequestsMetadata = {
12
+ post: {
13
+ responseBodyContentType: "application/json",
14
+ errorMappings: {
15
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
+ },
18
+ adapterMethodName: "sendNoResponseContentAsync",
19
+ },
20
+ };
21
+ /**
22
+ * Uri template for the request builder.
23
+ */
24
+ exports.ClearUserPreferredPresenceRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/clearUserPreferredPresence";
25
+ /* tslint:enable */
26
+ /* eslint-enable */
@@ -0,0 +1,96 @@
1
+ import { type Presence } from '@microsoft/msgraph-sdk/models/';
2
+ import { type ClearPresenceRequestBuilder } from './clearPresence/';
3
+ import { type ClearUserPreferredPresenceRequestBuilder } from './clearUserPreferredPresence/';
4
+ import { type SetPresenceRequestBuilder } from './setPresence/';
5
+ import { type SetStatusMessageRequestBuilder } from './setStatusMessage/';
6
+ import { type SetUserPreferredPresenceRequestBuilder } from './setUserPreferredPresence/';
7
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
8
+ /**
9
+ * Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity.
10
+ */
11
+ export interface PresenceItemRequestBuilder extends BaseRequestBuilder<PresenceItemRequestBuilder> {
12
+ /**
13
+ * Provides operations to call the clearPresence method.
14
+ */
15
+ get clearPresence(): ClearPresenceRequestBuilder;
16
+ /**
17
+ * Provides operations to call the clearUserPreferredPresence method.
18
+ */
19
+ get clearUserPreferredPresence(): ClearUserPreferredPresenceRequestBuilder;
20
+ /**
21
+ * Provides operations to call the setPresence method.
22
+ */
23
+ get setPresence(): SetPresenceRequestBuilder;
24
+ /**
25
+ * Provides operations to call the setStatusMessage method.
26
+ */
27
+ get setStatusMessage(): SetStatusMessageRequestBuilder;
28
+ /**
29
+ * Provides operations to call the setUserPreferredPresence method.
30
+ */
31
+ get setUserPreferredPresence(): SetUserPreferredPresenceRequestBuilder;
32
+ /**
33
+ * Delete navigation property presences for communications
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ */
36
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
37
+ /**
38
+ * Get a user's presence information.
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @returns a Promise of Presence
41
+ * @see {@link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0|Find more info here}
42
+ */
43
+ get(requestConfiguration?: RequestConfiguration<PresenceItemRequestBuilderGetQueryParameters> | undefined): Promise<Presence | undefined>;
44
+ /**
45
+ * Update the navigation property presences in communications
46
+ * @param body The request body
47
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48
+ * @returns a Promise of Presence
49
+ */
50
+ patch(body: Presence, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Presence | undefined>;
51
+ /**
52
+ * Delete navigation property presences for communications
53
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
+ * @returns a RequestInformation
55
+ */
56
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
57
+ /**
58
+ * Get a user's presence information.
59
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
60
+ * @returns a RequestInformation
61
+ */
62
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PresenceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
63
+ /**
64
+ * Update the navigation property presences in communications
65
+ * @param body The request body
66
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
67
+ * @returns a RequestInformation
68
+ */
69
+ toPatchRequestInformation(body: Presence, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
70
+ }
71
+ /**
72
+ * Get a user's presence information.
73
+ */
74
+ export interface PresenceItemRequestBuilderGetQueryParameters {
75
+ /**
76
+ * Expand related entities
77
+ */
78
+ expand?: string[];
79
+ /**
80
+ * Select properties to be returned
81
+ */
82
+ select?: string[];
83
+ }
84
+ /**
85
+ * Metadata for all the navigation properties in the request builder.
86
+ */
87
+ export declare const PresenceItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PresenceItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
88
+ /**
89
+ * Metadata for all the requests in the request builder.
90
+ */
91
+ export declare const PresenceItemRequestBuilderRequestsMetadata: RequestsMetadata;
92
+ /**
93
+ * Uri template for the request builder.
94
+ */
95
+ export declare const PresenceItemRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}{?%24select,%24expand}";
96
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAExH,OAAO,EAAuF,KAAK,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACzJ,OAAO,EAAiH,KAAK,wCAAwC,EAAE,MAAM,+BAA+B,CAAC;AAC7M,OAAO,EAAmF,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACjJ,OAAO,EAA6F,KAAK,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACrK,OAAO,EAA6G,KAAK,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AACrM,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,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;OAEG;IACH,IAAI,0BAA0B,IAAI,wCAAwC,CAAC;IAC3E;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;OAEG;IACH,IAAI,gBAAgB,IAAI,8BAA8B,CAAC;IACvD;;OAEG;IACH,IAAI,wBAAwB,IAAI,sCAAsC,CAAC;IACvE;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC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