@azure/communication-chat 1.6.0-alpha.20240801.1 → 1.6.0-alpha.20250723.1

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 (440) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +134 -45
  3. package/dist/browser/chatClient.d.ts +201 -0
  4. package/dist/browser/chatClient.d.ts.map +1 -0
  5. package/{dist-esm/src → dist/browser}/chatClient.js +57 -61
  6. package/dist/browser/chatClient.js.map +1 -0
  7. package/dist/browser/chatThreadClient.d.ts +113 -0
  8. package/dist/browser/chatThreadClient.d.ts.map +1 -0
  9. package/{dist-esm/src → dist/browser}/chatThreadClient.js +102 -127
  10. package/dist/browser/chatThreadClient.js.map +1 -0
  11. package/dist/browser/credential/communicationTokenCredentialPolicy.d.ts +9 -0
  12. package/dist/browser/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/credential/communicationTokenCredentialPolicy.js +3 -3
  14. package/dist/browser/credential/communicationTokenCredentialPolicy.js.map +1 -0
  15. package/dist/browser/generated/src/chatApiClient.d.ts +18 -0
  16. package/dist/browser/generated/src/chatApiClient.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/generated/src/chatApiClient.js +14 -6
  18. package/dist/browser/generated/src/chatApiClient.js.map +1 -0
  19. package/dist/browser/generated/src/index.d.ts +4 -0
  20. package/dist/browser/generated/src/index.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/generated/src/index.js +3 -3
  22. package/dist/browser/generated/src/index.js.map +1 -0
  23. package/dist/browser/generated/src/models/index.d.ts +497 -0
  24. package/dist/browser/generated/src/models/index.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/generated/src/models/index.js +8 -0
  26. package/dist/browser/generated/src/models/index.js.map +1 -0
  27. package/dist/browser/generated/src/models/mappers.d.ts +38 -0
  28. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js +105 -0
  30. package/dist/browser/generated/src/models/mappers.js.map +1 -0
  31. package/dist/browser/generated/src/models/parameters.d.ts +22 -0
  32. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/generated/src/models/parameters.js +2 -2
  34. package/dist/browser/generated/src/models/parameters.js.map +1 -0
  35. package/dist/browser/generated/src/operations/chat.d.ts +36 -0
  36. package/dist/browser/generated/src/operations/chat.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/generated/src/operations/chat.js +8 -7
  38. package/dist/browser/generated/src/operations/chat.js.map +1 -0
  39. package/dist/browser/generated/src/operations/chatThread.d.ts +121 -0
  40. package/dist/browser/generated/src/operations/chatThread.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/generated/src/operations/chatThread.js +20 -19
  42. package/dist/browser/generated/src/operations/chatThread.js.map +1 -0
  43. package/dist/browser/generated/src/operations/index.d.ts +3 -0
  44. package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
  45. package/dist/browser/generated/src/operations/index.js +10 -0
  46. package/dist/browser/generated/src/operations/index.js.map +1 -0
  47. package/dist/browser/generated/src/operationsInterfaces/chat.d.ts +28 -0
  48. package/dist/browser/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
  49. package/dist/browser/generated/src/operationsInterfaces/chat.js.map +1 -0
  50. package/dist/browser/generated/src/operationsInterfaces/chatThread.d.ts +113 -0
  51. package/dist/browser/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
  52. package/dist/browser/generated/src/operationsInterfaces/chatThread.js.map +1 -0
  53. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +3 -0
  54. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  55. package/dist/browser/generated/src/operationsInterfaces/index.js +10 -0
  56. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -0
  57. package/dist/browser/generated/src/tracing.d.ts +2 -0
  58. package/dist/browser/generated/src/tracing.d.ts.map +1 -0
  59. package/{dist-esm/src → dist/browser}/generated/src/tracing.js +1 -1
  60. package/{dist-esm/src → dist/browser}/generated/src/tracing.js.map +1 -1
  61. package/dist/browser/index.d.ts +7 -0
  62. package/dist/browser/index.d.ts.map +1 -0
  63. package/dist/browser/index.js +9 -0
  64. package/dist/browser/index.js.map +1 -0
  65. package/dist/browser/models/events.d.ts +4 -0
  66. package/dist/browser/models/events.d.ts.map +1 -0
  67. package/dist/browser/models/events.js +4 -0
  68. package/{dist-esm/src → dist/browser}/models/events.js.map +1 -1
  69. package/dist/browser/models/logger.d.ts +2 -0
  70. package/dist/browser/models/logger.d.ts.map +1 -0
  71. package/{dist-esm/src → dist/browser}/models/logger.js +1 -1
  72. package/{dist-esm/src → dist/browser}/models/logger.js.map +1 -1
  73. package/dist/browser/models/mappers.d.ts +55 -0
  74. package/dist/browser/models/mappers.d.ts.map +1 -0
  75. package/dist/browser/models/mappers.js +149 -0
  76. package/dist/browser/models/mappers.js.map +1 -0
  77. package/dist/browser/models/models.d.ts +128 -0
  78. package/dist/browser/models/models.d.ts.map +1 -0
  79. package/dist/browser/models/models.js +4 -0
  80. package/dist/browser/models/models.js.map +1 -0
  81. package/dist/browser/models/options.d.ts +116 -0
  82. package/dist/browser/models/options.d.ts.map +1 -0
  83. package/dist/browser/models/options.js.map +1 -0
  84. package/dist/browser/models/requests.d.ts +18 -0
  85. package/dist/browser/models/requests.d.ts.map +1 -0
  86. package/dist/browser/models/requests.js +4 -0
  87. package/dist/browser/models/requests.js.map +1 -0
  88. package/dist/browser/models/uuid.d.ts +8 -0
  89. package/dist/browser/models/uuid.d.ts.map +1 -0
  90. package/{dist-esm/src → dist/browser}/models/uuid.js +3 -3
  91. package/dist/browser/models/uuid.js.map +1 -0
  92. package/dist/browser/package.json +3 -0
  93. package/dist/browser/signaling/signalingClient-browser.d.mts.map +1 -0
  94. package/dist/browser/signaling/signalingClient-browser.mjs.map +1 -0
  95. package/dist/browser/signaling/signalingClient.d.ts +6 -0
  96. package/dist/browser/signaling/signalingClient.js +12 -0
  97. package/dist/browser/signaling/signalingClientOptions.d.ts +6 -0
  98. package/dist/browser/signaling/signalingClientOptions.d.ts.map +1 -0
  99. package/dist/browser/signaling/signalingClientOptions.js +4 -0
  100. package/dist/browser/signaling/signalingClientOptions.js.map +1 -0
  101. package/dist/commonjs/chatClient.d.ts +201 -0
  102. package/dist/commonjs/chatClient.d.ts.map +1 -0
  103. package/dist/commonjs/chatClient.js +240 -0
  104. package/dist/commonjs/chatClient.js.map +1 -0
  105. package/dist/commonjs/chatThreadClient.d.ts +113 -0
  106. package/dist/commonjs/chatThreadClient.d.ts.map +1 -0
  107. package/dist/commonjs/chatThreadClient.js +355 -0
  108. package/dist/commonjs/chatThreadClient.js.map +1 -0
  109. package/dist/commonjs/credential/communicationTokenCredentialPolicy.d.ts +9 -0
  110. package/dist/commonjs/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
  111. package/dist/commonjs/credential/communicationTokenCredentialPolicy.js +22 -0
  112. package/dist/commonjs/credential/communicationTokenCredentialPolicy.js.map +1 -0
  113. package/dist/commonjs/generated/src/chatApiClient.d.ts +18 -0
  114. package/dist/commonjs/generated/src/chatApiClient.d.ts.map +1 -0
  115. package/dist/commonjs/generated/src/chatApiClient.js +83 -0
  116. package/dist/commonjs/generated/src/chatApiClient.js.map +1 -0
  117. package/dist/commonjs/generated/src/index.d.ts +4 -0
  118. package/dist/commonjs/generated/src/index.d.ts.map +1 -0
  119. package/dist/commonjs/generated/src/index.js +16 -0
  120. package/dist/commonjs/generated/src/index.js.map +1 -0
  121. package/dist/commonjs/generated/src/models/index.d.ts +497 -0
  122. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
  123. package/dist/commonjs/generated/src/models/index.js +43 -0
  124. package/dist/commonjs/generated/src/models/index.js.map +1 -0
  125. package/dist/commonjs/generated/src/models/mappers.d.ts +38 -0
  126. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
  127. package/dist/commonjs/generated/src/models/mappers.js +949 -0
  128. package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
  129. package/dist/commonjs/generated/src/models/parameters.d.ts +22 -0
  130. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
  131. package/dist/commonjs/generated/src/models/parameters.js +166 -0
  132. package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
  133. package/dist/commonjs/generated/src/operations/chat.d.ts +36 -0
  134. package/dist/commonjs/generated/src/operations/chat.d.ts.map +1 -0
  135. package/dist/commonjs/generated/src/operations/chat.js +192 -0
  136. package/dist/commonjs/generated/src/operations/chat.js.map +1 -0
  137. package/dist/commonjs/generated/src/operations/chatThread.d.ts +121 -0
  138. package/dist/commonjs/generated/src/operations/chatThread.d.ts.map +1 -0
  139. package/dist/commonjs/generated/src/operations/chatThread.js +701 -0
  140. package/dist/commonjs/generated/src/operations/chatThread.js.map +1 -0
  141. package/dist/commonjs/generated/src/operations/index.d.ts +3 -0
  142. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
  143. package/dist/commonjs/generated/src/operations/index.js +13 -0
  144. package/dist/commonjs/generated/src/operations/index.js.map +1 -0
  145. package/dist/commonjs/generated/src/operationsInterfaces/chat.d.ts +28 -0
  146. package/dist/commonjs/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
  147. package/dist/commonjs/generated/src/operationsInterfaces/chat.js +10 -0
  148. package/dist/commonjs/generated/src/operationsInterfaces/chat.js.map +1 -0
  149. package/dist/commonjs/generated/src/operationsInterfaces/chatThread.d.ts +113 -0
  150. package/dist/commonjs/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
  151. package/dist/commonjs/generated/src/operationsInterfaces/chatThread.js +10 -0
  152. package/dist/commonjs/generated/src/operationsInterfaces/chatThread.js.map +1 -0
  153. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +3 -0
  154. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  155. package/dist/commonjs/generated/src/operationsInterfaces/index.js +13 -0
  156. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
  157. package/dist/commonjs/generated/src/tracing.d.ts +2 -0
  158. package/dist/commonjs/generated/src/tracing.d.ts.map +1 -0
  159. package/dist/commonjs/generated/src/tracing.js +17 -0
  160. package/dist/commonjs/generated/src/tracing.js.map +1 -0
  161. package/dist/commonjs/index.d.ts +7 -0
  162. package/dist/commonjs/index.d.ts.map +1 -0
  163. package/dist/commonjs/index.js +12 -0
  164. package/dist/commonjs/index.js.map +1 -0
  165. package/dist/commonjs/models/events.d.ts +4 -0
  166. package/dist/commonjs/models/events.d.ts.map +1 -0
  167. package/dist/commonjs/models/events.js +5 -0
  168. package/dist/commonjs/models/events.js.map +1 -0
  169. package/dist/commonjs/models/logger.d.ts +2 -0
  170. package/dist/commonjs/models/logger.d.ts.map +1 -0
  171. package/dist/commonjs/models/logger.js +8 -0
  172. package/dist/commonjs/models/logger.js.map +1 -0
  173. package/dist/commonjs/models/mappers.d.ts +55 -0
  174. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  175. package/dist/commonjs/models/mappers.js +163 -0
  176. package/dist/commonjs/models/mappers.js.map +1 -0
  177. package/dist/commonjs/models/models.d.ts +128 -0
  178. package/dist/commonjs/models/models.d.ts.map +1 -0
  179. package/dist/commonjs/models/models.js +5 -0
  180. package/dist/commonjs/models/models.js.map +1 -0
  181. package/dist/commonjs/models/options.d.ts +116 -0
  182. package/dist/commonjs/models/options.d.ts.map +1 -0
  183. package/dist/commonjs/models/options.js +3 -0
  184. package/dist/commonjs/models/options.js.map +1 -0
  185. package/dist/commonjs/models/requests.d.ts +18 -0
  186. package/dist/commonjs/models/requests.d.ts.map +1 -0
  187. package/dist/commonjs/models/requests.js +5 -0
  188. package/dist/commonjs/models/requests.js.map +1 -0
  189. package/dist/commonjs/models/uuid.d.ts +8 -0
  190. package/dist/commonjs/models/uuid.d.ts.map +1 -0
  191. package/dist/commonjs/models/uuid.js +16 -0
  192. package/dist/commonjs/models/uuid.js.map +1 -0
  193. package/dist/commonjs/package.json +3 -0
  194. package/dist/commonjs/signaling/signalingClient.d.ts +6 -0
  195. package/dist/commonjs/signaling/signalingClient.d.ts.map +1 -0
  196. package/dist/commonjs/signaling/signalingClient.js +11 -0
  197. package/dist/commonjs/signaling/signalingClient.js.map +1 -0
  198. package/dist/commonjs/signaling/signalingClientOptions.d.ts +6 -0
  199. package/dist/commonjs/signaling/signalingClientOptions.d.ts.map +1 -0
  200. package/dist/commonjs/signaling/signalingClientOptions.js +5 -0
  201. package/dist/commonjs/signaling/signalingClientOptions.js.map +1 -0
  202. package/dist/commonjs/tsdoc-metadata.json +11 -0
  203. package/dist/esm/chatClient.d.ts +201 -0
  204. package/dist/esm/chatClient.d.ts.map +1 -0
  205. package/dist/esm/chatClient.js +236 -0
  206. package/dist/esm/chatClient.js.map +1 -0
  207. package/dist/esm/chatThreadClient.d.ts +113 -0
  208. package/dist/esm/chatThreadClient.d.ts.map +1 -0
  209. package/dist/esm/chatThreadClient.js +351 -0
  210. package/dist/esm/chatThreadClient.js.map +1 -0
  211. package/dist/esm/credential/communicationTokenCredentialPolicy.d.ts +9 -0
  212. package/dist/esm/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
  213. package/dist/esm/credential/communicationTokenCredentialPolicy.js +18 -0
  214. package/dist/esm/credential/communicationTokenCredentialPolicy.js.map +1 -0
  215. package/dist/esm/generated/src/chatApiClient.d.ts +18 -0
  216. package/dist/esm/generated/src/chatApiClient.d.ts.map +1 -0
  217. package/dist/esm/generated/src/chatApiClient.js +78 -0
  218. package/dist/esm/generated/src/chatApiClient.js.map +1 -0
  219. package/dist/esm/generated/src/index.d.ts +4 -0
  220. package/dist/esm/generated/src/index.d.ts.map +1 -0
  221. package/dist/esm/generated/src/index.js +11 -0
  222. package/dist/esm/generated/src/index.js.map +1 -0
  223. package/dist/esm/generated/src/models/index.d.ts +497 -0
  224. package/dist/esm/generated/src/models/index.d.ts.map +1 -0
  225. package/dist/esm/generated/src/models/index.js +40 -0
  226. package/dist/esm/generated/src/models/index.js.map +1 -0
  227. package/dist/esm/generated/src/models/mappers.d.ts +38 -0
  228. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
  229. package/dist/esm/generated/src/models/mappers.js +946 -0
  230. package/dist/esm/generated/src/models/mappers.js.map +1 -0
  231. package/dist/esm/generated/src/models/parameters.d.ts +22 -0
  232. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
  233. package/dist/esm/generated/src/models/parameters.js +163 -0
  234. package/dist/esm/generated/src/models/parameters.js.map +1 -0
  235. package/dist/esm/generated/src/operations/chat.d.ts +36 -0
  236. package/dist/esm/generated/src/operations/chat.d.ts.map +1 -0
  237. package/dist/esm/generated/src/operations/chat.js +187 -0
  238. package/dist/esm/generated/src/operations/chat.js.map +1 -0
  239. package/dist/esm/generated/src/operations/chatThread.d.ts +121 -0
  240. package/dist/esm/generated/src/operations/chatThread.d.ts.map +1 -0
  241. package/dist/esm/generated/src/operations/chatThread.js +696 -0
  242. package/dist/esm/generated/src/operations/chatThread.js.map +1 -0
  243. package/dist/esm/generated/src/operations/index.d.ts +3 -0
  244. package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
  245. package/dist/esm/generated/src/operations/index.js +10 -0
  246. package/dist/esm/generated/src/operations/index.js.map +1 -0
  247. package/dist/esm/generated/src/operationsInterfaces/chat.d.ts +28 -0
  248. package/dist/esm/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
  249. package/{dist-esm/src/generated/src/operationsInterfaces/index.js → dist/esm/generated/src/operationsInterfaces/chat.js} +2 -3
  250. package/dist/esm/generated/src/operationsInterfaces/chat.js.map +1 -0
  251. package/dist/esm/generated/src/operationsInterfaces/chatThread.d.ts +113 -0
  252. package/dist/esm/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
  253. package/{dist-esm/src/generated/src/operations/index.js → dist/esm/generated/src/operationsInterfaces/chatThread.js} +2 -3
  254. package/dist/esm/generated/src/operationsInterfaces/chatThread.js.map +1 -0
  255. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +3 -0
  256. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  257. package/dist/esm/generated/src/operationsInterfaces/index.js +10 -0
  258. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
  259. package/dist/esm/generated/src/tracing.d.ts +2 -0
  260. package/dist/esm/generated/src/tracing.d.ts.map +1 -0
  261. package/dist/esm/generated/src/tracing.js +14 -0
  262. package/dist/esm/generated/src/tracing.js.map +1 -0
  263. package/dist/esm/index.d.ts +7 -0
  264. package/dist/esm/index.d.ts.map +1 -0
  265. package/dist/esm/index.js +9 -0
  266. package/dist/esm/index.js.map +1 -0
  267. package/dist/esm/models/events.d.ts +4 -0
  268. package/dist/esm/models/events.d.ts.map +1 -0
  269. package/dist/esm/models/events.js +4 -0
  270. package/dist/esm/models/events.js.map +1 -0
  271. package/dist/esm/models/logger.d.ts +2 -0
  272. package/dist/esm/models/logger.d.ts.map +1 -0
  273. package/dist/esm/models/logger.js +5 -0
  274. package/dist/esm/models/logger.js.map +1 -0
  275. package/dist/esm/models/mappers.d.ts +55 -0
  276. package/dist/esm/models/mappers.d.ts.map +1 -0
  277. package/dist/esm/models/mappers.js +149 -0
  278. package/dist/esm/models/mappers.js.map +1 -0
  279. package/dist/esm/models/models.d.ts +128 -0
  280. package/dist/esm/models/models.d.ts.map +1 -0
  281. package/dist/esm/models/models.js +4 -0
  282. package/dist/esm/models/models.js.map +1 -0
  283. package/dist/esm/models/options.d.ts +116 -0
  284. package/dist/esm/models/options.d.ts.map +1 -0
  285. package/dist/esm/models/options.js +2 -0
  286. package/dist/esm/models/options.js.map +1 -0
  287. package/dist/esm/models/requests.d.ts +18 -0
  288. package/dist/esm/models/requests.d.ts.map +1 -0
  289. package/dist/esm/models/requests.js +4 -0
  290. package/dist/esm/models/requests.js.map +1 -0
  291. package/dist/esm/models/uuid.d.ts +8 -0
  292. package/dist/esm/models/uuid.d.ts.map +1 -0
  293. package/dist/esm/models/uuid.js +13 -0
  294. package/dist/esm/models/uuid.js.map +1 -0
  295. package/dist/esm/package.json +3 -0
  296. package/dist/esm/signaling/signalingClient.d.ts +6 -0
  297. package/dist/esm/signaling/signalingClient.d.ts.map +1 -0
  298. package/dist/esm/signaling/signalingClient.js +7 -0
  299. package/dist/esm/signaling/signalingClient.js.map +1 -0
  300. package/dist/esm/signaling/signalingClientOptions.d.ts +6 -0
  301. package/dist/esm/signaling/signalingClientOptions.d.ts.map +1 -0
  302. package/dist/esm/signaling/signalingClientOptions.js +4 -0
  303. package/dist/esm/signaling/signalingClientOptions.js.map +1 -0
  304. package/dist/react-native/chatClient.d.ts +201 -0
  305. package/dist/react-native/chatClient.d.ts.map +1 -0
  306. package/dist/react-native/chatClient.js +236 -0
  307. package/dist/react-native/chatClient.js.map +1 -0
  308. package/dist/react-native/chatThreadClient.d.ts +113 -0
  309. package/dist/react-native/chatThreadClient.d.ts.map +1 -0
  310. package/dist/react-native/chatThreadClient.js +351 -0
  311. package/dist/react-native/chatThreadClient.js.map +1 -0
  312. package/dist/react-native/credential/communicationTokenCredentialPolicy.d.ts +9 -0
  313. package/dist/react-native/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
  314. package/dist/react-native/credential/communicationTokenCredentialPolicy.js +18 -0
  315. package/dist/react-native/credential/communicationTokenCredentialPolicy.js.map +1 -0
  316. package/dist/react-native/generated/src/chatApiClient.d.ts +18 -0
  317. package/dist/react-native/generated/src/chatApiClient.d.ts.map +1 -0
  318. package/dist/react-native/generated/src/chatApiClient.js +78 -0
  319. package/dist/react-native/generated/src/chatApiClient.js.map +1 -0
  320. package/dist/react-native/generated/src/index.d.ts +4 -0
  321. package/dist/react-native/generated/src/index.d.ts.map +1 -0
  322. package/dist/react-native/generated/src/index.js +11 -0
  323. package/dist/react-native/generated/src/index.js.map +1 -0
  324. package/dist/react-native/generated/src/models/index.d.ts +497 -0
  325. package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
  326. package/dist/react-native/generated/src/models/index.js +40 -0
  327. package/dist/react-native/generated/src/models/index.js.map +1 -0
  328. package/dist/react-native/generated/src/models/mappers.d.ts +38 -0
  329. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
  330. package/dist/react-native/generated/src/models/mappers.js +946 -0
  331. package/dist/react-native/generated/src/models/mappers.js.map +1 -0
  332. package/dist/react-native/generated/src/models/parameters.d.ts +22 -0
  333. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
  334. package/dist/react-native/generated/src/models/parameters.js +163 -0
  335. package/dist/react-native/generated/src/models/parameters.js.map +1 -0
  336. package/dist/react-native/generated/src/operations/chat.d.ts +36 -0
  337. package/dist/react-native/generated/src/operations/chat.d.ts.map +1 -0
  338. package/dist/react-native/generated/src/operations/chat.js +187 -0
  339. package/dist/react-native/generated/src/operations/chat.js.map +1 -0
  340. package/dist/react-native/generated/src/operations/chatThread.d.ts +121 -0
  341. package/dist/react-native/generated/src/operations/chatThread.d.ts.map +1 -0
  342. package/dist/react-native/generated/src/operations/chatThread.js +696 -0
  343. package/dist/react-native/generated/src/operations/chatThread.js.map +1 -0
  344. package/dist/react-native/generated/src/operations/index.d.ts +3 -0
  345. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
  346. package/dist/react-native/generated/src/operations/index.js +10 -0
  347. package/dist/react-native/generated/src/operations/index.js.map +1 -0
  348. package/dist/react-native/generated/src/operationsInterfaces/chat.d.ts +28 -0
  349. package/dist/react-native/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
  350. package/dist/react-native/generated/src/operationsInterfaces/chat.js +9 -0
  351. package/dist/react-native/generated/src/operationsInterfaces/chat.js.map +1 -0
  352. package/dist/react-native/generated/src/operationsInterfaces/chatThread.d.ts +113 -0
  353. package/dist/react-native/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
  354. package/dist/react-native/generated/src/operationsInterfaces/chatThread.js +9 -0
  355. package/dist/react-native/generated/src/operationsInterfaces/chatThread.js.map +1 -0
  356. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +3 -0
  357. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
  358. package/dist/react-native/generated/src/operationsInterfaces/index.js +10 -0
  359. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
  360. package/dist/react-native/generated/src/tracing.d.ts +2 -0
  361. package/dist/react-native/generated/src/tracing.d.ts.map +1 -0
  362. package/dist/react-native/generated/src/tracing.js +14 -0
  363. package/dist/react-native/generated/src/tracing.js.map +1 -0
  364. package/dist/react-native/index.d.ts +7 -0
  365. package/dist/react-native/index.d.ts.map +1 -0
  366. package/dist/react-native/index.js +9 -0
  367. package/dist/react-native/index.js.map +1 -0
  368. package/dist/react-native/models/events.d.ts +4 -0
  369. package/dist/react-native/models/events.d.ts.map +1 -0
  370. package/dist/react-native/models/events.js +4 -0
  371. package/dist/react-native/models/events.js.map +1 -0
  372. package/dist/react-native/models/logger.d.ts +2 -0
  373. package/dist/react-native/models/logger.d.ts.map +1 -0
  374. package/dist/react-native/models/logger.js +5 -0
  375. package/dist/react-native/models/logger.js.map +1 -0
  376. package/dist/react-native/models/mappers.d.ts +55 -0
  377. package/dist/react-native/models/mappers.d.ts.map +1 -0
  378. package/dist/react-native/models/mappers.js +149 -0
  379. package/dist/react-native/models/mappers.js.map +1 -0
  380. package/dist/react-native/models/models.d.ts +128 -0
  381. package/dist/react-native/models/models.d.ts.map +1 -0
  382. package/dist/react-native/models/models.js +4 -0
  383. package/dist/react-native/models/models.js.map +1 -0
  384. package/dist/react-native/models/options.d.ts +116 -0
  385. package/dist/react-native/models/options.d.ts.map +1 -0
  386. package/dist/react-native/models/options.js +2 -0
  387. package/dist/react-native/models/options.js.map +1 -0
  388. package/dist/react-native/models/requests.d.ts +18 -0
  389. package/dist/react-native/models/requests.d.ts.map +1 -0
  390. package/dist/react-native/models/requests.js +4 -0
  391. package/dist/react-native/models/requests.js.map +1 -0
  392. package/dist/react-native/models/uuid.d.ts +8 -0
  393. package/dist/react-native/models/uuid.d.ts.map +1 -0
  394. package/dist/react-native/models/uuid.js +13 -0
  395. package/dist/react-native/models/uuid.js.map +1 -0
  396. package/dist/react-native/package.json +3 -0
  397. package/dist/react-native/signaling/signalingClient-react-native.d.mts.map +1 -0
  398. package/dist/react-native/signaling/signalingClient-react-native.mjs.map +1 -0
  399. package/dist/react-native/signaling/signalingClient.d.ts +6 -0
  400. package/dist/react-native/signaling/signalingClient.js +12 -0
  401. package/dist/react-native/signaling/signalingClientOptions.d.ts +6 -0
  402. package/dist/react-native/signaling/signalingClientOptions.d.ts.map +1 -0
  403. package/dist/react-native/signaling/signalingClientOptions.js +4 -0
  404. package/dist/react-native/signaling/signalingClientOptions.js.map +1 -0
  405. package/package.json +75 -70
  406. package/dist/index.js +0 -2770
  407. package/dist/index.js.map +0 -1
  408. package/dist-esm/src/chatClient.js.map +0 -1
  409. package/dist-esm/src/chatThreadClient.js.map +0 -1
  410. package/dist-esm/src/credential/communicationTokenCredentialPolicy.js.map +0 -1
  411. package/dist-esm/src/generated/src/chatApiClient.js.map +0 -1
  412. package/dist-esm/src/generated/src/index.js.map +0 -1
  413. package/dist-esm/src/generated/src/models/index.js.map +0 -1
  414. package/dist-esm/src/generated/src/models/mappers.js.map +0 -1
  415. package/dist-esm/src/generated/src/models/parameters.js.map +0 -1
  416. package/dist-esm/src/generated/src/operations/chat.js.map +0 -1
  417. package/dist-esm/src/generated/src/operations/chatThread.js.map +0 -1
  418. package/dist-esm/src/generated/src/operations/index.js.map +0 -1
  419. package/dist-esm/src/generated/src/operationsInterfaces/chat.js.map +0 -1
  420. package/dist-esm/src/generated/src/operationsInterfaces/chatThread.js.map +0 -1
  421. package/dist-esm/src/generated/src/operationsInterfaces/index.js.map +0 -1
  422. package/dist-esm/src/index.js +0 -9
  423. package/dist-esm/src/index.js.map +0 -1
  424. package/dist-esm/src/models/events.js +0 -4
  425. package/dist-esm/src/models/mappers.js +0 -108
  426. package/dist-esm/src/models/mappers.js.map +0 -1
  427. package/dist-esm/src/models/models.js +0 -4
  428. package/dist-esm/src/models/models.js.map +0 -1
  429. package/dist-esm/src/models/options.js.map +0 -1
  430. package/dist-esm/src/models/requests.js +0 -4
  431. package/dist-esm/src/models/requests.js.map +0 -1
  432. package/dist-esm/src/models/uuid.js.map +0 -1
  433. package/dist-esm/src/signaling/signalingClient.browser.js +0 -12
  434. package/dist-esm/src/signaling/signalingClient.browser.js.map +0 -1
  435. package/dist-esm/src/signaling/signalingClient.js +0 -17
  436. package/dist-esm/src/signaling/signalingClient.js.map +0 -1
  437. package/types/communication-chat.d.ts +0 -676
  438. /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/chat.js +0 -0
  439. /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/chatThread.js +0 -0
  440. /package/{dist-esm/src → dist/browser}/models/options.js +0 -0
@@ -5,12 +5,13 @@
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
- import { tracingClient } from "../tracing";
8
+ import { tracingClient } from "../tracing.js";
9
9
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
12
  /** Class containing ChatThread operations. */
13
13
  export class ChatThreadImpl {
14
+ client;
14
15
  /**
15
16
  * Initialize a new instance of the class ChatThread class.
16
17
  * @param client Reference to the service client
@@ -24,7 +25,7 @@ export class ChatThreadImpl {
24
25
  * @param options The options parameters.
25
26
  */
26
27
  async listChatReadReceipts(chatThreadId, options) {
27
- return tracingClient.withSpan("ChatApiClient.listChatReadReceipts", options !== null && options !== void 0 ? options : {}, async (options) => {
28
+ return tracingClient.withSpan("ChatApiClient.listChatReadReceipts", options ?? {}, async (options) => {
28
29
  return this.client.sendOperationRequest({ chatThreadId, options }, listChatReadReceiptsOperationSpec);
29
30
  });
30
31
  }
@@ -35,7 +36,7 @@ export class ChatThreadImpl {
35
36
  * @param options The options parameters.
36
37
  */
37
38
  async sendChatReadReceipt(chatThreadId, sendReadReceiptRequest, options) {
38
- return tracingClient.withSpan("ChatApiClient.sendChatReadReceipt", options !== null && options !== void 0 ? options : {}, async (options) => {
39
+ return tracingClient.withSpan("ChatApiClient.sendChatReadReceipt", options ?? {}, async (options) => {
39
40
  return this.client.sendOperationRequest({ chatThreadId, sendReadReceiptRequest, options }, sendChatReadReceiptOperationSpec);
40
41
  });
41
42
  }
@@ -46,7 +47,7 @@ export class ChatThreadImpl {
46
47
  * @param options The options parameters.
47
48
  */
48
49
  async sendChatMessage(chatThreadId, sendChatMessageRequest, options) {
49
- return tracingClient.withSpan("ChatApiClient.sendChatMessage", options !== null && options !== void 0 ? options : {}, async (options) => {
50
+ return tracingClient.withSpan("ChatApiClient.sendChatMessage", options ?? {}, async (options) => {
50
51
  return this.client.sendOperationRequest({ chatThreadId, sendChatMessageRequest, options }, sendChatMessageOperationSpec);
51
52
  });
52
53
  }
@@ -56,7 +57,7 @@ export class ChatThreadImpl {
56
57
  * @param options The options parameters.
57
58
  */
58
59
  async listChatMessages(chatThreadId, options) {
59
- return tracingClient.withSpan("ChatApiClient.listChatMessages", options !== null && options !== void 0 ? options : {}, async (options) => {
60
+ return tracingClient.withSpan("ChatApiClient.listChatMessages", options ?? {}, async (options) => {
60
61
  return this.client.sendOperationRequest({ chatThreadId, options }, listChatMessagesOperationSpec);
61
62
  });
62
63
  }
@@ -67,7 +68,7 @@ export class ChatThreadImpl {
67
68
  * @param options The options parameters.
68
69
  */
69
70
  async getChatMessage(chatThreadId, chatMessageId, options) {
70
- return tracingClient.withSpan("ChatApiClient.getChatMessage", options !== null && options !== void 0 ? options : {}, async (options) => {
71
+ return tracingClient.withSpan("ChatApiClient.getChatMessage", options ?? {}, async (options) => {
71
72
  return this.client.sendOperationRequest({ chatThreadId, chatMessageId, options }, getChatMessageOperationSpec);
72
73
  });
73
74
  }
@@ -79,7 +80,7 @@ export class ChatThreadImpl {
79
80
  * @param options The options parameters.
80
81
  */
81
82
  async updateChatMessage(chatThreadId, chatMessageId, updateChatMessageRequest, options) {
82
- return tracingClient.withSpan("ChatApiClient.updateChatMessage", options !== null && options !== void 0 ? options : {}, async (options) => {
83
+ return tracingClient.withSpan("ChatApiClient.updateChatMessage", options ?? {}, async (options) => {
83
84
  return this.client.sendOperationRequest({ chatThreadId, chatMessageId, updateChatMessageRequest, options }, updateChatMessageOperationSpec);
84
85
  });
85
86
  }
@@ -90,7 +91,7 @@ export class ChatThreadImpl {
90
91
  * @param options The options parameters.
91
92
  */
92
93
  async deleteChatMessage(chatThreadId, chatMessageId, options) {
93
- return tracingClient.withSpan("ChatApiClient.deleteChatMessage", options !== null && options !== void 0 ? options : {}, async (options) => {
94
+ return tracingClient.withSpan("ChatApiClient.deleteChatMessage", options ?? {}, async (options) => {
94
95
  return this.client.sendOperationRequest({ chatThreadId, chatMessageId, options }, deleteChatMessageOperationSpec);
95
96
  });
96
97
  }
@@ -100,7 +101,7 @@ export class ChatThreadImpl {
100
101
  * @param options The options parameters.
101
102
  */
102
103
  async listChatParticipants(chatThreadId, options) {
103
- return tracingClient.withSpan("ChatApiClient.listChatParticipants", options !== null && options !== void 0 ? options : {}, async (options) => {
104
+ return tracingClient.withSpan("ChatApiClient.listChatParticipants", options ?? {}, async (options) => {
104
105
  return this.client.sendOperationRequest({ chatThreadId, options }, listChatParticipantsOperationSpec);
105
106
  });
106
107
  }
@@ -111,7 +112,7 @@ export class ChatThreadImpl {
111
112
  * @param options The options parameters.
112
113
  */
113
114
  async removeChatParticipant(chatThreadId, participantCommunicationIdentifier, options) {
114
- return tracingClient.withSpan("ChatApiClient.removeChatParticipant", options !== null && options !== void 0 ? options : {}, async (options) => {
115
+ return tracingClient.withSpan("ChatApiClient.removeChatParticipant", options ?? {}, async (options) => {
115
116
  return this.client.sendOperationRequest({ chatThreadId, participantCommunicationIdentifier, options }, removeChatParticipantOperationSpec);
116
117
  });
117
118
  }
@@ -122,7 +123,7 @@ export class ChatThreadImpl {
122
123
  * @param options The options parameters.
123
124
  */
124
125
  async addChatParticipants(chatThreadId, addChatParticipantsRequest, options) {
125
- return tracingClient.withSpan("ChatApiClient.addChatParticipants", options !== null && options !== void 0 ? options : {}, async (options) => {
126
+ return tracingClient.withSpan("ChatApiClient.addChatParticipants", options ?? {}, async (options) => {
126
127
  return this.client.sendOperationRequest({ chatThreadId, addChatParticipantsRequest, options }, addChatParticipantsOperationSpec);
127
128
  });
128
129
  }
@@ -133,7 +134,7 @@ export class ChatThreadImpl {
133
134
  * @param options The options parameters.
134
135
  */
135
136
  async updateChatThreadProperties(chatThreadId, updateChatThreadRequest, options) {
136
- return tracingClient.withSpan("ChatApiClient.updateChatThreadProperties", options !== null && options !== void 0 ? options : {}, async (options) => {
137
+ return tracingClient.withSpan("ChatApiClient.updateChatThreadProperties", options ?? {}, async (options) => {
137
138
  return this.client.sendOperationRequest({ chatThreadId, updateChatThreadRequest, options }, updateChatThreadPropertiesOperationSpec);
138
139
  });
139
140
  }
@@ -143,7 +144,7 @@ export class ChatThreadImpl {
143
144
  * @param options The options parameters.
144
145
  */
145
146
  async getChatThreadProperties(chatThreadId, options) {
146
- return tracingClient.withSpan("ChatApiClient.getChatThreadProperties", options !== null && options !== void 0 ? options : {}, async (options) => {
147
+ return tracingClient.withSpan("ChatApiClient.getChatThreadProperties", options ?? {}, async (options) => {
147
148
  return this.client.sendOperationRequest({ chatThreadId, options }, getChatThreadPropertiesOperationSpec);
148
149
  });
149
150
  }
@@ -153,7 +154,7 @@ export class ChatThreadImpl {
153
154
  * @param options The options parameters.
154
155
  */
155
156
  async sendTypingNotification(chatThreadId, options) {
156
- return tracingClient.withSpan("ChatApiClient.sendTypingNotification", options !== null && options !== void 0 ? options : {}, async (options) => {
157
+ return tracingClient.withSpan("ChatApiClient.sendTypingNotification", options ?? {}, async (options) => {
157
158
  return this.client.sendOperationRequest({ chatThreadId, options }, sendTypingNotificationOperationSpec);
158
159
  });
159
160
  }
@@ -164,7 +165,7 @@ export class ChatThreadImpl {
164
165
  * @param options The options parameters.
165
166
  */
166
167
  async listChatReadReceiptsNext(chatThreadId, nextLink, options) {
167
- return tracingClient.withSpan("ChatApiClient.listChatReadReceiptsNext", options !== null && options !== void 0 ? options : {}, async (options) => {
168
+ return tracingClient.withSpan("ChatApiClient.listChatReadReceiptsNext", options ?? {}, async (options) => {
168
169
  return this.client.sendOperationRequest({ chatThreadId, nextLink, options }, listChatReadReceiptsNextOperationSpec);
169
170
  });
170
171
  }
@@ -175,7 +176,7 @@ export class ChatThreadImpl {
175
176
  * @param options The options parameters.
176
177
  */
177
178
  async listChatMessagesNext(chatThreadId, nextLink, options) {
178
- return tracingClient.withSpan("ChatApiClient.listChatMessagesNext", options !== null && options !== void 0 ? options : {}, async (options) => {
179
+ return tracingClient.withSpan("ChatApiClient.listChatMessagesNext", options ?? {}, async (options) => {
179
180
  return this.client.sendOperationRequest({ chatThreadId, nextLink, options }, listChatMessagesNextOperationSpec);
180
181
  });
181
182
  }
@@ -186,7 +187,7 @@ export class ChatThreadImpl {
186
187
  * @param options The options parameters.
187
188
  */
188
189
  async listChatParticipantsNext(chatThreadId, nextLink, options) {
189
- return tracingClient.withSpan("ChatApiClient.listChatParticipantsNext", options !== null && options !== void 0 ? options : {}, async (options) => {
190
+ return tracingClient.withSpan("ChatApiClient.listChatParticipantsNext", options ?? {}, async (options) => {
190
191
  return this.client.sendOperationRequest({ chatThreadId, nextLink, options }, listChatParticipantsNextOperationSpec);
191
192
  });
192
193
  }
@@ -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,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO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AAM,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 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 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 * 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 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"}
@@ -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,113 @@
1
+ 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, ChatThreadListChatReadReceiptsNextOptionalParams, ChatThreadListChatReadReceiptsNextResponse, ChatThreadListChatMessagesNextOptionalParams, ChatThreadListChatMessagesNextResponse, ChatThreadListChatParticipantsNextOptionalParams, ChatThreadListChatParticipantsNextResponse } from "../models/index.js";
2
+ /** Interface representing a ChatThread. */
3
+ export interface ChatThread {
4
+ /**
5
+ * Gets chat message read receipts for a thread.
6
+ * @param chatThreadId Thread id to get the chat message read receipts for.
7
+ * @param options The options parameters.
8
+ */
9
+ listChatReadReceipts(chatThreadId: string, options?: ChatThreadListChatReadReceiptsOptionalParams): Promise<ChatThreadListChatReadReceiptsResponse>;
10
+ /**
11
+ * Sends a read receipt event to a thread, on behalf of a user.
12
+ * @param chatThreadId Thread id to send the read receipt event to.
13
+ * @param sendReadReceiptRequest Read receipt details.
14
+ * @param options The options parameters.
15
+ */
16
+ sendChatReadReceipt(chatThreadId: string, sendReadReceiptRequest: SendReadReceiptRequest, options?: ChatThreadSendChatReadReceiptOptionalParams): Promise<void>;
17
+ /**
18
+ * Sends a message to a thread.
19
+ * @param chatThreadId The thread id to send the message to.
20
+ * @param sendChatMessageRequest Details of the message to send.
21
+ * @param options The options parameters.
22
+ */
23
+ sendChatMessage(chatThreadId: string, sendChatMessageRequest: SendChatMessageRequest, options?: ChatThreadSendChatMessageOptionalParams): Promise<ChatThreadSendChatMessageResponse>;
24
+ /**
25
+ * Gets a list of messages from a thread.
26
+ * @param chatThreadId The thread id of the message.
27
+ * @param options The options parameters.
28
+ */
29
+ listChatMessages(chatThreadId: string, options?: ChatThreadListChatMessagesOptionalParams): Promise<ChatThreadListChatMessagesResponse>;
30
+ /**
31
+ * Gets a message by id.
32
+ * @param chatThreadId The thread id to which the message was sent.
33
+ * @param chatMessageId The message id.
34
+ * @param options The options parameters.
35
+ */
36
+ getChatMessage(chatThreadId: string, chatMessageId: string, options?: ChatThreadGetChatMessageOptionalParams): Promise<ChatThreadGetChatMessageResponse>;
37
+ /**
38
+ * Updates a message.
39
+ * @param chatThreadId The thread id to which the message was sent.
40
+ * @param chatMessageId The message id.
41
+ * @param updateChatMessageRequest Details of the request to update the message.
42
+ * @param options The options parameters.
43
+ */
44
+ updateChatMessage(chatThreadId: string, chatMessageId: string, updateChatMessageRequest: UpdateChatMessageRequest, options?: ChatThreadUpdateChatMessageOptionalParams): Promise<void>;
45
+ /**
46
+ * Deletes a message.
47
+ * @param chatThreadId The thread id to which the message was sent.
48
+ * @param chatMessageId The message id.
49
+ * @param options The options parameters.
50
+ */
51
+ deleteChatMessage(chatThreadId: string, chatMessageId: string, options?: ChatThreadDeleteChatMessageOptionalParams): Promise<void>;
52
+ /**
53
+ * Gets the participants of a thread.
54
+ * @param chatThreadId Thread id to get participants for.
55
+ * @param options The options parameters.
56
+ */
57
+ listChatParticipants(chatThreadId: string, options?: ChatThreadListChatParticipantsOptionalParams): Promise<ChatThreadListChatParticipantsResponse>;
58
+ /**
59
+ * Remove a participant from a thread.
60
+ * @param chatThreadId Thread id to remove the participant from.
61
+ * @param participantCommunicationIdentifier Id of the thread participant to remove from the thread.
62
+ * @param options The options parameters.
63
+ */
64
+ removeChatParticipant(chatThreadId: string, participantCommunicationIdentifier: CommunicationIdentifierModel, options?: ChatThreadRemoveChatParticipantOptionalParams): Promise<void>;
65
+ /**
66
+ * Adds thread participants to a thread. If participants already exist, no change occurs.
67
+ * @param chatThreadId Id of the thread to add participants to.
68
+ * @param addChatParticipantsRequest Thread participants to be added to the thread.
69
+ * @param options The options parameters.
70
+ */
71
+ addChatParticipants(chatThreadId: string, addChatParticipantsRequest: AddChatParticipantsRequest, options?: ChatThreadAddChatParticipantsOptionalParams): Promise<ChatThreadAddChatParticipantsResponse>;
72
+ /**
73
+ * Updates a thread's properties.
74
+ * @param chatThreadId The id of the thread to update.
75
+ * @param updateChatThreadRequest Request payload for updating a chat thread.
76
+ * @param options The options parameters.
77
+ */
78
+ updateChatThreadProperties(chatThreadId: string, updateChatThreadRequest: UpdateChatThreadRequest, options?: ChatThreadUpdateChatThreadPropertiesOptionalParams): Promise<void>;
79
+ /**
80
+ * Gets a chat thread's properties.
81
+ * @param chatThreadId Id of the thread.
82
+ * @param options The options parameters.
83
+ */
84
+ getChatThreadProperties(chatThreadId: string, options?: ChatThreadGetChatThreadPropertiesOptionalParams): Promise<ChatThreadGetChatThreadPropertiesResponse>;
85
+ /**
86
+ * Posts a typing event to a thread, on behalf of a user.
87
+ * @param chatThreadId Id of the thread.
88
+ * @param options The options parameters.
89
+ */
90
+ sendTypingNotification(chatThreadId: string, options?: ChatThreadSendTypingNotificationOptionalParams): Promise<void>;
91
+ /**
92
+ * ListChatReadReceiptsNext
93
+ * @param chatThreadId Thread id to get the chat message read receipts for.
94
+ * @param nextLink The nextLink from the previous successful call to the ListChatReadReceipts method.
95
+ * @param options The options parameters.
96
+ */
97
+ listChatReadReceiptsNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatReadReceiptsNextOptionalParams): Promise<ChatThreadListChatReadReceiptsNextResponse>;
98
+ /**
99
+ * ListChatMessagesNext
100
+ * @param chatThreadId The thread id of the message.
101
+ * @param nextLink The nextLink from the previous successful call to the ListChatMessages method.
102
+ * @param options The options parameters.
103
+ */
104
+ listChatMessagesNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatMessagesNextOptionalParams): Promise<ChatThreadListChatMessagesNextResponse>;
105
+ /**
106
+ * ListChatParticipantsNext
107
+ * @param chatThreadId Thread id to get participants for.
108
+ * @param nextLink The nextLink from the previous successful call to the ListChatParticipants method.
109
+ * @param options The options parameters.
110
+ */
111
+ listChatParticipantsNext(chatThreadId: string, nextLink: string, options?: ChatThreadListChatParticipantsNextOptionalParams): Promise<ChatThreadListChatParticipantsNextResponse>;
112
+ }
113
+ //# 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,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,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,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,eAAe,CACb,YAAY,EAAE,MAAM,EACpB,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;OAIG;IACH,gBAAgB,CACd,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCA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AIG;IACH,sBAAsB,CACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,wBAAwB,CACtB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACvD;;;;;OAKG;IACH,oBAAoB,CAClB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;OAKG;IACH,wBAAwB,CACtB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
@@ -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 {\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 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 * 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"}
@@ -9,6 +9,6 @@ import { createTracingClient } from "@azure/core-tracing";
9
9
  export const tracingClient = createTracingClient({
10
10
  namespace: "Azure.Communication",
11
11
  packageName: "@azure/communication-chat",
12
- packageVersion: "1.5.0",
12
+ packageVersion: "1.6.0",
13
13
  });
14
14
  //# sourceMappingURL=tracing.js.map
@@ -1 +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,OAAO;CACxB,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.5.0\",\n});\n"]}
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,OAAO;CACxB,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\",\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, TypingIndicatorReceivedEvent } from "@azure/communication-signaling";
2
+ type ChatEventId = "chatMessageReceived" | "chatMessageEdited" | "chatMessageDeleted" | "typingIndicatorReceived" | "readReceiptReceived" | "chatThreadCreated" | "chatThreadDeleted" | "chatThreadPropertiesUpdated" | "participantsAdded" | "participantsRemoved" | "realTimeNotificationConnected" | "realTimeNotificationDisconnected";
3
+ export { ChatEventId, ChatMessageReceivedEvent, ChatMessageEditedEvent, ChatMessageDeletedEvent, ReadReceiptReceivedEvent, TypingIndicatorReceivedEvent, ChatThreadCreatedEvent, ChatThreadDeletedEvent, ChatThreadPropertiesUpdatedEvent, ParticipantsAddedEvent, ParticipantsRemovedEvent, };
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,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,+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,GACzB,CAAC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=events.js.map
@@ -1 +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 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 | \"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};\n"]}
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 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 | \"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};\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"}
@@ -1,5 +1,5 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
2
+ // Licensed under the MIT License.
3
3
  import { createClientLogger } from "@azure/logger";
4
4
  export const logger = createClientLogger("communication-chat");
5
5
  //# sourceMappingURL=logger.js.map
@@ -1 +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"]}
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"]}