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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/communications/callRecords/count/index.d.ts +7 -6
  2. package/communications/callRecords/count/index.d.ts.map +1 -1
  3. package/communications/callRecords/count/index.js +7 -7
  4. package/communications/callRecords/index.d.ts +13 -11
  5. package/communications/callRecords/index.d.ts.map +1 -1
  6. package/communications/callRecords/index.js +9 -13
  7. package/communications/callRecords/item/index.d.ts +12 -9
  8. package/communications/callRecords/item/index.d.ts.map +1 -1
  9. package/communications/callRecords/item/index.js +11 -12
  10. package/communications/callRecords/item/sessions/count/index.d.ts +7 -6
  11. package/communications/callRecords/item/sessions/count/index.d.ts.map +1 -1
  12. package/communications/callRecords/item/sessions/count/index.js +7 -7
  13. package/communications/callRecords/item/sessions/index.d.ts +11 -9
  14. package/communications/callRecords/item/sessions/index.d.ts.map +1 -1
  15. package/communications/callRecords/item/sessions/index.js +9 -11
  16. package/communications/callRecords/item/sessions/item/index.d.ts +12 -9
  17. package/communications/callRecords/item/sessions/item/index.d.ts.map +1 -1
  18. package/communications/callRecords/item/sessions/item/index.js +11 -12
  19. package/communications/callRecords/item/sessions/item/segments/count/index.d.ts +7 -6
  20. package/communications/callRecords/item/sessions/item/segments/count/index.d.ts.map +1 -1
  21. package/communications/callRecords/item/sessions/item/segments/count/index.js +7 -7
  22. package/communications/callRecords/item/sessions/item/segments/index.d.ts +11 -9
  23. package/communications/callRecords/item/sessions/item/segments/index.d.ts.map +1 -1
  24. package/communications/callRecords/item/sessions/item/segments/index.js +9 -11
  25. package/communications/callRecords/item/sessions/item/segments/item/index.d.ts +12 -9
  26. package/communications/callRecords/item/sessions/item/segments/item/index.d.ts.map +1 -1
  27. package/communications/callRecords/item/sessions/item/segments/item/index.js +11 -11
  28. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.d.ts +9 -8
  29. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.d.ts.map +1 -1
  30. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.js +9 -9
  31. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.d.ts +9 -8
  32. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.d.ts.map +1 -1
  33. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.js +9 -9
  34. package/communications/calls/count/index.d.ts +7 -6
  35. package/communications/calls/count/index.d.ts.map +1 -1
  36. package/communications/calls/count/index.js +7 -7
  37. package/communications/calls/index.d.ts +11 -9
  38. package/communications/calls/index.d.ts.map +1 -1
  39. package/communications/calls/index.js +9 -12
  40. package/communications/calls/item/addLargeGalleryView/index.d.ts +9 -8
  41. package/communications/calls/item/addLargeGalleryView/index.d.ts.map +1 -1
  42. package/communications/calls/item/addLargeGalleryView/index.js +9 -9
  43. package/communications/calls/item/answer/index.d.ts +8 -7
  44. package/communications/calls/item/answer/index.d.ts.map +1 -1
  45. package/communications/calls/item/answer/index.js +9 -9
  46. package/communications/calls/item/audioRoutingGroups/count/index.d.ts +7 -6
  47. package/communications/calls/item/audioRoutingGroups/count/index.d.ts.map +1 -1
  48. package/communications/calls/item/audioRoutingGroups/count/index.js +7 -7
  49. package/communications/calls/item/audioRoutingGroups/index.d.ts +11 -9
  50. package/communications/calls/item/audioRoutingGroups/index.d.ts.map +1 -1
  51. package/communications/calls/item/audioRoutingGroups/index.js +9 -11
  52. package/communications/calls/item/audioRoutingGroups/item/index.d.ts +12 -9
  53. package/communications/calls/item/audioRoutingGroups/item/index.d.ts.map +1 -1
  54. package/communications/calls/item/audioRoutingGroups/item/index.js +11 -11
  55. package/communications/calls/item/cancelMediaProcessing/index.d.ts +9 -8
  56. package/communications/calls/item/cancelMediaProcessing/index.d.ts.map +1 -1
  57. package/communications/calls/item/cancelMediaProcessing/index.js +9 -9
  58. package/communications/calls/item/changeScreenSharingRole/index.d.ts +8 -7
  59. package/communications/calls/item/changeScreenSharingRole/index.d.ts.map +1 -1
  60. package/communications/calls/item/changeScreenSharingRole/index.js +9 -9
  61. package/communications/calls/item/contentSharingSessions/count/index.d.ts +7 -6
  62. package/communications/calls/item/contentSharingSessions/count/index.d.ts.map +1 -1
  63. package/communications/calls/item/contentSharingSessions/count/index.js +7 -7
  64. package/communications/calls/item/contentSharingSessions/index.d.ts +11 -9
  65. package/communications/calls/item/contentSharingSessions/index.d.ts.map +1 -1
  66. package/communications/calls/item/contentSharingSessions/index.js +9 -11
  67. package/communications/calls/item/contentSharingSessions/item/index.d.ts +12 -9
  68. package/communications/calls/item/contentSharingSessions/item/index.d.ts.map +1 -1
  69. package/communications/calls/item/contentSharingSessions/item/index.js +11 -11
  70. package/communications/calls/item/index.d.ts +12 -9
  71. package/communications/calls/item/index.d.ts.map +1 -1
  72. package/communications/calls/item/index.js +11 -30
  73. package/communications/calls/item/keepAlive/index.d.ts +6 -5
  74. package/communications/calls/item/keepAlive/index.d.ts.map +1 -1
  75. package/communications/calls/item/keepAlive/index.js +7 -7
  76. package/communications/calls/item/mute/index.d.ts +9 -8
  77. package/communications/calls/item/mute/index.d.ts.map +1 -1
  78. package/communications/calls/item/mute/index.js +9 -9
  79. package/communications/calls/item/operations/count/index.d.ts +7 -6
  80. package/communications/calls/item/operations/count/index.d.ts.map +1 -1
  81. package/communications/calls/item/operations/count/index.js +7 -7
  82. package/communications/calls/item/operations/index.d.ts +11 -9
  83. package/communications/calls/item/operations/index.d.ts.map +1 -1
  84. package/communications/calls/item/operations/index.js +9 -11
  85. package/communications/calls/item/operations/item/index.d.ts +12 -9
  86. package/communications/calls/item/operations/item/index.d.ts.map +1 -1
  87. package/communications/calls/item/operations/item/index.js +11 -11
  88. package/communications/calls/item/participants/count/index.d.ts +7 -6
  89. package/communications/calls/item/participants/count/index.d.ts.map +1 -1
  90. package/communications/calls/item/participants/count/index.js +7 -7
  91. package/communications/calls/item/participants/index.d.ts +11 -9
  92. package/communications/calls/item/participants/index.d.ts.map +1 -1
  93. package/communications/calls/item/participants/index.js +9 -12
  94. package/communications/calls/item/participants/invite/index.d.ts +9 -8
  95. package/communications/calls/item/participants/invite/index.d.ts.map +1 -1
  96. package/communications/calls/item/participants/invite/index.js +9 -9
  97. package/communications/calls/item/participants/item/index.d.ts +12 -9
  98. package/communications/calls/item/participants/item/index.d.ts.map +1 -1
  99. package/communications/calls/item/participants/item/index.js +11 -14
  100. package/communications/calls/item/participants/item/mute/index.d.ts +9 -8
  101. package/communications/calls/item/participants/item/mute/index.d.ts.map +1 -1
  102. package/communications/calls/item/participants/item/mute/index.js +9 -9
  103. package/communications/calls/item/participants/item/startHoldMusic/index.d.ts +9 -8
  104. package/communications/calls/item/participants/item/startHoldMusic/index.d.ts.map +1 -1
  105. package/communications/calls/item/participants/item/startHoldMusic/index.js +9 -9
  106. package/communications/calls/item/participants/item/stopHoldMusic/index.d.ts +9 -8
  107. package/communications/calls/item/participants/item/stopHoldMusic/index.d.ts.map +1 -1
  108. package/communications/calls/item/participants/item/stopHoldMusic/index.js +9 -9
  109. package/communications/calls/item/playPrompt/index.d.ts +9 -8
  110. package/communications/calls/item/playPrompt/index.d.ts.map +1 -1
  111. package/communications/calls/item/playPrompt/index.js +9 -9
  112. package/communications/calls/item/recordResponse/index.d.ts +9 -8
  113. package/communications/calls/item/recordResponse/index.d.ts.map +1 -1
  114. package/communications/calls/item/recordResponse/index.js +9 -9
  115. package/communications/calls/item/redirect/index.d.ts +8 -7
  116. package/communications/calls/item/redirect/index.d.ts.map +1 -1
  117. package/communications/calls/item/redirect/index.js +9 -9
  118. package/communications/calls/item/reject/index.d.ts +8 -7
  119. package/communications/calls/item/reject/index.d.ts.map +1 -1
  120. package/communications/calls/item/reject/index.js +9 -9
  121. package/communications/calls/item/sendDtmfTones/index.d.ts +9 -8
  122. package/communications/calls/item/sendDtmfTones/index.d.ts.map +1 -1
  123. package/communications/calls/item/sendDtmfTones/index.js +9 -9
  124. package/communications/calls/item/subscribeToTone/index.d.ts +9 -8
  125. package/communications/calls/item/subscribeToTone/index.d.ts.map +1 -1
  126. package/communications/calls/item/subscribeToTone/index.js +9 -9
  127. package/communications/calls/item/transfer/index.d.ts +8 -7
  128. package/communications/calls/item/transfer/index.d.ts.map +1 -1
  129. package/communications/calls/item/transfer/index.js +9 -9
  130. package/communications/calls/item/unmute/index.d.ts +9 -8
  131. package/communications/calls/item/unmute/index.d.ts.map +1 -1
  132. package/communications/calls/item/unmute/index.js +9 -9
  133. package/communications/calls/item/updateRecordingStatus/index.d.ts +9 -8
  134. package/communications/calls/item/updateRecordingStatus/index.d.ts.map +1 -1
  135. package/communications/calls/item/updateRecordingStatus/index.js +9 -9
  136. package/communications/calls/logTeleconferenceDeviceQuality/index.d.ts +8 -7
  137. package/communications/calls/logTeleconferenceDeviceQuality/index.d.ts.map +1 -1
  138. package/communications/calls/logTeleconferenceDeviceQuality/index.js +9 -9
  139. package/communications/getPresencesByUserId/index.d.ts +11 -10
  140. package/communications/getPresencesByUserId/index.d.ts.map +1 -1
  141. package/communications/getPresencesByUserId/index.js +11 -11
  142. package/communications/index.d.ts +10 -8
  143. package/communications/index.d.ts.map +1 -1
  144. package/communications/index.js +9 -14
  145. package/communications/onlineMeetings/count/index.d.ts +7 -6
  146. package/communications/onlineMeetings/count/index.d.ts.map +1 -1
  147. package/communications/onlineMeetings/count/index.js +7 -7
  148. package/communications/onlineMeetings/createOrGet/index.d.ts +9 -8
  149. package/communications/onlineMeetings/createOrGet/index.d.ts.map +1 -1
  150. package/communications/onlineMeetings/createOrGet/index.js +9 -9
  151. package/communications/onlineMeetings/index.d.ts +11 -9
  152. package/communications/onlineMeetings/index.d.ts.map +1 -1
  153. package/communications/onlineMeetings/index.js +9 -12
  154. package/communications/onlineMeetings/item/attendanceReports/count/index.d.ts +7 -6
  155. package/communications/onlineMeetings/item/attendanceReports/count/index.d.ts.map +1 -1
  156. package/communications/onlineMeetings/item/attendanceReports/count/index.js +7 -7
  157. package/communications/onlineMeetings/item/attendanceReports/index.d.ts +11 -9
  158. package/communications/onlineMeetings/item/attendanceReports/index.d.ts.map +1 -1
  159. package/communications/onlineMeetings/item/attendanceReports/index.js +9 -11
  160. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.d.ts +7 -6
  161. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -1
  162. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.js +7 -7
  163. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.d.ts +11 -9
  164. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -1
  165. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.js +9 -11
  166. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.d.ts +12 -9
  167. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -1
  168. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.js +11 -11
  169. package/communications/onlineMeetings/item/attendanceReports/item/index.d.ts +12 -9
  170. package/communications/onlineMeetings/item/attendanceReports/item/index.d.ts.map +1 -1
  171. package/communications/onlineMeetings/item/attendanceReports/item/index.js +11 -12
  172. package/communications/onlineMeetings/item/attendeeReport/index.d.ts +10 -8
  173. package/communications/onlineMeetings/item/attendeeReport/index.d.ts.map +1 -1
  174. package/communications/onlineMeetings/item/attendeeReport/index.js +9 -9
  175. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.d.ts +9 -8
  176. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.d.ts.map +1 -1
  177. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.js +9 -9
  178. package/communications/onlineMeetings/item/index.d.ts +22 -9
  179. package/communications/onlineMeetings/item/index.d.ts.map +1 -1
  180. package/communications/onlineMeetings/item/index.js +19 -16
  181. package/communications/onlineMeetings/item/recordings/count/index.d.ts +7 -6
  182. package/communications/onlineMeetings/item/recordings/count/index.d.ts.map +1 -1
  183. package/communications/onlineMeetings/item/recordings/count/index.js +7 -7
  184. package/communications/onlineMeetings/item/recordings/index.d.ts +11 -9
  185. package/communications/onlineMeetings/item/recordings/index.d.ts.map +1 -1
  186. package/communications/onlineMeetings/item/recordings/index.js +9 -11
  187. package/communications/onlineMeetings/item/recordings/item/content/index.d.ts +10 -8
  188. package/communications/onlineMeetings/item/recordings/item/content/index.d.ts.map +1 -1
  189. package/communications/onlineMeetings/item/recordings/item/content/index.js +9 -9
  190. package/communications/onlineMeetings/item/recordings/item/index.d.ts +12 -9
  191. package/communications/onlineMeetings/item/recordings/item/index.d.ts.map +1 -1
  192. package/communications/onlineMeetings/item/recordings/item/index.js +11 -12
  193. package/communications/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.d.ts +64 -0
  194. package/communications/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.d.ts.map +1 -0
  195. package/communications/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.js +61 -0
  196. package/communications/onlineMeetings/item/sendVirtualAppointmentSms/index.d.ts +64 -0
  197. package/communications/onlineMeetings/item/sendVirtualAppointmentSms/index.d.ts.map +1 -0
  198. package/communications/onlineMeetings/item/sendVirtualAppointmentSms/index.js +61 -0
  199. package/communications/onlineMeetings/item/transcripts/count/index.d.ts +7 -6
  200. package/communications/onlineMeetings/item/transcripts/count/index.d.ts.map +1 -1
  201. package/communications/onlineMeetings/item/transcripts/count/index.js +7 -7
  202. package/communications/onlineMeetings/item/transcripts/index.d.ts +11 -9
  203. package/communications/onlineMeetings/item/transcripts/index.d.ts.map +1 -1
  204. package/communications/onlineMeetings/item/transcripts/index.js +9 -11
  205. package/communications/onlineMeetings/item/transcripts/item/content/index.d.ts +10 -8
  206. package/communications/onlineMeetings/item/transcripts/item/content/index.d.ts.map +1 -1
  207. package/communications/onlineMeetings/item/transcripts/item/content/index.js +9 -9
  208. package/communications/onlineMeetings/item/transcripts/item/index.d.ts +12 -9
  209. package/communications/onlineMeetings/item/transcripts/item/index.d.ts.map +1 -1
  210. package/communications/onlineMeetings/item/transcripts/item/index.js +11 -13
  211. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts +10 -8
  212. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts.map +1 -1
  213. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.js +9 -9
  214. package/communications/presences/count/index.d.ts +7 -6
  215. package/communications/presences/count/index.d.ts.map +1 -1
  216. package/communications/presences/count/index.js +7 -7
  217. package/communications/presences/index.d.ts +11 -9
  218. package/communications/presences/index.d.ts.map +1 -1
  219. package/communications/presences/index.js +9 -11
  220. package/communications/presences/item/clearPresence/index.d.ts +8 -7
  221. package/communications/presences/item/clearPresence/index.d.ts.map +1 -1
  222. package/communications/presences/item/clearPresence/index.js +9 -9
  223. package/communications/presences/item/clearUserPreferredPresence/index.d.ts +6 -5
  224. package/communications/presences/item/clearUserPreferredPresence/index.d.ts.map +1 -1
  225. package/communications/presences/item/clearUserPreferredPresence/index.js +7 -7
  226. package/communications/presences/item/index.d.ts +12 -9
  227. package/communications/presences/item/index.d.ts.map +1 -1
  228. package/communications/presences/item/index.js +11 -16
  229. package/communications/presences/item/setPresence/index.d.ts +8 -7
  230. package/communications/presences/item/setPresence/index.d.ts.map +1 -1
  231. package/communications/presences/item/setPresence/index.js +9 -9
  232. package/communications/presences/item/setStatusMessage/index.d.ts +8 -7
  233. package/communications/presences/item/setStatusMessage/index.d.ts.map +1 -1
  234. package/communications/presences/item/setStatusMessage/index.js +9 -9
  235. package/communications/presences/item/setUserPreferredPresence/index.d.ts +8 -7
  236. package/communications/presences/item/setUserPreferredPresence/index.d.ts.map +1 -1
  237. package/communications/presences/item/setUserPreferredPresence/index.js +9 -9
  238. package/communicationsServiceClient.d.ts.map +1 -1
  239. package/communicationsServiceClient.js +1 -2
  240. package/package.json +3 -3
  241. package/tsconfig.tsbuildinfo +1 -1
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -30,11 +31,11 @@ export interface CountRequestBuilderGetQueryParameters {
30
31
  search?: string;
31
32
  }
