@azure/communication-chat 1.6.0-beta.3 → 1.6.0-beta.4

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 (454) hide show
  1. package/README.md +134 -45
  2. package/dist/browser/chatClient.d.ts +225 -0
  3. package/dist/browser/chatClient.d.ts.map +1 -0
  4. package/{dist-esm/src → dist/browser}/chatClient.js +15 -10
  5. package/dist/browser/chatClient.js.map +1 -0
  6. package/dist/browser/chatThreadClient.d.ts +142 -0
  7. package/dist/browser/chatThreadClient.d.ts.map +1 -0
  8. package/{dist-esm/src → dist/browser}/chatThreadClient.js +12 -9
  9. package/dist/browser/chatThreadClient.js.map +1 -0
  10. package/dist/browser/credential/communicationTokenCredentialPolicy.d.ts +9 -0
  11. package/dist/browser/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
  12. package/{dist-esm/src → dist/browser}/credential/communicationTokenCredentialPolicy.js +2 -2
  13. package/dist/browser/credential/communicationTokenCredentialPolicy.js.map +1 -0
  14. package/dist/browser/generated/src/chatApiClient.d.ts +18 -0
  15. package/dist/browser/generated/src/chatApiClient.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/generated/src/chatApiClient.js +2 -2
  17. package/dist/browser/generated/src/chatApiClient.js.map +1 -0
  18. package/dist/browser/generated/src/index.d.ts +4 -0
  19. package/dist/browser/generated/src/index.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/generated/src/index.js +3 -3
  21. package/dist/browser/generated/src/index.js.map +1 -0
  22. package/dist/browser/generated/src/models/index.d.ts +579 -0
  23. package/dist/browser/generated/src/models/index.d.ts.map +1 -0
  24. package/dist/browser/generated/src/models/mappers.d.ts +44 -0
  25. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
  26. package/dist/browser/generated/src/models/parameters.d.ts +29 -0
  27. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/generated/src/models/parameters.js +1 -1
  29. package/dist/browser/generated/src/models/parameters.js.map +1 -0
  30. package/dist/browser/generated/src/operations/chat.d.ts +36 -0
  31. package/dist/browser/generated/src/operations/chat.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/generated/src/operations/chat.js +3 -3
  33. package/dist/browser/generated/src/operations/chat.js.map +1 -0
  34. package/dist/browser/generated/src/operations/chatThread.d.ts +144 -0
  35. package/dist/browser/generated/src/operations/chatThread.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/generated/src/operations/chatThread.js +3 -3
  37. package/dist/browser/generated/src/operations/chatThread.js.map +1 -0
  38. package/dist/browser/generated/src/operations/index.d.ts +3 -0
  39. package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
  40. package/dist/browser/generated/src/operations/index.js +10 -0
  41. package/dist/browser/generated/src/operations/index.js.map +1 -0
  42. package/dist/browser/generated/src/operationsInterfaces/chat.d.ts +28 -0
  43. package/dist/browser/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
  44. package/dist/browser/generated/src/operationsInterfaces/chat.js.map +1 -0
  45. package/dist/browser/generated/src/operationsInterfaces/chatThread.d.ts +136 -0
  46. package/dist/browser/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
  47. package/dist/browser/generated/src/operationsInterfaces/chatThread.js.map +1 -0
  48. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +3 -0
  49. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  50. package/dist/browser/generated/src/operationsInterfaces/index.js +10 -0
  51. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -0
  52. package/dist/browser/generated/src/tracing.d.ts +2 -0
  53. package/dist/browser/generated/src/tracing.d.ts.map +1 -0
  54. package/{dist-esm/src → dist/browser}/generated/src/tracing.js +1 -1
  55. package/{dist-esm/src → dist/browser}/generated/src/tracing.js.map +1 -1
  56. package/dist/browser/index.d.ts +7 -0
  57. package/dist/browser/index.d.ts.map +1 -0
  58. package/dist/browser/index.js +9 -0
  59. package/dist/browser/index.js.map +1 -0
  60. package/dist/browser/models/events.d.ts +4 -0
  61. package/dist/browser/models/events.d.ts.map +1 -0
  62. package/dist/browser/models/events.js +4 -0
  63. package/dist/browser/models/events.js.map +1 -0
  64. package/dist/browser/models/logger.d.ts +2 -0
  65. package/dist/browser/models/logger.d.ts.map +1 -0
  66. package/{dist-esm/src → dist/browser}/models/logger.js +1 -1
  67. package/{dist-esm/src → dist/browser}/models/logger.js.map +1 -1
  68. package/dist/browser/models/mappers.d.ts +79 -0
  69. package/dist/browser/models/mappers.d.ts.map +1 -0
  70. package/{dist-esm/src → dist/browser}/models/mappers.js +1 -1
  71. package/dist/browser/models/mappers.js.map +1 -0
  72. package/dist/browser/models/models.d.ts +153 -0
  73. package/dist/browser/models/models.d.ts.map +1 -0
  74. package/dist/browser/models/models.js +4 -0
  75. package/dist/browser/models/models.js.map +1 -0
  76. package/dist/browser/models/options.d.ts +135 -0
  77. package/dist/browser/models/options.d.ts.map +1 -0
  78. package/dist/browser/models/options.js.map +1 -0
  79. package/dist/browser/models/requests.d.ts +18 -0
  80. package/dist/browser/models/requests.d.ts.map +1 -0
  81. package/dist/browser/models/requests.js +4 -0
  82. package/dist/browser/models/requests.js.map +1 -0
  83. package/dist/browser/models/uuid.d.ts +8 -0
  84. package/dist/browser/models/uuid.d.ts.map +1 -0
  85. package/{dist-esm/src → dist/browser}/models/uuid.js +3 -3
  86. package/dist/browser/models/uuid.js.map +1 -0
  87. package/dist/browser/package.json +3 -0
  88. package/dist/browser/signaling/signalingClient-browser.d.mts.map +1 -0
  89. package/dist/browser/signaling/signalingClient-browser.mjs.map +1 -0
  90. package/dist/browser/signaling/signalingClient.d.ts +6 -0
  91. package/dist/browser/signaling/signalingClient.js +13 -0
  92. package/dist/browser/signaling/signalingClientOptions.d.ts +6 -0
  93. package/dist/browser/signaling/signalingClientOptions.d.ts.map +1 -0
  94. package/dist/browser/signaling/signalingClientOptions.js +4 -0
  95. package/dist/browser/signaling/signalingClientOptions.js.map +1 -0
  96. package/dist/browser/xhrHttpClient.d.ts +17 -0
  97. package/dist/browser/xhrHttpClient.d.ts.map +1 -0
  98. package/{dist-esm/src → dist/browser}/xhrHttpClient.js +2 -2
  99. package/dist/browser/xhrHttpClient.js.map +1 -0
  100. package/dist/commonjs/chatClient.d.ts +225 -0
  101. package/dist/commonjs/chatClient.d.ts.map +1 -0
  102. package/dist/commonjs/chatClient.js +250 -0
  103. package/dist/commonjs/chatClient.js.map +1 -0
  104. package/dist/commonjs/chatThreadClient.d.ts +142 -0
  105. package/dist/commonjs/chatThreadClient.d.ts.map +1 -0
  106. package/dist/commonjs/chatThreadClient.js +463 -0
  107. package/dist/commonjs/chatThreadClient.js.map +1 -0
  108. package/dist/commonjs/credential/communicationTokenCredentialPolicy.d.ts +9 -0
  109. package/dist/commonjs/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
  110. package/dist/commonjs/credential/communicationTokenCredentialPolicy.js +22 -0
  111. package/dist/commonjs/credential/communicationTokenCredentialPolicy.js.map +1 -0
  112. package/dist/commonjs/generated/src/chatApiClient.d.ts +18 -0
  113. package/dist/commonjs/generated/src/chatApiClient.d.ts.map +1 -0
  114. package/dist/commonjs/generated/src/chatApiClient.js +75 -0
  115. package/dist/commonjs/generated/src/chatApiClient.js.map +1 -0
  116. package/dist/commonjs/generated/src/index.d.ts +4 -0
  117. package/dist/commonjs/generated/src/index.d.ts.map +1 -0
  118. package/dist/commonjs/generated/src/index.js +16 -0
  119. package/dist/commonjs/generated/src/index.js.map +1 -0
  120. package/dist/commonjs/generated/src/models/index.d.ts +579 -0
  121. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
  122. package/dist/commonjs/generated/src/models/index.js +43 -0
  123. package/dist/commonjs/generated/src/models/index.js.map +1 -0
  124. package/dist/commonjs/generated/src/models/mappers.d.ts +44 -0
  125. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
  126. package/dist/commonjs/generated/src/models/mappers.js +1112 -0
  127. package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
  128. package/dist/commonjs/generated/src/models/parameters.d.ts +29 -0
  129. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
  130. package/dist/commonjs/generated/src/models/parameters.js +238 -0
  131. package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
  132. package/dist/commonjs/generated/src/operations/chat.d.ts +36 -0
  133. package/dist/commonjs/generated/src/operations/chat.d.ts.map +1 -0
  134. package/dist/commonjs/generated/src/operations/chat.js +191 -0
  135. package/dist/commonjs/generated/src/operations/chat.js.map +1 -0
  136. package/dist/commonjs/generated/src/operations/chatThread.d.ts +144 -0
  137. package/dist/commonjs/generated/src/operations/chatThread.d.ts.map +1 -0
  138. package/dist/commonjs/generated/src/operations/chatThread.js +798 -0
  139. package/dist/commonjs/generated/src/operations/chatThread.js.map +1 -0
  140. package/dist/commonjs/generated/src/operations/index.d.ts +3 -0
  141. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
  142. package/dist/commonjs/generated/src/operations/index.js +13 -0
  143. package/dist/commonjs/generated/src/operations/index.js.map +1 -0
  144. package/dist/commonjs/generated/src/operationsInterfaces/chat.d.ts +28 -0
  145. package/dist/commonjs/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
  146. package/dist/commonjs/generated/src/operationsInterfaces/chat.js +10 -0
  147. package/dist/commonjs/generated/src/operationsInterfaces/chat.js.map +1 -0
  148. package/dist/commonjs/generated/src/operationsInterfaces/chatThread.d.ts +136 -0
  149. package/dist/commonjs/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
  150. package/dist/commonjs/generated/src/operationsInterfaces/chatThread.js +10 -0
  151. package/dist/commonjs/generated/src/operationsInterfaces/chatThread.js.map +1 -0
  152. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +3 -0
  153. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  154. package/dist/commonjs/generated/src/operationsInterfaces/index.js +13 -0
  155. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
  156. package/dist/commonjs/generated/src/tracing.d.ts +2 -0
  157. package/dist/commonjs/generated/src/tracing.d.ts.map +1 -0
  158. package/dist/commonjs/generated/src/tracing.js +17 -0
  159. package/dist/commonjs/generated/src/tracing.js.map +1 -0
  160. package/dist/commonjs/index.d.ts +7 -0
  161. package/dist/commonjs/index.d.ts.map +1 -0
  162. package/dist/commonjs/index.js +12 -0
  163. package/dist/commonjs/index.js.map +1 -0
  164. package/dist/commonjs/models/events.d.ts +4 -0
  165. package/dist/commonjs/models/events.d.ts.map +1 -0
  166. package/dist/commonjs/models/events.js +5 -0
  167. package/dist/commonjs/models/events.js.map +1 -0
  168. package/dist/commonjs/models/logger.d.ts +2 -0
  169. package/dist/commonjs/models/logger.d.ts.map +1 -0
  170. package/dist/commonjs/models/logger.js +8 -0
  171. package/dist/commonjs/models/logger.js.map +1 -0
  172. package/dist/commonjs/models/mappers.d.ts +79 -0
  173. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  174. package/dist/commonjs/models/mappers.js +203 -0
  175. package/dist/commonjs/models/mappers.js.map +1 -0
  176. package/dist/commonjs/models/models.d.ts +153 -0
  177. package/dist/commonjs/models/models.d.ts.map +1 -0
  178. package/dist/commonjs/models/models.js +5 -0
  179. package/dist/commonjs/models/models.js.map +1 -0
  180. package/dist/commonjs/models/options.d.ts +135 -0
  181. package/dist/commonjs/models/options.d.ts.map +1 -0
  182. package/dist/commonjs/models/options.js +3 -0
  183. package/dist/commonjs/models/options.js.map +1 -0
  184. package/dist/commonjs/models/requests.d.ts +18 -0
  185. package/dist/commonjs/models/requests.d.ts.map +1 -0
  186. package/dist/commonjs/models/requests.js +5 -0
  187. package/dist/commonjs/models/requests.js.map +1 -0
  188. package/dist/commonjs/models/uuid.d.ts +8 -0
  189. package/dist/commonjs/models/uuid.d.ts.map +1 -0
  190. package/dist/commonjs/models/uuid.js +16 -0
  191. package/dist/commonjs/models/uuid.js.map +1 -0
  192. package/dist/commonjs/package.json +3 -0
  193. package/dist/commonjs/signaling/signalingClient.d.ts +6 -0
  194. package/dist/commonjs/signaling/signalingClient.d.ts.map +1 -0
  195. package/dist/commonjs/signaling/signalingClient.js +11 -0
  196. package/dist/commonjs/signaling/signalingClient.js.map +1 -0
  197. package/dist/commonjs/signaling/signalingClientOptions.d.ts +6 -0
  198. package/dist/commonjs/signaling/signalingClientOptions.d.ts.map +1 -0
  199. package/dist/commonjs/signaling/signalingClientOptions.js +5 -0
  200. package/dist/commonjs/signaling/signalingClientOptions.js.map +1 -0
  201. package/dist/commonjs/tsdoc-metadata.json +11 -0
  202. package/dist/commonjs/xhrHttpClient.d.ts +17 -0
  203. package/dist/commonjs/xhrHttpClient.d.ts.map +1 -0
  204. package/dist/commonjs/xhrHttpClient.js +191 -0
  205. package/dist/commonjs/xhrHttpClient.js.map +1 -0
  206. package/dist/esm/chatClient.d.ts +225 -0
  207. package/dist/esm/chatClient.d.ts.map +1 -0
  208. package/dist/esm/chatClient.js +246 -0
  209. package/dist/esm/chatClient.js.map +1 -0
  210. package/dist/esm/chatThreadClient.d.ts +142 -0
  211. package/dist/esm/chatThreadClient.d.ts.map +1 -0
  212. package/dist/esm/chatThreadClient.js +459 -0
  213. package/dist/esm/chatThreadClient.js.map +1 -0
  214. package/dist/esm/credential/communicationTokenCredentialPolicy.d.ts +9 -0
  215. package/dist/esm/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
  216. package/dist/esm/credential/communicationTokenCredentialPolicy.js +18 -0
  217. package/dist/esm/credential/communicationTokenCredentialPolicy.js.map +1 -0
  218. package/dist/esm/generated/src/chatApiClient.d.ts +18 -0
  219. package/dist/esm/generated/src/chatApiClient.d.ts.map +1 -0
  220. package/dist/esm/generated/src/chatApiClient.js +70 -0
  221. package/dist/esm/generated/src/chatApiClient.js.map +1 -0
  222. package/dist/esm/generated/src/index.d.ts +4 -0
  223. package/dist/esm/generated/src/index.d.ts.map +1 -0
  224. package/dist/esm/generated/src/index.js +11 -0
  225. package/dist/esm/generated/src/index.js.map +1 -0
  226. package/dist/esm/generated/src/models/index.d.ts +579 -0
  227. package/dist/esm/generated/src/models/index.d.ts.map +1 -0
  228. package/dist/esm/generated/src/models/index.js +40 -0
  229. package/dist/esm/generated/src/models/index.js.map +1 -0
  230. package/dist/esm/generated/src/models/mappers.d.ts +44 -0
  231. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
  232. package/dist/esm/generated/src/models/mappers.js +1109 -0
  233. package/dist/esm/generated/src/models/mappers.js.map +1 -0
  234. package/dist/esm/generated/src/models/parameters.d.ts +29 -0
  235. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
  236. package/dist/esm/generated/src/models/parameters.js +235 -0
  237. package/dist/esm/generated/src/models/parameters.js.map +1 -0
  238. package/dist/esm/generated/src/operations/chat.d.ts +36 -0
  239. package/dist/esm/generated/src/operations/chat.d.ts.map +1 -0
  240. package/dist/esm/generated/src/operations/chat.js +186 -0
  241. package/dist/esm/generated/src/operations/chat.js.map +1 -0
  242. package/dist/esm/generated/src/operations/chatThread.d.ts +144 -0
  243. package/dist/esm/generated/src/operations/chatThread.d.ts.map +1 -0
  244. package/dist/esm/generated/src/operations/chatThread.js +793 -0
  245. package/dist/esm/generated/src/operations/chatThread.js.map +1 -0
  246. package/dist/esm/generated/src/operations/index.d.ts +3 -0
  247. package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
  248. package/dist/esm/generated/src/operations/index.js +10 -0
  249. package/dist/esm/generated/src/operations/index.js.map +1 -0
  250. package/dist/esm/generated/src/operationsInterfaces/chat.d.ts +28 -0
  251. package/dist/esm/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
  252. package/{dist-esm/src/generated/src/operationsInterfaces/index.js → dist/esm/generated/src/operationsInterfaces/chat.js} +2 -3
  253. package/dist/esm/generated/src/operationsInterfaces/chat.js.map +1 -0
  254. package/dist/esm/generated/src/operationsInterfaces/chatThread.d.ts +136 -0
  255. package/dist/esm/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
  256. package/{dist-esm/src/generated/src/operations/index.js → dist/esm/generated/src/operationsInterfaces/chatThread.js} +2 -3
  257. package/dist/esm/generated/src/operationsInterfaces/chatThread.js.map +1 -0
  258. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +3 -0
  259. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  260. package/dist/esm/generated/src/operationsInterfaces/index.js +10 -0
  261. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
  262. package/dist/esm/generated/src/tracing.d.ts +2 -0
  263. package/dist/esm/generated/src/tracing.d.ts.map +1 -0
  264. package/dist/esm/generated/src/tracing.js +14 -0
  265. package/dist/esm/generated/src/tracing.js.map +1 -0
  266. package/dist/esm/index.d.ts +7 -0
  267. package/dist/esm/index.d.ts.map +1 -0
  268. package/dist/esm/index.js +9 -0
  269. package/dist/esm/index.js.map +1 -0
  270. package/dist/esm/models/events.d.ts +4 -0
  271. package/dist/esm/models/events.d.ts.map +1 -0
  272. package/dist/esm/models/events.js +4 -0
  273. package/dist/esm/models/events.js.map +1 -0
  274. package/dist/esm/models/logger.d.ts +2 -0
  275. package/dist/esm/models/logger.d.ts.map +1 -0
  276. package/dist/esm/models/logger.js +5 -0
  277. package/dist/esm/models/logger.js.map +1 -0
  278. package/dist/esm/models/mappers.d.ts +79 -0
  279. package/dist/esm/models/mappers.d.ts.map +1 -0
  280. package/dist/esm/models/mappers.js +184 -0
  281. package/dist/esm/models/mappers.js.map +1 -0
  282. package/dist/esm/models/models.d.ts +153 -0
  283. package/dist/esm/models/models.d.ts.map +1 -0
  284. package/dist/esm/models/models.js +4 -0
  285. package/dist/esm/models/models.js.map +1 -0
  286. package/dist/esm/models/options.d.ts +135 -0
  287. package/dist/esm/models/options.d.ts.map +1 -0
  288. package/dist/esm/models/options.js +2 -0
  289. package/dist/esm/models/options.js.map +1 -0
  290. package/dist/esm/models/requests.d.ts +18 -0
  291. package/dist/esm/models/requests.d.ts.map +1 -0
  292. package/dist/esm/models/requests.js +4 -0
  293. package/dist/esm/models/requests.js.map +1 -0
  294. package/dist/esm/models/uuid.d.ts +8 -0
  295. package/dist/esm/models/uuid.d.ts.map +1 -0
  296. package/dist/esm/models/uuid.js +13 -0
  297. package/dist/esm/models/uuid.js.map +1 -0
  298. package/dist/esm/package.json +3 -0
  299. package/dist/esm/signaling/signalingClient.d.ts +6 -0
  300. package/dist/esm/signaling/signalingClient.d.ts.map +1 -0
  301. package/dist/esm/signaling/signalingClient.js +7 -0
  302. package/dist/esm/signaling/signalingClient.js.map +1 -0
  303. package/dist/esm/signaling/signalingClientOptions.d.ts +6 -0
  304. package/dist/esm/signaling/signalingClientOptions.d.ts.map +1 -0
  305. package/dist/esm/signaling/signalingClientOptions.js +4 -0
  306. package/dist/esm/signaling/signalingClientOptions.js.map +1 -0
  307. package/dist/esm/xhrHttpClient.d.ts +17 -0
  308. package/dist/esm/xhrHttpClient.d.ts.map +1 -0
  309. package/dist/esm/xhrHttpClient.js +186 -0
  310. package/dist/esm/xhrHttpClient.js.map +1 -0
  311. package/dist/react-native/chatClient.d.ts +225 -0
  312. package/dist/react-native/chatClient.d.ts.map +1 -0
  313. package/dist/react-native/chatClient.js +246 -0
  314. package/dist/react-native/chatClient.js.map +1 -0
  315. package/dist/react-native/chatThreadClient.d.ts +142 -0
  316. package/dist/react-native/chatThreadClient.d.ts.map +1 -0
  317. package/dist/react-native/chatThreadClient.js +459 -0
  318. package/dist/react-native/chatThreadClient.js.map +1 -0
  319. package/dist/react-native/credential/communicationTokenCredentialPolicy.d.ts +9 -0
  320. package/dist/react-native/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
  321. package/dist/react-native/credential/communicationTokenCredentialPolicy.js +18 -0
  322. package/dist/react-native/credential/communicationTokenCredentialPolicy.js.map +1 -0
  323. package/dist/react-native/generated/src/chatApiClient.d.ts +18 -0
  324. package/dist/react-native/generated/src/chatApiClient.d.ts.map +1 -0
  325. package/dist/react-native/generated/src/chatApiClient.js +70 -0
  326. package/dist/react-native/generated/src/chatApiClient.js.map +1 -0
  327. package/dist/react-native/generated/src/index.d.ts +4 -0
  328. package/dist/react-native/generated/src/index.d.ts.map +1 -0
  329. package/dist/react-native/generated/src/index.js +11 -0
  330. package/dist/react-native/generated/src/index.js.map +1 -0
  331. package/dist/react-native/generated/src/models/index.d.ts +579 -0
  332. package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
  333. package/dist/react-native/generated/src/models/index.js +40 -0
  334. package/dist/react-native/generated/src/models/index.js.map +1 -0
  335. package/dist/react-native/generated/src/models/mappers.d.ts +44 -0
  336. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
  337. package/dist/react-native/generated/src/models/mappers.js +1109 -0
  338. package/dist/react-native/generated/src/models/mappers.js.map +1 -0
  339. package/dist/react-native/generated/src/models/parameters.d.ts +29 -0
  340. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
  341. package/dist/react-native/generated/src/models/parameters.js +235 -0
  342. package/dist/react-native/generated/src/models/parameters.js.map +1 -0
  343. package/dist/react-native/generated/src/operations/chat.d.ts +36 -0
  344. package/dist/react-native/generated/src/operations/chat.d.ts.map +1 -0
  345. package/dist/react-native/generated/src/operations/chat.js +186 -0
  346. package/dist/react-native/generated/src/operations/chat.js.map +1 -0
  347. package/dist/react-native/generated/src/operations/chatThread.d.ts +144 -0
  348. package/dist/react-native/generated/src/operations/chatThread.d.ts.map +1 -0
  349. package/dist/react-native/generated/src/operations/chatThread.js +793 -0
  350. package/dist/react-native/generated/src/operations/chatThread.js.map +1 -0
  351. package/dist/react-native/generated/src/operations/index.d.ts +3 -0
  352. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
  353. package/dist/react-native/generated/src/operations/index.js +10 -0
  354. package/dist/react-native/generated/src/operations/index.js.map +1 -0
  355. package/dist/react-native/generated/src/operationsInterfaces/chat.d.ts +28 -0
  356. package/dist/react-native/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
  357. package/dist/react-native/generated/src/operationsInterfaces/chat.js +9 -0
  358. package/dist/react-native/generated/src/operationsInterfaces/chat.js.map +1 -0
  359. package/dist/react-native/generated/src/operationsInterfaces/chatThread.d.ts +136 -0
  360. package/dist/react-native/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
  361. package/dist/react-native/generated/src/operationsInterfaces/chatThread.js +9 -0
  362. package/dist/react-native/generated/src/operationsInterfaces/chatThread.js.map +1 -0
  363. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +3 -0
  364. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  365. package/dist/react-native/generated/src/operationsInterfaces/index.js +10 -0
  366. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
  367. package/dist/react-native/generated/src/tracing.d.ts +2 -0
  368. package/dist/react-native/generated/src/tracing.d.ts.map +1 -0
  369. package/dist/react-native/generated/src/tracing.js +14 -0
  370. package/dist/react-native/generated/src/tracing.js.map +1 -0
  371. package/dist/react-native/index.d.ts +7 -0
  372. package/dist/react-native/index.d.ts.map +1 -0
  373. package/dist/react-native/index.js +9 -0
  374. package/dist/react-native/index.js.map +1 -0
  375. package/dist/react-native/models/events.d.ts +4 -0
  376. package/dist/react-native/models/events.d.ts.map +1 -0
  377. package/dist/react-native/models/events.js +4 -0
  378. package/dist/react-native/models/events.js.map +1 -0
  379. package/dist/react-native/models/logger.d.ts +2 -0
  380. package/dist/react-native/models/logger.d.ts.map +1 -0
  381. package/dist/react-native/models/logger.js +5 -0
  382. package/dist/react-native/models/logger.js.map +1 -0
  383. package/dist/react-native/models/mappers.d.ts +79 -0
  384. package/dist/react-native/models/mappers.d.ts.map +1 -0
  385. package/dist/react-native/models/mappers.js +184 -0
  386. package/dist/react-native/models/mappers.js.map +1 -0
  387. package/dist/react-native/models/models.d.ts +153 -0
  388. package/dist/react-native/models/models.d.ts.map +1 -0
  389. package/dist/react-native/models/models.js +4 -0
  390. package/dist/react-native/models/models.js.map +1 -0
  391. package/dist/react-native/models/options.d.ts +135 -0
  392. package/dist/react-native/models/options.d.ts.map +1 -0
  393. package/dist/react-native/models/options.js +2 -0
  394. package/dist/react-native/models/options.js.map +1 -0
  395. package/dist/react-native/models/requests.d.ts +18 -0
  396. package/dist/react-native/models/requests.d.ts.map +1 -0
  397. package/dist/react-native/models/requests.js +4 -0
  398. package/dist/react-native/models/requests.js.map +1 -0
  399. package/dist/react-native/models/uuid.d.ts +8 -0
  400. package/dist/react-native/models/uuid.d.ts.map +1 -0
  401. package/dist/react-native/models/uuid.js +13 -0
  402. package/dist/react-native/models/uuid.js.map +1 -0
  403. package/dist/react-native/package.json +3 -0
  404. package/dist/react-native/signaling/signalingClient-react-native.d.mts.map +1 -0
  405. package/dist/react-native/signaling/signalingClient-react-native.mjs.map +1 -0
  406. package/dist/react-native/signaling/signalingClient.d.ts +6 -0
  407. package/dist/react-native/signaling/signalingClient.js +13 -0
  408. package/dist/react-native/signaling/signalingClientOptions.d.ts +6 -0
  409. package/dist/react-native/signaling/signalingClientOptions.d.ts.map +1 -0
  410. package/dist/react-native/signaling/signalingClientOptions.js +4 -0
  411. package/dist/react-native/signaling/signalingClientOptions.js.map +1 -0
  412. package/dist/react-native/xhrHttpClient.d.ts +17 -0
  413. package/dist/react-native/xhrHttpClient.d.ts.map +1 -0
  414. package/dist/react-native/xhrHttpClient.js +186 -0
  415. package/dist/react-native/xhrHttpClient.js.map +1 -0
  416. package/package.json +77 -64
  417. package/dist/index.js +0 -3560
  418. package/dist/index.js.map +0 -1
  419. package/dist-esm/src/chatClient.js.map +0 -1
  420. package/dist-esm/src/chatThreadClient.js.map +0 -1
  421. package/dist-esm/src/credential/communicationTokenCredentialPolicy.js.map +0 -1
  422. package/dist-esm/src/generated/src/chatApiClient.js.map +0 -1
  423. package/dist-esm/src/generated/src/index.js.map +0 -1
  424. package/dist-esm/src/generated/src/models/parameters.js.map +0 -1
  425. package/dist-esm/src/generated/src/operations/chat.js.map +0 -1
  426. package/dist-esm/src/generated/src/operations/chatThread.js.map +0 -1
  427. package/dist-esm/src/generated/src/operations/index.js.map +0 -1
  428. package/dist-esm/src/generated/src/operationsInterfaces/chat.js.map +0 -1
  429. package/dist-esm/src/generated/src/operationsInterfaces/chatThread.js.map +0 -1
  430. package/dist-esm/src/generated/src/operationsInterfaces/index.js.map +0 -1
  431. package/dist-esm/src/index.js +0 -9
  432. package/dist-esm/src/index.js.map +0 -1
  433. package/dist-esm/src/models/events.js +0 -4
  434. package/dist-esm/src/models/events.js.map +0 -1
  435. package/dist-esm/src/models/mappers.js.map +0 -1
  436. package/dist-esm/src/models/models.js +0 -4
  437. package/dist-esm/src/models/models.js.map +0 -1
  438. package/dist-esm/src/models/options.js.map +0 -1
  439. package/dist-esm/src/models/requests.js +0 -4
  440. package/dist-esm/src/models/requests.js.map +0 -1
  441. package/dist-esm/src/models/uuid.js.map +0 -1
  442. package/dist-esm/src/signaling/signalingClient.browser.js +0 -12
  443. package/dist-esm/src/signaling/signalingClient.browser.js.map +0 -1
  444. package/dist-esm/src/signaling/signalingClient.js +0 -17
  445. package/dist-esm/src/signaling/signalingClient.js.map +0 -1
  446. package/dist-esm/src/xhrHttpClient.js.map +0 -1
  447. package/types/communication-chat.d.ts +0 -803
  448. /package/{dist-esm/src → dist/browser}/generated/src/models/index.js +0 -0
  449. /package/{dist-esm/src → dist/browser}/generated/src/models/index.js.map +0 -0
  450. /package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js +0 -0
  451. /package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js.map +0 -0
  452. /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/chat.js +0 -0
  453. /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/chatThread.js +0 -0
  454. /package/{dist-esm/src → dist/browser}/models/options.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatThread.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/chatThread.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM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;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;YAC9C,OAAO,EAAE,IAAI;SACd;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;YAC9C,OAAO,EAAE,IAAI;SACd;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;YAC9C,OAAO,EAAE,IAAI;SACd;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;YAC9C,OAAO,EAAE,IAAI;SACd;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { tracingClient } from \"../tracing.js\";\nimport { ChatThread } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ChatApiClient } from \"../chatApiClient.js\";\nimport {\n ChatThreadListChatReadReceiptsOptionalParams,\n ChatThreadListChatReadReceiptsResponse,\n SendReadReceiptRequest,\n ChatThreadSendChatReadReceiptOptionalParams,\n SendChatMessageRequest,\n ChatThreadSendChatMessageOptionalParams,\n ChatThreadSendChatMessageResponse,\n ChatThreadListChatMessagesOptionalParams,\n ChatThreadListChatMessagesResponse,\n ChatThreadGetChatMessageOptionalParams,\n ChatThreadGetChatMessageResponse,\n UpdateChatMessageRequest,\n ChatThreadUpdateChatMessageOptionalParams,\n ChatThreadDeleteChatMessageOptionalParams,\n ChatThreadListChatParticipantsOptionalParams,\n ChatThreadListChatParticipantsResponse,\n CommunicationIdentifierModel,\n ChatThreadRemoveChatParticipantOptionalParams,\n AddChatParticipantsRequest,\n ChatThreadAddChatParticipantsOptionalParams,\n ChatThreadAddChatParticipantsResponse,\n UpdateChatThreadRequest,\n ChatThreadUpdateChatThreadPropertiesOptionalParams,\n ChatThreadGetChatThreadPropertiesOptionalParams,\n ChatThreadGetChatThreadPropertiesResponse,\n ChatThreadSendTypingNotificationOptionalParams,\n ChatThreadUploadChatImageOptionalParams,\n ChatThreadUploadChatImageResponse,\n ImageViewType,\n ChatThreadGetChatImageOptionalParams,\n ChatThreadGetChatImageResponse,\n ChatThreadDeleteChatImageOptionalParams,\n ChatThreadListChatReadReceiptsNextOptionalParams,\n ChatThreadListChatReadReceiptsNextResponse,\n ChatThreadListChatMessagesNextOptionalParams,\n ChatThreadListChatMessagesNextResponse,\n ChatThreadListChatParticipantsNextOptionalParams,\n ChatThreadListChatParticipantsNextResponse,\n} from \"../models/index.js\";\n\n/** Class containing ChatThread operations. */\nexport class ChatThreadImpl implements ChatThread {\n private readonly client: ChatApiClient;\n\n /**\n * Initialize a new instance of the class ChatThread class.\n * @param client Reference to the service client\n */\n constructor(client: ChatApiClient) {\n this.client = client;\n }\n\n /**\n * Gets chat message read receipts for a thread.\n * @param chatThreadId Thread id to get the chat message read receipts for.\n * @param options The options parameters.\n */\n async listChatReadReceipts(\n chatThreadId: string,\n options?: ChatThreadListChatReadReceiptsOptionalParams,\n ): Promise<ChatThreadListChatReadReceiptsResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.listChatReadReceipts\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, options },\n listChatReadReceiptsOperationSpec,\n ) as Promise<ChatThreadListChatReadReceiptsResponse>;\n },\n );\n }\n\n /**\n * Sends a read receipt event to a thread, on behalf of a user.\n * @param chatThreadId Thread id to send the read receipt event to.\n * @param sendReadReceiptRequest Read receipt details.\n * @param options The options parameters.\n */\n async sendChatReadReceipt(\n chatThreadId: string,\n sendReadReceiptRequest: SendReadReceiptRequest,\n options?: ChatThreadSendChatReadReceiptOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ChatApiClient.sendChatReadReceipt\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, sendReadReceiptRequest, options },\n sendChatReadReceiptOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Sends a message to a thread.\n * @param chatThreadId The thread id to send the message to.\n * @param sendChatMessageRequest Details of the message to send.\n * @param options The options parameters.\n */\n async sendChatMessage(\n chatThreadId: string,\n sendChatMessageRequest: SendChatMessageRequest,\n options?: ChatThreadSendChatMessageOptionalParams,\n ): Promise<ChatThreadSendChatMessageResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.sendChatMessage\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, sendChatMessageRequest, options },\n sendChatMessageOperationSpec,\n ) as Promise<ChatThreadSendChatMessageResponse>;\n },\n );\n }\n\n /**\n * Gets a list of messages from a thread.\n * @param chatThreadId The thread id of the message.\n * @param options The options parameters.\n */\n async listChatMessages(\n chatThreadId: string,\n options?: ChatThreadListChatMessagesOptionalParams,\n ): Promise<ChatThreadListChatMessagesResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.listChatMessages\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, options },\n listChatMessagesOperationSpec,\n ) as Promise<ChatThreadListChatMessagesResponse>;\n },\n );\n }\n\n /**\n * Gets a message by id.\n * @param chatThreadId The thread id to which the message was sent.\n * @param chatMessageId The message id.\n * @param options The options parameters.\n */\n async getChatMessage(\n chatThreadId: string,\n chatMessageId: string,\n options?: ChatThreadGetChatMessageOptionalParams,\n ): Promise<ChatThreadGetChatMessageResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.getChatMessage\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, chatMessageId, options },\n getChatMessageOperationSpec,\n ) as Promise<ChatThreadGetChatMessageResponse>;\n },\n );\n }\n\n /**\n * Updates a message.\n * @param chatThreadId The thread id to which the message was sent.\n * @param chatMessageId The message id.\n * @param updateChatMessageRequest Details of the request to update the message.\n * @param options The options parameters.\n */\n async updateChatMessage(\n chatThreadId: string,\n chatMessageId: string,\n updateChatMessageRequest: UpdateChatMessageRequest,\n options?: ChatThreadUpdateChatMessageOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ChatApiClient.updateChatMessage\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, chatMessageId, updateChatMessageRequest, options },\n updateChatMessageOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Deletes a message.\n * @param chatThreadId The thread id to which the message was sent.\n * @param chatMessageId The message id.\n * @param options The options parameters.\n */\n async deleteChatMessage(\n chatThreadId: string,\n chatMessageId: string,\n options?: ChatThreadDeleteChatMessageOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ChatApiClient.deleteChatMessage\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, chatMessageId, options },\n deleteChatMessageOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Gets the participants of a thread.\n * @param chatThreadId Thread id to get participants for.\n * @param options The options parameters.\n */\n async listChatParticipants(\n chatThreadId: string,\n options?: ChatThreadListChatParticipantsOptionalParams,\n ): Promise<ChatThreadListChatParticipantsResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.listChatParticipants\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, options },\n listChatParticipantsOperationSpec,\n ) as Promise<ChatThreadListChatParticipantsResponse>;\n },\n );\n }\n\n /**\n * Remove a participant from a thread.\n * @param chatThreadId Thread id to remove the participant from.\n * @param participantCommunicationIdentifier Id of the thread participant to remove from the thread.\n * @param options The options parameters.\n */\n async removeChatParticipant(\n chatThreadId: string,\n participantCommunicationIdentifier: CommunicationIdentifierModel,\n options?: ChatThreadRemoveChatParticipantOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ChatApiClient.removeChatParticipant\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, participantCommunicationIdentifier, options },\n removeChatParticipantOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Adds thread participants to a thread. If participants already exist, no change occurs.\n * @param chatThreadId Id of the thread to add participants to.\n * @param addChatParticipantsRequest Thread participants to be added to the thread.\n * @param options The options parameters.\n */\n async addChatParticipants(\n chatThreadId: string,\n addChatParticipantsRequest: AddChatParticipantsRequest,\n options?: ChatThreadAddChatParticipantsOptionalParams,\n ): Promise<ChatThreadAddChatParticipantsResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.addChatParticipants\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, addChatParticipantsRequest, options },\n addChatParticipantsOperationSpec,\n ) as Promise<ChatThreadAddChatParticipantsResponse>;\n },\n );\n }\n\n /**\n * Updates a thread's properties.\n * @param chatThreadId The id of the thread to update.\n * @param updateChatThreadRequest Request payload for updating a chat thread.\n * @param options The options parameters.\n */\n async updateChatThreadProperties(\n chatThreadId: string,\n updateChatThreadRequest: UpdateChatThreadRequest,\n options?: ChatThreadUpdateChatThreadPropertiesOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ChatApiClient.updateChatThreadProperties\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, updateChatThreadRequest, options },\n updateChatThreadPropertiesOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Gets a chat thread's properties.\n * @param chatThreadId Id of the thread.\n * @param options The options parameters.\n */\n async getChatThreadProperties(\n chatThreadId: string,\n options?: ChatThreadGetChatThreadPropertiesOptionalParams,\n ): Promise<ChatThreadGetChatThreadPropertiesResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.getChatThreadProperties\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, options },\n getChatThreadPropertiesOperationSpec,\n ) as Promise<ChatThreadGetChatThreadPropertiesResponse>;\n },\n );\n }\n\n /**\n * Posts a typing event to a thread, on behalf of a user.\n * @param chatThreadId Id of the thread.\n * @param options The options parameters.\n */\n async sendTypingNotification(\n chatThreadId: string,\n options?: ChatThreadSendTypingNotificationOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ChatApiClient.sendTypingNotification\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, options },\n sendTypingNotificationOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Upload an image in a thread, on behalf of a user.\n * @param chatThreadId Thread id where the uploaded image belongs to. (Teams meeting only)\n * @param chatImageFile Image binary data, allowed image formats: jpeg, png, gif, heic, webp\n * @param options The options parameters.\n */\n async uploadChatImage(\n chatThreadId: string,\n chatImageFile: coreRestPipeline.RequestBodyType,\n options?: ChatThreadUploadChatImageOptionalParams,\n ): Promise<ChatThreadUploadChatImageResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.uploadChatImage\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, chatImageFile, options },\n uploadChatImageOperationSpec,\n ) as Promise<ChatThreadUploadChatImageResponse>;\n },\n );\n }\n\n /**\n * Get an image by view type.\n * @param chatThreadId The thread id to which the message was sent.\n * @param imageId The image id.\n * @param imageViewType The view type of image.\n * @param options The options parameters.\n */\n async getChatImage(\n chatThreadId: string,\n imageId: string,\n imageViewType: ImageViewType,\n options?: ChatThreadGetChatImageOptionalParams,\n ): Promise<ChatThreadGetChatImageResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.getChatImage\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, imageId, imageViewType, options },\n getChatImageOperationSpec,\n ) as Promise<ChatThreadGetChatImageResponse>;\n },\n );\n }\n\n /**\n * Deletes a image.\n * @param chatThreadId The thread id to which the message was sent.\n * @param imageId The image id.\n * @param options The options parameters.\n */\n async deleteChatImage(\n chatThreadId: string,\n imageId: string,\n options?: ChatThreadDeleteChatImageOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ChatApiClient.deleteChatImage\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, imageId, options },\n deleteChatImageOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * ListChatReadReceiptsNext\n * @param chatThreadId Thread id to get the chat message read receipts for.\n * @param nextLink The nextLink from the previous successful call to the ListChatReadReceipts method.\n * @param options The options parameters.\n */\n async listChatReadReceiptsNext(\n chatThreadId: string,\n nextLink: string,\n options?: ChatThreadListChatReadReceiptsNextOptionalParams,\n ): Promise<ChatThreadListChatReadReceiptsNextResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.listChatReadReceiptsNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, nextLink, options },\n listChatReadReceiptsNextOperationSpec,\n ) as Promise<ChatThreadListChatReadReceiptsNextResponse>;\n },\n );\n }\n\n /**\n * ListChatMessagesNext\n * @param chatThreadId The thread id of the message.\n * @param nextLink The nextLink from the previous successful call to the ListChatMessages method.\n * @param options The options parameters.\n */\n async listChatMessagesNext(\n chatThreadId: string,\n nextLink: string,\n options?: ChatThreadListChatMessagesNextOptionalParams,\n ): Promise<ChatThreadListChatMessagesNextResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.listChatMessagesNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, nextLink, options },\n listChatMessagesNextOperationSpec,\n ) as Promise<ChatThreadListChatMessagesNextResponse>;\n },\n );\n }\n\n /**\n * ListChatParticipantsNext\n * @param chatThreadId Thread id to get participants for.\n * @param nextLink The nextLink from the previous successful call to the ListChatParticipants method.\n * @param options The options parameters.\n */\n async listChatParticipantsNext(\n chatThreadId: string,\n nextLink: string,\n options?: ChatThreadListChatParticipantsNextOptionalParams,\n ): Promise<ChatThreadListChatParticipantsNextResponse> {\n return tracingClient.withSpan(\n \"ChatApiClient.listChatParticipantsNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { chatThreadId, nextLink, options },\n listChatParticipantsNextOperationSpec,\n ) as Promise<ChatThreadListChatParticipantsNextResponse>;\n },\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listChatReadReceiptsOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/readReceipts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChatMessageReadReceiptsCollection,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n queryParameters: [\n Parameters.maxPageSize,\n Parameters.skip,\n Parameters.apiVersion,\n ],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst sendChatReadReceiptOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/readReceipts\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n requestBody: Parameters.sendReadReceiptRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst sendChatMessageOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/messages\",\n httpMethod: \"POST\",\n responses: {\n 201: {\n bodyMapper: Mappers.SendChatMessageResult,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n requestBody: Parameters.sendChatMessageRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listChatMessagesOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/messages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChatMessagesCollection,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n queryParameters: [\n Parameters.maxPageSize,\n Parameters.apiVersion,\n Parameters.startTime,\n ],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getChatMessageOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/messages/{chatMessageId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChatMessage,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.chatThreadId,\n Parameters.chatMessageId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateChatMessageOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/messages/{chatMessageId}\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {},\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n requestBody: Parameters.updateChatMessageRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.chatThreadId,\n Parameters.chatMessageId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType1],\n mediaType: \"json\",\n serializer,\n};\nconst deleteChatMessageOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/messages/{chatMessageId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.chatThreadId,\n Parameters.chatMessageId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listChatParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/participants\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChatParticipantsCollection,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n queryParameters: [\n Parameters.maxPageSize,\n Parameters.skip,\n Parameters.apiVersion,\n ],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst removeChatParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/participants/:remove\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n requestBody: Parameters.participantCommunicationIdentifier,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst addChatParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/participants/:add\",\n httpMethod: \"POST\",\n responses: {\n 201: {\n bodyMapper: Mappers.AddChatParticipantsResult,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n requestBody: Parameters.addChatParticipantsRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateChatThreadPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {},\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n requestBody: Parameters.updateChatThreadRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept, Parameters.contentType1],\n mediaType: \"json\",\n serializer,\n};\nconst getChatThreadPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChatThreadProperties,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst sendTypingNotificationOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/typing\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n requestBody: Parameters.sendTypingNotificationRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst uploadChatImageOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/images\",\n httpMethod: \"POST\",\n responses: {\n 201: {\n bodyMapper: Mappers.UploadChatImageResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.chatImageFile,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.chatThreadId],\n headerParameters: [\n Parameters.contentType2,\n Parameters.accept1,\n Parameters.imageFilename,\n ],\n mediaType: \"binary\",\n serializer,\n};\nconst getChatImageOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/images/{imageId}/view/{imageViewType}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\",\n },\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.chatThreadId,\n Parameters.imageId,\n Parameters.imageViewType,\n ],\n headerParameters: [Parameters.accept2],\n serializer,\n};\nconst deleteChatImageOperationSpec: coreClient.OperationSpec = {\n path: \"/chat/threads/{chatThreadId}/images/{imageId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.chatThreadId,\n Parameters.imageId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listChatReadReceiptsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChatMessageReadReceiptsCollection,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n urlParameters: [\n Parameters.endpoint,\n Parameters.chatThreadId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listChatMessagesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChatMessagesCollection,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n urlParameters: [\n Parameters.endpoint,\n Parameters.chatThreadId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listChatParticipantsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChatParticipantsCollection,\n },\n 401: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 403: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 429: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n 503: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n isError: true,\n },\n },\n urlParameters: [\n Parameters.endpoint,\n Parameters.chatThreadId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./chatThread.js";
