@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,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SessionsRequestBuilderUriTemplate = exports.SessionsRequestBuilderRequestsMetadata = exports.SessionsRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const callRecords_1 = require("@microsoft/msgraph-sdk/models/callRecords/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const SessionsRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.SessionsRequestBuilderNavigationMetadata = {
28
+ bySessionId: {
29
+ uriTemplate: item_1.SessionItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.SessionItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.SessionItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["session%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.SessionsRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: callRecords_1.createSessionCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: SessionsRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: callRecords_1.createSessionFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: callRecords_1.serializeSession,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.SessionsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,75 @@
1
+ import { type Session } from '@microsoft/msgraph-sdk/models/callRecords/';
2
+ import { type SegmentsRequestBuilder } from './segments/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity.
6
+ */
7
+ export interface SessionItemRequestBuilder extends BaseRequestBuilder<SessionItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the segments property of the microsoft.graph.callRecords.session entity.
10
+ */
11
+ get segments(): SegmentsRequestBuilder;
12
+ /**
13
+ * Delete navigation property sessions for communications
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ */
16
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
+ /**
18
+ * List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of Session
21
+ */
22
+ get(requestConfiguration?: RequestConfiguration<SessionItemRequestBuilderGetQueryParameters> | undefined): Promise<Session | undefined>;
23
+ /**
24
+ * Update the navigation property sessions in communications
25
+ * @param body The request body
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns a Promise of Session
28
+ */
29
+ patch(body: Session, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Session | undefined>;
30
+ /**
31
+ * Delete navigation property sessions for communications
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
36
+ /**
37
+ * List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @returns a RequestInformation
40
+ */
41
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SessionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
+ /**
43
+ * Update the navigation property sessions in communications
44
+ * @param body The request body
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns a RequestInformation
47
+ */
48
+ toPatchRequestInformation(body: Session, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
+ }
50
+ /**
51
+ * List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
52
+ */
53
+ export interface SessionItemRequestBuilderGetQueryParameters {
54
+ /**
55
+ * Expand related entities
56
+ */
57
+ expand?: string[];
58
+ /**
59
+ * Select properties to be returned
60
+ */
61
+ select?: string[];
62
+ }
63
+ /**
64
+ * Metadata for all the navigation properties in the request builder.
65
+ */
66
+ export declare const SessionItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SessionItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
67
+ /**
68
+ * Metadata for all the requests in the request builder.
69
+ */
70
+ export declare const SessionItemRequestBuilderRequestsMetadata: RequestsMetadata;
71
+ /**
72
+ * Uri template for the request builder.
73
+ */
74
+ export declare const SessionItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}{?%24select,%24expand}";
75
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,4CAA4C,CAAC;AAEjI,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtH;;;;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,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,0GAA0G,CAAC"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SessionItemRequestBuilderUriTemplate = exports.SessionItemRequestBuilderRequestsMetadata = exports.SessionItemRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const callRecords_1 = require("@microsoft/msgraph-sdk/models/callRecords/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const segments_1 = require("./segments/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const SessionItemRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.SessionItemRequestBuilderNavigationMetadata = {
21
+ segments: {
22
+ uriTemplate: segments_1.SegmentsRequestBuilderUriTemplate,
23
+ requestsMetadata: segments_1.SegmentsRequestBuilderRequestsMetadata,
24
+ navigationMetadata: segments_1.SegmentsRequestBuilderNavigationMetadata,
25
+ },
26
+ };
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ exports.SessionItemRequestBuilderRequestsMetadata = {
31
+ delete: {
32
+ responseBodyContentType: "application/json",
33
+ errorMappings: {
34
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "sendNoResponseContentAsync",
38
+ },
39
+ get: {
40
+ responseBodyContentType: "application/json",
41
+ errorMappings: {
42
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
+ },
45
+ adapterMethodName: "sendAsync",
46
+ responseBodyFactory: callRecords_1.createSessionFromDiscriminatorValue,
47
+ queryParametersMapper: SessionItemRequestBuilderGetQueryParametersMapper,
48
+ },
49
+ patch: {
50
+ responseBodyContentType: "application/json",
51
+ errorMappings: {
52
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "sendAsync",
56
+ responseBodyFactory: callRecords_1.createSessionFromDiscriminatorValue,
57
+ requestBodyContentType: "application/json",
58
+ requestBodySerializer: callRecords_1.serializeSession,
59
+ requestInformationContentSetMethod: "setContentFromParsable",
60
+ },
61
+ };
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ exports.SessionItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}{?%24select,%24expand}";
66
+ /* tslint:enable */
67
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,0HAA0H,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,95 @@
1
+ import { type Segment, type SegmentCollectionResponse } from '@microsoft/msgraph-sdk/models/callRecords/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type SegmentItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the segments property of the microsoft.graph.callRecords.session entity.
7
+ */
8
+ export interface SegmentsRequestBuilder extends BaseRequestBuilder<SegmentsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the segments property of the microsoft.graph.callRecords.session entity.
15
+ * @param segmentId The unique identifier of segment
16
+ * @returns a SegmentItemRequestBuilder
17
+ */
18
+ bySegmentId(segmentId: string): SegmentItemRequestBuilder;
19
+ /**
20
+ * The list of segments involved in the session. Read-only. Nullable.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of SegmentCollectionResponse
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<SegmentsRequestBuilderGetQueryParameters> | undefined): Promise<SegmentCollectionResponse | undefined>;
25
+ /**
26
+ * Create new navigation property to segments for communications
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns a Promise of Segment
30
+ */
31
+ post(body: Segment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Segment | undefined>;
32
+ /**
33
+ * The list of segments involved in the session. Read-only. Nullable.
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns a RequestInformation
36
+ */
37
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SegmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
+ /**
39
+ * Create new navigation property to segments for communications
40
+ * @param body The request body
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns a RequestInformation
43
+ */
44
+ toPostRequestInformation(body: Segment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
+ }
46
+ /**
47
+ * The list of segments involved in the session. Read-only. Nullable.
48
+ */
49
+ export interface SegmentsRequestBuilderGetQueryParameters {
50
+ /**
51
+ * Include count of items
52
+ */
53
+ count?: boolean;
54
+ /**
55
+ * Expand related entities
56
+ */
57
+ expand?: string[];
58
+ /**
59
+ * Filter items by property values
60
+ */
61
+ filter?: string;
62
+ /**
63
+ * Order items by property values
64
+ */
65
+ orderby?: string[];
66
+ /**
67
+ * Search items by search phrases
68
+ */
69
+ search?: string;
70
+ /**
71
+ * Select properties to be returned
72
+ */
73
+ select?: string[];
74
+ /**
75
+ * Skip the first n items
76
+ */
77
+ skip?: number;
78
+ /**
79
+ * Show only the first n items
80
+ */
81
+ top?: number;
82
+ }
83
+ /**
84
+ * Metadata for all the navigation properties in the request builder.
85
+ */
86
+ export declare const SegmentsRequestBuilderNavigationMetadata: Record<Exclude<keyof SegmentsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
87
+ /**
88
+ * Metadata for all the requests in the request builder.
89
+ */
90
+ export declare const SegmentsRequestBuilderRequestsMetadata: RequestsMetadata;
91
+ /**
92
+ * Uri template for the request builder.
93
+ */
94
+ export declare const SegmentsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
95
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAExN,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAmF,KAAK,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAC1I,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,yBAAyB,CAAC;IAC5D;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,0KAA0K,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SegmentsRequestBuilderUriTemplate = exports.SegmentsRequestBuilderRequestsMetadata = exports.SegmentsRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const callRecords_1 = require("@microsoft/msgraph-sdk/models/callRecords/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const SegmentsRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.SegmentsRequestBuilderNavigationMetadata = {
28
+ bySegmentId: {
29
+ uriTemplate: item_1.SegmentItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.SegmentItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["segment%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.SegmentsRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: callRecords_1.createSegmentCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: SegmentsRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: callRecords_1.createSegmentFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: callRecords_1.serializeSegment,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.SegmentsRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,66 @@
1
+ import { type Segment } from '@microsoft/msgraph-sdk/models/callRecords/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the segments property of the microsoft.graph.callRecords.session entity.
5
+ */
6
+ export interface SegmentItemRequestBuilder extends BaseRequestBuilder<SegmentItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property segments for communications
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ */
11
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * The list of segments involved in the session. Read-only. Nullable.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of Segment
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<SegmentItemRequestBuilderGetQueryParameters> | undefined): Promise<Segment | undefined>;
18
+ /**
19
+ * Update the navigation property segments in communications
20
+ * @param body The request body
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of Segment
23
+ */
24
+ patch(body: Segment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Segment | undefined>;
25
+ /**
26
+ * Delete navigation property segments for communications
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a RequestInformation
29
+ */
30
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
+ /**
32
+ * The list of segments involved in the session. Read-only. Nullable.
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SegmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
+ /**
38
+ * Update the navigation property segments in communications
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toPatchRequestInformation(body: Segment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * The list of segments involved in the session. Read-only. Nullable.
47
+ */
48
+ export interface SegmentItemRequestBuilderGetQueryParameters {
49
+ /**
50
+ * Expand related entities
51
+ */
52
+ expand?: string[];
53
+ /**
54
+ * Select properties to be returned
55
+ */
56
+ select?: string[];
57
+ }
58
+ /**
59
+ * Metadata for all the requests in the request builder.
60
+ */
61
+ export declare const SegmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ export declare const SegmentItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments/{segment%2Did}{?%24select,%24expand}";
66
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,4CAA4C,CAAC;AAEjI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtH;;;;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,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,kIAAkI,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SegmentItemRequestBuilderUriTemplate = exports.SegmentItemRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const callRecords_1 = require("@microsoft/msgraph-sdk/models/callRecords/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const SegmentItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.SegmentItemRequestBuilderRequestsMetadata = {
20
+ delete: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendNoResponseContentAsync",
27
+ },
28
+ get: {
29
+ responseBodyContentType: "application/json",
30
+ errorMappings: {
31
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendAsync",
35
+ responseBodyFactory: callRecords_1.createSegmentFromDiscriminatorValue,
36
+ queryParametersMapper: SegmentItemRequestBuilderGetQueryParametersMapper,
37
+ },
38
+ patch: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: callRecords_1.createSegmentFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: callRecords_1.serializeSegment,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.SegmentItemRequestBuilderUriTemplate = "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments/{segment%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */