@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,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendDtmfTonesRequestBuilderUriTemplate = exports.SendDtmfTonesRequestBuilderRequestsMetadata = exports.serializeSendDtmfTonesPostRequestBody = exports.deserializeIntoSendDtmfTonesPostRequestBody = exports.createSendDtmfTonesPostRequestBodyFromDiscriminatorValue = 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 sendDtmfTonesPostRequestBody
13
+ */
14
+ function createSendDtmfTonesPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoSendDtmfTonesPostRequestBody;
16
+ }
17
+ exports.createSendDtmfTonesPostRequestBodyFromDiscriminatorValue = createSendDtmfTonesPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoSendDtmfTonesPostRequestBody(sendDtmfTonesPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { sendDtmfTonesPostRequestBody.backingStoreEnabled = true; },
25
+ "clientContext": n => { sendDtmfTonesPostRequestBody.clientContext = n.getStringValue(); },
26
+ "delayBetweenTonesMs": n => { sendDtmfTonesPostRequestBody.delayBetweenTonesMs = n.getNumberValue(); },
27
+ "tones": n => { sendDtmfTonesPostRequestBody.tones = n.getCollectionOfEnumValues(models_1.ToneObject); },
28
+ };
29
+ }
30
+ exports.deserializeIntoSendDtmfTonesPostRequestBody = deserializeIntoSendDtmfTonesPostRequestBody;
31
+ /**
32
+ * Serializes information the current object
33
+ * @param writer Serialization writer to use to serialize this model
34
+ */
35
+ function serializeSendDtmfTonesPostRequestBody(writer, sendDtmfTonesPostRequestBody = {}) {
36
+ writer.writeStringValue("clientContext", sendDtmfTonesPostRequestBody.clientContext);
37
+ writer.writeNumberValue("delayBetweenTonesMs", sendDtmfTonesPostRequestBody.delayBetweenTonesMs);
38
+ if (sendDtmfTonesPostRequestBody.tones)
39
+ writer.writeEnumValue("tones", ...sendDtmfTonesPostRequestBody.tones);
40
+ writer.writeAdditionalData(sendDtmfTonesPostRequestBody.additionalData);
41
+ }
42
+ exports.serializeSendDtmfTonesPostRequestBody = serializeSendDtmfTonesPostRequestBody;
43
+ /**
44
+ * Metadata for all the requests in the request builder.
45
+ */
46
+ exports.SendDtmfTonesRequestBuilderRequestsMetadata = {
47
+ post: {
48
+ responseBodyContentType: "application/json",
49
+ errorMappings: {
50
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
51
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ },
53
+ adapterMethodName: "sendAsync",
54
+ responseBodyFactory: models_1.createSendDtmfTonesOperationFromDiscriminatorValue,
55
+ requestBodyContentType: "application/json",
56
+ requestBodySerializer: serializeSendDtmfTonesPostRequestBody,
57
+ requestInformationContentSetMethod: "setContentFromParsable",
58
+ },
59
+ };
60
+ /**
61
+ * Uri template for the request builder.
62
+ */
63
+ exports.SendDtmfTonesRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/sendDtmfTones";
64
+ /* tslint:enable */
65
+ /* eslint-enable */
@@ -0,0 +1,61 @@
1
+ import { type SubscribeToToneOperation } 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 subscribeToTonePostRequestBody
7
+ */
8
+ export declare function createSubscribeToTonePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoSubscribeToTonePostRequestBody;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoSubscribeToTonePostRequestBody(subscribeToTonePostRequestBody?: SubscribeToTonePostRequestBody | 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 serializeSubscribeToTonePostRequestBody(writer: SerializationWriter, subscribeToTonePostRequestBody?: SubscribeToTonePostRequestBody | undefined): void;
19
+ export interface SubscribeToTonePostRequestBody 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 subscribeToTone method.
35
+ */
36
+ export interface SubscribeToToneRequestBuilder extends BaseRequestBuilder<SubscribeToToneRequestBuilder> {
37
+ /**
38
+ * Subscribe to DTMF (dual-tone multi-frequency signaling) which allows you to be notified when the user presses keys on a 'dialpad'.
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 SubscribeToToneOperation
42
+ * @see {@link https://learn.microsoft.com/graph/api/call-subscribetotone?view=graph-rest-1.0|Find more info here}
43
+ */
44
+ post(body: SubscribeToTonePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SubscribeToToneOperation | undefined>;
45
+ /**
46
+ * Subscribe to DTMF (dual-tone multi-frequency signaling) which allows you to be notified when the user presses keys on a 'dialpad'.
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: SubscribeToTonePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const SubscribeToToneRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const SubscribeToToneRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/subscribeToTone";
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,0DAA0D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,wDAE1G;AACD;;;GAGG;AACH,wBAAgB,6CAA6C,CAAC,8BAA8B,GAAE,8BAA8B,GAAG,SAAgD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3N;AACD;;;GAGG;AACH,wBAAgB,uCAAuC,CAAC,MAAM,EAAE,mBAAmB,EAAE,8BAA8B,GAAE,8BAA8B,GAAG,SAAgD,GAAI,IAAI,CAG7M;AACD,MAAM,WAAW,8BAA+B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC/F;;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,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAC7J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAa3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,gEAAgE,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubscribeToToneRequestBuilderUriTemplate = exports.SubscribeToToneRequestBuilderRequestsMetadata = exports.serializeSubscribeToTonePostRequestBody = exports.deserializeIntoSubscribeToTonePostRequestBody = exports.createSubscribeToTonePostRequestBodyFromDiscriminatorValue = 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 subscribeToTonePostRequestBody
13
+ */
14
+ function createSubscribeToTonePostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoSubscribeToTonePostRequestBody;
16
+ }
17
+ exports.createSubscribeToTonePostRequestBodyFromDiscriminatorValue = createSubscribeToTonePostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoSubscribeToTonePostRequestBody(subscribeToTonePostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { subscribeToTonePostRequestBody.backingStoreEnabled = true; },
25
+ "clientContext": n => { subscribeToTonePostRequestBody.clientContext = n.getStringValue(); },
26
+ };
27
+ }
28
+ exports.deserializeIntoSubscribeToTonePostRequestBody = deserializeIntoSubscribeToTonePostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeSubscribeToTonePostRequestBody(writer, subscribeToTonePostRequestBody = {}) {
34
+ writer.writeStringValue("clientContext", subscribeToTonePostRequestBody.clientContext);
35
+ writer.writeAdditionalData(subscribeToTonePostRequestBody.additionalData);
36
+ }
37
+ exports.serializeSubscribeToTonePostRequestBody = serializeSubscribeToTonePostRequestBody;
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.SubscribeToToneRequestBuilderRequestsMetadata = {
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.createSubscribeToToneOperationFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: serializeSubscribeToTonePostRequestBody,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ exports.SubscribeToToneRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/subscribeToTone";
59
+ /* tslint:enable */
60
+ /* eslint-enable */
@@ -0,0 +1,64 @@
1
+ import { type InvitationParticipantInfo, type ParticipantInfo } 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 transferPostRequestBody
7
+ */
8
+ export declare function createTransferPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTransferPostRequestBody;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoTransferPostRequestBody(transferPostRequestBody?: TransferPostRequestBody | 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 serializeTransferPostRequestBody(writer: SerializationWriter, transferPostRequestBody?: TransferPostRequestBody | undefined): void;
19
+ export interface TransferPostRequestBody 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 transferee property
30
+ */
31
+ transferee?: ParticipantInfo;
32
+ /**
33
+ * The transferTarget property
34
+ */
35
+ transferTarget?: InvitationParticipantInfo;
36
+ }
37
+ /**
38
+ * Provides operations to call the transfer method.
39
+ */
40
+ export interface TransferRequestBuilder extends BaseRequestBuilder<TransferRequestBuilder> {
41
+ /**
42
+ * Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly.
43
+ * @param body The request body
44
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
+ * @see {@link https://learn.microsoft.com/graph/api/call-transfer?view=graph-rest-1.0|Find more info here}
46
+ */
47
+ post(body: TransferPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
48
+ /**
49
+ * Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly.
50
+ * @param body The request body
51
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
+ * @returns a RequestInformation
53
+ */
54
+ toPostRequestInformation(body: TransferPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
55
+ }
56
+ /**
57
+ * Metadata for all the requests in the request builder.
58
+ */
59
+ export declare const TransferRequestBuilderRequestsMetadata: RequestsMetadata;
60
+ /**
61
+ * Uri template for the request builder.
62
+ */
63
+ export declare const TransferRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/transfer";
64
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoK,KAAK,yBAAyB,EAAE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAExQ,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,mDAAmD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,iDAEnG;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,uBAAuB,GAAE,uBAAuB,GAAG,SAAyC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAM/L;AACD;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,mBAAmB,EAAE,uBAAuB,GAAE,uBAAuB,GAAG,SAAyC,GAAI,IAAI,CAIjL;AACD,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACxF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,yBAAyB,CAAC;CAC9C;AACD;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAYpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,yDAAyD,CAAC"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferRequestBuilderUriTemplate = exports.TransferRequestBuilderRequestsMetadata = exports.serializeTransferPostRequestBody = exports.deserializeIntoTransferPostRequestBody = exports.createTransferPostRequestBodyFromDiscriminatorValue = 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 transferPostRequestBody
13
+ */
14
+ function createTransferPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoTransferPostRequestBody;
16
+ }
17
+ exports.createTransferPostRequestBodyFromDiscriminatorValue = createTransferPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoTransferPostRequestBody(transferPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { transferPostRequestBody.backingStoreEnabled = true; },
25
+ "transferee": n => { transferPostRequestBody.transferee = n.getObjectValue(models_1.createParticipantInfoFromDiscriminatorValue); },
26
+ "transferTarget": n => { transferPostRequestBody.transferTarget = n.getObjectValue(models_1.createInvitationParticipantInfoFromDiscriminatorValue); },
27
+ };
28
+ }
29
+ exports.deserializeIntoTransferPostRequestBody = deserializeIntoTransferPostRequestBody;
30
+ /**
31
+ * Serializes information the current object
32
+ * @param writer Serialization writer to use to serialize this model
33
+ */
34
+ function serializeTransferPostRequestBody(writer, transferPostRequestBody = {}) {
35
+ writer.writeObjectValue("transferee", transferPostRequestBody.transferee, models_1.serializeParticipantInfo);
36
+ writer.writeObjectValue("transferTarget", transferPostRequestBody.transferTarget, models_1.serializeInvitationParticipantInfo);
37
+ writer.writeAdditionalData(transferPostRequestBody.additionalData);
38
+ }
39
+ exports.serializeTransferPostRequestBody = serializeTransferPostRequestBody;
40
+ /**
41
+ * Metadata for all the requests in the request builder.
42
+ */
43
+ exports.TransferRequestBuilderRequestsMetadata = {
44
+ post: {
45
+ responseBodyContentType: "application/json",
46
+ errorMappings: {
47
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ },
50
+ adapterMethodName: "sendNoResponseContentAsync",
51
+ requestBodyContentType: "application/json",
52
+ requestBodySerializer: serializeTransferPostRequestBody,
53
+ requestInformationContentSetMethod: "setContentFromParsable",
54
+ },
55
+ };
56
+ /**
57
+ * Uri template for the request builder.
58
+ */
59
+ exports.TransferRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/transfer";
60
+ /* tslint:enable */
61
+ /* eslint-enable */
@@ -0,0 +1,61 @@
1
+ import { type UnmuteParticipantOperation } 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 unmutePostRequestBody
7
+ */
8
+ export declare function createUnmutePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoUnmutePostRequestBody;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoUnmutePostRequestBody(unmutePostRequestBody?: UnmutePostRequestBody | 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 serializeUnmutePostRequestBody(writer: SerializationWriter, unmutePostRequestBody?: UnmutePostRequestBody | undefined): void;
19
+ export interface UnmutePostRequestBody 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 unmute method.
35
+ */
36
+ export interface UnmuteRequestBuilder extends BaseRequestBuilder<UnmuteRequestBuilder> {
37
+ /**
38
+ * Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation.
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 UnmuteParticipantOperation
42
+ * @see {@link https://learn.microsoft.com/graph/api/call-unmute?view=graph-rest-1.0|Find more info here}
43
+ */
44
+ post(body: UnmutePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnmuteParticipantOperation | undefined>;
45
+ /**
46
+ * Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation.
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: UnmutePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const UnmuteRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const UnmuteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/unmute";
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+F,KAAK,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE9K,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,+CAEjG;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvL;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,IAAI,CAGzK;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;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,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAalD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,uDAAuD,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnmuteRequestBuilderUriTemplate = exports.UnmuteRequestBuilderRequestsMetadata = exports.serializeUnmutePostRequestBody = exports.deserializeIntoUnmutePostRequestBody = exports.createUnmutePostRequestBodyFromDiscriminatorValue = 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 unmutePostRequestBody
13
+ */
14
+ function createUnmutePostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoUnmutePostRequestBody;
16
+ }
17
+ exports.createUnmutePostRequestBodyFromDiscriminatorValue = createUnmutePostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoUnmutePostRequestBody(unmutePostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { unmutePostRequestBody.backingStoreEnabled = true; },
25
+ "clientContext": n => { unmutePostRequestBody.clientContext = n.getStringValue(); },
26
+ };
27
+ }
28
+ exports.deserializeIntoUnmutePostRequestBody = deserializeIntoUnmutePostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeUnmutePostRequestBody(writer, unmutePostRequestBody = {}) {
34
+ writer.writeStringValue("clientContext", unmutePostRequestBody.clientContext);
35
+ writer.writeAdditionalData(unmutePostRequestBody.additionalData);
36
+ }
37
+ exports.serializeUnmutePostRequestBody = serializeUnmutePostRequestBody;
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.UnmuteRequestBuilderRequestsMetadata = {
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.createUnmuteParticipantOperationFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: serializeUnmutePostRequestBody,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ exports.UnmuteRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/unmute";
59
+ /* tslint:enable */
60
+ /* eslint-enable */
@@ -0,0 +1,65 @@
1
+ import { RecordingStatus, type UpdateRecordingStatusOperation } 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 updateRecordingStatusPostRequestBody
7
+ */
8
+ export declare function createUpdateRecordingStatusPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoUpdateRecordingStatusPostRequestBody;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoUpdateRecordingStatusPostRequestBody(updateRecordingStatusPostRequestBody?: UpdateRecordingStatusPostRequestBody | 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 serializeUpdateRecordingStatusPostRequestBody(writer: SerializationWriter, updateRecordingStatusPostRequestBody?: UpdateRecordingStatusPostRequestBody | undefined): void;
19
+ export interface UpdateRecordingStatusPostRequestBody 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 status property
34
+ */
35
+ status?: RecordingStatus;
36
+ }
37
+ /**
38
+ * Provides operations to call the updateRecordingStatus method.
39
+ */
40
+ export interface UpdateRecordingStatusRequestBuilder extends BaseRequestBuilder<UpdateRecordingStatusRequestBuilder> {
41
+ /**
42
+ * Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution.
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 UpdateRecordingStatusOperation
46
+ * @see {@link https://learn.microsoft.com/graph/api/call-updaterecordingstatus?view=graph-rest-1.0|Find more info here}
47
+ */
48
+ post(body: UpdateRecordingStatusPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UpdateRecordingStatusOperation | undefined>;
49
+ /**
50
+ * Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution.
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: UpdateRecordingStatusPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
56
+ }
57
+ /**
58
+ * Metadata for all the requests in the request builder.
59
+ */
60
+ export declare const UpdateRecordingStatusRequestBuilderRequestsMetadata: RequestsMetadata;
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ export declare const UpdateRecordingStatusRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/updateRecordingStatus";
65
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA8D,eAAe,EAAkE,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAElO,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,gEAAgE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,8DAEhH;AACD;;;GAGG;AACH,wBAAgB,mDAAmD,CAAC,oCAAoC,GAAE,oCAAoC,GAAG,SAAsD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMnP;AACD;;;GAGG;AACH,wBAAgB,6CAA6C,CAAC,MAAM,EAAE,mBAAmB,EAAE,oCAAoC,GAAE,oCAAoC,GAAG,SAAsD,GAAI,IAAI,CAIrO;AACD,MAAM,WAAW,oCAAqC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACrG;;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,MAAM,CAAC,EAAE,eAAe,CAAC;CAC5B;AACD;;GAEG;AACH,MAAM,WAAW,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,oCAAoC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACzK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,oCAAoC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/J;AACD;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAajE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,sEAAsE,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateRecordingStatusRequestBuilderUriTemplate = exports.UpdateRecordingStatusRequestBuilderRequestsMetadata = exports.serializeUpdateRecordingStatusPostRequestBody = exports.deserializeIntoUpdateRecordingStatusPostRequestBody = exports.createUpdateRecordingStatusPostRequestBodyFromDiscriminatorValue = 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 updateRecordingStatusPostRequestBody
13
+ */
14
+ function createUpdateRecordingStatusPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoUpdateRecordingStatusPostRequestBody;
16
+ }
17
+ exports.createUpdateRecordingStatusPostRequestBodyFromDiscriminatorValue = createUpdateRecordingStatusPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoUpdateRecordingStatusPostRequestBody(updateRecordingStatusPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { updateRecordingStatusPostRequestBody.backingStoreEnabled = true; },
25
+ "clientContext": n => { updateRecordingStatusPostRequestBody.clientContext = n.getStringValue(); },
26
+ "status": n => { updateRecordingStatusPostRequestBody.status = n.getEnumValue(models_1.RecordingStatusObject); },
27
+ };
28
+ }
29
+ exports.deserializeIntoUpdateRecordingStatusPostRequestBody = deserializeIntoUpdateRecordingStatusPostRequestBody;
30
+ /**
31
+ * Serializes information the current object
32
+ * @param writer Serialization writer to use to serialize this model
33
+ */
34
+ function serializeUpdateRecordingStatusPostRequestBody(writer, updateRecordingStatusPostRequestBody = {}) {
35
+ writer.writeStringValue("clientContext", updateRecordingStatusPostRequestBody.clientContext);
36
+ writer.writeEnumValue("status", updateRecordingStatusPostRequestBody.status);
37
+ writer.writeAdditionalData(updateRecordingStatusPostRequestBody.additionalData);
38
+ }
39
+ exports.serializeUpdateRecordingStatusPostRequestBody = serializeUpdateRecordingStatusPostRequestBody;
40
+ /**
41
+ * Metadata for all the requests in the request builder.
42
+ */
43
+ exports.UpdateRecordingStatusRequestBuilderRequestsMetadata = {
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.createUpdateRecordingStatusOperationFromDiscriminatorValue,
52
+ requestBodyContentType: "application/json",
53
+ requestBodySerializer: serializeUpdateRecordingStatusPostRequestBody,
54
+ requestInformationContentSetMethod: "setContentFromParsable",
55
+ },
56
+ };
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ exports.UpdateRecordingStatusRequestBuilderUriTemplate = "{+baseurl}/communications/calls/{call%2Did}/updateRecordingStatus";
61
+ /* tslint:enable */
62
+ /* eslint-enable */