@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
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Microsoft Graph
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # `@microsoft/msgraph-sdk-communications`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const msgraphSdkJavascriptCommunications = require('@microsoft/msgraph-sdk-communications');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
@@ -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/callRecords/$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,uEAAuE,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/callRecords/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,111 @@
1
+ import { type CallRecord, type CallRecordCollectionResponse } from '@microsoft/msgraph-sdk/models/callRecords/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type CallRecordItemRequestBuilder } from './item/';
4
+ import { type MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder } from './microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/';
5
+ import { type MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder } from './microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/';
6
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
7
+ /**
8
+ * Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.
9
+ */
10
+ export interface CallRecordsRequestBuilder extends BaseRequestBuilder<CallRecordsRequestBuilder> {
11
+ /**
12
+ * Provides operations to count the resources in the collection.
13
+ */
14
+ get count(): CountRequestBuilder;
15
+ /**
16
+ * Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.
17
+ * @param callRecordId The unique identifier of callRecord
18
+ * @returns a CallRecordItemRequestBuilder
19
+ */
20
+ byCallRecordId(callRecordId: string): CallRecordItemRequestBuilder;
21
+ /**
22
+ * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns a Promise of CallRecordCollectionResponse
25
+ */
26
+ get(requestConfiguration?: RequestConfiguration<CallRecordsRequestBuilderGetQueryParameters> | undefined): Promise<CallRecordCollectionResponse | undefined>;
27
+ /**
28
+ * Provides operations to call the getDirectRoutingCalls method.
29
+ * @param fromDateTime Usage: fromDateTime={fromDateTime}
30
+ * @param toDateTime Usage: toDateTime={toDateTime}
31
+ * @returns a microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder
32
+ */
33
+ microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime(fromDateTime: Date | undefined, toDateTime: Date | undefined): MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder;
34
+ /**
35
+ * Provides operations to call the getPstnCalls method.
36
+ * @param fromDateTime Usage: fromDateTime={fromDateTime}
37
+ * @param toDateTime Usage: toDateTime={toDateTime}
38
+ * @returns a microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder
39
+ */
40
+ microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime(fromDateTime: Date | undefined, toDateTime: Date | undefined): MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder;
41
+ /**
42
+ * Create new navigation property to callRecords for communications
43
+ * @param body The request body
44
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
+ * @returns a Promise of CallRecord
46
+ */
47
+ post(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CallRecord | undefined>;
48
+ /**
49
+ * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
50
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
+ * @returns a RequestInformation
52
+ */
53
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CallRecordsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
54
+ /**
55
+ * Create new navigation property to callRecords for communications
56
+ * @param body The request body
57
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
58
+ * @returns a RequestInformation
59
+ */
60
+ toPostRequestInformation(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
61
+ }
62
+ /**
63
+ * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
64
+ */
65
+ export interface CallRecordsRequestBuilderGetQueryParameters {
66
+ /**
67
+ * Include count of items
68
+ */
69
+ count?: boolean;
70
+ /**
71
+ * Expand related entities
72
+ */
73
+ expand?: string[];
74
+ /**
75
+ * Filter items by property values
76
+ */
77
+ filter?: string;
78
+ /**
79
+ * Order items by property values
80
+ */
81
+ orderby?: string[];
82
+ /**
83
+ * Search items by search phrases
84
+ */
85
+ search?: string;
86
+ /**
87
+ * Select properties to be returned
88
+ */
89
+ select?: string[];
90
+ /**
91
+ * Skip the first n items
92
+ */
93
+ skip?: number;
94
+ /**
95
+ * Show only the first n items
96
+ */
97
+ top?: number;
98
+ }
99
+ /**
100
+ * Metadata for all the navigation properties in the request builder.
101
+ */
102
+ export declare const CallRecordsRequestBuilderNavigationMetadata: Record<Exclude<keyof CallRecordsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
103
+ /**
104
+ * Metadata for all the requests in the request builder.
105
+ */
106
+ export declare const CallRecordsRequestBuilderRequestsMetadata: RequestsMetadata;
107
+ /**
108
+ * Uri template for the request builder.
109
+ */
110
+ export declare const CallRecordsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
111
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyH,KAAK,UAAU,EAAE,KAAK,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAEvO,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAyI,KAAK,4BAA4B,EAAE,MAAM,SAAS,CAAC;AACnM,OAAO,EAAqN,KAAK,0FAA0F,EAAE,MAAM,iFAAiF,CAAC;AACrZ,OAAO,EAAmM,KAAK,iFAAiF,EAAE,MAAM,wEAAwE,CAAC;AACjX,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;;;;OAIG;IACF,cAAc,CAAC,YAAY,EAAE,MAAM,GAAI,4BAA4B,CAAC;IACrE;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IAC/J;;;;;OAKG;IACF,4EAA4E,CAAC,YAAY,EAAE,IAAI,GAAG,SAAS,EAAE,UAAU,EAAE,IAAI,GAAG,SAAS,GAAI,0FAA0F,CAAC;IACzO;;;;;OAKG;IACF,mEAAmE,CAAC,YAAY,EAAE,IAAI,GAAG,SAAS,EAAE,UAAU,EAAE,IAAI,GAAG,SAAS,GAAI,iFAAiF,CAAC;IACvN;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IAC3H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrI;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,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAmBhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAuBvD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,uHAAuH,CAAC"}
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CallRecordsRequestBuilderUriTemplate = exports.CallRecordsRequestBuilderRequestsMetadata = exports.CallRecordsRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const callRecords_1 = require("@microsoft/msgraph-sdk/models/callRecords/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ const microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime_1 = require("./microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/");
12
+ const microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime_1 = require("./microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/");
13
+ /**
14
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
15
+ */
16
+ const CallRecordsRequestBuilderGetQueryParametersMapper = {
17
+ "count": "%24count",
18
+ "expand": "%24expand",
19
+ "filter": "%24filter",
20
+ "orderby": "%24orderby",
21
+ "search": "%24search",
22
+ "select": "%24select",
23
+ "skip": "%24skip",
24
+ "top": "%24top",
25
+ };
26
+ /**
27
+ * Metadata for all the navigation properties in the request builder.
28
+ */
29
+ exports.CallRecordsRequestBuilderNavigationMetadata = {
30
+ byCallRecordId: {
31
+ uriTemplate: item_1.CallRecordItemRequestBuilderUriTemplate,
32
+ requestsMetadata: item_1.CallRecordItemRequestBuilderRequestsMetadata,
33
+ navigationMetadata: item_1.CallRecordItemRequestBuilderNavigationMetadata,
34
+ pathParametersMappings: ["callRecord%2Did"],
35
+ },
36
+ microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime: {
37
+ uriTemplate: microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime_1.MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilderUriTemplate,
38
+ requestsMetadata: microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime_1.MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilderRequestsMetadata,
39
+ },
40
+ microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime: {
41
+ uriTemplate: microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime_1.MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderUriTemplate,
42
+ requestsMetadata: microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime_1.MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderRequestsMetadata,
43
+ },
44
+ count: {
45
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
46
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
47
+ },
48
+ };
49
+ /**
50
+ * Metadata for all the requests in the request builder.
51
+ */
52
+ exports.CallRecordsRequestBuilderRequestsMetadata = {
53
+ get: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: callRecords_1.createCallRecordCollectionResponseFromDiscriminatorValue,
61
+ queryParametersMapper: CallRecordsRequestBuilderGetQueryParametersMapper,
62
+ },
63
+ post: {
64
+ responseBodyContentType: "application/json",
65
+ errorMappings: {
66
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
67
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
68
+ },
69
+ adapterMethodName: "sendAsync",
70
+ responseBodyFactory: callRecords_1.createCallRecordFromDiscriminatorValue,
71
+ requestBodyContentType: "application/json",
72
+ requestBodySerializer: callRecords_1.serializeCallRecord,
73
+ requestInformationContentSetMethod: "setContentFromParsable",
74
+ },
75
+ };
76
+ /**
77
+ * Uri template for the request builder.
78
+ */
79
+ exports.CallRecordsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
80
+ /* tslint:enable */
81
+ /* eslint-enable */
@@ -0,0 +1,76 @@
1
+ import { type CallRecord } from '@microsoft/msgraph-sdk/models/callRecords/';
2
+ import { type SessionsRequestBuilder } from './sessions/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.
6
+ */
7
+ export interface CallRecordItemRequestBuilder extends BaseRequestBuilder<CallRecordItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity.
10
+ */
11
+ get sessions(): SessionsRequestBuilder;
12
+ /**
13
+ * Delete navigation property callRecords for communications
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ */
16
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
+ /**
18
+ * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of CallRecord
21
+ * @see {@link https://learn.microsoft.com/graph/api/callrecords-callrecord-get?view=graph-rest-1.0|Find more info here}
22
+ */
23
+ get(requestConfiguration?: RequestConfiguration<CallRecordItemRequestBuilderGetQueryParameters> | undefined): Promise<CallRecord | undefined>;
24
+ /**
25
+ * Update the navigation property callRecords in communications
26
+ * @param body The request body
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a Promise of CallRecord
29
+ */
30
+ patch(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CallRecord | undefined>;
31
+ /**
32
+ * Delete navigation property callRecords for communications
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
37
+ /**
38
+ * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @returns a RequestInformation
41
+ */
42
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CallRecordItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
+ /**
44
+ * Update the navigation property callRecords in communications
45
+ * @param body The request body
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns a RequestInformation
48
+ */
49
+ toPatchRequestInformation(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
50
+ }
51
+ /**
52
+ * Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
53
+ */
54
+ export interface CallRecordItemRequestBuilderGetQueryParameters {
55
+ /**
56
+ * Expand related entities
57
+ */
58
+ expand?: string[];
59
+ /**
60
+ * Select properties to be returned
61
+ */
62
+ select?: string[];
63
+ }
64
+ /**
65
+ * Metadata for all the navigation properties in the request builder.
66
+ */
67
+ export declare const CallRecordItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CallRecordItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
68
+ /**
69
+ * Metadata for all the requests in the request builder.
70
+ */
71
+ export declare const CallRecordItemRequestBuilderRequestsMetadata: RequestsMetadata;
72
+ /**
73
+ * Uri template for the request builder.
74
+ */
75
+ export declare const CallRecordItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}{?%24select,%24expand}";
76
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+D,KAAK,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAE1I,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,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,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8CAA8C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IAC5H;;;;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,8CAA8C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtI;AACD;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBA+B1D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,kFAAkF,CAAC"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CallRecordItemRequestBuilderUriTemplate = exports.CallRecordItemRequestBuilderRequestsMetadata = exports.CallRecordItemRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const callRecords_1 = require("@microsoft/msgraph-sdk/models/callRecords/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const sessions_1 = require("./sessions/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const CallRecordItemRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.CallRecordItemRequestBuilderNavigationMetadata = {
21
+ sessions: {
22
+ uriTemplate: sessions_1.SessionsRequestBuilderUriTemplate,
23
+ requestsMetadata: sessions_1.SessionsRequestBuilderRequestsMetadata,
24
+ navigationMetadata: sessions_1.SessionsRequestBuilderNavigationMetadata,
25
+ },
26
+ };
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ exports.CallRecordItemRequestBuilderRequestsMetadata = {
31
+ delete: {
32
+ responseBodyContentType: "application/json",
33
+ errorMappings: {
34
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "sendNoResponseContentAsync",
38
+ },
39
+ get: {
40
+ responseBodyContentType: "application/json",
41
+ errorMappings: {
42
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
+ },
45
+ adapterMethodName: "sendAsync",
46
+ responseBodyFactory: callRecords_1.createCallRecordFromDiscriminatorValue,
47
+ queryParametersMapper: CallRecordItemRequestBuilderGetQueryParametersMapper,
48
+ },
49
+ patch: {
50
+ responseBodyContentType: "application/json",
51
+ errorMappings: {
52
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "sendAsync",
56
+ responseBodyFactory: callRecords_1.createCallRecordFromDiscriminatorValue,
57
+ requestBodyContentType: "application/json",
58
+ requestBodySerializer: callRecords_1.serializeCallRecord,
59
+ requestInformationContentSetMethod: "setContentFromParsable",
60
+ },
61
+ };
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ exports.CallRecordItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}{?%24select,%24expand}";
66
+ /* tslint:enable */
67
+ /* 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/callRecords/{callRecord%2Did}/sessions/$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,kGAAkG,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/callRecords/{callRecord%2Did}/sessions/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,96 @@
1
+ import { type Session, type SessionCollectionResponse } from '@microsoft/msgraph-sdk/models/callRecords/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type SessionItemRequestBuilder } 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 sessions property of the microsoft.graph.callRecords.callRecord entity.
7
+ */
8
+ export interface SessionsRequestBuilder extends BaseRequestBuilder<SessionsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity.
15
+ * @param sessionId The unique identifier of session
16
+ * @returns a SessionItemRequestBuilder
17
+ */
18
+ bySessionId(sessionId: string): SessionItemRequestBuilder;
19
+ /**
20
+ * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of SessionCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/callrecords-callrecord-list-sessions?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<SessionsRequestBuilderGetQueryParameters> | undefined): Promise<SessionCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to sessions for communications
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of Session
31
+ */
32
+ post(body: Session, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Session | undefined>;
33
+ /**
34
+ * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a RequestInformation
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SessionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ /**
40
+ * Create new navigation property to sessions for communications
41
+ * @param body The request body
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns a RequestInformation
44
+ */
45
+ toPostRequestInformation(body: Session, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
+ }
47
+ /**
48
+ * Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries.
49
+ */
50
+ export interface SessionsRequestBuilderGetQueryParameters {
51
+ /**
52
+ * Include count of items
53
+ */
54
+ count?: boolean;
55
+ /**
56
+ * Expand related entities
57
+ */
58
+ expand?: string[];
59
+ /**
60
+ * Filter items by property values
61
+ */
62
+ filter?: string;
63
+ /**
64
+ * Order items by property values
65
+ */
66
+ orderby?: string[];
67
+ /**
68
+ * Search items by search phrases
69
+ */
70
+ search?: string;
71
+ /**
72
+ * Select properties to be returned
73
+ */
74
+ select?: string[];
75
+ /**
76
+ * Skip the first n items
77
+ */
78
+ skip?: number;
79
+ /**
80
+ * Show only the first n items
81
+ */
82
+ top?: number;
83
+ }
84
+ /**
85
+ * Metadata for all the navigation properties in the request builder.
86
+ */
87
+ export declare const SessionsRequestBuilderNavigationMetadata: Record<Exclude<keyof SessionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
88
+ /**
89
+ * Metadata for all the requests in the request builder.
90
+ */
91
+ export declare const SessionsRequestBuilderRequestsMetadata: RequestsMetadata;
92
+ /**
93
+ * Uri template for the request builder.
94
+ */
95
+ export declare const SessionsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
96
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAExN,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAgI,KAAK,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACvL,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,yBAAyB,CAAC;IAC5D;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;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,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAW1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,kJAAkJ,CAAC"}