@microsoft/msgraph-sdk-communications 1.0.0-preview.13 → 1.0.0-preview.15

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 +12 -9
  179. package/communications/onlineMeetings/item/index.d.ts.map +1 -1
  180. package/communications/onlineMeetings/item/index.js +11 -18
  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 +11 -9
  194. package/communications/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.d.ts.map +1 -1
  195. package/communications/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.js +9 -9
  196. package/communications/onlineMeetings/item/sendVirtualAppointmentSms/index.d.ts +11 -9
  197. package/communications/onlineMeetings/item/sendVirtualAppointmentSms/index.d.ts.map +1 -1
  198. package/communications/onlineMeetings/item/sendVirtualAppointmentSms/index.js +9 -9
  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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ParticipantsRequestBuilderUriTemplate = exports.ParticipantsRequestBuilderRequestsMetadata = exports.ParticipantsRequestBuilderNavigationMetadata = void 0;
3
+ exports.ParticipantsRequestBuilderRequestsMetadata = exports.ParticipantsRequestBuilderNavigationMetadata = exports.ParticipantsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,6 +9,10 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const invite_1 = require("./invite/");
11
11
  const item_1 = require("./item/");
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ exports.ParticipantsRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
12
16
  /**
13
17
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
18
  */
@@ -27,17 +31,14 @@ const ParticipantsRequestBuilderGetQueryParametersMapper = {
27
31
  */
28
32
  exports.ParticipantsRequestBuilderNavigationMetadata = {
29
33
  byParticipantId: {
30
- uriTemplate: item_1.ParticipantItemRequestBuilderUriTemplate,
31
34
  requestsMetadata: item_1.ParticipantItemRequestBuilderRequestsMetadata,
32
35
  navigationMetadata: item_1.ParticipantItemRequestBuilderNavigationMetadata,
33
36
  pathParametersMappings: ["participant%2Did"],
34
37
  },
35
38
  count: {
36
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
37
39
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
38
40
  },
39
41
  invite: {
40
- uriTemplate: invite_1.InviteRequestBuilderUriTemplate,
41
42
  requestsMetadata: invite_1.InviteRequestBuilderRequestsMetadata,
42
43
  },
43
44
  };
@@ -46,20 +47,20 @@ exports.ParticipantsRequestBuilderNavigationMetadata = {
46
47
  */
47
48
  exports.ParticipantsRequestBuilderRequestsMetadata = {
48
49
  get: {
50
+ uriTemplate: exports.ParticipantsRequestBuilderUriTemplate,
49
51
  responseBodyContentType: "application/json",
50
52
  errorMappings: {
51
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
54
  },
54
55
  adapterMethodName: "sendAsync",
55
56
  responseBodyFactory: models_1.createParticipantCollectionResponseFromDiscriminatorValue,
56
57
  queryParametersMapper: ParticipantsRequestBuilderGetQueryParametersMapper,
57
58
  },
58
59
  post: {
60
+ uriTemplate: exports.ParticipantsRequestBuilderUriTemplate,
59
61
  responseBodyContentType: "application/json",
60
62
  errorMappings: {
61
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
62
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
63
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
63
64
  },
64
65
  adapterMethodName: "sendAsync",
65
66
  responseBodyFactory: models_1.createParticipantFromDiscriminatorValue,
@@ -68,9 +69,5 @@ exports.ParticipantsRequestBuilderRequestsMetadata = {
68
69
  requestInformationContentSetMethod: "setContentFromParsable",
69
70
  },
70
71
  };
71
- /**
72
- * Uri template for the request builder.
73
- */
74
- exports.ParticipantsRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
75
72
  /* tslint:enable */
76
73
  /* eslint-enable */
@@ -3,12 +3,12 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a invitePostRequestBody
6
+ * @returns {InvitePostRequestBody}
7
7
  */
8
8
  export declare function createInvitePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  /**
10
10
  * The deserialization information for the current model
11
- * @returns a Record<string, (node: ParseNode) => void>
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
12
  */
13
13
  export declare function deserializeIntoInvitePostRequestBody(invitePostRequestBody?: Partial<InvitePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
14
  export interface InvitePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -37,7 +37,8 @@ export interface InviteRequestBuilder extends BaseRequestBuilder<InviteRequestBu
37
37
  * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
38
38
  * @param body The request body
39
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
- * @returns a Promise of InviteParticipantsOperation
40
+ * @returns {Promise<InviteParticipantsOperation>}
41
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
41
42
  * @see {@link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0|Find more info here}
42
43
  */
43
44
  post(body: InvitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InviteParticipantsOperation | undefined>;
@@ -45,7 +46,7 @@ export interface InviteRequestBuilder extends BaseRequestBuilder<InviteRequestBu
45
46
  * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
46
47
  * @param body The request body
47
48
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48
- * @returns a RequestInformation
49
+ * @returns {RequestInformation}
49
50
  */
50
51
  toPostRequestInformation(body: InvitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
51
52
  }
@@ -54,12 +55,12 @@ export interface InviteRequestBuilder extends BaseRequestBuilder<InviteRequestBu
54
55
  * @param writer Serialization writer to use to serialize this model
55
56
  */
56
57
  export declare function serializeInvitePostRequestBody(writer: SerializationWriter, invitePostRequestBody?: Partial<InvitePostRequestBody> | undefined): void;
57
- /**
58
- * Metadata for all the requests in the request builder.
59
- */
60
- export declare const InviteRequestBuilderRequestsMetadata: RequestsMetadata;
61
58
  /**
62
59
  * Uri template for the request builder.
63
60
  */
64
61
  export declare const InviteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/invite";
62
+ /**
63
+ * Metadata for all the requests in the request builder.
64
+ */
65
+ export declare const InviteRequestBuilderRequestsMetadata: RequestsMetadata;
65
66
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA4L,KAAK,yBAAyB,EAAE,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAE5S,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,iDAAiD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEzK;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMvK;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MA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AA+B,oEAAoE,CAAC;AACjH;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAalD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InviteRequestBuilderUriTemplate = exports.InviteRequestBuilderRequestsMetadata = exports.serializeInvitePostRequestBody = exports.deserializeIntoInvitePostRequestBody = exports.createInvitePostRequestBodyFromDiscriminatorValue = void 0;
3
+ exports.InviteRequestBuilderRequestsMetadata = exports.InviteRequestBuilderUriTemplate = exports.serializeInvitePostRequestBody = exports.deserializeIntoInvitePostRequestBody = exports.createInvitePostRequestBodyFromDiscriminatorValue = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a invitePostRequestBody
12
+ * @returns {InvitePostRequestBody}
13
13
  */
14
14
  function createInvitePostRequestBodyFromDiscriminatorValue(parseNode) {
15
15
  return deserializeIntoInvitePostRequestBody;
@@ -17,7 +17,7 @@ function createInvitePostRequestBodyFromDiscriminatorValue(parseNode) {
17
17
  exports.createInvitePostRequestBodyFromDiscriminatorValue = createInvitePostRequestBodyFromDiscriminatorValue;
18
18
  /**
19
19
  * The deserialization information for the current model
20
- * @returns a Record<string, (node: ParseNode) => void>
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
21
  */
22
22
  function deserializeIntoInvitePostRequestBody(invitePostRequestBody = {}) {
23
23
  return {
@@ -37,15 +37,19 @@ function serializeInvitePostRequestBody(writer, invitePostRequestBody = {}) {
37
37
  writer.writeAdditionalData(invitePostRequestBody.additionalData);
38
38
  }
39
39
  exports.serializeInvitePostRequestBody = serializeInvitePostRequestBody;
40
+ /**
41
+ * Uri template for the request builder.
42
+ */
43
+ exports.InviteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/invite";
40
44
  /**
41
45
  * Metadata for all the requests in the request builder.
42
46
  */
43
47
  exports.InviteRequestBuilderRequestsMetadata = {
44
48
  post: {
49
+ uriTemplate: exports.InviteRequestBuilderUriTemplate,
45
50
  responseBodyContentType: "application/json",
46
51
  errorMappings: {
47
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
53
  },
50
54
  adapterMethodName: "sendAsync",
51
55
  responseBodyFactory: models_1.createInviteParticipantsOperationFromDiscriminatorValue,
@@ -54,9 +58,5 @@ exports.InviteRequestBuilderRequestsMetadata = {
54
58
  requestInformationContentSetMethod: "setContentFromParsable",
55
59
  },
56
60
  };
57
- /**
58
- * Uri template for the request builder.
59
- */
60
- exports.InviteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/invite";
61
61
  /* tslint:enable */
62
62
  /* eslint-enable */
@@ -22,13 +22,15 @@ export interface ParticipantItemRequestBuilder extends BaseRequestBuilder<Partic
22
22
  /**
23
23
  * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
24
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
25
26
  * @see {@link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0|Find more info here}
26
27
  */
27
28
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
28
29
  /**
29
30
  * Retrieve the properties and relationships of a participant object.
30
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
- * @returns a Promise of Participant
32
+ * @returns {Promise<Participant>}
33
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
34
  * @see {@link https://learn.microsoft.com/graph/api/participant-get?view=graph-rest-1.0|Find more info here}
33
35
  */
34
36
  get(requestConfiguration?: RequestConfiguration<ParticipantItemRequestBuilderGetQueryParameters> | undefined): Promise<Participant | undefined>;
@@ -36,26 +38,27 @@ export interface ParticipantItemRequestBuilder extends BaseRequestBuilder<Partic
36
38
  * Update the navigation property participants in communications
37
39
  * @param body The request body
38
40
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
- * @returns a Promise of Participant
41
+ * @returns {Promise<Participant>}
42
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
40
43
  */
41
44
  patch(body: Participant, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Participant | undefined>;
42
45
  /**
43
46
  * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
44
47
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
- * @returns a RequestInformation
48
+ * @returns {RequestInformation}
46
49
  */
47
50
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
48
51
  /**
49
52
  * Retrieve the properties and relationships of a participant object.
50
53
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
- * @returns a RequestInformation
54
+ * @returns {RequestInformation}
52
55
  */
53
56
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ParticipantItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
54
57
  /**
55
58
  * Update the navigation property participants in communications
56
59
  * @param body The request body
57
60
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
58
- * @returns a RequestInformation
61
+ * @returns {RequestInformation}
59
62
  */
60
63
  toPatchRequestInformation(body: Participant, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
61
64
  }
@@ -72,6 +75,10 @@ export interface ParticipantItemRequestBuilderGetQueryParameters {
72
75
  */
73
76
  select?: string[];
74
77
  }
78
+ /**
79
+ * Uri template for the request builder.
80
+ */
81
+ export declare const ParticipantItemRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}{?%24expand,%24select}";
75
82
  /**
76
83
  * Metadata for all the navigation properties in the request builder.
77
84
  */
@@ -80,8 +87,4 @@ export declare const ParticipantItemRequestBuilderNavigationMetadata: Record<Exc
80
87
  * Metadata for all the requests in the request builder.
81
88
  */
82
89
  export declare const ParticipantItemRequestBuilderRequestsMetadata: RequestsMetadata;
83
- /**
84
- * Uri template for the request builder.
85
- */
86
- export declare const ParticipantItemRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}{?%24expand,%24select}";
87
90
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAEjI,OAAO,EAAqE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACrH,OAAO,EAAyF,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAC7J,OAAO,EAAuF,KAAK,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACzJ,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,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;OAEG;IACH,IAAI,cAAc,IAAI,4BAA4B,CAAC;IACnD;;OAEG;IACH,IAAI,aAA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I,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvI;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,sGAAsG,CAAC;AAQ5J;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBA+B3D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ParticipantItemRequestBuilderUriTemplate = exports.ParticipantItemRequestBuilderRequestsMetadata = exports.ParticipantItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.ParticipantItemRequestBuilderRequestsMetadata = exports.ParticipantItemRequestBuilderNavigationMetadata = exports.ParticipantItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,6 +9,10 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const mute_1 = require("./mute/");
10
10
  const startHoldMusic_1 = require("./startHoldMusic/");
11
11
  const stopHoldMusic_1 = require("./stopHoldMusic/");
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ exports.ParticipantItemRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}{?%24expand,%24select}";
12
16
  /**
13
17
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
18
  */
@@ -21,15 +25,12 @@ const ParticipantItemRequestBuilderGetQueryParametersMapper = {
21
25
  */
22
26
  exports.ParticipantItemRequestBuilderNavigationMetadata = {
23
27
  mute: {
24
- uriTemplate: mute_1.MuteRequestBuilderUriTemplate,
25
28
  requestsMetadata: mute_1.MuteRequestBuilderRequestsMetadata,
26
29
  },
27
30
  startHoldMusic: {
28
- uriTemplate: startHoldMusic_1.StartHoldMusicRequestBuilderUriTemplate,
29
31
  requestsMetadata: startHoldMusic_1.StartHoldMusicRequestBuilderRequestsMetadata,
30
32
  },
31
33
  stopHoldMusic: {
32
- uriTemplate: stopHoldMusic_1.StopHoldMusicRequestBuilderUriTemplate,
33
34
  requestsMetadata: stopHoldMusic_1.StopHoldMusicRequestBuilderRequestsMetadata,
34
35
  },
35
36
  };
@@ -38,28 +39,28 @@ exports.ParticipantItemRequestBuilderNavigationMetadata = {
38
39
  */
39
40
  exports.ParticipantItemRequestBuilderRequestsMetadata = {
40
41
  delete: {
42
+ uriTemplate: exports.ParticipantItemRequestBuilderUriTemplate,
41
43
  responseBodyContentType: "application/json",
42
44
  errorMappings: {
43
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
45
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
45
46
  },
46
47
  adapterMethodName: "sendNoResponseContentAsync",
47
48
  },
48
49
  get: {
50
+ uriTemplate: exports.ParticipantItemRequestBuilderUriTemplate,
49
51
  responseBodyContentType: "application/json",
50
52
  errorMappings: {
51
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
54
  },
54
55
  adapterMethodName: "sendAsync",
55
56
  responseBodyFactory: models_1.createParticipantFromDiscriminatorValue,
56
57
  queryParametersMapper: ParticipantItemRequestBuilderGetQueryParametersMapper,
57
58
  },
58
59
  patch: {
60
+ uriTemplate: exports.ParticipantItemRequestBuilderUriTemplate,
59
61
  responseBodyContentType: "application/json",
60
62
  errorMappings: {
61
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
62
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
63
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
63
64
  },
64
65
  adapterMethodName: "sendAsync",
65
66
  responseBodyFactory: models_1.createParticipantFromDiscriminatorValue,
@@ -68,9 +69,5 @@ exports.ParticipantItemRequestBuilderRequestsMetadata = {
68
69
  requestInformationContentSetMethod: "setContentFromParsable",
69
70
  },
70
71
  };
71
- /**
72
- * Uri template for the request builder.
73
- */
74
- exports.ParticipantItemRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}{?%24expand,%24select}";
75
72
  /* tslint:enable */
76
73
  /* eslint-enable */
@@ -3,12 +3,12 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a mutePostRequestBody
6
+ * @returns {MutePostRequestBody}
7
7
  */
8
8
  export declare function createMutePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  /**
10
10
  * The deserialization information for the current model
11
- * @returns a Record<string, (node: ParseNode) => void>
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
12
  */
13
13
  export declare function deserializeIntoMutePostRequestBody(mutePostRequestBody?: Partial<MutePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
14
  export interface MutePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -33,7 +33,8 @@ export interface MuteRequestBuilder extends BaseRequestBuilder<MuteRequestBuilde
33
33
  * Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation.
34
34
  * @param body The request body
35
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a Promise of MuteParticipantOperation
36
+ * @returns {Promise<MuteParticipantOperation>}
37
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
37
38
  * @see {@link https://learn.microsoft.com/graph/api/participant-mute?view=graph-rest-1.0|Find more info here}
38
39
  */
39
40
  post(body: MutePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MuteParticipantOperation | undefined>;
@@ -41,7 +42,7 @@ export interface MuteRequestBuilder extends BaseRequestBuilder<MuteRequestBuilde
41
42
  * Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation.
42
43
  * @param body The request body
43
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
45
46
  */
46
47
  toPostRequestInformation(body: MutePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
48
  }
@@ -50,12 +51,12 @@ export interface MuteRequestBuilder extends BaseRequestBuilder<MuteRequestBuilde
50
51
  * @param writer Serialization writer to use to serialize this model
51
52
  */
52
53
  export declare function serializeMutePostRequestBody(writer: SerializationWriter, mutePostRequestBody?: Partial<MutePostRequestBody> | undefined): void;
53
- /**
54
- * Metadata for all the requests in the request builder.
55
- */
56
- export declare const MuteRequestBuilderRequestsMetadata: RequestsMetadata;
57
54
  /**
58
55
  * Uri template for the request builder.
59
56
  */
60
57
  export declare const MuteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/mute";
58
+ /**
59
+ * Metadata for all the requests in the request builder.
60
+ */
61
+ export declare const MuteRequestBuilderRequestsMetadata: RequestsMetadata;
61
62
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2F,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAExK,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,+CAA+C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEvK;AACD;;;GAGG;AACH,wBAAgB,kCAAkC,CAAC,mBAAmB,GAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKjK;AACD,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACpF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAA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AAE,WAAW,EAAE,QAAQ;IACpF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,mBAAmB,EAAE,mBAAmB,GAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,SAAc,GAAI,IAAI,CAGnJ;AACD;;GAEG;AACH,eAAO,MAAM,6BAA6B,qFAAqF,CAAC;AAChI;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,gBAahD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MuteRequestBuilderUriTemplate = exports.MuteRequestBuilderRequestsMetadata = exports.serializeMutePostRequestBody = exports.deserializeIntoMutePostRequestBody = exports.createMutePostRequestBodyFromDiscriminatorValue = void 0;
3
+ exports.MuteRequestBuilderRequestsMetadata = exports.MuteRequestBuilderUriTemplate = exports.serializeMutePostRequestBody = exports.deserializeIntoMutePostRequestBody = exports.createMutePostRequestBodyFromDiscriminatorValue = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a mutePostRequestBody
12
+ * @returns {MutePostRequestBody}
13
13
  */
14
14
  function createMutePostRequestBodyFromDiscriminatorValue(parseNode) {
15
15
  return deserializeIntoMutePostRequestBody;
@@ -17,7 +17,7 @@ function createMutePostRequestBodyFromDiscriminatorValue(parseNode) {
17
17
  exports.createMutePostRequestBodyFromDiscriminatorValue = createMutePostRequestBodyFromDiscriminatorValue;
18
18
  /**
19
19
  * The deserialization information for the current model
20
- * @returns a Record<string, (node: ParseNode) => void>
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
21
  */
22
22
  function deserializeIntoMutePostRequestBody(mutePostRequestBody = {}) {
23
23
  return {
@@ -35,15 +35,19 @@ function serializeMutePostRequestBody(writer, mutePostRequestBody = {}) {
35
35
  writer.writeAdditionalData(mutePostRequestBody.additionalData);
36
36
  }
37
37
  exports.serializeMutePostRequestBody = serializeMutePostRequestBody;
38
+ /**
39
+ * Uri template for the request builder.
40
+ */
41
+ exports.MuteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/mute";
38
42
  /**
39
43
  * Metadata for all the requests in the request builder.
40
44
  */
41
45
  exports.MuteRequestBuilderRequestsMetadata = {
42
46
  post: {
47
+ uriTemplate: exports.MuteRequestBuilderUriTemplate,
43
48
  responseBodyContentType: "application/json",
44
49
  errorMappings: {
45
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
51
  },
48
52
  adapterMethodName: "sendAsync",
49
53
  responseBodyFactory: models_1.createMuteParticipantOperationFromDiscriminatorValue,
@@ -52,9 +56,5 @@ exports.MuteRequestBuilderRequestsMetadata = {
52
56
  requestInformationContentSetMethod: "setContentFromParsable",
53
57
  },
54
58
  };
55
- /**
56
- * Uri template for the request builder.
57
- */
58
- exports.MuteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/mute";
59
59
  /* tslint:enable */
60
60
  /* eslint-enable */
@@ -3,12 +3,12 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a startHoldMusicPostRequestBody
6
+ * @returns {StartHoldMusicPostRequestBody}
7
7
  */
8
8
  export declare function createStartHoldMusicPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  /**
10
10
  * The deserialization information for the current model
11
- * @returns a Record<string, (node: ParseNode) => void>
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
12
  */
13
13
  export declare function deserializeIntoStartHoldMusicPostRequestBody(startHoldMusicPostRequestBody?: Partial<StartHoldMusicPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
14
  /**
@@ -42,7 +42,8 @@ export interface StartHoldMusicRequestBuilder extends BaseRequestBuilder<StartHo
42
42
  * Put a participant on hold and play music in the background.
43
43
  * @param body The request body
44
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
- * @returns a Promise of StartHoldMusicOperation
45
+ * @returns {Promise<StartHoldMusicOperation>}
46
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
46
47
  * @see {@link https://learn.microsoft.com/graph/api/participant-startholdmusic?view=graph-rest-1.0|Find more info here}
47
48
  */
48
49
  post(body: StartHoldMusicPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StartHoldMusicOperation | undefined>;
@@ -50,16 +51,16 @@ export interface StartHoldMusicRequestBuilder extends BaseRequestBuilder<StartHo
50
51
  * Put a participant on hold and play music in the background.
51
52
  * @param body The request body
52
53
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
- * @returns a RequestInformation
54
+ * @returns {RequestInformation}
54
55
  */
55
56
  toPostRequestInformation(body: StartHoldMusicPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
56
57
  }
57
- /**
58
- * Metadata for all the requests in the request builder.
59
- */
60
- export declare const StartHoldMusicRequestBuilderRequestsMetadata: RequestsMetadata;
61
58
  /**
62
59
  * Uri template for the request builder.
63
60
  */
64
61
  export declare const StartHoldMusicRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/startHoldMusic";
62
+ /**
63
+ * Metadata for all the requests in the request builder.
64
+ */
65
+ export declare const StartHoldMusicRequestBuilderRequestsMetadata: RequestsMetadata;
65
66
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA8I,KAAK,MAAM,EAAE,KAAK,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEvO,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,yDAAyD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEjL;AACD;;;GAGG;AACH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,G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;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,+FAA+F,CAAC;AACpJ;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAa1D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartHoldMusicRequestBuilderUriTemplate = exports.StartHoldMusicRequestBuilderRequestsMetadata = exports.serializeStartHoldMusicPostRequestBody = exports.deserializeIntoStartHoldMusicPostRequestBody = exports.createStartHoldMusicPostRequestBodyFromDiscriminatorValue = void 0;
3
+ exports.StartHoldMusicRequestBuilderRequestsMetadata = exports.StartHoldMusicRequestBuilderUriTemplate = exports.serializeStartHoldMusicPostRequestBody = exports.deserializeIntoStartHoldMusicPostRequestBody = exports.createStartHoldMusicPostRequestBodyFromDiscriminatorValue = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a startHoldMusicPostRequestBody
12
+ * @returns {StartHoldMusicPostRequestBody}
13
13
  */
14
14
  function createStartHoldMusicPostRequestBodyFromDiscriminatorValue(parseNode) {
15
15
  return deserializeIntoStartHoldMusicPostRequestBody;
@@ -17,7 +17,7 @@ function createStartHoldMusicPostRequestBodyFromDiscriminatorValue(parseNode) {
17
17
  exports.createStartHoldMusicPostRequestBodyFromDiscriminatorValue = createStartHoldMusicPostRequestBodyFromDiscriminatorValue;
18
18
  /**
19
19
  * The deserialization information for the current model
20
- * @returns a Record<string, (node: ParseNode) => void>
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
21
  */
22
22
  function deserializeIntoStartHoldMusicPostRequestBody(startHoldMusicPostRequestBody = {}) {
23
23
  return {
@@ -37,15 +37,19 @@ function serializeStartHoldMusicPostRequestBody(writer, startHoldMusicPostReques
37
37
  writer.writeAdditionalData(startHoldMusicPostRequestBody.additionalData);
38
38
  }
39
39
  exports.serializeStartHoldMusicPostRequestBody = serializeStartHoldMusicPostRequestBody;
40
+ /**
41
+ * Uri template for the request builder.
42
+ */
43
+ exports.StartHoldMusicRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/startHoldMusic";
40
44
  /**
41
45
  * Metadata for all the requests in the request builder.
42
46
  */
43
47
  exports.StartHoldMusicRequestBuilderRequestsMetadata = {
44
48
  post: {
49
+ uriTemplate: exports.StartHoldMusicRequestBuilderUriTemplate,
45
50
  responseBodyContentType: "application/json",
46
51
  errorMappings: {
47
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
53
  },
50
54
  adapterMethodName: "sendAsync",
51
55
  responseBodyFactory: models_1.createStartHoldMusicOperationFromDiscriminatorValue,
@@ -54,9 +58,5 @@ exports.StartHoldMusicRequestBuilderRequestsMetadata = {
54
58
  requestInformationContentSetMethod: "setContentFromParsable",
55
59
  },
56
60
  };
57
- /**
58
- * Uri template for the request builder.
59
- */
60
- exports.StartHoldMusicRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/startHoldMusic";
61
61
  /* tslint:enable */
62
62
  /* eslint-enable */
@@ -3,12 +3,12 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a stopHoldMusicPostRequestBody
6
+ * @returns {StopHoldMusicPostRequestBody}
7
7
  */
8
8
  export declare function createStopHoldMusicPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  /**
10
10
  * The deserialization information for the current model
11
- * @returns a Record<string, (node: ParseNode) => void>
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
12
  */
13
13
  export declare function deserializeIntoStopHoldMusicPostRequestBody(stopHoldMusicPostRequestBody?: Partial<StopHoldMusicPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
14
  /**
@@ -38,7 +38,8 @@ export interface StopHoldMusicRequestBuilder extends BaseRequestBuilder<StopHold
38
38
  * Reincorporate a participant previously put on hold to the call.
39
39
  * @param body The request body
40
40
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
- * @returns a Promise of StopHoldMusicOperation
41
+ * @returns {Promise<StopHoldMusicOperation>}
42
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
42
43
  * @see {@link https://learn.microsoft.com/graph/api/participant-stopholdmusic?view=graph-rest-1.0|Find more info here}
43
44
  */
44
45
  post(body: StopHoldMusicPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StopHoldMusicOperation | undefined>;
@@ -46,16 +47,16 @@ export interface StopHoldMusicRequestBuilder extends BaseRequestBuilder<StopHold
46
47
  * Reincorporate a participant previously put on hold to the call.
47
48
  * @param body The request body
48
49
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
- * @returns a RequestInformation
50
+ * @returns {RequestInformation}
50
51
  */
51
52
  toPostRequestInformation(body: StopHoldMusicPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
53
  }
53
- /**
54
- * Metadata for all the requests in the request builder.
55
- */
56
- export declare const StopHoldMusicRequestBuilderRequestsMetadata: RequestsMetadata;
57
54
  /**
58
55
  * Uri template for the request builder.
59
56
  */
60
57
  export declare const StopHoldMusicRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/stopHoldMusic";
58
+ /**
59
+ * Metadata for all the requests in the request builder.
60
+ */
61
+ export declare const StopHoldMusicRequestBuilderRequestsMetadata: RequestsMetadata;
61
62
  //# sourceMappingURL=index.d.ts.map