32
33
  /**
33
- * Metadata for all the requests in the request builder.
34
+ * Uri template for the request builder.
34
35
  */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/$count{?%24filter,%24search}";
36
37
  /**
37
- * Uri template for the request builder.
38
+ * Metadata for all the requests in the request builder.
38
39
  */
39
- export declare const CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/$count{?%24search,%24filter}";
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,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AEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,uEAAuE,CAAC;AAQnH;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/$count{?%24search,%24filter}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -15,47 +15,49 @@ export interface CallRecordsRequestBuilder extends BaseRequestBuilder<CallRecord
15
15
  /**
16
16
  * Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.
17
17
  * @param callRecordId The unique identifier of callRecord
18
- * @returns a CallRecordItemRequestBuilder
18
+ * @returns {CallRecordItemRequestBuilder}
19
19
  */
20
20
  byCallRecordId(callRecordId: string): CallRecordItemRequestBuilder;
21
21
  /**
22
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
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
- * @returns a Promise of CallRecordCollectionResponse
24
+ * @returns {Promise<CallRecordCollectionResponse>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
25
26
  */
26
27
  get(requestConfiguration?: RequestConfiguration<CallRecordsRequestBuilderGetQueryParameters> | undefined): Promise<CallRecordCollectionResponse | undefined>;
