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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/communications/callRecords/count/index.d.ts +40 -0
  4. package/communications/callRecords/count/index.d.ts.map +1 -0
  5. package/communications/callRecords/count/index.js +35 -0
  6. package/communications/callRecords/index.d.ts +111 -0
  7. package/communications/callRecords/index.d.ts.map +1 -0
  8. package/communications/callRecords/index.js +81 -0
  9. package/communications/callRecords/item/index.d.ts +76 -0
  10. package/communications/callRecords/item/index.d.ts.map +1 -0
  11. package/communications/callRecords/item/index.js +67 -0
  12. package/communications/callRecords/item/sessions/count/index.d.ts +40 -0
  13. package/communications/callRecords/item/sessions/count/index.d.ts.map +1 -0
  14. package/communications/callRecords/item/sessions/count/index.js +35 -0
  15. package/communications/callRecords/item/sessions/index.d.ts +96 -0
  16. package/communications/callRecords/item/sessions/index.d.ts.map +1 -0
  17. package/communications/callRecords/item/sessions/index.js +71 -0
  18. package/communications/callRecords/item/sessions/item/index.d.ts +75 -0
  19. package/communications/callRecords/item/sessions/item/index.d.ts.map +1 -0
  20. package/communications/callRecords/item/sessions/item/index.js +67 -0
  21. package/communications/callRecords/item/sessions/item/segments/count/index.d.ts +40 -0
  22. package/communications/callRecords/item/sessions/item/segments/count/index.d.ts.map +1 -0
  23. package/communications/callRecords/item/sessions/item/segments/count/index.js +35 -0
  24. package/communications/callRecords/item/sessions/item/segments/index.d.ts +95 -0
  25. package/communications/callRecords/item/sessions/item/segments/index.d.ts.map +1 -0
  26. package/communications/callRecords/item/sessions/item/segments/index.js +70 -0
  27. package/communications/callRecords/item/sessions/item/segments/item/index.d.ts +66 -0
  28. package/communications/callRecords/item/sessions/item/segments/item/index.d.ts.map +1 -0
  29. package/communications/callRecords/item/sessions/item/segments/item/index.js +56 -0
  30. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.d.ts +76 -0
  31. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.d.ts.map +1 -0
  32. package/communications/callRecords/microsoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/index.js +66 -0
  33. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.d.ts +76 -0
  34. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.d.ts.map +1 -0
  35. package/communications/callRecords/microsoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/index.js +66 -0
  36. package/communications/calls/count/index.d.ts +40 -0
  37. package/communications/calls/count/index.d.ts.map +1 -0
  38. package/communications/calls/count/index.js +35 -0
  39. package/communications/calls/index.d.ts +101 -0
  40. package/communications/calls/index.d.ts.map +1 -0
  41. package/communications/calls/index.js +76 -0
  42. package/communications/calls/item/addLargeGalleryView/index.d.ts +61 -0
  43. package/communications/calls/item/addLargeGalleryView/index.d.ts.map +1 -0
  44. package/communications/calls/item/addLargeGalleryView/index.js +60 -0
  45. package/communications/calls/item/answer/index.d.ts +76 -0
  46. package/communications/calls/item/answer/index.d.ts.map +1 -0
  47. package/communications/calls/item/answer/index.js +68 -0
  48. package/communications/calls/item/audioRoutingGroups/count/index.d.ts +40 -0
  49. package/communications/calls/item/audioRoutingGroups/count/index.d.ts.map +1 -0
  50. package/communications/calls/item/audioRoutingGroups/count/index.js +35 -0
  51. package/communications/calls/item/audioRoutingGroups/index.d.ts +97 -0
  52. package/communications/calls/item/audioRoutingGroups/index.d.ts.map +1 -0
  53. package/communications/calls/item/audioRoutingGroups/index.js +70 -0
  54. package/communications/calls/item/audioRoutingGroups/item/index.d.ts +69 -0
  55. package/communications/calls/item/audioRoutingGroups/item/index.d.ts.map +1 -0
  56. package/communications/calls/item/audioRoutingGroups/item/index.js +56 -0
  57. package/communications/calls/item/cancelMediaProcessing/index.d.ts +61 -0
  58. package/communications/calls/item/cancelMediaProcessing/index.d.ts.map +1 -0
  59. package/communications/calls/item/cancelMediaProcessing/index.js +60 -0
  60. package/communications/calls/item/changeScreenSharingRole/index.d.ts +60 -0
  61. package/communications/calls/item/changeScreenSharingRole/index.d.ts.map +1 -0
  62. package/communications/calls/item/changeScreenSharingRole/index.js +59 -0
  63. package/communications/calls/item/contentSharingSessions/count/index.d.ts +40 -0
  64. package/communications/calls/item/contentSharingSessions/count/index.d.ts.map +1 -0
  65. package/communications/calls/item/contentSharingSessions/count/index.js +35 -0
  66. package/communications/calls/item/contentSharingSessions/index.d.ts +96 -0
  67. package/communications/calls/item/contentSharingSessions/index.d.ts.map +1 -0
  68. package/communications/calls/item/contentSharingSessions/index.js +70 -0
  69. package/communications/calls/item/contentSharingSessions/item/index.d.ts +67 -0
  70. package/communications/calls/item/contentSharingSessions/item/index.d.ts.map +1 -0
  71. package/communications/calls/item/contentSharingSessions/item/index.js +56 -0
  72. package/communications/calls/item/index.d.ts +167 -0
  73. package/communications/calls/item/index.d.ts.map +1 -0
  74. package/communications/calls/item/index.js +160 -0
  75. package/communications/calls/item/keepAlive/index.d.ts +27 -0
  76. package/communications/calls/item/keepAlive/index.d.ts.map +1 -0
  77. package/communications/calls/item/keepAlive/index.js +26 -0
  78. package/communications/calls/item/mute/index.d.ts +61 -0
  79. package/communications/calls/item/mute/index.d.ts.map +1 -0
  80. package/communications/calls/item/mute/index.js +60 -0
  81. package/communications/calls/item/operations/count/index.d.ts +40 -0
  82. package/communications/calls/item/operations/count/index.d.ts.map +1 -0
  83. package/communications/calls/item/operations/count/index.js +35 -0
  84. package/communications/calls/item/operations/index.d.ts +95 -0
  85. package/communications/calls/item/operations/index.d.ts.map +1 -0
  86. package/communications/calls/item/operations/index.js +70 -0
  87. package/communications/calls/item/operations/item/index.d.ts +67 -0
  88. package/communications/calls/item/operations/item/index.d.ts.map +1 -0
  89. package/communications/calls/item/operations/item/index.js +56 -0
  90. package/communications/calls/item/participants/count/index.d.ts +40 -0
  91. package/communications/calls/item/participants/count/index.d.ts.map +1 -0
  92. package/communications/calls/item/participants/count/index.js +35 -0
  93. package/communications/calls/item/participants/index.d.ts +101 -0
  94. package/communications/calls/item/participants/index.d.ts.map +1 -0
  95. package/communications/calls/item/participants/index.js +76 -0
  96. package/communications/calls/item/participants/invite/index.d.ts +65 -0
  97. package/communications/calls/item/participants/invite/index.d.ts.map +1 -0
  98. package/communications/calls/item/participants/invite/index.js +62 -0
  99. package/communications/calls/item/participants/item/index.d.ts +87 -0
  100. package/communications/calls/item/participants/item/index.d.ts.map +1 -0
  101. package/communications/calls/item/participants/item/index.js +76 -0
  102. package/communications/calls/item/participants/item/mute/index.d.ts +61 -0
  103. package/communications/calls/item/participants/item/mute/index.d.ts.map +1 -0
  104. package/communications/calls/item/participants/item/mute/index.js +60 -0
  105. package/communications/calls/item/participants/item/startHoldMusic/index.d.ts +65 -0
  106. package/communications/calls/item/participants/item/startHoldMusic/index.d.ts.map +1 -0
  107. package/communications/calls/item/participants/item/startHoldMusic/index.js +62 -0
  108. package/communications/calls/item/participants/item/stopHoldMusic/index.d.ts +61 -0
  109. package/communications/calls/item/participants/item/stopHoldMusic/index.d.ts.map +1 -0
  110. package/communications/calls/item/participants/item/stopHoldMusic/index.js +60 -0
  111. package/communications/calls/item/playPrompt/index.d.ts +65 -0
  112. package/communications/calls/item/playPrompt/index.d.ts.map +1 -0
  113. package/communications/calls/item/playPrompt/index.js +62 -0
  114. package/communications/calls/item/recordResponse/index.d.ts +89 -0
  115. package/communications/calls/item/recordResponse/index.d.ts.map +1 -0
  116. package/communications/calls/item/recordResponse/index.js +74 -0
  117. package/communications/calls/item/redirect/index.d.ts +68 -0
  118. package/communications/calls/item/redirect/index.d.ts.map +1 -0
  119. package/communications/calls/item/redirect/index.js +63 -0
  120. package/communications/calls/item/reject/index.d.ts +64 -0
  121. package/communications/calls/item/reject/index.d.ts.map +1 -0
  122. package/communications/calls/item/reject/index.js +61 -0
  123. package/communications/calls/item/sendDtmfTones/index.d.ts +68 -0
  124. package/communications/calls/item/sendDtmfTones/index.d.ts.map +1 -0
  125. package/communications/calls/item/sendDtmfTones/index.js +65 -0
  126. package/communications/calls/item/subscribeToTone/index.d.ts +61 -0
  127. package/communications/calls/item/subscribeToTone/index.d.ts.map +1 -0
  128. package/communications/calls/item/subscribeToTone/index.js +60 -0
  129. package/communications/calls/item/transfer/index.d.ts +64 -0
  130. package/communications/calls/item/transfer/index.d.ts.map +1 -0
  131. package/communications/calls/item/transfer/index.js +61 -0
  132. package/communications/calls/item/unmute/index.d.ts +61 -0
  133. package/communications/calls/item/unmute/index.d.ts.map +1 -0
  134. package/communications/calls/item/unmute/index.js +60 -0
  135. package/communications/calls/item/updateRecordingStatus/index.d.ts +65 -0
  136. package/communications/calls/item/updateRecordingStatus/index.d.ts.map +1 -0
  137. package/communications/calls/item/updateRecordingStatus/index.js +62 -0
  138. package/communications/calls/logTeleconferenceDeviceQuality/index.d.ts +60 -0
  139. package/communications/calls/logTeleconferenceDeviceQuality/index.d.ts.map +1 -0
  140. package/communications/calls/logTeleconferenceDeviceQuality/index.js +59 -0
  141. package/communications/getPresencesByUserId/index.d.ts +83 -0
  142. package/communications/getPresencesByUserId/index.d.ts.map +1 -0
  143. package/communications/getPresencesByUserId/index.js +86 -0
  144. package/communications/index.d.ts +84 -0
  145. package/communications/index.d.ts.map +1 -0
  146. package/communications/index.js +82 -0
  147. package/communications/onlineMeetings/count/index.d.ts +40 -0
  148. package/communications/onlineMeetings/count/index.d.ts.map +1 -0
  149. package/communications/onlineMeetings/count/index.js +35 -0
  150. package/communications/onlineMeetings/createOrGet/index.d.ts +81 -0
  151. package/communications/onlineMeetings/createOrGet/index.d.ts.map +1 -0
  152. package/communications/onlineMeetings/createOrGet/index.js +70 -0
  153. package/communications/onlineMeetings/index.d.ts +101 -0
  154. package/communications/onlineMeetings/index.d.ts.map +1 -0
  155. package/communications/onlineMeetings/index.js +76 -0
  156. package/communications/onlineMeetings/item/attendanceReports/count/index.d.ts +40 -0
  157. package/communications/onlineMeetings/item/attendanceReports/count/index.d.ts.map +1 -0
  158. package/communications/onlineMeetings/item/attendanceReports/count/index.js +35 -0
  159. package/communications/onlineMeetings/item/attendanceReports/index.d.ts +95 -0
  160. package/communications/onlineMeetings/item/attendanceReports/index.d.ts.map +1 -0
  161. package/communications/onlineMeetings/item/attendanceReports/index.js +71 -0
  162. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.d.ts +40 -0
  163. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -0
  164. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/count/index.js +35 -0
  165. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.d.ts +96 -0
  166. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -0
  167. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/index.js +70 -0
  168. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.d.ts +66 -0
  169. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -0
  170. package/communications/onlineMeetings/item/attendanceReports/item/attendanceRecords/item/index.js +56 -0
  171. package/communications/onlineMeetings/item/attendanceReports/item/index.d.ts +75 -0
  172. package/communications/onlineMeetings/item/attendanceReports/item/index.d.ts.map +1 -0
  173. package/communications/onlineMeetings/item/attendanceReports/item/index.js +67 -0
  174. package/communications/onlineMeetings/item/attendeeReport/index.d.ts +42 -0
  175. package/communications/onlineMeetings/item/attendeeReport/index.d.ts.map +1 -0
  176. package/communications/onlineMeetings/item/attendeeReport/index.js +38 -0
  177. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.d.ts +57 -0
  178. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.d.ts.map +1 -0
  179. package/communications/onlineMeetings/item/getVirtualAppointmentJoinWebUrl/index.js +56 -0
  180. package/communications/onlineMeetings/item/index.d.ts +95 -0
  181. package/communications/onlineMeetings/item/index.d.ts.map +1 -0
  182. package/communications/onlineMeetings/item/index.js +89 -0
  183. package/communications/onlineMeetings/item/recordings/count/index.d.ts +40 -0
  184. package/communications/onlineMeetings/item/recordings/count/index.d.ts.map +1 -0
  185. package/communications/onlineMeetings/item/recordings/count/index.js +35 -0
  186. package/communications/onlineMeetings/item/recordings/index.d.ts +95 -0
  187. package/communications/onlineMeetings/item/recordings/index.d.ts.map +1 -0
  188. package/communications/onlineMeetings/item/recordings/index.js +71 -0
  189. package/communications/onlineMeetings/item/recordings/item/content/index.d.ts +42 -0
  190. package/communications/onlineMeetings/item/recordings/item/content/index.d.ts.map +1 -0
  191. package/communications/onlineMeetings/item/recordings/item/content/index.js +39 -0
  192. package/communications/onlineMeetings/item/recordings/item/index.d.ts +76 -0
  193. package/communications/onlineMeetings/item/recordings/item/index.d.ts.map +1 -0
  194. package/communications/onlineMeetings/item/recordings/item/index.js +66 -0
  195. package/communications/onlineMeetings/item/transcripts/count/index.d.ts +40 -0
  196. package/communications/onlineMeetings/item/transcripts/count/index.d.ts.map +1 -0
  197. package/communications/onlineMeetings/item/transcripts/count/index.js +35 -0
  198. package/communications/onlineMeetings/item/transcripts/index.d.ts +96 -0
  199. package/communications/onlineMeetings/item/transcripts/index.d.ts.map +1 -0
  200. package/communications/onlineMeetings/item/transcripts/index.js +71 -0
  201. package/communications/onlineMeetings/item/transcripts/item/content/index.d.ts +43 -0
  202. package/communications/onlineMeetings/item/transcripts/item/content/index.d.ts.map +1 -0
  203. package/communications/onlineMeetings/item/transcripts/item/content/index.js +39 -0
  204. package/communications/onlineMeetings/item/transcripts/item/index.d.ts +81 -0
  205. package/communications/onlineMeetings/item/transcripts/item/index.d.ts.map +1 -0
  206. package/communications/onlineMeetings/item/transcripts/item/index.js +71 -0
  207. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts +42 -0
  208. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts.map +1 -0
  209. package/communications/onlineMeetings/item/transcripts/item/metadataContent/index.js +38 -0
  210. package/communications/presences/count/index.d.ts +40 -0
  211. package/communications/presences/count/index.d.ts.map +1 -0
  212. package/communications/presences/count/index.js +35 -0
  213. package/communications/presences/index.d.ts +95 -0
  214. package/communications/presences/index.d.ts.map +1 -0
  215. package/communications/presences/index.js +71 -0
  216. package/communications/presences/item/clearPresence/index.d.ts +59 -0
  217. package/communications/presences/item/clearPresence/index.d.ts.map +1 -0
  218. package/communications/presences/item/clearPresence/index.js +58 -0
  219. package/communications/presences/item/clearUserPreferredPresence/index.d.ts +27 -0
  220. package/communications/presences/item/clearUserPreferredPresence/index.d.ts.map +1 -0
  221. package/communications/presences/item/clearUserPreferredPresence/index.js +26 -0
  222. package/communications/presences/item/index.d.ts +96 -0
  223. package/communications/presences/item/index.d.ts.map +1 -0
  224. package/communications/presences/item/index.js +86 -0
  225. package/communications/presences/item/setPresence/index.d.ts +71 -0
  226. package/communications/presences/item/setPresence/index.d.ts.map +1 -0
  227. package/communications/presences/item/setPresence/index.js +64 -0
  228. package/communications/presences/item/setStatusMessage/index.d.ts +60 -0
  229. package/communications/presences/item/setStatusMessage/index.d.ts.map +1 -0
  230. package/communications/presences/item/setStatusMessage/index.js +59 -0
  231. package/communications/presences/item/setUserPreferredPresence/index.d.ts +67 -0
  232. package/communications/presences/item/setUserPreferredPresence/index.d.ts.map +1 -0
  233. package/communications/presences/item/setUserPreferredPresence/index.js +62 -0
  234. package/communicationsServiceClient.d.ts +25 -0
  235. package/communicationsServiceClient.d.ts.map +1 -0
  236. package/communicationsServiceClient.js +49 -0
  237. package/index.d.ts +11 -0
  238. package/index.d.ts.map +1 -0
  239. package/index.js +20 -0
  240. package/package.json +48 -0
  241. package/tsconfig.json +15 -0
  242. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InviteRequestBuilderUriTemplate = exports.InviteRequestBuilderRequestsMetadata = exports.serializeInvitePostRequestBody = exports.deserializeIntoInvitePostRequestBody = exports.createInvitePostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a invitePostRequestBody
13
+ */
14
+ function createInvitePostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoInvitePostRequestBody;
16
+ }
17
+ exports.createInvitePostRequestBodyFromDiscriminatorValue = createInvitePostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoInvitePostRequestBody(invitePostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { invitePostRequestBody.backingStoreEnabled = true; },
25
+ "clientContext": n => { invitePostRequestBody.clientContext = n.getStringValue(); },
26
+ "participants": n => { invitePostRequestBody.participants = n.getCollectionOfObjectValues(models_1.createInvitationParticipantInfoFromDiscriminatorValue); },
27
+ };
28
+ }
29
+ exports.deserializeIntoInvitePostRequestBody = deserializeIntoInvitePostRequestBody;
30
+ /**
31
+ * Serializes information the current object
32
+ * @param writer Serialization writer to use to serialize this model
33
+ */
34
+ function serializeInvitePostRequestBody(writer, invitePostRequestBody = {}) {
35
+ writer.writeStringValue("clientContext", invitePostRequestBody.clientContext);
36
+ writer.writeCollectionOfObjectValues("participants", invitePostRequestBody.participants, models_1.serializeInvitationParticipantInfo);
37
+ writer.writeAdditionalData(invitePostRequestBody.additionalData);
38
+ }
39
+ exports.serializeInvitePostRequestBody = serializeInvitePostRequestBody;
40
+ /**
41
+ * Metadata for all the requests in the request builder.
42
+ */
43
+ exports.InviteRequestBuilderRequestsMetadata = {
44
+ post: {
45
+ responseBodyContentType: "application/json",
46
+ errorMappings: {
47
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ },
50
+ adapterMethodName: "sendAsync",
51
+ responseBodyFactory: models_1.createInviteParticipantsOperationFromDiscriminatorValue,
52
+ requestBodyContentType: "application/json",
53
+ requestBodySerializer: serializeInvitePostRequestBody,
54
+ requestInformationContentSetMethod: "setContentFromParsable",
55
+ },
56
+ };
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ exports.InviteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/invite";
61
+ /* tslint:enable */
62
+ /* eslint-enable */
@@ -0,0 +1,87 @@
1
+ import { type Participant } from '@microsoft/msgraph-sdk/models/';
2
+ import { type MuteRequestBuilder } from './mute/';
3
+ import { type StartHoldMusicRequestBuilder } from './startHoldMusic/';
4
+ import { type StopHoldMusicRequestBuilder } from './stopHoldMusic/';
5
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
6
+ /**
7
+ * Provides operations to manage the participants property of the microsoft.graph.call entity.
8
+ */
9
+ export interface ParticipantItemRequestBuilder extends BaseRequestBuilder<ParticipantItemRequestBuilder> {
10
+ /**
11
+ * Provides operations to call the mute method.
12
+ */
13
+ get mute(): MuteRequestBuilder;
14
+ /**
15
+ * Provides operations to call the startHoldMusic method.
16
+ */
17
+ get startHoldMusic(): StartHoldMusicRequestBuilder;
18
+ /**
19
+ * Provides operations to call the stopHoldMusic method.
20
+ */
21
+ get stopHoldMusic(): StopHoldMusicRequestBuilder;
22
+ /**
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
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @see {@link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0|Find more info here}
26
+ */
27
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
28
+ /**
29
+ * Retrieve the properties and relationships of a participant object.
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns a Promise of Participant
32
+ * @see {@link https://learn.microsoft.com/graph/api/participant-get?view=graph-rest-1.0|Find more info here}
33
+ */
34
+ get(requestConfiguration?: RequestConfiguration<ParticipantItemRequestBuilderGetQueryParameters> | undefined): Promise<Participant | undefined>;
35
+ /**
36
+ * Update the navigation property participants in communications
37
+ * @param body The request body
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @returns a Promise of Participant
40
+ */
41
+ patch(body: Participant, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Participant | undefined>;
42
+ /**
43
+ * 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
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
+ * @returns a RequestInformation
46
+ */
47
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
48
+ /**
49
+ * Retrieve the properties and relationships of a participant object.
50
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
+ * @returns a RequestInformation
52
+ */
53
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ParticipantItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
54
+ /**
55
+ * Update the navigation property participants in communications
56
+ * @param body The request body
57
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
58
+ * @returns a RequestInformation
59
+ */
60
+ toPatchRequestInformation(body: Participant, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
61
+ }
62
+ /**
63
+ * Retrieve the properties and relationships of a participant object.
64
+ */
65
+ export interface ParticipantItemRequestBuilderGetQueryParameters {
66
+ /**
67
+ * Expand related entities
68
+ */
69
+ expand?: string[];
70
+ /**
71
+ * Select properties to be returned
72
+ */
73
+ select?: string[];
74
+ }
75
+ /**
76
+ * Metadata for all the navigation properties in the request builder.
77
+ */
78
+ export declare const ParticipantItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ParticipantItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
79
+ /**
80
+ * Metadata for all the requests in the request builder.
81
+ */
82
+ 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}{?%24select,%24expand}";
87
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,aAAa,IAAI,2BAA2B,CAAC;IACjD;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC9H;;;;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,+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;AAQD;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAaxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBA+B3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,sGAAsG,CAAC"}
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ParticipantItemRequestBuilderUriTemplate = exports.ParticipantItemRequestBuilderRequestsMetadata = exports.ParticipantItemRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const mute_1 = require("./mute/");
10
+ const startHoldMusic_1 = require("./startHoldMusic/");
11
+ const stopHoldMusic_1 = require("./stopHoldMusic/");
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const ParticipantItemRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the navigation properties in the request builder.
21
+ */
22
+ exports.ParticipantItemRequestBuilderNavigationMetadata = {
23
+ mute: {
24
+ uriTemplate: mute_1.MuteRequestBuilderUriTemplate,
25
+ requestsMetadata: mute_1.MuteRequestBuilderRequestsMetadata,
26
+ },
27
+ startHoldMusic: {
28
+ uriTemplate: startHoldMusic_1.StartHoldMusicRequestBuilderUriTemplate,
29
+ requestsMetadata: startHoldMusic_1.StartHoldMusicRequestBuilderRequestsMetadata,
30
+ },
31
+ stopHoldMusic: {
32
+ uriTemplate: stopHoldMusic_1.StopHoldMusicRequestBuilderUriTemplate,
33
+ requestsMetadata: stopHoldMusic_1.StopHoldMusicRequestBuilderRequestsMetadata,
34
+ },
35
+ };
36
+ /**
37
+ * Metadata for all the requests in the request builder.
38
+ */
39
+ exports.ParticipantItemRequestBuilderRequestsMetadata = {
40
+ delete: {
41
+ responseBodyContentType: "application/json",
42
+ errorMappings: {
43
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
45
+ },
46
+ adapterMethodName: "sendNoResponseContentAsync",
47
+ },
48
+ get: {
49
+ responseBodyContentType: "application/json",
50
+ errorMappings: {
51
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ },
54
+ adapterMethodName: "sendAsync",
55
+ responseBodyFactory: models_1.createParticipantFromDiscriminatorValue,
56
+ queryParametersMapper: ParticipantItemRequestBuilderGetQueryParametersMapper,
57
+ },
58
+ patch: {
59
+ responseBodyContentType: "application/json",
60
+ errorMappings: {
61
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
62
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
63
+ },
64
+ adapterMethodName: "sendAsync",
65
+ responseBodyFactory: models_1.createParticipantFromDiscriminatorValue,
66
+ requestBodyContentType: "application/json",
67
+ requestBodySerializer: models_1.serializeParticipant,
68
+ requestInformationContentSetMethod: "setContentFromParsable",
69
+ },
70
+ };
71
+ /**
72
+ * Uri template for the request builder.
73
+ */
74
+ exports.ParticipantItemRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}{?%24select,%24expand}";
75
+ /* tslint:enable */
76
+ /* eslint-enable */
@@ -0,0 +1,61 @@
1
+ import { type MuteParticipantOperation } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a mutePostRequestBody
7
+ */
8
+ export declare function createMutePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoMutePostRequestBody;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoMutePostRequestBody(mutePostRequestBody?: MutePostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
14
+ export interface MutePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
15
+ /**
16
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
17
+ */
18
+ additionalData?: Record<string, unknown>;
19
+ /**
20
+ * Stores model information.
21
+ */
22
+ backingStoreEnabled?: boolean;
23
+ /**
24
+ * The clientContext property
25
+ */
26
+ clientContext?: string;
27
+ }
28
+ /**
29
+ * Provides operations to call the mute method.
30
+ */
31
+ export interface MuteRequestBuilder extends BaseRequestBuilder<MuteRequestBuilder> {
32
+ /**
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
+ * @param body The request body
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a Promise of MuteParticipantOperation
37
+ * @see {@link https://learn.microsoft.com/graph/api/participant-mute?view=graph-rest-1.0|Find more info here}
38
+ */
39
+ post(body: MutePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MuteParticipantOperation | undefined>;
40
+ /**
41
+ * 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
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: MutePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Serializes information the current object
50
+ * @param writer Serialization writer to use to serialize this model
51
+ */
52
+ export declare function serializeMutePostRequestBody(writer: SerializationWriter, mutePostRequestBody?: MutePostRequestBody | undefined): void;
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const MuteRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const MuteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/mute";
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,6CAE/F;AACD;;;GAGG;AACH,wBAAgB,kCAAkC,CAAC,mBAAmB,GAAE,mBAAmB,GAAG,SAAqC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK/K;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,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,mBAAmB,GAAG,SAAqC,GAAI,IAAI,CAGjK;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,gBAahD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6BAA6B,qFAAqF,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MuteRequestBuilderUriTemplate = exports.MuteRequestBuilderRequestsMetadata = exports.serializeMutePostRequestBody = exports.deserializeIntoMutePostRequestBody = exports.createMutePostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a mutePostRequestBody
13
+ */
14
+ function createMutePostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoMutePostRequestBody;
16
+ }
17
+ exports.createMutePostRequestBodyFromDiscriminatorValue = createMutePostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoMutePostRequestBody(mutePostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { mutePostRequestBody.backingStoreEnabled = true; },
25
+ "clientContext": n => { mutePostRequestBody.clientContext = n.getStringValue(); },
26
+ };
27
+ }
28
+ exports.deserializeIntoMutePostRequestBody = deserializeIntoMutePostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeMutePostRequestBody(writer, mutePostRequestBody = {}) {
34
+ writer.writeStringValue("clientContext", mutePostRequestBody.clientContext);
35
+ writer.writeAdditionalData(mutePostRequestBody.additionalData);
36
+ }
37
+ exports.serializeMutePostRequestBody = serializeMutePostRequestBody;
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.MuteRequestBuilderRequestsMetadata = {
42
+ post: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createMuteParticipantOperationFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: serializeMutePostRequestBody,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ exports.MuteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/mute";
59
+ /* tslint:enable */
60
+ /* eslint-enable */
@@ -0,0 +1,65 @@
1
+ import { type Prompt, type StartHoldMusicOperation } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a startHoldMusicPostRequestBody
7
+ */
8
+ export declare function createStartHoldMusicPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoStartHoldMusicPostRequestBody;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoStartHoldMusicPostRequestBody(startHoldMusicPostRequestBody?: StartHoldMusicPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
14
+ /**
15
+ * Serializes information the current object
16
+ * @param writer Serialization writer to use to serialize this model
17
+ */
18
+ export declare function serializeStartHoldMusicPostRequestBody(writer: SerializationWriter, startHoldMusicPostRequestBody?: StartHoldMusicPostRequestBody | undefined): void;
19
+ export interface StartHoldMusicPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
20
+ /**
21
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
22
+ */
23
+ additionalData?: Record<string, unknown>;
24
+ /**
25
+ * Stores model information.
26
+ */
27
+ backingStoreEnabled?: boolean;
28
+ /**
29
+ * The clientContext property
30
+ */
31
+ clientContext?: string;
32
+ /**
33
+ * The customPrompt property
34
+ */
35
+ customPrompt?: Prompt;
36
+ }
37
+ /**
38
+ * Provides operations to call the startHoldMusic method.
39
+ */
40
+ export interface StartHoldMusicRequestBuilder extends BaseRequestBuilder<StartHoldMusicRequestBuilder> {
41
+ /**
42
+ * Put a participant on hold and play music in the background.
43
+ * @param body The request body
44
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
+ * @returns a Promise of StartHoldMusicOperation
46
+ * @see {@link https://learn.microsoft.com/graph/api/participant-startholdmusic?view=graph-rest-1.0|Find more info here}
47
+ */
48
+ post(body: StartHoldMusicPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StartHoldMusicOperation | undefined>;
49
+ /**
50
+ * Put a participant on hold and play music in the background.
51
+ * @param body The request body
52
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
+ * @returns a RequestInformation
54
+ */
55
+ toPostRequestInformation(body: StartHoldMusicPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
56
+ }
57
+ /**
58
+ * Metadata for all the requests in the request builder.
59
+ */
60
+ export declare const StartHoldMusicRequestBuilderRequestsMetadata: RequestsMetadata;
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ export declare const StartHoldMusicRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/startHoldMusic";
65
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,uDAEzG;AACD;;;GAGG;AACH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMvN;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,IAAI,CAIzM;AACD,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC9F;;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;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;;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,4CAA4C,EAAE,gBAa1D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,+FAA+F,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartHoldMusicRequestBuilderUriTemplate = exports.StartHoldMusicRequestBuilderRequestsMetadata = exports.serializeStartHoldMusicPostRequestBody = exports.deserializeIntoStartHoldMusicPostRequestBody = exports.createStartHoldMusicPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a startHoldMusicPostRequestBody
13
+ */
14
+ function createStartHoldMusicPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoStartHoldMusicPostRequestBody;
16
+ }
17
+ exports.createStartHoldMusicPostRequestBodyFromDiscriminatorValue = createStartHoldMusicPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoStartHoldMusicPostRequestBody(startHoldMusicPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { startHoldMusicPostRequestBody.backingStoreEnabled = true; },
25
+ "clientContext": n => { startHoldMusicPostRequestBody.clientContext = n.getStringValue(); },
26
+ "customPrompt": n => { startHoldMusicPostRequestBody.customPrompt = n.getObjectValue(models_1.createPromptFromDiscriminatorValue); },
27
+ };
28
+ }
29
+ exports.deserializeIntoStartHoldMusicPostRequestBody = deserializeIntoStartHoldMusicPostRequestBody;
30
+ /**
31
+ * Serializes information the current object
32
+ * @param writer Serialization writer to use to serialize this model
33
+ */
34
+ function serializeStartHoldMusicPostRequestBody(writer, startHoldMusicPostRequestBody = {}) {
35
+ writer.writeStringValue("clientContext", startHoldMusicPostRequestBody.clientContext);
36
+ writer.writeObjectValue("customPrompt", startHoldMusicPostRequestBody.customPrompt, models_1.serializePrompt);
37
+ writer.writeAdditionalData(startHoldMusicPostRequestBody.additionalData);
38
+ }
39
+ exports.serializeStartHoldMusicPostRequestBody = serializeStartHoldMusicPostRequestBody;
40
+ /**
41
+ * Metadata for all the requests in the request builder.
42
+ */
43
+ exports.StartHoldMusicRequestBuilderRequestsMetadata = {
44
+ post: {
45
+ responseBodyContentType: "application/json",
46
+ errorMappings: {
47
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ },
50
+ adapterMethodName: "sendAsync",
51
+ responseBodyFactory: models_1.createStartHoldMusicOperationFromDiscriminatorValue,
52
+ requestBodyContentType: "application/json",
53
+ requestBodySerializer: serializeStartHoldMusicPostRequestBody,
54
+ requestInformationContentSetMethod: "setContentFromParsable",
55
+ },
56
+ };
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ exports.StartHoldMusicRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/startHoldMusic";
61
+ /* tslint:enable */
62
+ /* eslint-enable */
@@ -0,0 +1,61 @@
1
+ import { type StopHoldMusicOperation } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a stopHoldMusicPostRequestBody
7
+ */
8
+ export declare function createStopHoldMusicPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoStopHoldMusicPostRequestBody;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoStopHoldMusicPostRequestBody(stopHoldMusicPostRequestBody?: StopHoldMusicPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
14
+ /**
15
+ * Serializes information the current object
16
+ * @param writer Serialization writer to use to serialize this model
17
+ */
18
+ export declare function serializeStopHoldMusicPostRequestBody(writer: SerializationWriter, stopHoldMusicPostRequestBody?: StopHoldMusicPostRequestBody | undefined): void;
19
+ export interface StopHoldMusicPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
20
+ /**
21
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
22
+ */
23
+ additionalData?: Record<string, unknown>;
24
+ /**
25
+ * Stores model information.
26
+ */
27
+ backingStoreEnabled?: boolean;
28
+ /**
29
+ * The clientContext property
30
+ */
31
+ clientContext?: string;
32
+ }
33
+ /**
34
+ * Provides operations to call the stopHoldMusic method.
35
+ */
36
+ export interface StopHoldMusicRequestBuilder extends BaseRequestBuilder<StopHoldMusicRequestBuilder> {
37
+ /**
38
+ * Reincorporate a participant previously put on hold to the call.
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a Promise of StopHoldMusicOperation
42
+ * @see {@link https://learn.microsoft.com/graph/api/participant-stopholdmusic?view=graph-rest-1.0|Find more info here}
43
+ */
44
+ post(body: StopHoldMusicPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StopHoldMusicOperation | undefined>;
45
+ /**
46
+ * Reincorporate a participant previously put on hold to the call.
47
+ * @param body The request body
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns a RequestInformation
50
+ */
51
+ toPostRequestInformation(body: StopHoldMusicPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const StopHoldMusicRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const StopHoldMusicRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/stopHoldMusic";
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuF,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAElK,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,wDAAwD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,sDAExG;AACD;;;GAGG;AACH,wBAAgB,2CAA2C,CAAC,4BAA4B,GAAE,4BAA4B,GAAG,SAA8C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnN;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,4BAA4B,GAAG,SAA8C,GAAI,IAAI,CAGrM;AACD,MAAM,WAAW,4BAA6B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC7F;;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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,4BAA4B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAazD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,8FAA8F,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StopHoldMusicRequestBuilderUriTemplate = exports.StopHoldMusicRequestBuilderRequestsMetadata = exports.serializeStopHoldMusicPostRequestBody = exports.deserializeIntoStopHoldMusicPostRequestBody = exports.createStopHoldMusicPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a stopHoldMusicPostRequestBody
13
+ */
14
+ function createStopHoldMusicPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoStopHoldMusicPostRequestBody;
16
+ }
17
+ exports.createStopHoldMusicPostRequestBodyFromDiscriminatorValue = createStopHoldMusicPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoStopHoldMusicPostRequestBody(stopHoldMusicPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { stopHoldMusicPostRequestBody.backingStoreEnabled = true; },
25
+ "clientContext": n => { stopHoldMusicPostRequestBody.clientContext = n.getStringValue(); },
26
+ };
27
+ }
28
+ exports.deserializeIntoStopHoldMusicPostRequestBody = deserializeIntoStopHoldMusicPostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeStopHoldMusicPostRequestBody(writer, stopHoldMusicPostRequestBody = {}) {
34
+ writer.writeStringValue("clientContext", stopHoldMusicPostRequestBody.clientContext);
35
+ writer.writeAdditionalData(stopHoldMusicPostRequestBody.additionalData);
36
+ }
37
+ exports.serializeStopHoldMusicPostRequestBody = serializeStopHoldMusicPostRequestBody;
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.StopHoldMusicRequestBuilderRequestsMetadata = {
42
+ post: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createStopHoldMusicOperationFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: serializeStopHoldMusicPostRequestBody,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ exports.StopHoldMusicRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/stopHoldMusic";
59
+ /* tslint:enable */
60
+ /* eslint-enable */