2
+ export * from "./chat.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./chatThread.js";
9
+ export * from "./chat.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./chatThread.js\";\nexport * from \"./chat.js\";\n"]}
@@ -0,0 +1,28 @@
1
+ import { CreateChatThreadRequest, ChatCreateChatThreadOptionalParams, ChatCreateChatThreadResponse, ChatListChatThreadsOptionalParams, ChatListChatThreadsResponse, ChatDeleteChatThreadOptionalParams, ChatListChatThreadsNextOptionalParams, ChatListChatThreadsNextResponse } from "../models/index.js";
2
+ /** Interface representing a Chat. */
3
+ export interface Chat {
4
+ /**
5
+ * Creates a chat thread.
6
+ * @param createChatThreadRequest Request payload for creating a chat thread.
7
+ * @param options The options parameters.
8
+ */
9
+ createChatThread(createChatThreadRequest: CreateChatThreadRequest, options?: ChatCreateChatThreadOptionalParams): Promise<ChatCreateChatThreadResponse>;
10
+ /**
11
+ * Gets the list of chat threads of a user.
12
+ * @param options The options parameters.
13
+ */
14
+ listChatThreads(options?: ChatListChatThreadsOptionalParams): Promise<ChatListChatThreadsResponse>;
15
+ /**
16
+ * Deletes a thread.
17
+ * @param chatThreadId Id of the thread to be deleted.
18
+ * @param options The options parameters.
19
+ */
20
+ deleteChatThread(chatThreadId: string, options?: ChatDeleteChatThreadOptionalParams): Promise<void>;
21
+ /**
22
+ * ListChatThreadsNext
23
+ * @param nextLink The nextLink from the previous successful call to the ListChatThreads method.
24
+ * @param options The options parameters.
25
+ */
26
+ listChatThreadsNext(nextLink: string, options?: ChatListChatThreadsNextOptionalParams): Promise<ChatListChatThreadsNextResponse>;
27
+ }
28
+ //# sourceMappingURL=chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/chat.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,4BAA4B,EAC5B,iCAAiC,EACjC,2BAA2B,EAC3B,kCAAkC,EAClC,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAE5B,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;;OAIG;IACH,gBAAgB,CACd,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;OAGG;IACH,eAAe,CACb,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;OAIG;IACH,gBAAgB,CACd,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;CAC7C"}
@@ -5,6 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./chatThread";
9
- export * from "./chat";
10
- //# sourceMappingURL=index.js.map
8
+ export {};
9
+ //# sourceMappingURL=chat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/chat.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n CreateChatThreadRequest,\n ChatCreateChatThreadOptionalParams,\n ChatCreateChatThreadResponse,\n ChatListChatThreadsOptionalParams,\n ChatListChatThreadsResponse,\n ChatDeleteChatThreadOptionalParams,\n ChatListChatThreadsNextOptionalParams,\n ChatListChatThreadsNextResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Chat. */\nexport interface Chat {\n /**\n * Creates a chat thread.\n * @param createChatThreadRequest Request payload for creating a chat thread.\n * @param options The options parameters.\n */\n createChatThread(\n createChatThreadRequest: CreateChatThreadRequest,\n options?: ChatCreateChatThreadOptionalParams,\n ): Promise<ChatCreateChatThreadResponse>;\n /**\n * Gets the list of chat threads of a user.\n * @param options The options parameters.\n */\n listChatThreads(\n options?: ChatListChatThreadsOptionalParams,\n ): Promise<ChatListChatThreadsResponse>;\n /**\n * Deletes a thread.\n * @param chatThreadId Id of the thread to be deleted.\n * @param options The options parameters.\n */\n deleteChatThread(\n chatThreadId: string,\n options?: ChatDeleteChatThreadOptionalParams,\n ): Promise<void>;\n /**\n * ListChatThreadsNext\n * @param nextLink The nextLink from the previous successful call to the ListChatThreads method.\n * @param options The options parameters.\n */\n listChatThreadsNext(\n nextLink: string,\n options?: ChatListChatThreadsNextOptionalParams,\n ): Promise<ChatListChatThreadsNextResponse>;\n}\n"]}
@@ -0,0 +1,136 @@
1
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
2
+ import { ChatThreadListChatReadReceiptsOptionalParams, ChatThreadListChatReadReceiptsResponse, SendReadReceiptRequest, ChatThreadSendChatReadReceiptOptionalParams, SendChatMessageRequest, ChatThreadSendChatMessageOptionalParams, ChatThreadSendChatMessageResponse, ChatThreadListChatMessagesOptionalParams, ChatThreadListChatMessagesResponse, ChatThreadGetChatMessageOptionalParams, ChatThreadGetChatMessageResponse, UpdateChatMessageRequest, ChatThreadUpdateChatMessageOptionalParams, ChatThreadDeleteChatMessageOptionalParams, ChatThreadListChatParticipantsOptionalParams, ChatThreadListChatParticipantsResponse, CommunicationIdentifierModel, ChatThreadRemoveChatParticipantOptionalParams, AddChatParticipantsRequest, ChatThreadAddChatParticipantsOptionalParams, ChatThreadAddChatParticipantsResponse, UpdateChatThreadRequest, ChatThreadUpdateChatThreadPropertiesOptionalParams, ChatThreadGetChatThreadPropertiesOptionalParams, ChatThreadGetChatThreadPropertiesResponse, ChatThreadSendTypingNotificationOptionalParams, ChatThreadUploadChatImageOptionalParams, ChatThreadUploadChatImageResponse, ImageViewType, ChatThreadGetChatImageOptionalParams, ChatThreadGetChatImageResponse, ChatThreadDeleteChatImageOptionalParams, ChatThreadListChatReadReceiptsNextOptionalParams, ChatThreadListChatReadReceiptsNextResponse, ChatThreadListChatMessagesNextOptionalParams, ChatThreadListChatMessagesNextResponse, ChatThreadListChatParticipantsNextOptionalParams, ChatThreadListChatParticipantsNextResponse } from "../models/index.js";
3
+ /** Interface representing a ChatThread. */
4
+ export interface ChatThread {
5
+ /**
6
+ * Gets chat message read receipts for a thread.
7
+ * @param chatThreadId Thread id to get the chat message read receipts for.
8
+ * @param options The options parameters.
9
+ */
10
+ listChatReadReceipts(chatThreadId: string, options?: ChatThreadListChatReadReceiptsOptionalParams): Promise<ChatThreadListChatReadReceiptsResponse>;
11
+ /**
12
+ * Sends a read receipt event to a thread, on behalf of a user.
13
+ * @param chatThreadId Thread id to send the read receipt event to.
14
+ * @param sendReadReceiptRequest Read receipt details.
15
+ * @param options The options parameters.
16
+ */
17
+ sendChatReadReceipt(chatThreadId: string, sendReadReceiptRequest: SendReadReceiptRequest, options?: ChatThreadSendChatReadReceiptOptionalParams): Promise<void>;
18
+ /**
19
+ * Sends a message to a thread.
20
+ * @param chatThreadId The thread id to send the message to.
21
+ * @param sendChatMessageRequest Details of the message to send.
22
+ * @param options The options parameters.
23
+ */
24
+ sendChatMessage(chatThreadId: string, sendChatMessageRequest: SendChatMessageRequest, options?: ChatThreadSendChatMessageOptionalParams): Promise<ChatThreadSendChatMessageResponse>;
25
+ /**
26
+ * Gets a list of messages from a thread.
27
+ * @param chatThreadId The thread id of the message.
28
+ * @param options The options parameters.
29
+ */
30
+ listChatMessages(chatThreadId: string, options?: ChatThreadListChatMessagesOptionalParams): Promise<ChatThreadListChatMessagesResponse>;
31
+ /**
32
+ * Gets a message by id.
33
+ * @param chatThreadId The thread id to which the message was sent.
34
+ * @param chatMessageId The message id.
35
+ * @param options The options parameters.
36
+ */
37
+ getChatMessage(chatThreadId: string, chatMessageId: string, options?: ChatThreadGetChatMessageOptionalParams): Promise<ChatThreadGetChatMessageResponse>;
38
+ /**
39
+ * Updates a message.
40
+ * @param chatThreadId The thread id to which the message was sent.
41
+ * @param chatMessageId The message id.
42
+ * @param updateChatMessageRequest Details of the request to update the message.
43
+ * @param options The options parameters.
44
+ */
45
+ updateChatMessage(chatThreadId: string, chatMessageId: string, updateChatMessageRequest: UpdateChatMessageRequest, options?: ChatThreadUpdateChatMessageOptionalParams): Promise<void>;
46
+ /**
47
+ * Deletes a message.
48
+ * @param chatThreadId The thread id to which the message was sent.
49
+ * @param chatMessageId The message id.
50
+ * @param options The options parameters.
51
+ */
52
+ deleteChatMessage(chatThreadId: string, chatMessageId: string, options?: ChatThreadDeleteChatMessageOptionalParams): Promise<void>;
53
+ /**
54
+ * Gets the participants of a thread.
55
+ * @param chatThreadId Thread id to get participants for.
56
+ * @param options The options parameters.
57
+ */
58
+ listChatParticipants(chatThreadId: string, options?: ChatThreadListChatParticipantsOptionalParams): Promise<ChatThreadListChatParticipantsResponse>;
59
+ /**
60
+ * Remove a participant from a thread.
61
+ * @param chatThreadId Thread id to remove the participant from.
62
+ * @param participantCommunicationIdentifier Id of the thread participant to remove from the thread.
63
+ * @param options The options parameters.
64
+ */
65
+ removeChatParticipant(chatThreadId: string, participantCommunicationIdentifier: CommunicationIdentifierModel, options?: ChatThreadRemoveChatParticipantOptionalParams): Promise<void>;
66
+ /**
67
+ * Adds thread participants to a thread. If participants already exist, no change occurs.
68
+ * @param chatThreadId Id of the thread to add participants to.
69
+ * @param addChatParticipantsRequest Thread participants to be added to the thread.
70
+ * @param options The options parameters.
71
+ */
72
+ addChatParticipants(chatThreadId: string, addChatParticipantsRequest: AddChatParticipantsRequest, options?: ChatThreadAddChatParticipantsOptionalParams): Promise<ChatThreadAddChatParticipantsResponse>;
73
+ /**
74
+ * Updates a thread's properties.
75
+ * @param chatThreadId The id of the thread to update.
76
+ * @param updateChatThreadRequest Request payload for updating a chat thread.
77
+ * @param options The options parameters.
78
+ */
79
+ updateChatThreadProperties(chatThreadId: string, updateChatThreadRequest: UpdateChatThreadRequest, options?: ChatThreadUpdateChatThreadPropertiesOptionalParams): Promise<void>;
80
+ /**
81
+ * Gets a chat thread's properties.
82
+ * @param chatThreadId Id of the thread.
83
+ * @param options The options parameters.
84
+ */
85
+ getChatThreadProperties(chatThreadId: string, options?: ChatThreadGetChatThreadPropertiesOptionalParams): Promise<ChatThreadGetChatThreadPropertiesResponse>;
86
+ /**
87
+ * Posts a typing event to a thread, on behalf of a user.
88
+ * @param chatThreadId Id of the thread.
89
+ * @param options The options parameters.
90
+ */
91
+ sendTypingNotification(chatThreadId: string, options?: ChatThreadSendTypingNotificationOptionalParams): Promise<void>;
92
+ /**
93
+ * Upload an image in a thread, on behalf of a user.
94
+ * @param chatThreadId Thread id where the uploaded image belongs to. (Teams meeting only)
95
+ * @param chatImageFile Image binary data, allowed image formats: jpeg, png, gif, heic, webp
96
+ * @param options The options parameters.
97
+ */
98
+ uploadChatImage(chatThreadId: string, chatImageFile: coreRestPipeline.RequestBodyType, options?: ChatThreadUploadChatImageOptionalParams): Promise<ChatThreadUploadChatImageResponse>;
99
+ /**
100
+ * Get an image by view type.
101
+ * @param chatThreadId The thread id to which the message was sent.
102
+ * @param imageId The image id.
103
+ * @param imageViewType The view type of image.
104
+ * @param options The options parameters.
105
+ */
106
+ getChatImage(chatThreadId: string, imageId: string, imageViewType: ImageViewType, options?: ChatThreadGetChatImageOptionalParams): Promise<ChatThreadGetChatImageResponse>;
107
+ /**
108
+ * Deletes a image.
109
+ * @param chatThreadId The thread id to which the message was sent.
110
+ * @param imageId The image id.
111
+ * @param options The options parameters.
112
+ */
113
+ deleteChatImage(chatThreadId: string, imageId: string, options?: ChatThreadDeleteChatImageOptionalParams): Promise<void>;
114
+ /**
115
+ * ListChatReadReceiptsNext
116
+ * @param chatThreadId Thread id to get the chat message read receipts for.
117
+ * @param nextLink The nextLink from the previous successful call to the ListChatReadReceipts method.
118
+ * @param options The options parameters.
119
+ */
120
+ listChatReadReceiptsNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatReadReceiptsNextOptionalParams): Promise<ChatThreadListChatReadReceiptsNextResponse>;
121
+ /**
122
+ * ListChatMessagesNext
123
+ * @param chatThreadId The thread id of the message.
124
+ * @param nextLink The nextLink from the previous successful call to the ListChatMessages method.
125
+ * @param options The options parameters.
126
+ */
127
+ listChatMessagesNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatMessagesNextOptionalParams): Promise<ChatThreadListChatMessagesNextResponse>;
128
+ /**
129
+ * ListChatParticipantsNext
130
+ * @param chatThreadId Thread id to get participants for.
131
+ * @param nextLink The nextLink from the previous successful call to the ListChatParticipants method.
132
+ * @param options The options parameters.
133
+ */
134
+ listChatParticipantsNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatParticipantsNextOptionalParams): Promise<ChatThreadListChatParticipantsNextResponse>;
135
+ }
136
+ //# sourceMappingURL=chatThread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatThread.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/chatThread.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EACL,4CAA4C,EAC5C,sCAAsC,EACtC,sBAAsB,EACtB,2CAA2C,EAC3C,sBAAsB,EACtB,uCAAuC,EACvC,iCAAiC,EACjC,wCAAwC,EACxC,kCAAkC,EAClC,sCAAsC,EACtC,gCAAgC,EAChC,wBAAwB,EACxB,yCAAyC,EACzC,yCAAyC,EACzC,4CAA4C,EAC5C,sCAAsC,EACtC,4BAA4B,EAC5B,6CAA6C,EAC7C,0BAA0B,EAC1B,2CAA2C,EAC3C,qCAAqC,EACrC,uBAAuB,EACvB,kDAAkD,EAClD,+CAA+C,EAC/C,yCAAyC,EACzC,8CAA8C,EAC9C,uCAAuC,EACvC,iCAAiC,EACjC,aAAa,EACb,oCAAoC,EACpC,8BAA8B,EAC9B,uCAAuC,EACvC,gDAAgD,EAChD,0CAA0C,EAC1C,4CAA4C,EAC5C,sCAAsC,EACtC,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,oBAAoB,CAClB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;OAKG;IACH,mBAAmB,CACjB,YAAY,EAAE,MAAM,EACpB,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,CAAC,EAAE,2CAA2C,GACpD,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AChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
@@ -5,6 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./chatThread";
9
- export * from "./chat";
10
- //# sourceMappingURL=index.js.map
8
+ export {};
9
+ //# sourceMappingURL=chatThread.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatThread.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/chatThread.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n ChatThreadListChatReadReceiptsOptionalParams,\n ChatThreadListChatReadReceiptsResponse,\n SendReadReceiptRequest,\n ChatThreadSendChatReadReceiptOptionalParams,\n SendChatMessageRequest,\n ChatThreadSendChatMessageOptionalParams,\n ChatThreadSendChatMessageResponse,\n ChatThreadListChatMessagesOptionalParams,\n ChatThreadListChatMessagesResponse,\n ChatThreadGetChatMessageOptionalParams,\n ChatThreadGetChatMessageResponse,\n UpdateChatMessageRequest,\n ChatThreadUpdateChatMessageOptionalParams,\n ChatThreadDeleteChatMessageOptionalParams,\n ChatThreadListChatParticipantsOptionalParams,\n ChatThreadListChatParticipantsResponse,\n CommunicationIdentifierModel,\n ChatThreadRemoveChatParticipantOptionalParams,\n AddChatParticipantsRequest,\n ChatThreadAddChatParticipantsOptionalParams,\n ChatThreadAddChatParticipantsResponse,\n UpdateChatThreadRequest,\n ChatThreadUpdateChatThreadPropertiesOptionalParams,\n ChatThreadGetChatThreadPropertiesOptionalParams,\n ChatThreadGetChatThreadPropertiesResponse,\n ChatThreadSendTypingNotificationOptionalParams,\n ChatThreadUploadChatImageOptionalParams,\n ChatThreadUploadChatImageResponse,\n ImageViewType,\n ChatThreadGetChatImageOptionalParams,\n ChatThreadGetChatImageResponse,\n ChatThreadDeleteChatImageOptionalParams,\n ChatThreadListChatReadReceiptsNextOptionalParams,\n ChatThreadListChatReadReceiptsNextResponse,\n ChatThreadListChatMessagesNextOptionalParams,\n ChatThreadListChatMessagesNextResponse,\n ChatThreadListChatParticipantsNextOptionalParams,\n ChatThreadListChatParticipantsNextResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a ChatThread. */\nexport interface ChatThread {\n /**\n * Gets chat message read receipts for a thread.\n * @param chatThreadId Thread id to get the chat message read receipts for.\n * @param options The options parameters.\n */\n listChatReadReceipts(\n chatThreadId: string,\n options?: ChatThreadListChatReadReceiptsOptionalParams,\n ): Promise<ChatThreadListChatReadReceiptsResponse>;\n /**\n * Sends a read receipt event to a thread, on behalf of a user.\n * @param chatThreadId Thread id to send the read receipt event to.\n * @param sendReadReceiptRequest Read receipt details.\n * @param options The options parameters.\n */\n sendChatReadReceipt(\n chatThreadId: string,\n sendReadReceiptRequest: SendReadReceiptRequest,\n options?: ChatThreadSendChatReadReceiptOptionalParams,\n ): Promise<void>;\n /**\n * Sends a message to a thread.\n * @param chatThreadId The thread id to send the message to.\n * @param sendChatMessageRequest Details of the message to send.\n * @param options The options parameters.\n */\n sendChatMessage(\n chatThreadId: string,\n sendChatMessageRequest: SendChatMessageRequest,\n options?: ChatThreadSendChatMessageOptionalParams,\n ): Promise<ChatThreadSendChatMessageResponse>;\n /**\n * Gets a list of messages from a thread.\n * @param chatThreadId The thread id of the message.\n * @param options The options parameters.\n */\n listChatMessages(\n chatThreadId: string,\n options?: ChatThreadListChatMessagesOptionalParams,\n ): Promise<ChatThreadListChatMessagesResponse>;\n /**\n * Gets a message by id.\n * @param chatThreadId The thread id to which the message was sent.\n * @param chatMessageId The message id.\n * @param options The options parameters.\n */\n getChatMessage(\n chatThreadId: string,\n chatMessageId: string,\n options?: ChatThreadGetChatMessageOptionalParams,\n ): Promise<ChatThreadGetChatMessageResponse>;\n /**\n * Updates a message.\n * @param chatThreadId The thread id to which the message was sent.\n * @param chatMessageId The message id.\n * @param updateChatMessageRequest Details of the request to update the message.\n * @param options The options parameters.\n */\n updateChatMessage(\n chatThreadId: string,\n chatMessageId: string,\n updateChatMessageRequest: UpdateChatMessageRequest,\n options?: ChatThreadUpdateChatMessageOptionalParams,\n ): Promise<void>;\n /**\n * Deletes a message.\n * @param chatThreadId The thread id to which the message was sent.\n * @param chatMessageId The message id.\n * @param options The options parameters.\n */\n deleteChatMessage(\n chatThreadId: string,\n chatMessageId: string,\n options?: ChatThreadDeleteChatMessageOptionalParams,\n ): Promise<void>;\n /**\n * Gets the participants of a thread.\n * @param chatThreadId Thread id to get participants for.\n * @param options The options parameters.\n */\n listChatParticipants(\n chatThreadId: string,\n options?: ChatThreadListChatParticipantsOptionalParams,\n ): Promise<ChatThreadListChatParticipantsResponse>;\n /**\n * Remove a participant from a thread.\n * @param chatThreadId Thread id to remove the participant from.\n * @param participantCommunicationIdentifier Id of the thread participant to remove from the thread.\n * @param options The options parameters.\n */\n removeChatParticipant(\n chatThreadId: string,\n participantCommunicationIdentifier: CommunicationIdentifierModel,\n options?: ChatThreadRemoveChatParticipantOptionalParams,\n ): Promise<void>;\n /**\n * Adds thread participants to a thread. If participants already exist, no change occurs.\n * @param chatThreadId Id of the thread to add participants to.\n * @param addChatParticipantsRequest Thread participants to be added to the thread.\n * @param options The options parameters.\n */\n addChatParticipants(\n chatThreadId: string,\n addChatParticipantsRequest: AddChatParticipantsRequest,\n options?: ChatThreadAddChatParticipantsOptionalParams,\n ): Promise<ChatThreadAddChatParticipantsResponse>;\n /**\n * Updates a thread's properties.\n * @param chatThreadId The id of the thread to update.\n * @param updateChatThreadRequest Request payload for updating a chat thread.\n * @param options The options parameters.\n */\n updateChatThreadProperties(\n chatThreadId: string,\n updateChatThreadRequest: UpdateChatThreadRequest,\n options?: ChatThreadUpdateChatThreadPropertiesOptionalParams,\n ): Promise<void>;\n /**\n * Gets a chat thread's properties.\n * @param chatThreadId Id of the thread.\n * @param options The options parameters.\n */\n getChatThreadProperties(\n chatThreadId: string,\n options?: ChatThreadGetChatThreadPropertiesOptionalParams,\n ): Promise<ChatThreadGetChatThreadPropertiesResponse>;\n /**\n * Posts a typing event to a thread, on behalf of a user.\n * @param chatThreadId Id of the thread.\n * @param options The options parameters.\n */\n sendTypingNotification(\n chatThreadId: string,\n options?: ChatThreadSendTypingNotificationOptionalParams,\n ): Promise<void>;\n /**\n * Upload an image in a thread, on behalf of a user.\n * @param chatThreadId Thread id where the uploaded image belongs to. (Teams meeting only)\n * @param chatImageFile Image binary data, allowed image formats: jpeg, png, gif, heic, webp\n * @param options The options parameters.\n */\n uploadChatImage(\n chatThreadId: string,\n chatImageFile: coreRestPipeline.RequestBodyType,\n options?: ChatThreadUploadChatImageOptionalParams,\n ): Promise<ChatThreadUploadChatImageResponse>;\n /**\n * Get an image by view type.\n * @param chatThreadId The thread id to which the message was sent.\n * @param imageId The image id.\n * @param imageViewType The view type of image.\n * @param options The options parameters.\n */\n getChatImage(\n chatThreadId: string,\n imageId: string,\n imageViewType: ImageViewType,\n options?: ChatThreadGetChatImageOptionalParams,\n ): Promise<ChatThreadGetChatImageResponse>;\n /**\n * Deletes a image.\n * @param chatThreadId The thread id to which the message was sent.\n * @param imageId The image id.\n * @param options The options parameters.\n */\n deleteChatImage(\n chatThreadId: string,\n imageId: string,\n options?: ChatThreadDeleteChatImageOptionalParams,\n ): Promise<void>;\n /**\n * ListChatReadReceiptsNext\n * @param chatThreadId Thread id to get the chat message read receipts for.\n * @param nextLink The nextLink from the previous successful call to the ListChatReadReceipts method.\n * @param options The options parameters.\n */\n listChatReadReceiptsNext(\n chatThreadId: string,\n nextLink: string,\n options?: ChatThreadListChatReadReceiptsNextOptionalParams,\n ): Promise<ChatThreadListChatReadReceiptsNextResponse>;\n /**\n * ListChatMessagesNext\n * @param chatThreadId The thread id of the message.\n * @param nextLink The nextLink from the previous successful call to the ListChatMessages method.\n * @param options The options parameters.\n */\n listChatMessagesNext(\n chatThreadId: string,\n nextLink: string,\n options?: ChatThreadListChatMessagesNextOptionalParams,\n ): Promise<ChatThreadListChatMessagesNextResponse>;\n /**\n * ListChatParticipantsNext\n * @param chatThreadId Thread id to get participants for.\n * @param nextLink The nextLink from the previous successful call to the ListChatParticipants method.\n * @param options The options parameters.\n */\n listChatParticipantsNext(\n chatThreadId: string,\n nextLink: string,\n options?: ChatThreadListChatParticipantsNextOptionalParams,\n ): Promise<ChatThreadListChatParticipantsNextResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./chatThread.js";
2
+ export * from "./chat.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./chatThread.js";
9
+ export * from "./chat.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./chatThread.js\";\nexport * from \"./chat.js\";\n"]}
@@ -0,0 +1,2 @@
1
+ export declare const tracingClient: import("@azure/core-tracing").TracingClient;
2
+ //# sourceMappingURL=tracing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tracing.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/tracing.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa,6CAIxB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { createTracingClient } from "@azure/core-tracing";
9
+ export const tracingClient = createTracingClient({
10
+ namespace: "Azure.Communication",
11
+ packageName: "@azure/communication-chat",
12
+ packageVersion: "1.6.0-beta.4",
13
+ });
14
+ //# sourceMappingURL=tracing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../../../src/generated/src/tracing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,SAAS,EAAE,qBAAqB;IAChC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,cAAc;CAC/B,CAAC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\nexport const tracingClient = createTracingClient({\n namespace: \"Azure.Communication\",\n packageName: \"@azure/communication-chat\",\n packageVersion: \"1.6.0-beta.4\",\n});\n"]}
@@ -0,0 +1,7 @@
1
+ export * from "./models/options.js";
2
+ export * from "./models/requests.js";
3
+ export * from "./models/models.js";
4
+ export * from "./models/events.js";
5
+ export * from "./chatClient.js";
6
+ export * from "./chatThreadClient.js";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export * from "./models/options.js";
4
+ export * from "./models/requests.js";
5
+ export * from "./models/models.js";
6
+ export * from "./models/events.js";
7
+ export * from "./chatClient.js";
8
+ export * from "./chatThreadClient.js";
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from \"./models/options.js\";\nexport * from \"./models/requests.js\";\nexport * from \"./models/models.js\";\nexport * from \"./models/events.js\";\nexport * from \"./chatClient.js\";\nexport * from \"./chatThreadClient.js\";\n"]}
@@ -0,0 +1,4 @@
1
+ import { ChatMessageDeletedEvent, ChatMessageEditedEvent, ChatMessageReceivedEvent, ChatThreadCreatedEvent, ChatThreadDeletedEvent, ChatThreadPropertiesUpdatedEvent, ParticipantsAddedEvent, ParticipantsRemovedEvent, ReadReceiptReceivedEvent, StreamingChatMessageChunkReceivedEvent, StreamingChatMessageStartEvent, StreamEndReason, StreamingMessageMetadata, StreamingMessageType, TypingIndicatorReceivedEvent } from "@azure/communication-signaling";
2
+ type ChatEventId = "chatMessageReceived" | "chatMessageEdited" | "chatMessageDeleted" | "typingIndicatorReceived" | "readReceiptReceived" | "chatThreadCreated" | "chatThreadDeleted" | "chatThreadPropertiesUpdated" | "participantsAdded" | "participantsRemoved" | "streamingChatMessageStarted" | "streamingChatMessageChunkReceived" | "realTimeNotificationConnected" | "realTimeNotificationDisconnected";
3
+ export { ChatEventId, ChatMessageReceivedEvent, ChatMessageEditedEvent, ChatMessageDeletedEvent, ReadReceiptReceivedEvent, TypingIndicatorReceivedEvent, ChatThreadCreatedEvent, ChatThreadDeletedEvent, ChatThreadPropertiesUpdatedEvent, ParticipantsAddedEvent, ParticipantsRemovedEvent, StreamingChatMessageChunkReceivedEvent, StreamingChatMessageStartEvent, StreamEndReason, StreamingMessageMetadata, StreamingMessageType, };
4
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,sCAAsC,EACtC,8BAA8B,EAC9B,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,gCAAgC,CAAC;AAExC,KAAK,WAAW,GACZ,qBAAqB,GACrB,mBAAmB,GACnB,oBAAoB,GACpB,yBAAyB,GACzB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,6BAA6B,GAC7B,mBAAmB,GACnB,qBAAqB,GACrB,6BAA6B,GAC7B,mCAAmC,GACnC,+BAA+B,GAC/B,kCAAkC,CAAC;AAEvC,OAAO,EACL,WAAW,EACX,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACtB,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,EACxB,sCAAsC,EACtC,8BAA8B,EAC9B,eAAe,EACf,wBAAwB,EACxB,oBAAoB,GACrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ChatMessageDeletedEvent,\n ChatMessageEditedEvent,\n ChatMessageReceivedEvent,\n ChatThreadCreatedEvent,\n ChatThreadDeletedEvent,\n ChatThreadPropertiesUpdatedEvent,\n ParticipantsAddedEvent,\n ParticipantsRemovedEvent,\n ReadReceiptReceivedEvent,\n StreamingChatMessageChunkReceivedEvent,\n StreamingChatMessageStartEvent,\n StreamEndReason,\n StreamingMessageMetadata,\n StreamingMessageType,\n TypingIndicatorReceivedEvent,\n} from \"@azure/communication-signaling\";\n\ntype ChatEventId =\n | \"chatMessageReceived\"\n | \"chatMessageEdited\"\n | \"chatMessageDeleted\"\n | \"typingIndicatorReceived\"\n | \"readReceiptReceived\"\n | \"chatThreadCreated\"\n | \"chatThreadDeleted\"\n | \"chatThreadPropertiesUpdated\"\n | \"participantsAdded\"\n | \"participantsRemoved\"\n | \"streamingChatMessageStarted\"\n | \"streamingChatMessageChunkReceived\"\n | \"realTimeNotificationConnected\"\n | \"realTimeNotificationDisconnected\";\n\nexport {\n ChatEventId,\n ChatMessageReceivedEvent,\n ChatMessageEditedEvent,\n ChatMessageDeletedEvent,\n ReadReceiptReceivedEvent,\n TypingIndicatorReceivedEvent,\n ChatThreadCreatedEvent,\n ChatThreadDeletedEvent,\n ChatThreadPropertiesUpdatedEvent,\n ParticipantsAddedEvent,\n ParticipantsRemovedEvent,\n StreamingChatMessageChunkReceivedEvent,\n StreamingChatMessageStartEvent,\n StreamEndReason,\n StreamingMessageMetadata,\n StreamingMessageType,\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export declare const logger: import("@azure/logger").AzureLogger;
2
+ //# sourceMappingURL=logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/models/logger.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM,qCAA2C,CAAC"}
@@ -0,0 +1,5 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { createClientLogger } from "@azure/logger";
4
+ export const logger = createClientLogger("communication-chat");
5
+ //# sourceMappingURL=logger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../src/models/logger.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,oBAAoB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\n\nexport const logger = createClientLogger(\"communication-chat\");\n"]}
@@ -0,0 +1,79 @@
1
+ import type * as RestModel from "../generated/src/models/index.js";
2
+ import type { AddParticipantsRequest, SendMessageRequest } from "./requests.js";
3
+ import type { CreateChatThreadOptions, SendMessageOptions, UpdateMessageOptions } from "./options.js";
4
+ import type { ChatAttachment, ChatMessage, ChatMessageContent, ChatMessageReadReceipt, ChatParticipant, ChatThreadProperties, CreateChatThreadResult, ChatRetentionPolicy, PolicyViolation } from "./models.js";
5
+ export declare const mapToCreateChatThreadOptionsRestModel: (options: CreateChatThreadOptions) => RestModel.ChatCreateChatThreadOptionalParams;
6
+ /**
7
+ * @internal
8
+ * Mapping chat participant customer model to chat participant REST model
9
+ */
10
+ export declare const mapToChatParticipantRestModel: (chatParticipant: ChatParticipant) => RestModel.ChatParticipant;
11
+ /**
12
+ * @internal
13
+ * Mapping add participants request to add chat participants request REST model
14
+ */
15
+ export declare const mapToAddChatParticipantsRequestRestModel: (addParticipantsRequest: AddParticipantsRequest) => RestModel.AddChatParticipantsRequest;
16
+ /**
17
+ * @internal
18
+ * Mapping chat attachment SDK model to chat attachment REST model
19
+ */
20
+ export declare const mapToChatAttachmentRestModel: (chatAttachment: ChatAttachment) => RestModel.ChatAttachment;
21
+ /**
22
+ * @internal
23
+ * Mapping send message request and options to send chat message request REST model
24
+ */
25
+ export declare const mapToSendChatMessageRequestRestModel: (sendMessageRequest: SendMessageRequest, sendMessageOptions: SendMessageOptions) => RestModel.SendChatMessageRequest;
26
+ /**
27
+ * @internal
28
+ * Mapping update message options to update chat message request REST model
29
+ */
30
+ export declare const mapToUpdateChatMessageRequestRestModel: (updateMessageOptions: UpdateMessageOptions) => RestModel.UpdateChatMessageRequest;
31
+ /**
32
+ * @internal
33
+ * Mapping chat participant REST model to chat participant SDK model
34
+ */
35
+ export declare const mapToChatParticipantSdkModel: (chatParticipant: RestModel.ChatParticipant) => ChatParticipant;
36
+ /**
37
+ * @internal
38
+ * Mapping chat attachment REST model to chat attachment SDK model
39
+ */
40
+ export declare const mapToChatAttachmentSdkModel: (chatAttachment: RestModel.ChatAttachment) => ChatAttachment;
41
+ /**
42
+ * @internal
43
+ */
44
+ export declare const mapToChatContentSdkModel: (content: RestModel.ChatMessageContent) => ChatMessageContent;
45
+ /**
46
+ * @internal
47
+ */
48
+ export declare const mapToChatPolicyViolationSdkModel: (policyVolation: RestModel.PolicyViolation) => PolicyViolation;
49
+ /**
50
+ * @internal
51
+ * Mapping chat message REST model to chat message SDK model
52
+ */
53
+ export declare const mapToChatMessageSdkModel: (chatMessage: RestModel.ChatMessage) => ChatMessage;
54
+ /**
55
+ * @internal
56
+ * Mapping chat messages collection REST model to chat message SDK model array
57
+ */
58
+ export declare const mapToChatMessagesSdkModelArray: (chatMessagesCollection: RestModel.ChatMessagesCollection) => ChatMessage[];
59
+ /**
60
+ * @internal
61
+ * Mapping chat retention policy REST model to chat retention policy SDK model
62
+ */
63
+ export declare const mapToRetentionPolicySdkModel: (retentionPolicy: RestModel.ChatRetentionPolicyUnion) => ChatRetentionPolicy;
64
+ /**
65
+ * @internal
66
+ * Mapping chat thread REST model to chat thread SDK model
67
+ */
68
+ export declare const mapToChatThreadPropertiesSdkModel: (chatThread: RestModel.ChatThreadProperties) => ChatThreadProperties;
69
+ /**
70
+ * @internal
71
+ * Mapping chat thread REST model to chat thread SDK model
72
+ */
73
+ export declare const mapToCreateChatThreadResultSdkModel: (result: RestModel.CreateChatThreadResult) => CreateChatThreadResult;
74
+ /**
75
+ * @internal
76
+ * Mapping read receipt REST model to read receipt SDK model
77
+ */
78
+ export declare const mapToReadReceiptSdkModel: (readReceipt: RestModel.ChatMessageReadReceipt) => ChatMessageReadReceipt;
79
+ //# sourceMappingURL=mappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,SAAS,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,KAAK,EACV,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,qCAAqC,YACvC,uBAAuB,KAC/B,SAAS,CAAC,kCAMZ,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,oBACvB,eAAe,KAC/B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