27
28
  /**
28
29
  * Provides operations to call the getDirectRoutingCalls method.
29
30
  * @param fromDateTime Usage: fromDateTime={fromDateTime}
30
31
  * @param toDateTime Usage: toDateTime={toDateTime}
31
- * @returns a microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder
32
+ * @returns {MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder}
32
33
  */
33
34
  microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime(fromDateTime: Date | undefined, toDateTime: Date | undefined): MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder;
34
35
  /**
35
36
  * Provides operations to call the getPstnCalls method.
36
37
  * @param fromDateTime Usage: fromDateTime={fromDateTime}
37
38
  * @param toDateTime Usage: toDateTime={toDateTime}
38
- * @returns a microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder
39
+ * @returns {MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder}
39
40
  */
40
41
  microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime(fromDateTime: Date | undefined, toDateTime: Date | undefined): MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder;
41
42
  /**
42
43
  * Create new navigation property to callRecords for communications
43
44
  * @param body The request body
44
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
- * @returns a Promise of CallRecord
46
+ * @returns {Promise<CallRecord>}
47
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
46
48
  */
47
49
  post(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CallRecord | undefined>;
48
50
  /**
49
51
  * 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
52
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
- * @returns a RequestInformation
53
+ * @returns {RequestInformation}
52
54
  */
53
55
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CallRecordsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
54
56
  /**
55
57
  * Create new navigation property to callRecords for communications
56
58
  * @param body The request body
57
59
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
58
- * @returns a RequestInformation
60
+ * @returns {RequestInformation}
59
61
  */
60
62
  toPostRequestInformation(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
61
63
  }
@@ -96,6 +98,10 @@ export interface CallRecordsRequestBuilderGetQueryParameters {
96
98
  */
97
99
  top?: number;
98
100
  }
101
+ /**
102
+ * Uri template for the request builder.
103
+ */
104
+ export declare const CallRecordsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
99
105
  /**
100
106
  * Metadata for all the navigation properties in the request builder.
101
107
  */
@@ -104,8 +110,4 @@ export declare const CallRecordsRequestBuilderNavigationMetadata: Record<Exclude
104
110
  * Metadata for all the requests in the request builder.
105
111
  */
106
112
  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
113
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,4E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iF,CAAC;IACvN;;;;;;OAMG;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,oCAAoC,uHAAuH,CAAC;AAczK;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAehK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAuBvD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CallRecordsRequestBuilderUriTemplate = exports.CallRecordsRequestBuilderRequestsMetadata = exports.CallRecordsRequestBuilderNavigationMetadata = void 0;
3
+ exports.CallRecordsRequestBuilderRequestsMetadata = exports.CallRecordsRequestBuilderNavigationMetadata = exports.CallRecordsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -10,6 +10,10 @@ const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
11
  const microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime_1 = require("./microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/");
12
12
  const microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime_1 = require("./microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/");
13
+ /**
14
+ * Uri template for the request builder.
15
+ */
16
+ exports.CallRecordsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
13
17
  /**
14
18
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
15
19
  */
@@ -28,21 +32,17 @@ const CallRecordsRequestBuilderGetQueryParametersMapper = {
28
32
  */
29
33
  exports.CallRecordsRequestBuilderNavigationMetadata = {
30
34
  byCallRecordId: {
31
- uriTemplate: item_1.CallRecordItemRequestBuilderUriTemplate,
32
35
  requestsMetadata: item_1.CallRecordItemRequestBuilderRequestsMetadata,
33
36
  navigationMetadata: item_1.CallRecordItemRequestBuilderNavigationMetadata,
34
37
  pathParametersMappings: ["callRecord%2Did"],
35
38
  },
36
39
  microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime: {
37
- uriTemplate: microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime_1.MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilderUriTemplate,
38
40
  requestsMetadata: microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime_1.MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilderRequestsMetadata,
39
41
  },
40
42
  microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime: {
41
- uriTemplate: microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime_1.MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderUriTemplate,
42
43
  requestsMetadata: microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime_1.MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderRequestsMetadata,
43
44
  },
44
45
  count: {
45
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
46
46
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
47
47
  },
48
48
  };
@@ -51,20 +51,20 @@ exports.CallRecordsRequestBuilderNavigationMetadata = {
51
51
  */
52
52
  exports.CallRecordsRequestBuilderRequestsMetadata = {
53
53
  get: {
54
+ uriTemplate: exports.CallRecordsRequestBuilderUriTemplate,
54
55
  responseBodyContentType: "application/json",
55
56
  errorMappings: {
56
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
58
  },
59
59
  adapterMethodName: "sendAsync",
60
60
  responseBodyFactory: callRecords_1.createCallRecordCollectionResponseFromDiscriminatorValue,
61
61
  queryParametersMapper: CallRecordsRequestBuilderGetQueryParametersMapper,
62
62
  },
63
63
  post: {
64
+ uriTemplate: exports.CallRecordsRequestBuilderUriTemplate,
64
65
  responseBodyContentType: "application/json",
65
66
  errorMappings: {
66
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
67
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
67
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
68
68
  },
69
69
  adapterMethodName: "sendAsync",
70
70
  responseBodyFactory: callRecords_1.createCallRecordFromDiscriminatorValue,
@@ -73,9 +73,5 @@ exports.CallRecordsRequestBuilderRequestsMetadata = {
73
73
  requestInformationContentSetMethod: "setContentFromParsable",
74
74
  },
75
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
76
  /* tslint:enable */
81
77
  /* eslint-enable */
@@ -12,12 +12,14 @@ export interface CallRecordItemRequestBuilder extends BaseRequestBuilder<CallRec
12
12
  /**
13
13
  * Delete navigation property callRecords for communications
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
15
16
  */
16
17
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
18
  /**
18
19
  * 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
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
- * @returns a Promise of CallRecord
21
+ * @returns {Promise<CallRecord>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
23
  * @see {@link https://learn.microsoft.com/graph/api/callrecords-callrecord-get?view=graph-rest-1.0|Find more info here}
22
24
  */
23
25
  get(requestConfiguration?: RequestConfiguration<CallRecordItemRequestBuilderGetQueryParameters> | undefined): Promise<CallRecord | undefined>;
@@ -25,26 +27,27 @@ export interface CallRecordItemRequestBuilder extends BaseRequestBuilder<CallRec
25
27
  * Update the navigation property callRecords in communications
26
28
  * @param body The request body
27
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
- * @returns a Promise of CallRecord
30
+ * @returns {Promise<CallRecord>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
32
  */
30
33
  patch(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CallRecord | undefined>;
31
34
  /**
32
35
  * Delete navigation property callRecords for communications
33
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
- * @returns a RequestInformation
37
+ * @returns {RequestInformation}
35
38
  */
36
39
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
37
40
  /**
38
41
  * 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
42
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
- * @returns a RequestInformation
43
+ * @returns {RequestInformation}
41
44
  */
42
45
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CallRecordItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
46
  /**
44
47
  * Update the navigation property callRecords in communications
45
48
  * @param body The request body
46
49
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
- * @returns a RequestInformation
50
+ * @returns {RequestInformation}
48
51
  */
49
52
  toPatchRequestInformation(body: CallRecord, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
50
53
  }
@@ -61,6 +64,10 @@ export interface CallRecordItemRequestBuilderGetQueryParameters {
61
64
  */
62
65
  select?: string[];
63
66
  }
67
+ /**
68
+ * Uri template for the request builder.
69
+ */
70
+ export declare const CallRecordItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}{?%24expand,%24select}";
64
71
  /**
65
72
  * Metadata for all the navigation properties in the request builder.
66
73
  */
@@ -69,8 +76,4 @@ export declare const CallRecordItemRequestBuilderNavigationMetadata: Record<Excl
69
76
  * Metadata for all the requests in the request builder.
70
77
  */
71
78
  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
79
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,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AoB,CAAC,8CAA8C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;;;OAMG;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;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,kFAAkF,CAAC;AAQvI;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBA+B1D,CAAC"}
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CallRecordItemRequestBuilderUriTemplate = exports.CallRecordItemRequestBuilderRequestsMetadata = exports.CallRecordItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.CallRecordItemRequestBuilderRequestsMetadata = exports.CallRecordItemRequestBuilderNavigationMetadata = exports.CallRecordItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const callRecords_1 = require("@microsoft/msgraph-sdk/models/callRecords/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const sessions_1 = require("./sessions/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.CallRecordItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}{?%24expand,%24select}";
10
14
  /**
11
15
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
16
  */
@@ -19,7 +23,6 @@ const CallRecordItemRequestBuilderGetQueryParametersMapper = {
19
23
  */
20
24
  exports.CallRecordItemRequestBuilderNavigationMetadata = {
21
25
  sessions: {
22
- uriTemplate: sessions_1.SessionsRequestBuilderUriTemplate,
23
26
  requestsMetadata: sessions_1.SessionsRequestBuilderRequestsMetadata,
24
27
  navigationMetadata: sessions_1.SessionsRequestBuilderNavigationMetadata,
25
28
  },
@@ -29,28 +32,28 @@ exports.CallRecordItemRequestBuilderNavigationMetadata = {
29
32
  */
30
33
  exports.CallRecordItemRequestBuilderRequestsMetadata = {
31
34
  delete: {
35
+ uriTemplate: exports.CallRecordItemRequestBuilderUriTemplate,
32
36
  responseBodyContentType: "application/json",
33
37
  errorMappings: {
34
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
38
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
39
  },
37
40
  adapterMethodName: "sendNoResponseContentAsync",
38
41
  },
39
42
  get: {
43
+ uriTemplate: exports.CallRecordItemRequestBuilderUriTemplate,
40
44
  responseBodyContentType: "application/json",
41
45
  errorMappings: {
42
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
47
  },
45
48
  adapterMethodName: "sendAsync",
46
49
  responseBodyFactory: callRecords_1.createCallRecordFromDiscriminatorValue,
47
50
  queryParametersMapper: CallRecordItemRequestBuilderGetQueryParametersMapper,
48
51
  },
49
52
  patch: {
53
+ uriTemplate: exports.CallRecordItemRequestBuilderUriTemplate,
50
54
  responseBodyContentType: "application/json",
51
55
  errorMappings: {
52
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
54
57
  },
55
58
  adapterMethodName: "sendAsync",
56
59
  responseBodyFactory: callRecords_1.createCallRecordFromDiscriminatorValue,
@@ -59,9 +62,5 @@ exports.CallRecordItemRequestBuilderRequestsMetadata = {
59
62
  requestInformationContentSetMethod: "setContentFromParsable",
60
63
  },
61
64
  };
62
- /**
63
- * Uri template for the request builder.
64
- */
65
- exports.CallRecordItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}{?%24select,%24expand}";
66
65
  /* tslint:enable */
67
66
  /* eslint-enable */
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -30,11 +31,11 @@ export interface CountRequestBuilderGetQueryParameters {
30
31
  search?: string;
31
32
  }
32
33
  /**
33
- * Metadata for all the requests in the request builder.
34
+ * Uri template for the request builder.
34
35
  */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/$count{?%24filter,%24search}";
36
37
  /**
37
- * Uri template for the request builder.
38
+ * Metadata for all the requests in the request builder.
38
39
  */
39
- export declare const CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/$count{?%24search,%24filter}";
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","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"}
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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,kGAAkG,CAAC;AAQ9I;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/$count{?%24search,%24filter}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface SessionsRequestBuilder extends BaseRequestBuilder<SessionsReque
13
13
  /**
14
14
  * Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity.
15
15
  * @param sessionId The unique identifier of session
16
- * @returns a SessionItemRequestBuilder
16
+ * @returns {SessionItemRequestBuilder}
17
17
  */
18
18
  bySessionId(sessionId: string): SessionItemRequestBuilder;
19
19
  /**
20
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
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of SessionCollectionResponse
22
+ * @returns {Promise<SessionCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/callrecords-callrecord-list-sessions?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<SessionsRequestBuilderGetQueryParameters> | undefined): Promise<SessionCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface SessionsRequestBuilder extends BaseRequestBuilder<SessionsReque
27
28
  * Create new navigation property to sessions for communications
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of Session
31
+ * @returns {Promise<Session>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: Session, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Session | undefined>;
33
35
  /**
34
36
  * 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
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
37
39
  */
38
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<SessionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to sessions for communications
41
43
  * @param body The request body
42
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
44
46
  */
45
47
  toPostRequestInformation(body: Session, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface SessionsRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const SessionsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
84
90
  /**
85
91
  * Metadata for all the navigation properties in the request builder.
86
92
  */
@@ -89,8 +95,4 @@ export declare const SessionsRequestBuilderNavigationMetadata: Record<Exclude<ke
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  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
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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;;;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E,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,iCAAiC,kJAAkJ,CAAC;AAcjM;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SessionsRequestBuilderUriTemplate = exports.SessionsRequestBuilderRequestsMetadata = exports.SessionsRequestBuilderNavigationMetadata = void 0;
3
+ exports.SessionsRequestBuilderRequestsMetadata = exports.SessionsRequestBuilderNavigationMetadata = exports.SessionsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const callRecords_1 = require("@microsoft/msgraph-sdk/models/callRecords/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.SessionsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,13 +30,11 @@ const SessionsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.SessionsRequestBuilderNavigationMetadata = {
28
32
  bySessionId: {
29
- uriTemplate: item_1.SessionItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.SessionItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.SessionItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["session%2Did"],
33
36
  },
34
37
  count: {
35
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
38
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
39
  },
38
40
  };
@@ -41,20 +43,20 @@ exports.SessionsRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.SessionsRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.SessionsRequestBuilderUriTemplate,
44
47
  responseBodyContentType: "application/json",
45
48
  errorMappings: {
46
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
50
  },
49
51
  adapterMethodName: "sendAsync",
50
52
  responseBodyFactory: callRecords_1.createSessionCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: SessionsRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.SessionsRequestBuilderUriTemplate,
54
57
  responseBodyContentType: "application/json",
55
58
  errorMappings: {
56
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
60
  },
59
61
  adapterMethodName: "sendAsync",
60
62
  responseBodyFactory: callRecords_1.createSessionFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.SessionsRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.SessionsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
68
  /* tslint:enable */
71
69
  /* eslint-enable */